OpenSRF.git
16 years agoSome bugfixes from Bill
phasefx [Fri, 18 Mar 2005 05:46:33 +0000 (05:46 +0000)]
Some bugfixes from Bill

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

16 years agochanged buf size, not sure how it got shrunk
erickson [Fri, 18 Mar 2005 04:36:55 +0000 (04:36 +0000)]
changed buf size, not sure how it got shrunk

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

16 years agolib dir is added now
erickson [Thu, 17 Mar 2005 23:29:16 +0000 (23:29 +0000)]
lib dir is added now

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

16 years agoadded check to make sure log line didn't kill things
erickson [Thu, 17 Mar 2005 18:32:03 +0000 (18:32 +0000)]
added check to make sure log line didn't kill things

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

16 years agoremoved sig-int handler for now, annoying.
erickson [Thu, 17 Mar 2005 18:15:25 +0000 (18:15 +0000)]
removed sig-int handler for now, annoying.

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

16 years agoadded some sanity checks to make sure we're not sending
erickson [Thu, 17 Mar 2005 18:06:52 +0000 (18:06 +0000)]
added some sanity checks to make sure we're not sending
if we've been killed

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

16 years agoincluded stack dependency in makefile
erickson [Wed, 16 Mar 2005 13:43:05 +0000 (13:43 +0000)]
included stack dependency in makefile

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

16 years agoadded login functionality to the shell
erickson [Wed, 16 Mar 2005 05:30:07 +0000 (05:30 +0000)]
added login functionality to the shell

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

16 years agoadded an 'introspect' command
erickson [Wed, 16 Mar 2005 03:07:17 +0000 (03:07 +0000)]
added an 'introspect' command

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

16 years agomoved back to non-method_lookup method to test 'original' speed
erickson [Wed, 16 Mar 2005 02:37:14 +0000 (02:37 +0000)]
moved back to non-method_lookup method to test 'original' speed

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

16 years agobootstrap_client now registers a dummy client server_class
miker [Wed, 16 Mar 2005 02:03:09 +0000 (02:03 +0000)]
bootstrap_client now registers a dummy client server_class

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

16 years agofix for embeded $
miker [Wed, 16 Mar 2005 01:59:32 +0000 (01:59 +0000)]
fix for embeded $

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

16 years agoadded some cleaner code handling to reduce valgrind errors
erickson [Tue, 15 Mar 2005 22:01:04 +0000 (22:01 +0000)]
added some cleaner code handling to reduce valgrind errors

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

16 years agofound the (i believe) the remaining leaks in the transport code
erickson [Tue, 15 Mar 2005 21:51:03 +0000 (21:51 +0000)]
found the (i believe) the remaining leaks in the transport code

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

16 years agoadded a warn line for debugging purposes
erickson [Tue, 15 Mar 2005 21:33:32 +0000 (21:33 +0000)]
added a warn line for debugging purposes

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

16 years agoadded help line
erickson [Tue, 15 Mar 2005 20:05:58 +0000 (20:05 +0000)]
added help line

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

16 years agoNeed to revisit this stuff
phasefx [Tue, 15 Mar 2005 19:52:09 +0000 (19:52 +0000)]
Need to revisit this stuff

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

16 years agofully bypassing persist if persist isn't true
erickson [Tue, 15 Mar 2005 17:18:13 +0000 (17:18 +0000)]
fully bypassing persist if persist isn't true

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

16 years agomemory leak cleaning, more to come.
erickson [Tue, 15 Mar 2005 14:26:42 +0000 (14:26 +0000)]
memory leak cleaning, more to come.

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

16 years agodisconnect on magic subrequest, and record message processing time
miker [Tue, 15 Mar 2005 00:27:46 +0000 (00:27 +0000)]
disconnect on magic subrequest, and record message processing time

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

16 years agoeet leevs
miker [Mon, 14 Mar 2005 22:52:21 +0000 (22:52 +0000)]
eet leevs

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

