opensrf/bjwebb.git
18 years agotouchup on the unicode handler
miker [Sat, 19 Nov 2005 04:20:15 +0000 (04:20 +0000)]
touchup on the unicode handler

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

19 years agotosimplestring now returns int/double as expected
erickson [Thu, 10 Nov 2005 19:03:17 +0000 (19:03 +0000)]
tosimplestring now returns int/double as expected

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

19 years agoarg! cut-n-paste error
miker [Thu, 10 Nov 2005 02:12:12 +0000 (02:12 +0000)]
arg! cut-n-paste error

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

19 years agofixing unicode escaping in JSON
miker [Wed, 9 Nov 2005 22:15:47 +0000 (22:15 +0000)]
fixing unicode escaping in JSON

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

19 years agoadded pop method to osrf_list
erickson [Wed, 9 Nov 2005 21:47:31 +0000 (21:47 +0000)]
added pop method to osrf_list
makefile builds mod_xmlbuilder code

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

19 years agorolling back hostname change because of mysterious performance problem
erickson [Mon, 7 Nov 2005 23:16:22 +0000 (23:16 +0000)]
rolling back hostname change because of mysterious performance problem
needs investigations when time permits..

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

19 years agodurrrr.. typo
erickson [Mon, 7 Nov 2005 21:05:37 +0000 (21:05 +0000)]
durrrr.. typo

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

19 years agohandling 'hostname' more carefully
erickson [Mon, 7 Nov 2005 21:03:05 +0000 (21:03 +0000)]
handling 'hostname' more carefully

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

19 years agoopensrf_core now builds libopensrf.so and opensrf-c
erickson [Mon, 7 Nov 2005 20:35:37 +0000 (20:35 +0000)]
opensrf_core now builds libopensrf.so and opensrf-c

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

19 years agostripping bad characters
miker [Mon, 7 Nov 2005 17:59:48 +0000 (17:59 +0000)]
stripping bad characters

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

19 years agochecking <language> for perl in listener and unix children
erickson [Fri, 4 Nov 2005 23:34:17 +0000 (23:34 +0000)]
checking <language> for perl in listener and unix children

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

19 years agofixed bug where removing a node didn't always register
erickson [Fri, 4 Nov 2005 23:32:53 +0000 (23:32 +0000)]
fixed bug where removing a node didn't always register

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

19 years agoadded "connected" method for stateful sessions
miker [Fri, 4 Nov 2005 21:32:45 +0000 (21:32 +0000)]
added "connected" method for stateful sessions

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

19 years agomoved session code to osrfHash and osrfList instead of manual linked lists
erickson [Wed, 2 Nov 2005 22:16:47 +0000 (22:16 +0000)]
moved session code to osrfHash and osrfList instead of manual linked lists
added some logging to the transport group stuff and a disconnect method

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

19 years agoexplicitly removing pre-existing connections when two overlap
erickson [Wed, 2 Nov 2005 20:51:49 +0000 (20:51 +0000)]
explicitly removing pre-existing connections when two overlap
fixed typo

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

19 years agomove the moved call to the right place...
miker [Wed, 2 Nov 2005 16:46:59 +0000 (16:46 +0000)]
move the moved call to the right place...

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

19 years agocleaned up the code some
erickson [Wed, 2 Nov 2005 16:18:14 +0000 (16:18 +0000)]
cleaned up the code some

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

19 years agosettings client does not need to bootstrap itself, system will do that
miker [Tue, 1 Nov 2005 23:13:47 +0000 (23:13 +0000)]
settings client does not need to bootstrap itself, system will do that

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

19 years agoadded <language> for docs
erickson [Tue, 1 Nov 2005 22:03:02 +0000 (22:03 +0000)]
added <language> for docs

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

19 years agoadded the <language> block to the opensrf app config so the servers
erickson [Tue, 1 Nov 2005 22:01:21 +0000 (22:01 +0000)]
added the <language> block to the opensrf app config so the servers
will know which apps they need to run

e.g. <language>c</language>, <language>perl</language>

case insensitve

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

19 years agologging added by bill
miker [Tue, 1 Nov 2005 21:15:42 +0000 (21:15 +0000)]
logging added by bill

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

19 years agoadding support for alternate APR header dirs
miker [Tue, 1 Nov 2005 17:57:04 +0000 (17:57 +0000)]
adding support for alternate APR header dirs

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

