]> git.evergreen-ils.org Git - OpenSRF.git/log
OpenSRF.git
18 years agotruncating long log lines that go to syslog, as it kills the perl sprintf for some...
miker [Wed, 14 Dec 2005 06:01:14 +0000 (06:01 +0000)]
truncating long log lines that go to syslog, as it kills the perl sprintf for some reason...

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

18 years agogateway now assumes status is OK on a message unless it recieves a message which...
erickson [Tue, 13 Dec 2005 22:20:28 +0000 (22:20 +0000)]
gateway now assumes status is OK on a message unless it recieves a message which proves otherwise

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

18 years agoreduce the overhead of JSONification by removing multiple NF?() calls; make Unicode...
miker [Tue, 13 Dec 2005 06:13:45 +0000 (06:13 +0000)]
reduce the overhead of JSONification by removing multiple NF?() calls; make Unicode JSONifcation more robust by using unicode character regexes

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

18 years agosrfsh reports to stderr when a config file could not be found
erickson [Mon, 12 Dec 2005 20:36:17 +0000 (20:36 +0000)]
srfsh reports to stderr when a config file could not be found

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

18 years agoexplicitly returning STATUS_NOTFOUND when a method is not found
erickson [Fri, 9 Dec 2005 16:46:46 +0000 (16:46 +0000)]
explicitly returning STATUS_NOTFOUND when a method is not found

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

18 years agofor some reason, doing "throw $err $err->stringify" was causing a generic method
erickson [Fri, 9 Dec 2005 16:09:27 +0000 (16:09 +0000)]
for some reason, doing "throw $err $err->stringify" was causing a generic method
exception to be thrown.  Fixed by doing "throw $err".  This should allow the
/real/ error to be passed to the client, and not "method not found".

Also cleaned up some other debugging info

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

18 years agore-arranged the log code so that VA_LIST_TO_ARGS (which runs vsnprintf)
erickson [Fri, 9 Dec 2005 14:55:43 +0000 (14:55 +0000)]
re-arranged the log code so that VA_LIST_TO_ARGS (which runs vsnprintf)
will only have to be called once per log.  This appears to make vsnprintf
happy with regard to printing embedded %'s
Happily printing the URL's in the gateway now

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

18 years agostarted work on xul-based requestor/recipient holds
erickson [Thu, 8 Dec 2005 23:18:00 +0000 (23:18 +0000)]
started work on xul-based requestor/recipient holds
avoided (but not fixed) bug in the gateway modules where you cannot send
escaped URL params to vsnprintf.  This will need to be fixed.

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

18 years agoChanged some log levels from INFO to DEBUG since they are highly repetitive
erickson [Thu, 8 Dec 2005 15:52:51 +0000 (15:52 +0000)]
Changed some log levels from INFO to DEBUG since they are highly repetitive

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

18 years agoadded a NO_SESSION event for when a login session does not exist
erickson [Wed, 7 Dec 2005 18:32:24 +0000 (18:32 +0000)]
added a NO_SESSION event for when a login session does not exist
Event.pm now takes arbitrary parameters

added a osrfCacheSetExpire method for manually setting the cache expire
time of an object after the object has already been cached

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

18 years agosetting the logger app name for debugging
erickson [Wed, 7 Dec 2005 16:27:51 +0000 (16:27 +0000)]
setting the logger app name for debugging

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

18 years agoauth code now returns { authtoken : <t> , authtime : <sec> } as the payload
erickson [Wed, 7 Dec 2005 16:26:30 +0000 (16:26 +0000)]
auth code now returns { authtoken : <t> , authtime : <sec> } as the payload
so the OPAC will know what the timeout should be

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

18 years agosrfsh now takes login commands like so:
erickson [Wed, 7 Dec 2005 15:24:40 +0000 (15:24 +0000)]
srfsh now takes login commands like so:
login <user> <passwd> [ <type> <orglocation> ]
this allows testing of different login types and org locations

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

18 years agoadded a "restartforce" option to force the code to at least try to restart
erickson [Tue, 6 Dec 2005 23:45:46 +0000 (23:45 +0000)]
added a "restartforce" option to force the code to at least try to restart
this is added since the restart script may get hung up on other code (srfsh)
occupying the jabber port

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

18 years agoAdded new C event code for handling the auth login events
erickson [Tue, 6 Dec 2005 21:38:05 +0000 (21:38 +0000)]
Added new C event code for handling the auth login events
(just remembered that i need to read the events file from the settings server)

updated auth to use the new events code

added some events to the constants file

update srfsh to accept the new event

cleaned up some logging in the prefork and socket_bundle code

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

