ZOOM-Perl-moved-to-github.git
18 years agoAdd two new error-codes, CQL_PARSE and CQL_TRANSFORM.
mike [Wed, 21 Dec 2005 17:01:41 +0000 (17:01 +0000)]
Add two new error-codes, CQL_PARSE and CQL_TRANSFORM.
Add diagnostic set to rendering of Exception objects.
Connection::_conn() now used by ZOOM::Query::CQL2RPN::new() as well as
other members of the Connection class: comment reflects this.
Add new ZOOM::Query::CQL2RPN class for client-side CQL compilation.
Add new ZOOM::Log class for logging: all functions, no methods.

18 years agoNew
mike [Wed, 21 Dec 2005 16:58:36 +0000 (16:58 +0000)]
New

18 years agoAdd new error-codes
mike [Wed, 21 Dec 2005 16:56:59 +0000 (16:56 +0000)]
Add new error-codes
+ ERROR_CQL_PARSE
+ ERROR_CQL_TRANSFORM

18 years agoAdd many functions: ZOOM_query_cql2rpn() and all the logging stuff:
mike [Wed, 21 Dec 2005 16:54:45 +0000 (16:54 +0000)]
Add many functions: ZOOM_query_cql2rpn() and all the logging stuff:
+ yaz_log_mask_str(str)
+ yaz_log_init(level, prefix, name)
+ yaz_log_init_file(fname)
+ yaz_log_init_level(level)
+ yaz_log_init_prefix(prefix)
+ yaz_log_time_format(fmt)
+ yaz_log_init_max_size(mx)
+ yaz_log(level, str)

18 years agoUse test-server on bagel, not sometimes-absent local server
mike [Wed, 21 Dec 2005 00:43:54 +0000 (00:43 +0000)]
Use test-server on bagel, not sometimes-absent local server

18 years agoRolling
mike [Wed, 21 Dec 2005 00:26:39 +0000 (00:26 +0000)]
Rolling

18 years agoRemove nonsensical clause about CQL sort-specifications.
mike [Wed, 21 Dec 2005 00:25:51 +0000 (00:25 +0000)]
Remove nonsensical clause about CQL sort-specifications.

18 years agoAdd tests for CQL scanning
mike [Wed, 21 Dec 2005 00:16:50 +0000 (00:16 +0000)]
Add tests for CQL scanning

18 years agoNew
mike [Wed, 21 Dec 2005 00:16:31 +0000 (00:16 +0000)]
New

18 years agoDescribe cql/pqf.properties
mike [Wed, 21 Dec 2005 00:16:10 +0000 (00:16 +0000)]
Describe cql/pqf.properties

18 years agoAdd samples/cql/pqf.properties
mike [Wed, 21 Dec 2005 00:15:14 +0000 (00:15 +0000)]
Add samples/cql/pqf.properties

18 years agoRolling
mike [Wed, 21 Dec 2005 00:14:12 +0000 (00:14 +0000)]
Rolling

18 years agoTesting for scan by CQL query (does not yet work).
mike [Tue, 20 Dec 2005 22:21:58 +0000 (22:21 +0000)]
Testing for scan by CQL query (does not yet work).

18 years agoRolling.
mike [Tue, 20 Dec 2005 22:21:26 +0000 (22:21 +0000)]
Rolling.

18 years agoUpdated documentation for the scanning methods in the Connection
mike [Mon, 19 Dec 2005 17:53:00 +0000 (17:53 +0000)]
Updated documentation for the scanning methods in the Connection
class: The old scan() is now scan_pqf(), which is considered a mere
short-cut to the new Query-oriented scan().

18 years agoDescribe ZOOM-module scan() method changes.
mike [Mon, 19 Dec 2005 17:48:21 +0000 (17:48 +0000)]
Describe ZOOM-module scan() method changes.

18 years agoRemove all "# TESTED" comment lines.
mike [Mon, 19 Dec 2005 17:46:52 +0000 (17:46 +0000)]
Remove all "# TESTED" comment lines.
(Nearly all XSUBs have them by this point.)