19 years agousing get_timestamp_millis() instead of manual time gathering
erickson [Tue, 25 Oct 2005 14:04:48 +0000 (14:04 +0000)]
using get_timestamp_millis() instead of manual time gathering

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

19 years agoforcing user opensrf to start the system
erickson [Mon, 24 Oct 2005 18:19:05 +0000 (18:19 +0000)]
forcing user opensrf to start the system
added -pipe for faster compile
creating pid and sock dirs during install

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

19 years agonot allowing the code to be run as root
erickson [Mon, 24 Oct 2005 18:00:25 +0000 (18:00 +0000)]
not allowing the code to be run as root

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

19 years agoadded section in core config for C client bootstrap
erickson [Mon, 24 Oct 2005 17:34:19 +0000 (17:34 +0000)]
added section in core config for C client bootstrap

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

19 years agomade the JID functions safer
erickson [Tue, 18 Oct 2005 14:01:42 +0000 (14:01 +0000)]
made the JID functions safer
updated where necessary
made some modifications to the test version of the client redundancy code

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

19 years agoadded newline in debug output
erickson [Thu, 13 Oct 2005 14:48:52 +0000 (14:48 +0000)]
added newline in debug output

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

19 years agodisabled chatdbg function cuz it's way too heavy
erickson [Tue, 11 Oct 2005 14:44:46 +0000 (14:44 +0000)]
disabled chatdbg function cuz it's way too heavy

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

19 years agosome more sanity checks
erickson [Tue, 11 Oct 2005 14:01:29 +0000 (14:01 +0000)]
some more sanity checks

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

19 years agofixed logic bug in the xpath finder
erickson [Mon, 10 Oct 2005 23:04:39 +0000 (23:04 +0000)]
fixed logic bug in the xpath finder

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

19 years agoadded section for chopchop since it now reads xml config instead of command line
erickson [Mon, 10 Oct 2005 20:25:11 +0000 (20:25 +0000)]
added section for chopchop since it now reads xml config instead of command line

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

19 years agovarious tweaks
erickson [Mon, 10 Oct 2005 20:23:41 +0000 (20:23 +0000)]
various tweaks

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

19 years agogutted chopchop
erickson [Mon, 10 Oct 2005 20:22:30 +0000 (20:22 +0000)]
gutted chopchop
moved to osrfList and osrfHash for faster lookups
added core server 2 server code

much testing required, more robust error messages required

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

19 years agologging returned content at info level
erickson [Wed, 5 Oct 2005 14:12:27 +0000 (14:12 +0000)]
logging returned content at info level

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

19 years agoslight C api change, method options are now passed as a single OR'ed group of option...
erickson [Wed, 5 Oct 2005 14:05:12 +0000 (14:05 +0000)]
slight C api change, method options are now passed as a single OR'ed group of option flags
added some info logging to system

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

19 years agoadded atomic method cabilities
erickson [Tue, 4 Oct 2005 20:22:02 +0000 (20:22 +0000)]
added atomic method cabilities
register the method as streaming and an atomic version will also be registered

left space for adding cachable and potentially other method transformations

ported existing apps to new method structure

automatically initializing the app logger when the app is initialized

ported the application code to osrfHash'es instead of linked lists

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

19 years agoremoving in favor of new router code
erickson [Mon, 3 Oct 2005 22:21:51 +0000 (22:21 +0000)]
removing in favor of new router code

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

19 years agoadded list and hash code based on libJudy
erickson [Mon, 3 Oct 2005 22:19:41 +0000 (22:19 +0000)]
added list and hash code based on libJudy
re-coded the router
added preliminary transport_group code for client redundancy (far from functional)
various twists and tweaks
fixed memory error in string_array code
update makefiles

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

19 years agofixing up the date scrubber
miker [Fri, 23 Sep 2005 15:53:33 +0000 (15:53 +0000)]
fixing up the date scrubber

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

19 years agoadded objson dependency to libopensrf
erickson [Thu, 22 Sep 2005 16:02:53 +0000 (16:02 +0000)]
added objson dependency to libopensrf

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

19 years agomade C auth server
erickson [Thu, 15 Sep 2005 22:59:37 +0000 (22:59 +0000)]
made C auth server
added utils code for C servers, including some fieldmapper handling code
fieldmapper now copies headers over to INCLUDE/openils/
install scripts now install c-apps

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

