opensrf/bjwebb.git
17 years agomore tuning of hinted object handling. added support for hinted object parsing in...
erickson [Fri, 15 Jun 2007 14:31:30 +0000 (14:31 +0000)]
more tuning of hinted object handling.  added support for hinted object parsing in gateway parser

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@952 9efc2488-bf62-4759-914b-345cdb29e865

17 years agotesting email 2
erickson [Fri, 15 Jun 2007 03:36:39 +0000 (03:36 +0000)]
testing email 2

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@951 9efc2488-bf62-4759-914b-345cdb29e865

17 years agotesting email
erickson [Fri, 15 Jun 2007 03:33:46 +0000 (03:33 +0000)]
testing email

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@950 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoCleaned up the network hint / object registration code in net_obj
erickson [Fri, 15 Jun 2007 03:18:51 +0000 (03:18 +0000)]
Cleaned up the network hint / object registration code in net_obj
Added object2XML function for posting XML to the opensrf gateway
updated the gateway to deal with the new object API

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@949 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoAdded a new XML-2-JSON utility for converting XMLized OpenSRF objects to their intern...
erickson [Thu, 14 Jun 2007 16:03:57 +0000 (16:03 +0000)]
Added a new XML-2-JSON utility for converting XMLized OpenSRF objects to their internal JSON representations
Added a new gateway param "input_format" to define the param format.
Options are "json" and "xml".
Unless overridden, input_format will match format

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@948 9efc2488-bf62-4759-914b-345cdb29e865

17 years agorolling back changes to objson includes. opensrf cannot find "opensrf/<blah>" since...
erickson [Wed, 13 Jun 2007 15:10:29 +0000 (15:10 +0000)]
rolling back changes to objson includes. opensrf cannot find "opensrf/<blah>" since there is no external include directory yet.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@947 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Dan Scott to fix up the OpenSRF build process in the new SVN repo:
miker [Tue, 12 Jun 2007 02:52:42 +0000 (02:52 +0000)]
Patch from Dan Scott to fix up the OpenSRF build process in the new SVN repo:

OpenSRF-svn-build.patch: this modifies the objson headers to specify
that "utils.h" is actually found in "opensrf/utils.h". I beleive the
ILS build was failing with the unqualified include because it didn't
have access to the utils.h file that used to be kept around in a
common TMP directory when OpenSRF and ILS were built simultaneously.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@944 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar; rearranges some logic to avoid a potential memory leak
miker [Tue, 12 Jun 2007 01:30:49 +0000 (01:30 +0000)]
Patch from Scott McKellar;  rearranges some logic to avoid a potential memory leak

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@943 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar:
miker [Tue, 12 Jun 2007 01:23:04 +0000 (01:23 +0000)]
Patch from Scott McKellar:

This small and inoffensive patch concerns two functions in utils.c:
init_proc_title() and set_proc_title().

1. I added some comments to explain what these functions do for a
living.

2. I declared the __global_argv and __global_argv_size variables
static.  No other source file refers to them.

3. I removed the leading underscores from their names.  Identifiers
beginning with two underscores are reserved for the implementation.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@942 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoCapturing the return value of the bootstrap call and emitting a message when encounte...
miker [Tue, 12 Jun 2007 01:15:55 +0000 (01:15 +0000)]
Capturing the return value of the bootstrap call and emitting a message when encountering a non-success value

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@941 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar to clarify errors in bootstrapping of the server process
miker [Tue, 12 Jun 2007 01:11:52 +0000 (01:11 +0000)]
Patch from Scott McKellar to clarify errors in bootstrapping of the server process

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@940 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar with minor adjustments:
miker [Tue, 12 Jun 2007 01:10:05 +0000 (01:10 +0000)]
Patch from Scott McKellar with minor adjustments:

1. In an earlier patch to osrf_settings_host_value_object(), we
contrived to abort the program deliberately instead of crashing with
a segmentation violation.  The current patch applies the same
treatment to the similar function osrf_settings_host_value(),
although I don't know that anyone has ever reported a problem at
this spot.  I rearranged the error message a bit so that it would
be distinct from the other one.