16 years agoadded ctrl-c handler to exit the currently running command
erickson [Mon, 14 Mar 2005 14:09:08 +0000 (14:09 +0000)]
added ctrl-c handler to exit the currently running command

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

16 years agofixed makefile to remove the .so file
erickson [Mon, 14 Mar 2005 00:28:50 +0000 (00:28 +0000)]
fixed makefile to remove the .so file

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

16 years agonot escaping "/" characters
miker [Mon, 14 Mar 2005 00:00:37 +0000 (00:00 +0000)]
not escaping "/" characters

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

16 years agoincorporated math bench into srfsh. see help for details
erickson [Sun, 13 Mar 2005 22:42:50 +0000 (22:42 +0000)]
incorporated math bench into srfsh. see help for details

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

16 years agoadded escaping for internal " characters
erickson [Sun, 13 Mar 2005 19:38:16 +0000 (19:38 +0000)]
added escaping for internal " characters

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

16 years agoadded == to number
erickson [Sat, 12 Mar 2005 02:19:40 +0000 (02:19 +0000)]
added == to number

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

16 years agofound leaked xml string
erickson [Sat, 12 Mar 2005 02:06:20 +0000 (02:06 +0000)]
found leaked xml string

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

16 years agoworking regex!
miker [Sat, 12 Mar 2005 01:12:43 +0000 (01:12 +0000)]
working regex!

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

16 years agofixing xml quoting issues
miker [Fri, 11 Mar 2005 23:46:03 +0000 (23:46 +0000)]
fixing xml quoting issues

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

16 years agoadded some sanity checks
erickson [Fri, 11 Mar 2005 19:39:49 +0000 (19:39 +0000)]
added some sanity checks

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

16 years agofat fingers make for silly bugs...
miker [Fri, 11 Mar 2005 18:31:25 +0000 (18:31 +0000)]
fat fingers make for silly bugs...

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

16 years agofixed request timing issue since we're using 'less' now
erickson [Fri, 11 Mar 2005 17:54:29 +0000 (17:54 +0000)]
fixed request timing issue since we're using 'less' now

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

16 years agoturned on pretty print by default
erickson [Fri, 11 Mar 2005 16:50:23 +0000 (16:50 +0000)]
turned on pretty print by default

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

16 years agoadded newlines after commas in pretty_print
erickson [Fri, 11 Mar 2005 16:38:22 +0000 (16:38 +0000)]
added newlines after commas in pretty_print

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

16 years agopiping to 'less' for long data
erickson [Fri, 11 Mar 2005 16:28:37 +0000 (16:28 +0000)]
piping to 'less' for long data

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

16 years agofound likely candidate for router crash. on remove_server_class, the received messag...
erickson [Fri, 11 Mar 2005 14:24:12 +0000 (14:24 +0000)]
found likely candidate for router crash.  on remove_server_class, the received message is freed
in multiple places.  ( once in server_class_handle_msg and again in remove_server_class)

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

16 years agoautomatic generation of most "Publish" methods
miker [Fri, 11 Mar 2005 13:58:17 +0000 (13:58 +0000)]
automatic generation of most "Publish" methods

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

16 years agomagically handle any class in JSON. no need to register class hints anymore!
miker [Thu, 10 Mar 2005 04:52:46 +0000 (04:52 +0000)]
magically handle any class in JSON.  no need to register class hints anymore!

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

16 years agotransactions are working now ... some cleanup is needed
miker [Thu, 10 Mar 2005 00:32:12 +0000 (00:32 +0000)]
transactions are working now ... some cleanup is needed

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

16 years agoadded some debug lines
erickson [Wed, 9 Mar 2005 16:04:29 +0000 (16:04 +0000)]
added some debug lines

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

16 years agooops... left a "warn" in there.
miker [Tue, 8 Mar 2005 23:21:00 +0000 (23:21 +0000)]
oops... left a "warn" in there.

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