19 years agosome api changes
erickson [Thu, 15 Sep 2005 22:57:18 +0000 (22:57 +0000)]
some api changes
tested the cache stuff better
added #define for enforcing argc on methods
system methods are registered through the same facility as regular methods

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

19 years agocleaned up Biblio some
erickson [Thu, 15 Sep 2005 19:27:06 +0000 (19:27 +0000)]
cleaned up Biblio some

made indicator seperator light grey instead of black

added log line to transport_session

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

19 years agochanged around the status method some
erickson [Mon, 12 Sep 2005 22:20:08 +0000 (22:20 +0000)]
changed around the status method some
added the framework for processing 'system' method (introspect, etc.)
implemented opensrf.system.method.all

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

19 years agoadded the md5 server (opensrf.version)
erickson [Mon, 12 Sep 2005 13:33:26 +0000 (13:33 +0000)]
added the md5 server (opensrf.version)
some memory debugging
slight api change (OSRF_METHOD_VERIFY_CONTEXT no longer creates local vars)
added a basic 'application' level logging
numerous small changes

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

19 years agoadded caching and cache initialize routine to the bootstrap call
erickson [Fri, 9 Sep 2005 03:07:24 +0000 (03:07 +0000)]
added caching and cache initialize routine to the bootstrap call

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

19 years agochanged initialize to osrfAppInitialize and childInit to osrfAppChildInit
erickson [Wed, 7 Sep 2005 14:03:20 +0000 (14:03 +0000)]
changed initialize to osrfAppInitialize and childInit to osrfAppChildInit

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

19 years agoadded a function to check the file descriptor before adding it to
erickson [Wed, 7 Sep 2005 13:50:55 +0000 (13:50 +0000)]
added a function to check the file descriptor before adding it to
the select call

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

19 years agomatching non-letter and non-number
miker [Tue, 6 Sep 2005 15:57:03 +0000 (15:57 +0000)]
matching non-letter and non-number

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

19 years agomatching non-letter and non-number
miker [Tue, 6 Sep 2005 15:38:35 +0000 (15:38 +0000)]
matching non-letter and non-number

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

19 years agomatching non-letter and non-number
miker [Tue, 6 Sep 2005 15:33:22 +0000 (15:33 +0000)]
matching non-letter and non-number

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

19 years agomatching non-letter and non-number
miker [Tue, 6 Sep 2005 15:30:02 +0000 (15:30 +0000)]
matching non-letter and non-number

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

19 years agofixed makefile ommission
erickson [Tue, 6 Sep 2005 15:24:48 +0000 (15:24 +0000)]
fixed makefile ommission

updated the JSON api stuff in json_xml.c
added json_xml.o to the build target

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

19 years agonormalizing wide chars
miker [Tue, 6 Sep 2005 15:21:12 +0000 (15:21 +0000)]
normalizing wide chars

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

19 years agosmall bug fixes
erickson [Tue, 6 Sep 2005 14:22:39 +0000 (14:22 +0000)]
small bug fixes

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

19 years agochanged router binary to opensrf_router to prevent opensrf_all from destroying
erickson [Tue, 6 Sep 2005 13:57:57 +0000 (13:57 +0000)]
changed router binary to opensrf_router to prevent opensrf_all from destroying
some other process called router - (needs to be pid based eventually...)

gave the router a proc title (jsever is next)

updated opensrf_all and opensrf_ctl

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

19 years agoadded CONNECT handling
erickson [Tue, 6 Sep 2005 01:04:09 +0000 (01:04 +0000)]
added CONNECT handling
added respond complete (general message batch handling)
changed Dispatcher to Context cuz i thought it made more sense
added gnarly function to change the process name for C progs
laid groundwork for statefull keepalive loop

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

19 years agoadded some more api wrappers
erickson [Fri, 2 Sep 2005 22:28:27 +0000 (22:28 +0000)]
added some more api wrappers
json parser now takes variable length args
added some comments to osrf_math

found hienous memory leak in forker code, C code is now memory stable :)

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

19 years agoadded dbmath
erickson [Fri, 2 Sep 2005 20:38:27 +0000 (20:38 +0000)]
added dbmath
made some api changes to session, more to come

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