2. If the config pointer is null, it's because osrf_settings_retrieve()
was unable to populate it, or was never called.  There are two ways
it might fail: it might not get an osrf_message from
osrf_app_session_request_recv(), or the osrf_message it gets might
not have the _result_content member populated.  I added a couple of
log messages to distinguish between these possibilities. Maybe they
will make diagnosis easier.

3. The latter change also plugs a small memory leak.  If we get an
osrf_message but it has no _result_content, the present code neglects
to free the osrf_message.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@939 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoved unused TEMPLATEDIR directory creation. thanks, Dan S.
erickson [Tue, 12 Jun 2007 01:09:39 +0000 (01:09 +0000)]
removed unused TEMPLATEDIR directory creation.  thanks, Dan S.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@938 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar:
miker [Tue, 12 Jun 2007 01:08:25 +0000 (01:08 +0000)]
Patch from Scott McKellar:

1. I declared several functions as static, and moved their prototypes
from the header file to the implementation file.  In each case I
verified that nothing else in the code base calls it.

2. I removed the socket_send_nowait prototype from the header, and
commented it out in the implementation file.  I was tempted to
eliminate it entirely, but stayed my hand.  It is a trivial wrapper
for _socket_send(), and nothing calls it.

3. Nothing calls several other functions either.  However unlike
socket_send_nowait() they are non-trivial functions, and they appear
to be intended for external linkage, so I left them alone for
potential future use.

4. The identifier _socket_print_list is reserved for local scope,
and should not have external linkage, because it starts with an
underscore followed by a lower case letter.  I may submit a patch to
rename it some day if I ever get around to it, but that will require
a change in socket_test.c, which calls it.

5. I moved the definition of the RBUFSIZE macro from the header file
into the implmentation file.  It is an internal detail that no
other translation unit should know or care about.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@937 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar:
miker [Tue, 12 Jun 2007 01:05:53 +0000 (01:05 +0000)]
Patch from Scott McKellar:

1. I made __osrfChatXMLErrorOcurred and __osrfChatClientSentDisconnect
static, and removed the leading underscores from their names.  No other
source files refer to them.

2. In osrfNewChatServer() I explicitly initialize the port member to
zero -- which is already happening implicitly due to the memset() in
safe_malloc().

3. Also in osrfNewChatServer(): the existing code populates the secret
member only if the secret parameter is not NULL, and leaves it
uninitialized otherwise.  However if the secret parameter were NULL
we would have already performed an early exit.  I populate the secret
member unconditionally, just as we do with the domain member.  I also
moved this assignment up with the other assignments, for a more
readable flow.

4. In osrfChatServerFree(), the existing code leaves several memory
references dangling, without freeing them.  I added code to free the
domain member, the deadNodes member, and finally the osrfChatServer
itself.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@936 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadding gateway parsing code. so far, we have XML gateway handling using python minidom.
erickson [Mon, 11 Jun 2007 22:21:08 +0000 (22:21 +0000)]
adding gateway parsing code.  so far, we have XML gateway handling using python minidom.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@935 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadding sample makefile and install.conf file for opensrf installation
erickson [Mon, 11 Jun 2007 20:13:58 +0000 (20:13 +0000)]
adding sample makefile and install.conf file for opensrf installation

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@934 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoported XML parsing from libxml2 to Python's builtin xml.dom.minidom to reduce dependenies
erickson [Mon, 11 Jun 2007 20:06:56 +0000 (20:06 +0000)]
ported XML parsing from libxml2 to Python's builtin xml.dom.minidom to reduce dependenies

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@933 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar; cleaning up several error conditions
miker [Sun, 10 Jun 2007 23:41:14 +0000 (23:41 +0000)]
Patch from Scott McKellar; cleaning up several error conditions

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-June/001241.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@932 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar; Adds calls to strerror() where appropriate in
miker [Thu, 31 May 2007 12:12:02 +0000 (12:12 +0000)]
Patch from Scott McKellar;  Adds calls to strerror() where appropriate in
OpenSRF/src/utils/socket_bundle.c.