18 years agoIn Connection class, rename scan() to scan_pqf() and scan1() to scan1()
mike [Mon, 19 Dec 2005 17:46:09 +0000 (17:46 +0000)]
In Connection class, rename scan() to scan_pqf() and scan1() to scan1()
This is in line with the search()/search_pqf() dichotomy.

18 years agoTest for new scan1()
mike [Mon, 19 Dec 2005 17:39:58 +0000 (17:39 +0000)]
Test for new scan1()

18 years agoSupport for $conn->scan1()
mike [Mon, 19 Dec 2005 17:39:47 +0000 (17:39 +0000)]
Support for $conn->scan1()

18 years agoDescribe scan1()
mike [Mon, 19 Dec 2005 17:39:19 +0000 (17:39 +0000)]
Describe scan1()

18 years agoAdd ZOOM_connection_scan1(), which takes a ZOOM_query rather than a
mike [Mon, 19 Dec 2005 17:05:05 +0000 (17:05 +0000)]
Add ZOOM_connection_scan1(), which takes a ZOOM_query rather than a
string as its start-term, thereby opening the way for scanning on CQL
terms.

18 years agoPlace some CODE: chunks inside curly brackets so that the declarations
mike [Mon, 19 Dec 2005 13:46:11 +0000 (13:46 +0000)]
Place some CODE: chunks inside curly brackets so that the declarations
they begin with are at the start of the block.  This avoid mixed
code/declaration (initially diagnosed by a user with a Windows C
compiler, and tested using GCC with "-ansi -pedantic").  The "correct"
solution is to use INIT: clauses in the XS file, but they don't seem
to work: the code in them is slapped down right next to the CODE:, so
declarations are not acceptable there either.

18 years agoTowards 1.01
mike [Mon, 19 Dec 2005 13:43:38 +0000 (13:43 +0000)]
Towards 1.01

18 years agoNew
mike [Wed, 14 Dec 2005 11:29:44 +0000 (11:29 +0000)]
New

18 years agoReady for release 1.0
mike [Wed, 14 Dec 2005 11:19:04 +0000 (11:19 +0000)]
Ready for release 1.0

18 years agoRemove "###" from comments that are not about bugs.
mike [Wed, 14 Dec 2005 11:17:30 +0000 (11:17 +0000)]
Remove "###" from comments that are not about bugs.

18 years agoVersion to 1.00 for first release.
mike [Wed, 14 Dec 2005 11:11:55 +0000 (11:11 +0000)]
Version to 1.00 for first release.

18 years agoRip out some rubbish, comment out spurious over-configuration.
mike [Wed, 14 Dec 2005 10:31:06 +0000 (10:31 +0000)]
Rip out some rubbish, comment out spurious over-configuration.

18 years agoNew -- ignore files of Zebra database when running here.
mike [Wed, 14 Dec 2005 10:30:16 +0000 (10:30 +0000)]
New -- ignore files of Zebra database when running here.

18 years agoTweaks to sequence of commands to set up test-server universe:
mike [Wed, 14 Dec 2005 10:27:47 +0000 (10:27 +0000)]
Tweaks to sequence of commands to set up test-server universe:
- "make check" for YAZ.
- "make check" for Zebra.
- /etc/init.d/zoom-perl-server get its +x bit set.

18 years agoUndo previous delta.
mike [Wed, 14 Dec 2005 10:22:08 +0000 (10:22 +0000)]
Undo previous delta.

18 years agoExit 1 on usage.
mike [Wed, 14 Dec 2005 10:21:17 +0000 (10:21 +0000)]
Exit 1 on usage.

18 years agoNew
mike [Wed, 14 Dec 2005 10:03:57 +0000 (10:03 +0000)]
New

18 years agoCorrect paths.
mike [Wed, 14 Dec 2005 10:00:54 +0000 (10:00 +0000)]
Correct paths.

18 years agoChange test-server port to 2118
mike [Wed, 14 Dec 2005 09:30:48 +0000 (09:30 +0000)]
Change test-server port to 2118

18 years agoCompleted notes.
mike [Wed, 14 Dec 2005 09:30:26 +0000 (09:30 +0000)]
Completed notes.

18 years agoRename
mike [Wed, 14 Dec 2005 09:02:08 +0000 (09:02 +0000)]
Rename

