summaryrefslogtreecommitdiffabout
AgeCommit message (Collapse)AuthorFilesLines
2008-01-04added openid.sreg.ns parameter to sreg extensionMichael Krelin2-0/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04trying to make it report tr1/memory found nicelyMichael Krelin1-1/+5
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04added missing fileMichael Krelin1-0/+10
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04changed auto_ptr to shared_ptrMichael Krelin6-10/+59
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04fix the xrds_location being cleared before it gets used.Michael Krelin1-1/+1
The xrds_location should not be cleared when doing pure xrd discovery. Otherwise it may get overwritten before curl actually uses it. Previously it was cleared twice, which is a waste of cpu cycles, anyway. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04idiscovery_t() default constructor and a couple of helpersMichael Krelin1-0/+6
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-17made secret_t non-constant size and added params_t::query_string functionMichael Krelin3-13/+30
1. removed checking that secret_t is exactly 20 bytes, because its size is not so constant anymore. 2. added a query_string function that produces a query string suitable for use in GET and POST requests. I'm making use of it when performing direct request when establishing associations. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-17added openid.ns uri to uris.hMichael Krelin1-0/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-17moved curl_fetch_string_t/curl_pick_t classes into curl.hMichael Krelin2-19/+25
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-15fixed handling of openid:Delegate in discoveryMichael Krelin1-1/+1
which was mistakenly added to the list of endpoint URIs instead of local ids. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-13keep track of whether the identity being discovered is XRIMichael Krelin3-0/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-09don't install internal-use headersMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-09Merge branch 'next' into devel/xriMichael Krelin4-6/+21
2007-12-09reworked identity resolution and service discoveryMichael Krelin15-472/+575
The discovery, which does both XRDS-based (Yadis, XRI, for XRI, using proxy) and HTML-based search, now returns results in opkele:idiscovery_t structure. It uses expat-based parser idigger_t, which itself is not exposed via any header files, but hidden in lib/discovery.cc, the discovery testing program is renamed from openid_resolve to idiscover. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-04Minor improvementsMichael Krelin3-3/+18
- almost irrelevant documentation updates - introduced id_res_expired_on_delivery exception to be thrown if the association has expired right before it could've been used for signature verification. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-04save a couple of ticks and make a bit more senseMichael Krelin1-3/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02more robust discoveryMichael Krelin1-7/+11
if no service found in yadis document, but it is found in html, use html-discovered service. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02first cut on XRI resolverMichael Krelin9-9/+482
This commit adds openid service resolver that does discovery using XRI (proxy only), Yadis protocol and html-based discovery. It uses expat as xml parsing engine, which makes it a bit more strict about html it receives, but I think failing to discover links in *severely* broken html is better than misdetecting links, hidden in comments or such. This is highly experimental code and needs more thoughts and testing. Thanks everyone pushing me towards this development. Namely Joseph, John, Gen. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28added a trivial expat wrapperMichael Krelin6-6/+207
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28keep keeping compilers happyMichael Krelin2-4/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28fixed commit b71de8d6a2b2d8b57e229ac7887c5b74590f58b8Michael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28added header and progress callbacks to curl wrapperMichael Krelin2-0/+31
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28removed meaningless conditionMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-26add missing test case to EXTRA_DISTMichael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-26encapsulated write functionality into curl_tMichael Krelin3-22/+43
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24more curl wrapper cosmeticsMichael Krelin4-64/+101
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24moved curl_t wrapper to util namespaceMichael Krelin3-21/+35
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added 'configure.ac' to the list of "issue-enabled" filesMichael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added "issue tracker" target to toplevel Makefile.amMichael Krelin1-0/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added URI normalization procedure to opkele::utilMichael Krelin3-0/+208
as specified in RFC3896, section 6 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-22added virtual destructors to base classesMichael Krelin5-1/+9
and bumped version to 0.4 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-22prepared 0.3.2 release0.3.2Michael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21nitpicking tweaksMichael Krelin1-2/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21keep compiler happy about shadowed variableMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21add a configure option for agressive error detectionMichael Krelin1-0/+18
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21further calming compiler downMichael Krelin4-10/+10
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21bumped version and summarized changes in NEWSMichael Krelin2-1/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21added some missing includes for gcc 4.3Michael Krelin3-0/+3
According to Marcus Rueckert gcc 4.3 wants these. Thanks, Marcus! Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21Fix exception constructionMichael Krelin1-9/+6
Thanks to Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21keep compiler happy and check more error conditionsMichael Krelin1-3/+4
Thanks Marcus Rueckert for pointing this out Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21Keep compiler happyMichael Krelin1-2/+2
Thanks Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21Fix for -pedantic buildMichael Krelin1-1/+1
Thanks to Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-20simplify source tree version even moreMichael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-20sanitized source tree version string a bitMichael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-20prepared 0.3.1 release0.3.1Michael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-20version bumpMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-20added more precise source tree version detectionMichael Krelin2-1/+12
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-19fix previous commitMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-19pay attention to PCRE_{CFLAGS,LIBS} environment variables.Michael Krelin1-3/+8
pkgconfig macros only check the variables in question if pkgconfig itself isn't available. Since libpcre prior to 5.0 lacks pkgconfig support I want PCRE_{CFLAGS,LIBS} variables to be _really_ influential. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-10-31summarized news in NEWS.xmlMichael Krelin1-0/+5
Signed-off-by: Michael Krelin <hacker@klever.net>