working/OpenSRF.git
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years agoremoved the command line login requirement and now we just us the
erickson [Tue, 1 Mar 2005 23:56:11 +0000 (23:56 +0000)]
removed the command line login requirement and now we just us the
transport connection build by bootstrap_client

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

19 years agoadded json pretty printer for formatting result content data
erickson [Tue, 1 Mar 2005 23:50:29 +0000 (23:50 +0000)]
added json pretty printer for formatting result content data

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

19 years agoadded a opensrf.router.info.stats method which returns info
erickson [Tue, 1 Mar 2005 23:12:10 +0000 (23:12 +0000)]
added a opensrf.router.info.stats method which returns info
on all connected server classes and server class nodes

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

19 years agousing disconnect before kill_me during non-error destruction on the server side
miker [Tue, 1 Mar 2005 22:59:27 +0000 (22:59 +0000)]
using disconnect before kill_me during non-error destruction on the server side

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

19 years agoadded extended callback support to sessions
miker [Tue, 1 Mar 2005 22:58:45 +0000 (22:58 +0000)]
added extended callback support to sessions

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

19 years agosrfsh now:
erickson [Tue, 1 Mar 2005 22:29:41 +0000 (22:29 +0000)]
srfsh now:
shows request elapsed time
formats request params as arrays internally

generic_utils:
added a get_timestamp_millis method that returns seconds.millis since epoch

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

19 years agoadded 'disconnect' to session requests
erickson [Tue, 1 Mar 2005 21:49:15 +0000 (21:49 +0000)]
added 'disconnect' to session requests

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

19 years agosanity checking on request complete
erickson [Tue, 1 Mar 2005 21:46:54 +0000 (21:46 +0000)]
sanity checking on request complete

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

19 years agoif no params, send an empty array
erickson [Tue, 1 Mar 2005 21:35:23 +0000 (21:35 +0000)]
if no params, send an empty array

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

19 years agooopsie
phasefx [Tue, 1 Mar 2005 21:34:09 +0000 (21:34 +0000)]
oopsie

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

19 years agooopsie
phasefx [Tue, 1 Mar 2005 21:26:11 +0000 (21:26 +0000)]
oopsie

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

19 years agoupdated help message
erickson [Tue, 1 Mar 2005 21:18:36 +0000 (21:18 +0000)]
updated help message

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

19 years agoadded 'named' configs.
erickson [Tue, 1 Mar 2005 21:16:15 +0000 (21:16 +0000)]
added 'named' configs.
log file and log levels are set by functions and not by direct config file reading.
added request framework to srfsh so we can make requests of any servers

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

19 years agosettings client fixups
miker [Tue, 1 Mar 2005 20:43:00 +0000 (20:43 +0000)]
settings client fixups

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

19 years agoallow packages other then the explicitly named application_implementation to publish...
miker [Tue, 1 Mar 2005 20:40:51 +0000 (20:40 +0000)]
allow packages other then the explicitly named application_implementation to publish methods

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

19 years agothe domain object stuff will be going away
phasefx [Tue, 1 Mar 2005 20:10:00 +0000 (20:10 +0000)]
the domain object stuff will be going away

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

19 years agoaltered the cache a little to allow for the servers to be passed in
erickson [Tue, 1 Mar 2005 19:42:16 +0000 (19:42 +0000)]
altered the cache a little to allow for the servers to be passed in
instead of reading them from a config file

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

19 years agoupdated to call opensrf.math
erickson [Tue, 1 Mar 2005 00:21:15 +0000 (00:21 +0000)]
updated to call opensrf.math

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