18 years agoNew
mike [Tue, 13 Dec 2005 17:44:59 +0000 (17:44 +0000)]
New

18 years agoRemove extraneous comment.
mike [Tue, 13 Dec 2005 17:36:11 +0000 (17:36 +0000)]
Remove extraneous comment.

18 years agoRun against special zebra on test:8017
mike [Tue, 13 Dec 2005 17:35:20 +0000 (17:35 +0000)]
Run against special zebra on test:8017

18 years agoComplete! Yee-hah!
mike [Tue, 13 Dec 2005 16:46:59 +0000 (16:46 +0000)]
Complete!  Yee-hah!

18 years agoAdd descriptions of ZOOM::event() and ZOOM::Connection::last_event(),
mike [Tue, 13 Dec 2005 16:22:41 +0000 (16:22 +0000)]
Add descriptions of ZOOM::event() and ZOOM::Connection::last_event(),
even though they are respectively unimplemented and untested.

18 years agoEverything done except (blah) ZOOM::Options::set_callback()
mike [Tue, 13 Dec 2005 16:03:14 +0000 (16:03 +0000)]
Everything done except (blah) ZOOM::Options::set_callback()

18 years agoTweaks to Query documentation, add overview for Options.
mike [Tue, 13 Dec 2005 15:30:26 +0000 (15:30 +0000)]
Tweaks to Query documentation, add overview for Options.

18 years agoCompleted documentation of the Query classes.
mike [Tue, 13 Dec 2005 14:53:08 +0000 (14:53 +0000)]
Completed documentation of the Query classes.

18 years agoRolling, so Seb can have all my recent changes.
mike [Tue, 13 Dec 2005 14:40:47 +0000 (14:40 +0000)]
Rolling, so Seb can have all my recent changes.

18 years agoDescription of package API and record update.
mike [Tue, 13 Dec 2005 14:01:59 +0000 (14:01 +0000)]
Description of package API and record update.

18 years agoDo not call "drop", as this currently corrupts the Zebra DB.
mike [Tue, 13 Dec 2005 13:21:49 +0000 (13:21 +0000)]
Do not call "drop", as this currently corrupts the Zebra DB.

18 years agoComplete scan documentation.
mike [Tue, 13 Dec 2005 12:32:15 +0000 (12:32 +0000)]
Complete scan documentation.

18 years agoUse "yaz-config" to find libraries and include paths.
mike [Tue, 13 Dec 2005 12:31:58 +0000 (12:31 +0000)]
Use "yaz-config" to find libraries and include paths.

18 years agoTypos.
mike [Tue, 13 Dec 2005 11:26:19 +0000 (11:26 +0000)]
Typos.

18 years agoDepend on MARC::Record 1.38
mike [Fri, 9 Dec 2005 10:55:15 +0000 (10:55 +0000)]
Depend on MARC::Record 1.38

18 years agoDescribe sample records.
mike [Fri, 9 Dec 2005 10:35:46 +0000 (10:35 +0000)]
Describe sample records.

18 years agosamples/records/esdd0006.grs
mike [Fri, 9 Dec 2005 10:34:31 +0000 (10:34 +0000)]
samples/records/esdd0006.grs

18 years agoComplete rewrite as OO version of 16-packages.t
mike [Fri, 9 Dec 2005 10:33:48 +0000 (10:33 +0000)]
Complete rewrite as OO version of 16-packages.t

18 years agoRemove obsolete comment.
mike [Fri, 9 Dec 2005 10:17:35 +0000 (10:17 +0000)]
Remove obsolete comment.

18 years agoTypo.
mike [Wed, 7 Dec 2005 18:04:47 +0000 (18:04 +0000)]
Typo.

18 years agoMuch more good stuff: now adds new records and searches for them.
mike [Wed, 7 Dec 2005 17:46:00 +0000 (17:46 +0000)]
Much more good stuff: now adds new records and searches for them.

18 years agoNew
mike [Wed, 7 Dec 2005 15:28:34 +0000 (15:28 +0000)]
New