Applied with some additional changes to clean up log messages and correct an
instance of printf'ing a getpid as an int instead of a long.

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001148.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@930 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoved some error lines printed to stderr. not used and they also have the potentia...
erickson [Thu, 31 May 2007 03:33:06 +0000 (03:33 +0000)]
removed some error lines printed to stderr.  not used and they also have the potential of overwriteing errno

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@929 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoslimmed some logging. capturing errno locally after the recv() call so it is not...
erickson [Thu, 31 May 2007 03:32:27 +0000 (03:32 +0000)]
slimmed some logging.  capturing errno locally after the recv() call so it is not replaced by a different system call before the check

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@928 9efc2488-bf62-4759-914b-345cdb29e865

17 years agono longer freeing return value from strerror since it should not be modified
erickson [Tue, 29 May 2007 13:26:33 +0000 (13:26 +0000)]
no longer freeing return value from strerror since it should not be modified

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@926 9efc2488-bf62-4759-914b-345cdb29e865

17 years agodueling patches of pedantism
miker [Tue, 29 May 2007 13:08:53 +0000 (13:08 +0000)]
dueling patches of pedantism

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@925 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded some more descriptive logging. removed old signal handling code. no longer...
erickson [Tue, 29 May 2007 12:54:49 +0000 (12:54 +0000)]
added some more descriptive logging.  removed old signal handling code.  no longer freeing return value from strerror since it should not be modified

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@924 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoChange suggested by Scott McKellar; handle c-app children death without a
miker [Tue, 29 May 2007 03:03:44 +0000 (03:03 +0000)]
Change suggested by Scott McKellar; handle c-app children death without a
signal handler.

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/000955.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@923 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Dan Scott; adds -rpath=$(LIBDIR) to the default LDFLAGS for
miker [Tue, 29 May 2007 02:43:20 +0000 (02:43 +0000)]
Patch from Dan Scott; adds -rpath=$(LIBDIR) to the default LDFLAGS for
OpenSRF, obviating the need to set up non-standard system search paths
for any libs that OpenSRF loads that either don't have a lib prefix
or live outside the normal system library paths.

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001123.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@922 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoswapped the formats -- typo
miker [Mon, 28 May 2007 20:16:09 +0000 (20:16 +0000)]
swapped the formats -- typo

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@921 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar; reasonable and non-intrusive diagnostic message in
miker [Mon, 28 May 2007 20:12:23 +0000 (20:12 +0000)]
Patch from Scott McKellar; reasonable and non-intrusive diagnostic message in
the case that we've been given on port or unix socket path to connect over.

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001109.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@920 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoPatch from Scott McKellar; allows the compiler to warn us of missing casts
miker [Mon, 28 May 2007 20:08:47 +0000 (20:08 +0000)]
Patch from Scott McKellar; allows the compiler to warn us of missing casts
coming from undefined safe_malloc()s, NULL-initialize pointers (\0 != NULL).

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001098.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@919 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoSeveral combined cleanup patches from Scott McKellar:
miker [Mon, 28 May 2007 19:57:19 +0000 (19:57 +0000)]
Several combined cleanup patches from Scott McKellar:

 * remove leading underscores from static vars and functions
 * make static functions, well, static
 * tighten up the definition of funcs that take 0 params

http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001095.html
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001101.html
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001112.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@918 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoAt Scott McKellar's suggestion, using (long) cast and %ld format for getpid()
miker [Mon, 28 May 2007 19:49:20 +0000 (19:49 +0000)]
At Scott McKellar's suggestion, using (long) cast and %ld format for getpid()

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@917 9efc2488-bf62-4759-914b-345cdb29e865