16 years agoremoving C++ comments, cause they hate me
miker [Tue, 8 Mar 2005 22:14:26 +0000 (22:14 +0000)]
removing C++ comments, cause they hate me

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

16 years agoadded line to remove trailing ';'
erickson [Tue, 8 Mar 2005 15:50:12 +0000 (15:50 +0000)]
added line to remove trailing ';'

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

16 years agoYAY! Unicode works now!
miker [Tue, 8 Mar 2005 05:34:39 +0000 (05:34 +0000)]
YAY! Unicode works now!

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

16 years agochanged 'slot' to 'key' for clarity, should have no effect on behavior
erickson [Tue, 8 Mar 2005 00:06:34 +0000 (00:06 +0000)]
changed 'slot' to 'key' for clarity, should have no effect on behavior

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

16 years agoremoving expire times
miker [Mon, 7 Mar 2005 23:42:35 +0000 (23:42 +0000)]
removing expire times

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

16 years agofixing double cast and format
miker [Mon, 7 Mar 2005 23:03:43 +0000 (23:03 +0000)]
fixing double cast and format

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

16 years agochecking for HASH ref explicitly
erickson [Mon, 7 Mar 2005 22:17:47 +0000 (22:17 +0000)]
checking for HASH ref explicitly

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

16 years agoadded some debugging output
erickson [Mon, 7 Mar 2005 22:16:25 +0000 (22:16 +0000)]
added some debugging output

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

16 years agoadded longer sleep time
erickson [Mon, 7 Mar 2005 22:15:58 +0000 (22:15 +0000)]
added longer sleep time

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

16 years agoremoving computed regexes and commenting out unused code
miker [Mon, 7 Mar 2005 22:01:04 +0000 (22:01 +0000)]
removing computed regexes and commenting out unused code

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

16 years agolots of debuging to find that the zombie loop was broken
miker [Mon, 7 Mar 2005 22:00:06 +0000 (22:00 +0000)]
lots of debuging to find that the zombie loop was broken

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

16 years agoadded profiling mode
miker [Mon, 7 Mar 2005 21:59:35 +0000 (21:59 +0000)]
added profiling mode

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

16 years agofixed (hopefully) the $0 * addition
erickson [Mon, 7 Mar 2005 20:36:21 +0000 (20:36 +0000)]
fixed (hopefully) the $0 * addition

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

16 years agousing old regex method + default class
miker [Mon, 7 Mar 2005 17:52:20 +0000 (17:52 +0000)]
using old regex method + default class

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

16 years agoadded some more sleep time
erickson [Mon, 7 Mar 2005 17:16:35 +0000 (17:16 +0000)]
added some more sleep time

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

16 years agoregistering classes during load and introspection
miker [Mon, 7 Mar 2005 17:15:32 +0000 (17:15 +0000)]
registering classes during load and introspection

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

16 years agofix for JSON regexes
miker [Mon, 7 Mar 2005 17:00:27 +0000 (17:00 +0000)]
fix for JSON regexes

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

16 years agofix for JSON::object_unknown
miker [Mon, 7 Mar 2005 16:20:15 +0000 (16:20 +0000)]
fix for JSON::object_unknown

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

16 years agoadded sanity check on relay command
erickson [Mon, 7 Mar 2005 16:06:06 +0000 (16:06 +0000)]
added sanity check on relay command

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

16 years agofixed mispelling
erickson [Mon, 7 Mar 2005 16:03:37 +0000 (16:03 +0000)]
fixed mispelling

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

16 years agofixing JSON bug with top level non-casted hashrefs
miker [Mon, 7 Mar 2005 14:26:25 +0000 (14:26 +0000)]
fixing JSON bug with top level non-casted hashrefs

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

16 years agofixed minor bug in the class casting regex; added class finder sub to support said...
miker [Mon, 7 Mar 2005 06:29:49 +0000 (06:29 +0000)]
fixed minor bug in the class casting regex; added class finder sub to support said bugfix; added a default class (type hash) for unknown hints

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