18 years agoMany improvements -- now does good database-creation stuff.
mike [Wed, 7 Dec 2005 15:28:07 +0000 (15:28 +0000)]
Many improvements -- now does good database-creation stuff.
Record update doesn't work, though.

18 years agoChanged sign of (unused) `len' argument to SvPV()
mike [Tue, 6 Dec 2005 23:15:56 +0000 (23:15 +0000)]
Changed sign of (unused) `len' argument to SvPV()
-- I think the newer Perl distribution of Ubuntu 5.10 has changed this.

18 years agoNew
mike [Tue, 6 Dec 2005 22:47:19 +0000 (22:47 +0000)]
New

18 years agoMuch new material (from yesterday).
mike [Sat, 26 Nov 2005 16:59:53 +0000 (16:59 +0000)]
Much new material (from yesterday).

18 years agoRemove extraneous declaration.
mike [Sat, 26 Nov 2005 16:58:03 +0000 (16:58 +0000)]
Remove extraneous declaration.

18 years agoMuch new text.
mike [Thu, 24 Nov 2005 17:35:29 +0000 (17:35 +0000)]
Much new text.

18 years agoComment.
mike [Thu, 24 Nov 2005 15:39:20 +0000 (15:39 +0000)]
Comment.

18 years agoRolling.
mike [Fri, 18 Nov 2005 17:55:08 +0000 (17:55 +0000)]
Rolling.

18 years agoPass sort-type "yaz" instead of "dummy".
mike [Fri, 18 Nov 2005 17:53:16 +0000 (17:53 +0000)]
Pass sort-type "yaz" instead of "dummy".

18 years agoFinished section on the Connection class
mike [Thu, 17 Nov 2005 15:31:06 +0000 (15:31 +0000)]
Finished section on the Connection class
... except discussion of Scan options.

18 years agoRolling. Much new material.
mike [Thu, 17 Nov 2005 13:32:30 +0000 (13:32 +0000)]
Rolling.  Much new material.

18 years agoNew error-code SCANTERM.
mike [Wed, 16 Nov 2005 17:27:07 +0000 (17:27 +0000)]
New error-code SCANTERM.

18 years ago$rs->record() and its variants now throw exceptions.
mike [Wed, 16 Nov 2005 17:26:23 +0000 (17:26 +0000)]
$rs->record() and its variants now throw exceptions.
New error-code SCANTERM, can be thrown by $ss->term() and display_term().

18 years agoZOOM::Exception class now carries a diagnostic-set: it can be passed
mike [Wed, 16 Nov 2005 16:48:11 +0000 (16:48 +0000)]
ZOOM::Exception class now carries a diagnostic-set: it can be passed
into the constructor and retrieved using $exception->diagset().
Add $conn->diagset(), which exercises new ZOOM_connection_diagnet().
Simplify error-handling through new $conn->_check() method.

18 years agoSpace for $conn->diagset()
mike [Wed, 16 Nov 2005 16:39:25 +0000 (16:39 +0000)]
Space for $conn->diagset()

18 years agoAdd test for ZOOM::Connection::diagset()
mike [Wed, 16 Nov 2005 16:25:02 +0000 (16:25 +0000)]
Add test for ZOOM::Connection::diagset()

18 years agoAdd test for ZOOM_connection_diagset()
mike [Wed, 16 Nov 2005 16:24:42 +0000 (16:24 +0000)]
Add test for ZOOM_connection_diagset()

18 years agoAdd ZOOM_connection_diagset()
mike [Wed, 16 Nov 2005 16:10:13 +0000 (16:10 +0000)]
Add ZOOM_connection_diagset()

18 years agoRolling.
mike [Wed, 16 Nov 2005 15:36:16 +0000 (15:36 +0000)]
Rolling.

18 years agoMany huge changes.
mike [Wed, 16 Nov 2005 14:54:43 +0000 (14:54 +0000)]
Many huge changes.

18 years agoAdd render() method to ZOOM::Exception.
mike [Wed, 16 Nov 2005 14:49:30 +0000 (14:49 +0000)]
Add render() method to ZOOM::Exception.
Overload '""' to use render()
ZOOM::Connection::new() is now OK with no second argument passed.
Three new comments about places where we should throw exceptions.

