Build a threadsafe libjs so that JavaScript::SpiderMonkey can be threadsafe
Thomas Berezansky <tsbere@mvlc.org> reported problems building
JavaScript::SpiderMonkey on 64-bit Ubuntu and offered some
patches to build it without -JS_THREADSAFE. The real problem, however,
was that libjs was not itself being built with the JS_THREADSAFE
option.
Enabling the JS_THREADSAFE option pulls in the requirement of
the nspr4-dev package on Ubuntu and Debian.
Tested on 64-bit Ubuntu Lucid and 64-bit Debian Lenny. 64-bit Fedora 13
worked previously because it uses the packaged version of libjs - which
was already built with the JS_THREADSAFE option.
The patch adds (BinaryEncoding => 'UTF-8') wherever MARC::File::XML is used in the database
PgPerl functions where it is not already being done. This stops the functions like
maintain_control_number() from trying to convert records from MARC8 to UTF-8 and blowing up,
when the records are already UTF-8.
since we're re-circulating to previous patrons sometimes as a poor man's check-in undo, give us the power to turn off these fee-generating features. berick++
Merge Dan Wells' changes to the serial schema from the
seials-integration branch.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0352.schema.serials-integration.sql
M Open-ILS/src/sql/Pg/210.schema.serials.sql
M Open-ILS/examples/fm_IDL.xml
M Open-ILS/src/sql/Pg/005.schema.actors.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0351.schema.usr_saved_search.sql
M Open-ILS/examples/fm_IDL.xml
Update README and prereq installer for Evergreen trunk:
* Favour PostgreSQL 8.4
* Add ISN contrib
* Update Dojo to 1.3.3
* Add Ubuntu Lucid as a target
* Remove Gentoo support (until we have a volunteer)
* Remove Ubuntu Karmic support (can add back in at release time if warranted)
M Open-ILS/src/sql/Pg/090.schema.action.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0350.schema.action-apply-fieldset.sql
senator [Thu, 22 Jul 2010 21:33:32 +0000 (21:33 +0000)]
Acq: attempt to fix issue where adding copies in an LI table's copies
interface, then returning to the table view, then going back to copies
doesn't show the most recent saved changes.
pushed view-in-catalog link up to the main lineitem display.
moved pl/po/worksheet/catalog links to a row of their own for a more consistent location (visually).
replaced 'PO:' 'PL:' with small icons to easier catch the eye;
added 'worksheet' tag to the worksheet icon for clarity
TODO: plug in bib discovery and linking mechanism for freerange lineitems
Two new tables in action schema: fieldset and fieldset_col_val.
M Open-ILS/src/sql/Pg/090.schema.action.sql
M Open-ILS/src/sql/Pg/999.functions.global.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0346.schema.action-fieldset.sql
M Open-ILS/examples/fm_IDL.xml
login just before starting work and log out after each request is handled. this is removes the need to check for bad authtokens and re-login mid-process
added support for selecting individual copy statuses that will prevent checkout at self-check even when the generic copy_not_available event has been overridden to allow for non-standard copy circs from selfcheck. TODO: ui for managing the list
updated default estimated hold wait display to handle seconds instead of days returned by the ML API call. TODO, consider if/how to handle sub-day intervals
remove ingest service call from authority import thanks to in-db ingest of auth by dbs; send final message with total and count processed; send record counts at most every 3%; rearrange queue cleanup code to aviod needless rollback and cover all queues, not just the first one we test
Teach marc2sre.pl MFHD record ingest script to read a mapping of library names to OU IDs
The past approach required workarounds that weren't fun for a library
without in-house scripting expertise; this provides a straightforward
mapping approach with docs and a working sample. Which should be helpful
for all of the libraries that will go with the MFHD serials approach in
the future. Heh.
Switch to ingesting authority records automatically via database triggers
Taken largely from the existing approach for ingesting biblio records,
there is some duplication here that we could genericize. But for now,
we'll go with the working-but-separate approach to avoid introducing
badness into the relatively stable biblio ingest pipeline.
Also, move some of the existing authority-related functions out of
the metabib schema file and into 999.functions.global.sql.
Finally, the direct_ingest.pl script is no longer necessary for
ingest of authority records, either, so die in that case as well.
Provides way to export bibs with holdings
that have a large number of copies attached. Default
timeout remains 1 second when exporting bibs; increased
to 300 seconds when exporting holdings based on
empirical tests on a big database.
Have open-ils.circ.circulation.due_date.update return the circ instead of the circ id so that modified rows in Items Out refresh correctly, and have Items Out -> Edit Due Date, -> Renew with Specific Date, and -> Mark Claimed Returned use the date/timepicker dialog
When returning a list of bind variables: If a default_ or actual_value
is undefined for a given variable, leave it out of the JSON object
altogether, rather than create an entry with a JSON null for it.
That way the client can distinguish between an undefined value and
a value defined as null.
validate.tag.id_list: Return an empty list instead of 0 in the case of no matching records
This makes it a little easier to handle cases where there was no match,
rather than having to check to see if we have a scalar or a reference
to a list.
Improve auto-authority-control processing script:
* Prevent duplicate $0 subfields from being generated by multiple runs
* Provide more bib field/subfield -> auth field/subfield mappings
* Protect against missing bib->auth maps
* Correct --all option to actually retrieve all undeleted records
Be more relaxed about what we receive in Vandelay (a bad LDR/09 need not lead to complete misery)
If MARC::File::XML->as_xml_record() receives a record with anything other
than 'a' in LDR/09 position, it will try to run a MARC8-to-UTF8 conversion
on the record - even though the source file itself was XML and clearly
couldn't have been MARC8.
This code corrects the leader on the fly so that MARC::File::XML won't
try to convert it and throw a "wide character" warning, but the fix
means that something was wrong with the leader to begin with, so we also
write a warning to the log about the situation.
Also: add some links to the IDL, that should have been there
in the first place.
M Open-ILS/include/openils/oils_buildq.h
M Open-ILS/src/c-apps/oils_storedq.c
M Open-ILS/src/c-apps/buildSQL.c
M Open-ILS/src/sql/Pg/002.schema.config.sql
M Open-ILS/src/sql/Pg/008.schema.query.sql
A Open-ILS/src/sql/Pg/upgrade/0336.schema.query-limit-offset-fkey.sql
M Open-ILS/examples/fm_IDL.xml
Stub script for adding authority control to an existing set of bibs
The goal of this script is to iterate over every bib record listed at
the command line (or --all) and check every controlled bib field for
matching subfield combinations in authority records. This is going to
be slow, friends, but for this iteration we're looking at paying a
one-time cost; after that, controlled fields will automatically be
maintained by triggers on the authority.record_entry tables.
The bib field-to-auth field mapping needs to be fleshed out (should
be comparable to the mapping in marcedit.js) and floating subdivisions
still need to be controlled. Probably in a separate pass over the bibs,
given the current "design".
We extend open-ils.s*.authority.validate.tag to offer an id_list() variant
so that we can get the corresponding authority record ID back from the
call, instead of just a count.
Add limit_count and offset_count columns to query.stored_query table.
M Open-ILS/src/sql/Pg/002.schema.config.sql
M Open-ILS/src/sql/Pg/008.schema.query.sql
A Open-ILS/src/sql/Pg/upgrade/0334.schema.query-limit-offset.sql
M Open-ILS/examples/fm_IDL.xml