16 years agousing an O(log n) [n=JSON elements] algo instead of the (worst case) O(2n**2) algo...
miker [Mon, 7 Mar 2005 01:37:02 +0000 (01:37 +0000)]
using an O(log n) [n=JSON elements] algo instead of the (worst case) O(2n**2) algo...

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

16 years agosaw and fixed memory leak.
erickson [Sun, 6 Mar 2005 20:07:38 +0000 (20:07 +0000)]
saw and fixed memory leak.

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

16 years agologging and error detection fixups
miker [Fri, 4 Mar 2005 23:21:35 +0000 (23:21 +0000)]
logging and error detection fixups

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

16 years agohistory and config file checking are more granular as far as what we
erickson [Fri, 4 Mar 2005 22:37:21 +0000 (22:37 +0000)]
history and config file checking are more granular as far as what we
can do with the file

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

16 years agoadded history file so history is saved across sessions
erickson [Fri, 4 Mar 2005 22:30:23 +0000 (22:30 +0000)]
added history file so history is saved across sessions

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

16 years agomoved definitions to srfsh.h for maintainability
erickson [Fri, 4 Mar 2005 22:19:36 +0000 (22:19 +0000)]
moved definitions to srfsh.h for maintainability

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

16 years agowe don't add 'newlines' to history.
erickson [Fri, 4 Mar 2005 22:09:53 +0000 (22:09 +0000)]
we don't add 'newlines' to history.

we make sure children exit after finishing so the shell doesn't get forked

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

16 years agoadded _CACHEVAL_ to the slot names to make them a little more unique/controlled
erickson [Fri, 4 Mar 2005 21:56:32 +0000 (21:56 +0000)]
added _CACHEVAL_ to the slot names to make them a little more unique/controlled

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

16 years agoadded 'relay' which allows you to use the last received result as the param to
erickson [Fri, 4 Mar 2005 19:28:22 +0000 (19:28 +0000)]
added 'relay' which allows you to use the last received result as the param to
the next request

added 'set' and 'get' for accessing srfsh variables.  currently the only variable
is 'pretty_print' for json output

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

16 years agoadded external command running by entering !<command> [args].
erickson [Fri, 4 Mar 2005 14:02:59 +0000 (14:02 +0000)]
added external command running by entering !<command> [args].
forks and runs the command in the shell.  when the child dies,
control returns to the srfsh

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

16 years agofixed some memory logic errors
erickson [Fri, 4 Mar 2005 03:24:01 +0000 (03:24 +0000)]
fixed some memory logic errors

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

16 years agoremoved some comments, added some sanity checking, trimmed down MathDB since
erickson [Thu, 3 Mar 2005 21:17:52 +0000 (21:17 +0000)]
removed some comments, added some sanity checking, trimmed down MathDB since
json has better number handling

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

16 years agonow magically does both memcache and persist caching if the persist option
erickson [Thu, 3 Mar 2005 21:13:09 +0000 (21:13 +0000)]
now magically does both memcache and persist caching if the persist option
is enabled when new is called.

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

16 years agopass up internal server errors as user exceptions
erickson [Thu, 3 Mar 2005 20:50:59 +0000 (20:50 +0000)]
pass up internal server errors as user exceptions

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

16 years agoadded .slot.find for bill
miker [Thu, 3 Mar 2005 19:16:04 +0000 (19:16 +0000)]
added .slot.find for bill

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

16 years agoadded router 'unregister' loop to DESTROY
erickson [Thu, 3 Mar 2005 18:56:57 +0000 (18:56 +0000)]
added router 'unregister' loop to DESTROY

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

16 years agoget_expire method
miker [Thu, 3 Mar 2005 18:50:04 +0000 (18:50 +0000)]
get_expire method

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

16 years agoadding -fPIC for x86_64 support
miker [Thu, 3 Mar 2005 18:48:14 +0000 (18:48 +0000)]
adding -fPIC for x86_64 support

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