19 years agomath server (really dbmath code)
erickson [Fri, 2 Sep 2005 19:39:22 +0000 (19:39 +0000)]
math server (really dbmath code)

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

19 years agoYoung C server code added
erickson [Fri, 2 Sep 2005 19:38:35 +0000 (19:38 +0000)]
Young C server code added

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

19 years agochanged the CC_OPTS and LD_FLAGS to CFLAGS, LDFLAGS, and LDLIBS
erickson [Thu, 1 Sep 2005 16:15:27 +0000 (16:15 +0000)]
changed the CC_OPTS and LD_FLAGS to CFLAGS, LDFLAGS, and LDLIBS
so that MAKE can implicitly build .o files
(don't have to repeat build flags in makefiles)
makefiles are cleaner this way

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

19 years agoall opensrf related headers are shoved into opensrf/*.h
erickson [Wed, 31 Aug 2005 21:14:35 +0000 (21:14 +0000)]
all opensrf related headers are shoved into opensrf/*.h

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

19 years agosee diffs
erickson [Wed, 31 Aug 2005 19:31:07 +0000 (19:31 +0000)]
see diffs

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

19 years agoadding config code
erickson [Wed, 31 Aug 2005 19:02:50 +0000 (19:02 +0000)]
adding config code

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

19 years agoaddiing some xml utility code
erickson [Wed, 31 Aug 2005 19:02:01 +0000 (19:02 +0000)]
addiing some xml utility code

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

19 years agonew json api changes
erickson [Wed, 31 Aug 2005 18:32:56 +0000 (18:32 +0000)]
new json api changes
new config reader code created and inserted

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

19 years agoseparate REST gateway now compiles ... installation is untested
miker [Mon, 29 Aug 2005 15:58:28 +0000 (15:58 +0000)]
separate REST gateway now compiles ... installation is untested

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

19 years agoadding utility methods
erickson [Fri, 26 Aug 2005 20:03:31 +0000 (20:03 +0000)]
adding utility methods
adding the preforking for server apps fork code

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

19 years agotypo
erickson [Thu, 25 Aug 2005 21:37:01 +0000 (21:37 +0000)]
typo

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

19 years agoprotect hash keys by quoting
miker [Thu, 25 Aug 2005 21:34:25 +0000 (21:34 +0000)]
protect hash keys by quoting

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

19 years agoprotect hash keys by quoting
miker [Thu, 25 Aug 2005 21:32:22 +0000 (21:32 +0000)]
protect hash keys by quoting

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

19 years agoprotect hash keys by quoting
miker [Thu, 25 Aug 2005 21:29:26 +0000 (21:29 +0000)]
protect hash keys by quoting

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

19 years agoremoved 'test' dependency
erickson [Thu, 25 Aug 2005 15:57:58 +0000 (15:57 +0000)]
removed 'test' dependency

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

19 years agoforgot to add these...
erickson [Thu, 25 Aug 2005 15:56:42 +0000 (15:56 +0000)]
forgot to add these...

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

19 years agocleaning up the JSON code some
erickson [Thu, 25 Aug 2005 15:55:13 +0000 (15:55 +0000)]
cleaning up the JSON code some
added host config retrieval for the stack
did some more memory checking

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

19 years agoremoved libjson
erickson [Thu, 25 Aug 2005 15:50:45 +0000 (15:50 +0000)]
removed libjson

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

19 years agoadded basic xpath support to JSON
erickson [Thu, 25 Aug 2005 03:27:36 +0000 (03:27 +0000)]
added basic xpath support to JSON
added some utility functions

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

19 years agofixed message hints to go with new code
erickson [Wed, 24 Aug 2005 19:54:07 +0000 (19:54 +0000)]
fixed message hints to go with new code

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

19 years agomade json formatter a little smarter/better
erickson [Wed, 24 Aug 2005 13:40:10 +0000 (13:40 +0000)]
made json formatter a little smarter/better
srfsh now uses json_format_string found in the json code
added a 'clone' method to the json code

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

19 years agoadded the pretty printer here
erickson [Tue, 23 Aug 2005 15:08:44 +0000 (15:08 +0000)]
added the pretty printer here

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

19 years agofixed problem where a NULL unixconfig was causing segfault
erickson [Mon, 22 Aug 2005 20:07:52 +0000 (20:07 +0000)]
fixed problem where a NULL unixconfig was causing segfault
took the sleep out of the apachemods makefile

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

19 years agoadded a header file for the gateway
erickson [Mon, 22 Aug 2005 19:30:51 +0000 (19:30 +0000)]
added a header file for the gateway

added apache configs for gateway config file loading

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

19 years agonow copying over example srfsh file
erickson [Mon, 22 Aug 2005 15:21:51 +0000 (15:21 +0000)]
now copying over example srfsh file

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

19 years agoadded an example srfsh file
erickson [Mon, 22 Aug 2005 15:21:15 +0000 (15:21 +0000)]
added an example srfsh file

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

19 years agomoved router, gateways to a single config file opensrf_core.xml
erickson [Mon, 22 Aug 2005 15:19:11 +0000 (15:19 +0000)]
moved router, gateways to a single config file opensrf_core.xml
remvoed router_config.xml and gateway.xml config files
make config.sh only ask for prefix, other directories are assumed (and can obviously be changed in install.conf if necessary)

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

19 years agomake install.sh slightly smarter
erickson [Sun, 21 Aug 2005 20:11:28 +0000 (20:11 +0000)]
make install.sh slightly smarter
removed compiler error for 'osrf_stack_process' by making it a global variable
set by the stack (osrf_app_session no longer needs to know about the stack directly)

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

19 years agoupdated make process to copy over new web stuff and not old web stuff
erickson [Sat, 20 Aug 2005 19:55:49 +0000 (19:55 +0000)]
updated make process to copy over new web stuff and not old web stuff
removed the old transport_socket stuff

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

19 years agodisabled REUSE since it was affecting router
erickson [Wed, 17 Aug 2005 18:35:09 +0000 (18:35 +0000)]
disabled REUSE since it was affecting router

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

19 years agoadd socket options to allow socket recovery and speed up streaming
miker [Wed, 17 Aug 2005 15:43:11 +0000 (15:43 +0000)]
add socket options to allow socket recovery and speed up streaming

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

19 years agoadded external file to hold the commonly used jabber XML
erickson [Wed, 17 Aug 2005 15:16:22 +0000 (15:16 +0000)]
added external file to hold the commonly used jabber XML

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

19 years agofixed a problem in utils where I was using a va_list after calling va_end on the...
erickson [Wed, 17 Aug 2005 14:43:44 +0000 (14:43 +0000)]
fixed a problem in utils where I was using a va_list after calling va_end on the list
found a couple of memory leaks in gateway
got exceptions going through the REST gateway
made makefile a little smarter

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

19 years agoadded the setting for unixpath
erickson [Tue, 16 Aug 2005 21:25:41 +0000 (21:25 +0000)]
added the setting for unixpath

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

19 years agomoved transport code over to utils/socket_bundle so we can keep the code
erickson [Tue, 16 Aug 2005 21:06:42 +0000 (21:06 +0000)]
moved transport code over to utils/socket_bundle so we can keep the code
centralized and take advantage of the unix socket handling.

made makefiles smarter so that we're not re-compiling targets

make install less verbose so errors are easier to see

cleared up all but one of the build errors (still thinking about that one)

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

19 years agoadded method to allow waiting for a single client socket instead
erickson [Tue, 16 Aug 2005 15:46:54 +0000 (15:46 +0000)]
added method to allow waiting for a single client socket instead
of waiting on every socket

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

19 years agopatched up to work with new jserver
erickson [Tue, 16 Aug 2005 15:19:27 +0000 (15:19 +0000)]
patched up to work with new jserver

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

19 years agojserver now has ability to listen on a specified IP address
erickson [Tue, 16 Aug 2005 15:16:26 +0000 (15:16 +0000)]
jserver now has ability to listen on a specified IP address

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

19 years agoadded ability to bind to a specific IP address for TCP server connections.
erickson [Tue, 16 Aug 2005 15:09:32 +0000 (15:09 +0000)]
added ability to bind to a specific IP address for TCP server connections.
TCP client code is now tested and appears to work

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

19 years agoadded client connect code for INET and UNIX. UNIX is tested, INET is not.
erickson [Tue, 16 Aug 2005 14:44:59 +0000 (14:44 +0000)]
added client connect code for INET and UNIX.  UNIX is tested, INET is not.

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