17 years agohttp://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001092.html
miker [Sun, 27 May 2007 00:49:10 +0000 (00:49 +0000)]
list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001092.html
Patch from Scott McKellar to:

 * Make default config object pointer static (module local)
 * Clean up variable name to remove leading underscores
 * Remove think-o which would deallocate the default config when
   loading any other
 * Fix error log message

Applied with minor change to the log message fix

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@916 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoXSD from Dan Scott for validating the ~/.srfsh.xml config file.
miker [Fri, 25 May 2007 15:31:59 +0000 (15:31 +0000)]
XSD from Dan Scott for validating the ~/.srfsh.xml config file.
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001030.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@915 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoFrom Dan Scott: EOL Whitespace is now stripped in the perl config file,
miker [Wed, 23 May 2007 15:04:59 +0000 (15:04 +0000)]
From Dan Scott: EOL Whitespace is now stripped in the perl config file,
hopefully saving some debugging time in the future.

Details at: http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001049.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@914 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoignore non-leaf text nodes
miker [Mon, 21 May 2007 16:33:29 +0000 (16:33 +0000)]
ignore non-leaf text nodes

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@913 9efc2488-bf62-4759-914b-345cdb29e865

17 years agocompatability functions for strnlen and strndup
miker [Mon, 21 May 2007 05:12:27 +0000 (05:12 +0000)]
compatability functions for strnlen and strndup

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@912 9efc2488-bf62-4759-914b-345cdb29e865

17 years agomoving this to strn_compat
miker [Mon, 21 May 2007 05:11:15 +0000 (05:11 +0000)]
moving this to strn_compat

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@911 9efc2488-bf62-4759-914b-345cdb29e865

17 years agocut-n-paste error in logged message -- thanks scottmck
miker [Mon, 21 May 2007 04:33:46 +0000 (04:33 +0000)]
cut-n-paste error in logged message -- thanks scottmck

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@910 9efc2488-bf62-4759-914b-345cdb29e865

17 years agostrndup() and strnlen() implementations from Jeroen Ruigrok van der Werven
miker [Mon, 21 May 2007 02:31:52 +0000 (02:31 +0000)]
strndup() and strnlen() implementations from Jeroen Ruigrok van der Werven
See bug #551 for original details -- http://open-ils.org/cgi-bin/bugzilla/show_bug.cgi?id=551

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@909 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoreordering breakage; const qualifier in header
miker [Mon, 21 May 2007 01:53:27 +0000 (01:53 +0000)]
reordering breakage; const qualifier in header

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@908 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoFailure cleanups suggested by Scott McKellar; modified from patch at
miker [Mon, 21 May 2007 01:48:05 +0000 (01:48 +0000)]
Failure cleanups suggested by Scott McKellar; modified from patch at
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001006.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@907 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoconst-ification
miker [Mon, 21 May 2007 01:46:39 +0000 (01:46 +0000)]
const-ification

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@906 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoCorrecting previous comment. The right mailing list pointer is at:
miker [Sun, 20 May 2007 13:15:05 +0000 (13:15 +0000)]
Correcting previous comment.  The right mailing list pointer is at:
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001002.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@905 9efc2488-bf62-4759-914b-345cdb29e865

17 years agostderr output cleanup
miker [Sun, 20 May 2007 12:50:36 +0000 (12:50 +0000)]
stderr output cleanup
Patch supplied by Scott McKellar
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001006.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@904 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded some inline comments
erickson [Fri, 18 May 2007 19:55:59 +0000 (19:55 +0000)]
added some inline comments

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@903 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded math bench code. added shutdown method to disconnect from jabber. updated...
erickson [Fri, 18 May 2007 19:44:31 +0000 (19:44 +0000)]
added math bench code.  added shutdown method to disconnect from jabber.  updated makefile to used fetched version of the stax jar

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@902 9efc2488-bf62-4759-914b-345cdb29e865

