ZOOM-Perl-moved-to-github.git
19 years agoTested ZOOM_connection_option_get()
mike [Wed, 12 Oct 2005 09:45:36 +0000 (09:45 +0000)]
Tested ZOOM_connection_option_get()

19 years agoFix typo in ResultSet::_rs()
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.

19 years agoInitial, unfinished, version.
mike [Tue, 11 Oct 2005 16:23:32 +0000 (16:23 +0000)]
Initial, unfinished, version.

19 years agoAdd ZOOM_ prefixes removed from function calls.
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).

19 years agoNote that connection_new(), connection_destroy(), connection_error(),
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()

19 years agoconst char * is now a T_PV.
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.

19 years agoAdd "PREFIX=ZOOM_"
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.

19 years agoConnect to test-server on indexdata.com, not a local one.
mike [Tue, 11 Oct 2005 11:44:48 +0000 (11:44 +0000)]
Connect to test-server on indexdata.com, not a local one.

19 years agoIgnore META.yml
mike [Tue, 11 Oct 2005 11:40:41 +0000 (11:40 +0000)]
Ignore META.yml

19 years agoCVS Id.
mike [Tue, 11 Oct 2005 11:35:37 +0000 (11:35 +0000)]
CVS Id.

19 years agoOverview of the three APIs.
mike [Tue, 11 Oct 2005 11:31:40 +0000 (11:31 +0000)]
Overview of the three APIs.

19 years agoModule changes from ZOOM to Net::Z3950::ZOOM.
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.

19 years agoReplace ZOOM.pm by Net/Z3950/ZOOM.pm
mike [Tue, 11 Oct 2005 11:06:54 +0000 (11:06 +0000)]
Replace ZOOM.pm by Net/Z3950/ZOOM.pm
Functionally identical.

19 years agoRepace ZOOM.t with Net-Z3950-ZOOM.t
mike [Tue, 11 Oct 2005 11:06:16 +0000 (11:06 +0000)]
Repace ZOOM.t with Net-Z3950-ZOOM.t
Functionally equivalent.

19 years agoVery simple initial test programme, modelled after zoomtst1.c
mike [Mon, 10 Oct 2005 17:21:12 +0000 (17:21 +0000)]
Very simple initial test programme, modelled after zoomtst1.c

19 years agoAll function stubs re-ordered to match order in yaz/zoom.h
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.

19 years agoNew
mike [Mon, 10 Oct 2005 12:41:13 +0000 (12:41 +0000)]
New

19 years agoInclude MANIFEST.SKIP in distribution.
mike [Mon, 10 Oct 2005 12:40:58 +0000 (12:40 +0000)]
Include MANIFEST.SKIP in distribution.

19 years agoExplicitly enable prototypes: no functional change, but silences warning.
mike [Mon, 10 Oct 2005 12:40:33 +0000 (12:40 +0000)]
Explicitly enable prototypes: no functional change, but silences warning.

19 years agoIgnore generated files.
mike [Mon, 10 Oct 2005 12:36:14 +0000 (12:36 +0000)]
Ignore generated files.

19 years agoNote -lxml2 argument to h2xs (to enable SRW/U support).
mike [Fri, 7 Oct 2005 16:17:51 +0000 (16:17 +0000)]
Note -lxml2 argument to h2xs (to enable SRW/U support).

19 years agoLink with libxml2 as well as YAZ (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).

19 years agoDiscard non-ZOOM prototypes generated by h2xs.
mike [Fri, 7 Oct 2005 16:11:25 +0000 (16:11 +0000)]
Discard non-ZOOM prototypes generated by h2xs.

19 years agoInitial revision
mike [Fri, 7 Oct 2005 15:16:51 +0000 (15:16 +0000)]
Initial revision