16 years agoshould fix perist bug with expriable slot creation
miker [Thu, 3 Mar 2005 18:02:59 +0000 (18:02 +0000)]
should fix perist bug with expriable slot creation

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

16 years agoadded some basic exception handling and propogation
erickson [Thu, 3 Mar 2005 17:03:16 +0000 (17:03 +0000)]
added some basic exception handling and propogation

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

16 years agofixed logic error in message building. we now dynamically parse the json
erickson [Thu, 3 Mar 2005 16:34:06 +0000 (16:34 +0000)]
fixed logic error in message building. we now dynamically parse the json
string held in the result content node instead of making it a string

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

16 years agofixed numeric opperators
miker [Thu, 3 Mar 2005 16:02:37 +0000 (16:02 +0000)]
fixed numeric opperators

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

16 years agofixed logic error in using the config file
erickson [Thu, 3 Mar 2005 15:25:14 +0000 (15:25 +0000)]
fixed logic error in using the config file

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

16 years agowe now delete the tmp net::server config file
erickson [Wed, 2 Mar 2005 23:15:36 +0000 (23:15 +0000)]
we now delete the tmp net::server config file

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

16 years agoallow max_requests to be infinite on the server side
miker [Wed, 2 Mar 2005 22:51:11 +0000 (22:51 +0000)]
allow max_requests to be infinite on the server side

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

16 years agowe now return undef if any level of the sought config doesn't exist
erickson [Wed, 2 Mar 2005 22:50:45 +0000 (22:50 +0000)]
we now return undef if any level of the sought config doesn't exist

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

16 years agonow do an explicit kill me on the session after the host config is retrieved
erickson [Wed, 2 Mar 2005 22:42:03 +0000 (22:42 +0000)]
now do an explicit kill me on the session after the host config is retrieved
so that the session is not forked and propagated

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

16 years agoif no config file is specified on the command line, we check $HOME/.srfsh.xml
erickson [Wed, 2 Mar 2005 19:53:17 +0000 (19:53 +0000)]
if no config file is specified on the command line, we check $HOME/.srfsh.xml
for a config file

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

16 years agoadded an 'install' target to these makefiles that just copy their binaries
erickson [Wed, 2 Mar 2005 19:39:55 +0000 (19:39 +0000)]
added an 'install' target to these makefiles that just copy their binaries
to the top level opensrf bin directory for now

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

16 years agofixed DISCONNECT message formatting
erickson [Wed, 2 Mar 2005 17:16:48 +0000 (17:16 +0000)]
fixed DISCONNECT message formatting
in app_session, we don't resend if the request is complete

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

16 years agonow requests are finished and sessions are destroyed
erickson [Wed, 2 Mar 2005 17:16:16 +0000 (17:16 +0000)]
now requests are finished and sessions are destroyed

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

16 years agoadded opensrf.system.method.all in the list of returned methods from the
erickson [Wed, 2 Mar 2005 16:25:57 +0000 (16:25 +0000)]
added opensrf.system.method.all in the list of returned methods from the
the method.all request

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

16 years agocan't forget the header file ;)
erickson [Wed, 2 Mar 2005 15:56:25 +0000 (15:56 +0000)]
can't forget the header file ;)

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

16 years agoadded the ability to 'stream' results
erickson [Wed, 2 Mar 2005 15:56:12 +0000 (15:56 +0000)]
added the ability to 'stream' results
added opensrf.system.method.all
we now send a 'request complete' message after requests so clients won't be expecting
more data

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

16 years agoadded srfsh to the top level makefile
erickson [Wed, 2 Mar 2005 15:04:07 +0000 (15:04 +0000)]
added srfsh to the top level makefile

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

16 years agomoved to readline.
erickson [Wed, 2 Mar 2005 03:16:58 +0000 (03:16 +0000)]
moved to readline.

we now have ctrl-r, ctrl-a, etc...

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