17 years agochanged log level on what really should not be a warning message
erickson [Fri, 18 May 2007 17:31:44 +0000 (17:31 +0000)]
changed log level on what really should not be a warning message

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@901 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoreturning OK status in respond method, instead of no status at all. most code uses...
erickson [Fri, 18 May 2007 16:57:56 +0000 (16:57 +0000)]
returning OK status in respond method, instead of no status at all.  most code uses respond_complete, which is why this has not been an issue in the past.  writing new client libs exposed it, though

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@900 9efc2488-bf62-4759-914b-345cdb29e865

17 years agobroke network-object logic out of the JSON parsing code
erickson [Fri, 18 May 2007 16:55:51 +0000 (16:55 +0000)]
broke network-object logic out of the JSON parsing code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@899 9efc2488-bf62-4759-914b-345cdb29e865

17 years agocommitting scott's safer MALLOC macro and a new buffer_release function patches
erickson [Fri, 18 May 2007 16:53:29 +0000 (16:53 +0000)]
committing scott's safer MALLOC macro and a new buffer_release function patches

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@898 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded a make target to sample makefile for fetching jar/source dependencies to ease...
erickson [Fri, 18 May 2007 15:58:38 +0000 (15:58 +0000)]
added a make target to sample makefile for fetching jar/source dependencies to ease deployment

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@897 9efc2488-bf62-4759-914b-345cdb29e865

17 years agorethinking deployment
erickson [Fri, 18 May 2007 15:56:17 +0000 (15:56 +0000)]
rethinking deployment

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@896 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoupdating to jdk1.5 build
erickson [Wed, 16 May 2007 21:01:06 +0000 (21:01 +0000)]
updating to jdk1.5 build

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@895 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded memcache lib to makefile
erickson [Wed, 16 May 2007 20:41:03 +0000 (20:41 +0000)]
added memcache lib to makefile

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@894 9efc2488-bf62-4759-914b-345cdb29e865

17 years agocommitting added jars
erickson [Wed, 16 May 2007 20:09:45 +0000 (20:09 +0000)]
committing added jars

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@893 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded a memcache client and test
erickson [Wed, 16 May 2007 19:30:03 +0000 (19:30 +0000)]
added a memcache client and test

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@892 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded a settings server client and test. made the global config object wrapped in...
erickson [Wed, 16 May 2007 17:27:56 +0000 (17:27 +0000)]
added a settings server client and test.  made the global config object wrapped in a method instead of using static methods all around

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@891 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoimplemented client bootstrap. created a status object to model connection statuses...
erickson [Wed, 16 May 2007 14:38:02 +0000 (14:38 +0000)]
implemented client bootstrap.  created a status object to model connection statuses.  remodeled the client test code to run arbitrary methods

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@890 9efc2488-bf62-4759-914b-345cdb29e865

17 years agofixed some doc strings. added sample makefile
erickson [Fri, 11 May 2007 23:10:26 +0000 (23:10 +0000)]
fixed some doc strings.  added sample makefile

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@886 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded a lot of documentation
erickson [Fri, 11 May 2007 22:53:43 +0000 (22:53 +0000)]
added a lot of documentation

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@885 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoimplemented enough of the stack/session logic to make stateless requests and receive...
erickson [Fri, 11 May 2007 15:45:27 +0000 (15:45 +0000)]
implemented enough of the stack/session logic to make stateless requests and receive responses

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@884 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadding more base objects, started on stack layer. added config parser
erickson [Thu, 10 May 2007 20:59:27 +0000 (20:59 +0000)]
adding more base objects, started on stack layer. added config parser

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@883 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded JSON reading ability, including serializable objects
erickson [Thu, 10 May 2007 19:56:08 +0000 (19:56 +0000)]
added JSON reading ability, including serializable objects

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@882 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded support for opensrf-serializable objects and JSON output of those objects....
erickson [Thu, 10 May 2007 16:31:52 +0000 (16:31 +0000)]
added support for opensrf-serializable objects and JSON output of those objects. updated some JSON test code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@881 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded initial opensrf stack layer objects. more tuning/testing of the jabber layer
erickson [Thu, 10 May 2007 02:51:51 +0000 (02:51 +0000)]
added initial opensrf stack layer objects.  more tuning/testing of the jabber layer

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@880 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoprintf family format fixup found (har har) and suggested by Scott McKellar -- %lf...
miker [Wed, 9 May 2007 20:20:46 +0000 (20:20 +0000)]
printf family format fixup found (har har) and suggested by Scott McKellar -- %lf -> %f
(no need for the precision and/or scale of %Lf)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@879 9efc2488-bf62-4759-914b-345cdb29e865

