summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
mike [Wed, 26 Oct 2005 16:30:55 +0000 (16:30 +0000)]
Add t/12-query.t
mike [Wed, 26 Oct 2005 16:30:39 +0000 (16:30 +0000)]
Do not include the "archive" directory in distributions.
mike [Wed, 26 Oct 2005 16:30:00 +0000 (16:30 +0000)]
New -- autogenerated by "make dist" in recent Perl versions, including
v5.8.4 onwards, but not be older versions, including v5.8.0. So it
needs to be included in the distribution and in CVS for the benefit of
the older versions.
mike [Wed, 26 Oct 2005 16:28:45 +0000 (16:28 +0000)]
Do not omit META.yml
mike [Wed, 26 Oct 2005 16:27:53 +0000 (16:27 +0000)]
New -- not to be included in distributions
mike [Wed, 26 Oct 2005 16:27:25 +0000 (16:27 +0000)]
Tested connection_search(), query_create(), query_destroy(),
query_cql(), query_prefix() and query_sortby().
mike [Wed, 26 Oct 2005 16:25:50 +0000 (16:25 +0000)]
Test-script for query object (not yet complete).
mike [Mon, 24 Oct 2005 16:42:57 +0000 (16:42 +0000)]
Include "t/21-option-callback.t"
mike [Mon, 24 Oct 2005 16:42:31 +0000 (16:42 +0000)]
New.
mike [Mon, 24 Oct 2005 16:42:16 +0000 (16:42 +0000)]
Horrible, horrible support for set_callback(). I can hear them coming
to get me. The rats ... the rats are in the walls! IN THE WALLS!
(Also, the first few lines of ZOOM::Query support.)
mike [Mon, 24 Oct 2005 16:39:55 +0000 (16:39 +0000)]
More belt-and-braces copying of values passed into
ZOOM_options_set_callback(). This is ugly and leaky, but
works, more or less. I feel bad about it. I need a hug.
mike [Wed, 19 Oct 2005 15:14:26 +0000 (15:14 +0000)]
Comments fixed. No functional changes.
mike [Wed, 19 Oct 2005 13:54:44 +0000 (13:54 +0000)]
Include "t/20-options.t"
mike [Wed, 19 Oct 2005 13:53:47 +0000 (13:53 +0000)]
New.
mike [Wed, 19 Oct 2005 13:53:35 +0000 (13:53 +0000)]
Many changes to the ZOOM::Options class:
- constructor now accepts one or two optional parents.
- _opts() now dies if the object's been destroy()ed.
- Added option(), option_binary(), bool(), int(), set_int(), destroy().
mike [Tue, 18 Oct 2005 17:02:43 +0000 (17:02 +0000)]
Include "t/10-options.t" and "t/11-option-callback.t"
mike [Tue, 18 Oct 2005 17:01:55 +0000 (17:01 +0000)]
New
mike [Tue, 18 Oct 2005 17:00:28 +0000 (17:00 +0000)]
ZOOM_connection_option_getl() now correctly sets its $len parameter.
Support for ZOOM_options_set_callback() -- *complicated*
Support for ZOOM_options_getl() and ZOOM_options_setl().
### Some memory-management issues remain.
Comment that ZOOM_record_get() should _sometimes_(!) use datachunk.
Testing complete for all other option-block functions:
ZOOM_options_create_with_parent()
ZOOM_options_create_with_parent2()
ZOOM_options_get()
ZOOM_options_set()
ZOOM_options_destroy()
ZOOM_options_get_bool()
ZOOM_options_get_int()
ZOOM_options_set_int()
mike [Tue, 18 Oct 2005 16:27:58 +0000 (16:27 +0000)]
use warnings;
Remove extraneous comments.
mike [Tue, 18 Oct 2005 16:27:29 +0000 (16:27 +0000)]
use warnings;
Comment now correctly names program.
Remove extraneous comments.
mike [Mon, 17 Oct 2005 16:18:27 +0000 (16:18 +0000)]
getl() test emits recovered length in commentary.
mike [Mon, 17 Oct 2005 13:50:06 +0000 (13:50 +0000)]
Three new tests of connectionless create and explicit connect.
Two new tests of option setting/getting in text and binary mode.
Four new tests of consistency of error functions.
mike [Mon, 17 Oct 2005 13:49:23 +0000 (13:49 +0000)]
Two new tests of option setting/getting in text and binary mode.
Four new tests of consistency of error functions.
mike [Mon, 17 Oct 2005 13:48:08 +0000 (13:48 +0000)]
Support for T_OPAQUECHAR (input only)
Support for T_DATACHUNK (output only)
mike [Mon, 17 Oct 2005 13:47:25 +0000 (13:47 +0000)]
Note that ZOOM::Exception should support diagnostic set.
Add new class ZOOM::Options (with minimal support).
Add error_x(), errcode(), errmsg(), addinfo() methods to ZOOM::Connection.
Add connectionless create() and explcit connect() to ZOOM::Connection.
Add option_binary() to ZOOM::Connection -- should it be default?
mike [Mon, 17 Oct 2005 13:44:52 +0000 (13:44 +0000)]
Fix error in comment.
mike [Mon, 17 Oct 2005 13:42:43 +0000 (13:42 +0000)]
Revert "const char*" arguments to their original const-qualified
types, now that I have modified the typemap to support this.
Add "opaquechar" and "struct datachunk" types, used to get binary data
strings in and out of C respectively.
These are used by ZOOM_connection_option_setl() and
ZOOM_connection_option_getl() respectively.
Implemented ZOOM_connection_error_x().
Tested ZOOM_connection_{errcode,errmsg,addinfo)().
Tested ZOOM_options_create().
Add explicit "UNTESTED" markers to not-yet-tested functions.
mike [Thu, 13 Oct 2005 16:01:48 +0000 (16:01 +0000)]
Clearer commentary.
mike [Thu, 13 Oct 2005 13:48:08 +0000 (13:48 +0000)]
Formatting.
mike [Thu, 13 Oct 2005 13:33:55 +0000 (13:33 +0000)]
Remove extraneous output.
mike [Thu, 13 Oct 2005 13:32:00 +0000 (13:32 +0000)]
Correct number of tests.
mike [Thu, 13 Oct 2005 13:30:52 +0000 (13:30 +0000)]
Three more functions tested:
options_create(), connection_create(), connection_connect()
mike [Thu, 13 Oct 2005 13:27:27 +0000 (13:27 +0000)]
Tweak commentary -- no functional changes.
mike [Thu, 13 Oct 2005 13:12:16 +0000 (13:12 +0000)]
Distribute lib/Net/Z3950.pm
mike [Thu, 13 Oct 2005 13:11:17 +0000 (13:11 +0000)]
New
mike [Wed, 12 Oct 2005 16:13:34 +0000 (16:13 +0000)]
Add diag_str() test.
mike [Wed, 12 Oct 2005 16:13:20 +0000 (16:13 +0000)]
Add diag_str() function.
mike [Wed, 12 Oct 2005 16:13:00 +0000 (16:13 +0000)]
Tested ZOOM_diag_str()
mike [Wed, 12 Oct 2005 14:36:17 +0000 (14:36 +0000)]
Remove repeated "my".
mike [Wed, 12 Oct 2005 14:35:23 +0000 (14:35 +0000)]
Explicitly print number of records found.
mike [Wed, 12 Oct 2005 14:35:01 +0000 (14:35 +0000)]
Remove AutoLoader, which we don't use, and all the associated gunk.
Remove reference to @ISA.
Add constant definitions for error-codes and event-types.
Fill in PerlDoc documentation.
mike [Wed, 12 Oct 2005 14:33:40 +0000 (14:33 +0000)]
Added enumerations ZOOM::Error and ZOOM::Event.
Fixed ZOOM::Exception access methods -- were calling themselves!
mike [Wed, 12 Oct 2005 14:32:42 +0000 (14:32 +0000)]
Renamed t/Net-Z3950-ZOOM.t to t/1-Net-Z3950-ZOOM.t
Added t/2-ZOOM.t
Added "samples" directory and its contents.
mike [Wed, 12 Oct 2005 14:31:53 +0000 (14:31 +0000)]
Now runs in parallel to 1-Net-Z3950-ZOOM.t: 11 tests, no output.
mike [Wed, 12 Oct 2005 13:44:05 +0000 (13:44 +0000)]
Exception-handling.
mike [Wed, 12 Oct 2005 13:26:26 +0000 (13:26 +0000)]
Proper test-suite -- eleven tests, no unauthorised output.
mike [Wed, 12 Oct 2005 11:56:27 +0000 (11:56 +0000)]
Do not print to STDERR.
mike [Wed, 12 Oct 2005 11:53:00 +0000 (11:53 +0000)]
New
mike [Wed, 12 Oct 2005 09:48:21 +0000 (09:48 +0000)]
New
mike [Wed, 12 Oct 2005 09:48:05 +0000 (09:48 +0000)]
Rename Net-Z3950-ZOOM.t to 1-Net-Z3950-ZOOM.t
mike [Wed, 12 Oct 2005 09:47:11 +0000 (09:47 +0000)]
use strict;
(Temporarily) use local server.
Check that preferredRecordSyntax option can be get()ted after set()ting.
mike [Wed, 12 Oct 2005 09:45:36 +0000 (09:45 +0000)]
Tested ZOOM_connection_option_get()
mike [Wed, 12 Oct 2005 09:44:46 +0000 (09:44 +0000)]
Fix typo in ResultSet::_rs()
Use ZOOM::Record->_new() instead of "indirect object" syntax (why?!)
Connection::option_set() replaced by option() which gets and sets.
Add _rec(), render() and raw() methods to ZOOM::Record.
Add destroy() methods for Connection and ResultSet.
Attempts to use destroy()ed Connection and ResultSet cause die()
Clearer commentary on naming conventions.
mike [Tue, 11 Oct 2005 16:23:32 +0000 (16:23 +0000)]
Initial, unfinished, version.
mike [Tue, 11 Oct 2005 15:48:15 +0000 (15:48 +0000)]
Add ZOOM_ prefixes removed from function calls.
Use a query that gets a hit on the testing database.
connection_option_set() now used to request USMARC records.
Each record is now fetched and displayed in two forms: "render"
(human-readable) and "raw" (not).
mike [Tue, 11 Oct 2005 15:44:33 +0000 (15:44 +0000)]
Note that connection_new(), connection_destroy(), connection_error(),
connection_search_pqf(), destroy_size(), resultset_resultset() are now
all tested.
Fix connection_option_set(), record_get(), resultset_record()
mike [Tue, 11 Oct 2005 15:40:14 +0000 (15:40 +0000)]
const char * is now a T_PV.
As originally autogenerated by h2xs, this file gave the type of "const
char *" as T_PTROBJ -- a pointer to an opaque object. This prevented
the return value of ZOOM_record_get() from being translated into a
Perl string. Instead, I am using T_PV, which works properly.
mike [Tue, 11 Oct 2005 12:11:17 +0000 (12:11 +0000)]
Add "PREFIX=ZOOM_"
This is nice, as it means all those ZOOM-C functions mapped into the
Net::Z3950::ZOOM Perl module no longer have "ZOOM_" prefixes.
mike [Tue, 11 Oct 2005 11:44:48 +0000 (11:44 +0000)]
Connect to test-server on indexdata.com, not a local one.
mike [Tue, 11 Oct 2005 11:40:41 +0000 (11:40 +0000)]
Ignore META.yml
mike [Tue, 11 Oct 2005 11:35:37 +0000 (11:35 +0000)]
CVS Id.
mike [Tue, 11 Oct 2005 11:31:40 +0000 (11:31 +0000)]
Overview of the three APIs.
mike [Tue, 11 Oct 2005 11:07:24 +0000 (11:07 +0000)]
Module changes from ZOOM to Net::Z3950::ZOOM.
This will allow us to put it in CPAN.
mike [Tue, 11 Oct 2005 11:06:54 +0000 (11:06 +0000)]
Replace ZOOM.pm by Net/Z3950/ZOOM.pm
Functionally identical.
mike [Tue, 11 Oct 2005 11:06:16 +0000 (11:06 +0000)]
Repace ZOOM.t with Net-Z3950-ZOOM.t
Functionally equivalent.
mike [Mon, 10 Oct 2005 17:21:12 +0000 (17:21 +0000)]
Very simple initial test programme, modelled after zoomtst1.c
mike [Mon, 10 Oct 2005 17:20:50 +0000 (17:20 +0000)]
All function stubs re-ordered to match order in yaz/zoom.h
(Why "h2xs --autogen-xsubs" doesn't do this I can't imagine.)
First few functions fleshed out and tweaked:
ZOOM_connection_new()
ZOOM_connection_error()
ZOOM_connection_search_pqf()
This is is enough for a tiny but real Perl-ZOOM client.
mike [Mon, 10 Oct 2005 12:41:13 +0000 (12:41 +0000)]
New
mike [Mon, 10 Oct 2005 12:40:58 +0000 (12:40 +0000)]
Include MANIFEST.SKIP in distribution.
mike [Mon, 10 Oct 2005 12:40:33 +0000 (12:40 +0000)]
Explicitly enable prototypes: no functional change, but silences warning.
mike [Mon, 10 Oct 2005 12:36:14 +0000 (12:36 +0000)]
Ignore generated files.
mike [Fri, 7 Oct 2005 16:17:51 +0000 (16:17 +0000)]
Note -lxml2 argument to h2xs (to enable SRW/U support).
mike [Fri, 7 Oct 2005 16:17:31 +0000 (16:17 +0000)]
Link with libxml2 as well as YAZ (to enable SRW/U support).
mike [Fri, 7 Oct 2005 16:11:25 +0000 (16:11 +0000)]
Discard non-ZOOM prototypes generated by h2xs.
mike [Fri, 7 Oct 2005 15:16:51 +0000 (15:16 +0000)]
Initial revision