18 years agoRolling.
mike [Tue, 15 Nov 2005 17:33:04 +0000 (17:33 +0000)]
Rolling.

18 years agoRemove extraneous print.
mike [Tue, 15 Nov 2005 17:26:24 +0000 (17:26 +0000)]
Remove extraneous print.

18 years agoAdd lib/ZOOM.pod
mike [Tue, 15 Nov 2005 17:25:20 +0000 (17:25 +0000)]
Add lib/ZOOM.pod

18 years agoWe now attempt to create a new DB (but this fails because I don't know
mike [Tue, 15 Nov 2005 17:24:42 +0000 (17:24 +0000)]
We now attempt to create a new DB (but this fails because I don't know
the right parameters to set.  We await Adam's sample ZOOM-C XS
client.)

18 years agoROlling.
mike [Tue, 15 Nov 2005 17:23:45 +0000 (17:23 +0000)]
ROlling.

18 years agoTested ZOOM_scanset_option_get() and ZOOM_scanset_option_set()
mike [Tue, 15 Nov 2005 11:31:52 +0000 (11:31 +0000)]
Tested ZOOM_scanset_option_get() and ZOOM_scanset_option_set()
This means all functions have been tested except
ZOOM_event()
ZOOM_connection_last_event()
which are to do with asynchronous functioning.  Since I don't properly
understand yet how this works in ZOOM-C, trying to test the Perl
interface would be premature :-)

19 years agoMany additional tests, for field-specific scanning, non-default
mike [Wed, 9 Nov 2005 17:08:31 +0000 (17:08 +0000)]
Many additional tests, for field-specific scanning, non-default
scanset size, follow-up scans with seed-term position=0, and option
setting/getting.

19 years agoSupport for ScanSet options.
mike [Wed, 9 Nov 2005 17:08:03 +0000 (17:08 +0000)]
Support for ScanSet options.

19 years agoFix typo in diagnostic.
mike [Wed, 9 Nov 2005 17:03:15 +0000 (17:03 +0000)]
Fix typo in diagnostic.

19 years agoNicer option-setting syntax.
mike [Wed, 9 Nov 2005 17:00:43 +0000 (17:00 +0000)]
Nicer option-setting syntax.

19 years agoMany additional tests, for field-specific scanning, non-default
mike [Wed, 9 Nov 2005 16:47:42 +0000 (16:47 +0000)]
Many additional tests, for field-specific scanning, non-default
scanset size, follow-up scans with seed-term position=0, and option
setting/getting.

19 years agoFirst version -- embryonic.
mike [Wed, 9 Nov 2005 11:32:12 +0000 (11:32 +0000)]
First version -- embryonic.

19 years agoAdjust count of tests.
mike [Tue, 8 Nov 2005 16:49:06 +0000 (16:49 +0000)]
Adjust count of tests.

19 years agoZOOM::ResultSet::sort() now uses Net::Z3950::ZOOM::resultset_sort1()
mike [Tue, 8 Nov 2005 16:42:08 +0000 (16:42 +0000)]
ZOOM::ResultSet::sort() now uses Net::Z3950::ZOOM::resultset_sort1()
rather then ...::sort(), and returns its status.

19 years agoTwo new tests: resultset_sort1() rejects a syntactically invalid sort
mike [Tue, 8 Nov 2005 16:40:06 +0000 (16:40 +0000)]
Two new tests: resultset_sort1() rejects a syntactically invalid sort
specification, and accepts a good one.

19 years agoAdd ZOOM_resultset_sort1()
mike [Tue, 8 Nov 2005 16:39:23 +0000 (16:39 +0000)]
Add ZOOM_resultset_sort1()

19 years agoAdd t/16-packages.t and t/26-packages.t
mike [Tue, 8 Nov 2005 15:57:20 +0000 (15:57 +0000)]
Add t/16-packages.t and t/26-packages.t

19 years agoTested package functions, so far as possible.
mike [Tue, 8 Nov 2005 15:56:44 +0000 (15:56 +0000)]
Tested package functions, so far as possible.

19 years agoNew
mike [Tue, 8 Nov 2005 15:56:05 +0000 (15:56 +0000)]
New