17 years agofixed some logic bugs with the body parsing, added some comments
erickson [Wed, 9 May 2007 18:13:38 +0000 (18:13 +0000)]
fixed some logic bugs with the body parsing, added some comments

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@878 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded the woodstox stax jar files
erickson [Wed, 9 May 2007 18:00:36 +0000 (18:00 +0000)]
added the woodstox stax jar files

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@877 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded java jabber layer
erickson [Wed, 9 May 2007 17:45:42 +0000 (17:45 +0000)]
added java jabber layer

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@876 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded some more index sanity checks. added const qualifier where necessary
erickson [Mon, 7 May 2007 14:26:56 +0000 (14:26 +0000)]
added some more index sanity checks.  added const qualifier where necessary

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@875 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded size check to constructor
erickson [Mon, 7 May 2007 14:07:36 +0000 (14:07 +0000)]
added size check to constructor

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@874 9efc2488-bf62-4759-914b-345cdb29e865

17 years agocommitting scott m's buffer protection patch
erickson [Thu, 3 May 2007 15:10:06 +0000 (15:10 +0000)]
committing scott m's buffer protection patch

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@872 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoExiting with a usable error message rather than segfaulting
miker [Sun, 29 Apr 2007 20:11:51 +0000 (20:11 +0000)]
Exiting with a usable error message rather than segfaulting
 - patch provided by Scott McKellar
 - http://list.georgialibraries.org/pipermail/open-ils-dev/2007-April/000727.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@866 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoAvoiding memory leaks in string opperations
miker [Sat, 28 Apr 2007 23:46:02 +0000 (23:46 +0000)]
Avoiding memory leaks in string opperations
  - patch provided by Scott McKellar
  - http://list.georgialibraries.org/pipermail/open-ils-dev/2007-April/000724.html

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@864 9efc2488-bf62-4759-914b-345cdb29e865

17 years agocompletely untested and possibly broken settings extention to retrieve defaults when...
miker [Thu, 26 Apr 2007 02:12:45 +0000 (02:12 +0000)]
completely untested and possibly broken settings extention to retrieve defaults when host specific fails

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@863 9efc2488-bf62-4759-914b-345cdb29e865

17 years agomade new child creation more robust
erickson [Mon, 9 Apr 2007 19:52:00 +0000 (19:52 +0000)]
made new child creation more robust

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@862 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoTypo reported by Dan Scott
miker [Tue, 3 Apr 2007 03:47:21 +0000 (03:47 +0000)]
Typo reported by Dan Scott

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@860 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoved some old code and the unnecessary select-as-sleep calls
erickson [Thu, 29 Mar 2007 20:06:05 +0000 (20:06 +0000)]
removed some old code and the unnecessary select-as-sleep calls

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@859 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoapplied patch from Dan to provide an example usage
erickson [Thu, 29 Mar 2007 14:07:13 +0000 (14:07 +0000)]
applied patch from Dan to provide an example usage

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@858 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoforcing int on timeout values in process and timed_read
erickson [Mon, 26 Mar 2007 17:41:51 +0000 (17:41 +0000)]
forcing int on timeout values in process and timed_read

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@853 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded an info log line to log the called method
erickson [Mon, 26 Mar 2007 17:25:48 +0000 (17:25 +0000)]
added an info log line to log the called method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@852 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoving install of deprecated files
erickson [Fri, 23 Mar 2007 14:12:46 +0000 (14:12 +0000)]
removing install of deprecated files

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@850 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoving deprecated files
erickson [Fri, 23 Mar 2007 02:16:36 +0000 (02:16 +0000)]
removing deprecated files

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@849 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoved the deprecated rest_gateway config; added comment on router name changes
erickson [Fri, 23 Mar 2007 02:13:02 +0000 (02:13 +0000)]
removed the deprecated rest_gateway config; added comment on router name changes

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@848 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded "use Net::Domain" in the package that calls hostfqdn()
erickson [Thu, 22 Mar 2007 19:49:08 +0000 (19:49 +0000)]
added "use Net::Domain" in the package that calls hostfqdn()

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@847 9efc2488-bf62-4759-914b-345cdb29e865