18 years agoincorporated ilseents.xml file into opac
erickson [Mon, 5 Dec 2005 19:23:45 +0000 (19:23 +0000)]
incorporated ilseents.xml file into opac
added an event entity to lang.dtd

update auth code to return the auth failed event when necessary
updated srfsh to handle the auth event

added a oils_constants file for listing events the C code will use

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

18 years agoadded content-type back into gateway
erickson [Fri, 2 Dec 2005 18:27:51 +0000 (18:27 +0000)]
added content-type back into gateway
added some apache logging

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

18 years agogive reasonably unique default for service name
miker [Thu, 1 Dec 2005 23:09:57 +0000 (23:09 +0000)]
give reasonably unique default for service name

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

18 years agocleaning up the pretty printer
miker [Thu, 1 Dec 2005 22:54:42 +0000 (22:54 +0000)]
cleaning up the pretty printer

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

18 years agoadded qw(:level) to CDBI.pm because we were getting empty log levels
erickson [Thu, 1 Dec 2005 21:02:44 +0000 (21:02 +0000)]
added qw(:level) to CDBI.pm because we were getting empty log levels

made log output a little more descriptive (more to do)

setting log service in math bench

slimmed the logging in the gateway

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

18 years agoSetting the logging service name to the application we're serving
erickson [Thu, 1 Dec 2005 20:31:19 +0000 (20:31 +0000)]
Setting the logging service name to the application we're serving

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

18 years agoadded some log statements, fixed some typos
erickson [Thu, 1 Dec 2005 18:48:51 +0000 (18:48 +0000)]
added some log statements, fixed some typos

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

18 years agofreeing json response object
erickson [Wed, 30 Nov 2005 20:08:55 +0000 (20:08 +0000)]
freeing json response object

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

18 years agoadded variable arg to jsonNewObject for formatted strings
erickson [Wed, 30 Nov 2005 19:48:52 +0000 (19:48 +0000)]
added variable arg to jsonNewObject for formatted strings

moved gateway to new style of output { status :x, debug:y, payload:[z] }

removed rest gateway ifdefs

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

18 years agoremoved these since the C code is now using the unified log code in utils/log.*
erickson [Wed, 30 Nov 2005 18:38:16 +0000 (18:38 +0000)]
removed these since the C code is now using the unified log code in utils/log.*

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

18 years agoactivity log is now a standalone log target: file or syslog:<facility>
erickson [Wed, 30 Nov 2005 18:34:12 +0000 (18:34 +0000)]
activity log is now a standalone log target: file or syslog:<facility>

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

18 years agosetting log file to just "syslog" (instead of "syslog:") uses the default facility
erickson [Wed, 30 Nov 2005 17:11:26 +0000 (17:11 +0000)]
setting log file to just "syslog" (instead of "syslog:") uses the default facility

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

18 years agodrastically simplified logger code now supports logging to file and syslog
erickson [Wed, 30 Nov 2005 17:01:19 +0000 (17:01 +0000)]
drastically simplified logger code now supports logging to file and syslog
logger is backward compatible, but future calls need only have the form:
$logger->error($msg);
$logger->warn($msg);
$logger->info($msg);
$logger->debug($msg);
$logger->internal($msg);
$logger->activity($msg);

log message format is not entirely complete yet (haven't added caller info)
syslog and file logging have been tested

added example config options for log file and activity syslog facility

removed convoluted log line from appsession

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

18 years agofinal C code logging patchups
erickson [Wed, 30 Nov 2005 15:11:17 +0000 (15:11 +0000)]
final C code logging patchups

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

18 years agopatching up some more logging stuff
erickson [Tue, 29 Nov 2005 15:20:27 +0000 (15:20 +0000)]
patching up some more logging stuff

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

18 years agomoved C code to a unified logging framework which currently supports syslogging and...
erickson [Tue, 29 Nov 2005 15:01:28 +0000 (15:01 +0000)]
moved C code to a unified logging framework which currently supports syslogging and file logging

added the following to the config framework:
<logfile>syslog</logfile>
<syslog>local3</syslog>  <!-- replace local3 with correct facility -->

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

18 years agocleaned up and commented
erickson [Mon, 28 Nov 2005 22:48:29 +0000 (22:48 +0000)]
cleaned up and commented

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

18 years agoif client has been bootstrapped and is currently connected, bootstrap_client
erickson [Tue, 22 Nov 2005 19:50:49 +0000 (19:50 +0000)]
if client has been bootstrapped and is currently connected, bootstrap_client
will not re-connect (since all it will do is over-write the exact same connection)

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

18 years agoone more log line
erickson [Mon, 21 Nov 2005 13:28:14 +0000 (13:28 +0000)]
one more log line

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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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