17 years agospacing adjustment
miker [Thu, 22 Mar 2007 00:06:21 +0000 (00:06 +0000)]
spacing adjustment

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@846 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadjusting comment in example config re bug #518
miker [Thu, 22 Mar 2007 00:04:56 +0000 (00:04 +0000)]
adjusting comment in example config re bug #518

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@845 9efc2488-bf62-4759-914b-345cdb29e865

17 years agousing Net::Domain instead of the shell to get the fqdn of the current host
miker [Tue, 20 Mar 2007 00:47:54 +0000 (00:47 +0000)]
using Net::Domain instead of the shell to get the fqdn of the current host

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@844 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded more portable (perl) hostname fetching to pass to the C code, updated docs
erickson [Mon, 19 Mar 2007 22:04:57 +0000 (22:04 +0000)]
added more portable (perl) hostname fetching to pass to the C code, updated docs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@843 9efc2488-bf62-4759-914b-345cdb29e865

17 years agolowered some logging
erickson [Thu, 15 Mar 2007 23:49:14 +0000 (23:49 +0000)]
lowered some logging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@841 9efc2488-bf62-4759-914b-345cdb29e865

17 years agorefactored the unix::server config handling by getting rid of the old temp config...
erickson [Wed, 7 Mar 2007 21:22:20 +0000 (21:22 +0000)]
refactored the unix::server config handling by getting rid of the old temp config files
and passing config params directly to the net::server run() method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@840 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoapplying spelling fixes and making db names/passwords match accross default config...
erickson [Mon, 5 Mar 2007 20:41:52 +0000 (20:41 +0000)]
applying spelling fixes and making db names/passwords match accross default config files thanks to patch by Dan Scott.  Thanks, Dan!

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@838 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoving unused log section
erickson [Thu, 22 Feb 2007 19:22:31 +0000 (19:22 +0000)]
removing unused log section

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@832 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded the <client> block to the gateway. moving everything to "localhost" for consis...
erickson [Thu, 22 Feb 2007 17:02:01 +0000 (17:02 +0000)]
added the <client> block to the gateway.  moving everything to "localhost" for consistency

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@831 9efc2488-bf62-4759-914b-345cdb29e865

17 years agodo a kill -9 after kill -s INT to make sure no stubborn processes stick around
erickson [Thu, 22 Feb 2007 16:22:24 +0000 (16:22 +0000)]
do a kill -9 after kill -s INT to make sure no stubborn processes stick around

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@830 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoremoving old, unused child_finish_hook
erickson [Wed, 7 Feb 2007 16:12:38 +0000 (16:12 +0000)]
removing old, unused child_finish_hook

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@822 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded child exit handling code and example
erickson [Wed, 7 Feb 2007 15:00:06 +0000 (15:00 +0000)]
added child exit handling code and example

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@821 9efc2488-bf62-4759-914b-345cdb29e865

17 years agofixed bool parsing bug -- off by one on the string size enforcement
erickson [Mon, 5 Feb 2007 16:20:39 +0000 (16:20 +0000)]
fixed bool parsing bug -- off by one on the string size enforcement

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@817 9efc2488-bf62-4759-914b-345cdb29e865

17 years agoadded a is-true wrapper for bool objects
erickson [Mon, 5 Feb 2007 15:47:11 +0000 (15:47 +0000)]
added a is-true wrapper for bool objects

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@816 9efc2488-bf62-4759-914b-345cdb29e865