7 commit 9366b3355680668055c22bf1bae94f81f259b9d6
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date: Thu Jan 30 00:08:29 2014 -0500
11 update release notes for OpenSRF 2.2.2
13 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
15 19 0 doc/RELEASE_NOTES.txt
17 commit 1ff3f4617bd78b354afd56d7c725b915dee3a9a5
18 Author: Galen Charlton <gmc@esilibrary.com>
19 Date: Wed Jan 29 23:46:54 2014 -0500
21 bump up version number for OpenSRF 2.2.2
23 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
25 2 2 src/perl/lib/OpenSRF.pm
26 1 1 src/python/setup.py
29 commit eebe50f1b6835b108f70085a0199d835bc4d9623
30 Author: Mike Rylander <mrylander@gmail.com>
31 Date: Thu May 16 10:17:15 2013 -0400
33 Protect subrequests from post-complete messages
35 Subrequests (AKA method_lookup()-based API calls) sometimes append
36 final-lvalue responses to the response list even after respond_complete()
37 has been called from within the implementation method. This commit
38 discards all post-respond_complete values, protecting against extra,
39 spurious values being returned to the ultimate client.
41 Signed-off-by: Mike Rylander <mrylander@gmail.com>
42 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
44 16 2 src/perl/lib/OpenSRF/AppSession.pm
46 commit 8861f86b0183866a329531515935872628d8d2e6
47 Author: Galen Charlton <gmc@esilibrary.com>
48 Date: Mon Dec 16 08:08:51 2013 -0800
50 LP#1180849: test case - ignoring subrequest responses after respond_complete()
52 This patch adds a regression test for verifying that subrequests
53 ignore additional responses after respond_complete() is called.
55 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
57 9 1 src/perl/t/02-AppSession.t
59 commit 899661bbfba59f719650077875afa813cc50f044
60 Author: Jeff Godin <jgodin@tadl.org>
61 Date: Tue Dec 3 13:52:39 2013 -0500
63 Add some additional boolean-related JSON tests
65 Add some additional boolean-related JSON tests, enable use strict /
66 use warnings for JSON tests.
68 Signed-off-by: Jeff Godin <jgodin@tadl.org>
69 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
71 12 5 src/perl/t/09-Utils-JSON.t
73 commit 98fd4b223def201382b4b4c330c4a0a1fc376e3d
74 Author: Mike Rylander <mrylander@gmail.com>
75 Date: Tue Dec 3 09:57:39 2013 -0500
77 LP#1257264: Use the built-in JSON-y test for bools
79 This removes a dependency on internal details of JSON::XS's
80 implementation of Boolean types which changed with the release
83 Signed-off-by: Mike Rylander <mrylander@gmail.com>
84 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
85 Signed-off-by: Jeff Godin <jgodin@tadl.org>
87 3 4 src/perl/lib/OpenSRF/Utils/JSON.pm
89 commit 77d2bfe7d7dbe7815e980bb5e6e9be9a14b9992f
90 Author: Galen Charlton <gmc@esilibrary.com>
91 Date: Tue Dec 3 09:43:54 2013 -0800
93 LP#1257264: make test cases for JSON::XS Boolean-ness more generic
95 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
96 Signed-off-by: Jeff Godin <jgodin@tadl.org>
98 5 5 src/perl/t/09-Utils-JSON.t
103 commit 2b9389dcabbe33aab06fa97f42a07d207811f3d3
104 Author: Galen Charlton <gmc@esilibrary.com>
105 Date: Mon Oct 21 09:01:36 2013 +0000
107 bump up version number to 2.2.1
109 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
111 2 2 src/perl/lib/OpenSRF.pm
112 1 1 src/python/setup.py
115 commit a367290f622321a828bbb3243f6058e348133b39
116 Author: Galen Charlton <gmc@esilibrary.com>
117 Date: Mon Oct 21 08:59:41 2013 +0000
119 update release notes for 2.2.1
121 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
123 22 1 doc/RELEASE_NOTES.txt
125 commit 425821b7a8e4dde99beeb325a119e3dae154e1b3
126 Author: Jason Etheridge <jason@esilibrary.com>
127 Date: Thu Aug 1 14:15:14 2013 -0400
129 silence some uninitialized warnings
131 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
132 Signed-off-by: Bill Erickson <berick@esilibrary.com>
133 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
135 5 1 src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm
136 1 1 src/perl/lib/OpenSRF/Utils.pm
138 commit d081052e872468d228d55c8fc4eb6cffa527da3b
139 Author: Galen Charlton <gmc@esilibrary.com>
140 Date: Tue Aug 6 22:00:15 2013 +0000
142 LP#1188195: add tests for setting default client locale
144 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
146 8 1 src/perl/t/02-AppSession.t
148 commit 811caee573b71ea3ac59c48f83d9ca29accad2f0
149 Author: Bill Erickson <berick@esilibrary.com>
150 Date: Thu May 23 15:17:12 2013 -0400
152 LP#1188195: Default per-process client locale (Perl)
154 Get/set the locale used by all new client sessions
155 for the current process. This is primarily useful
156 for clients that wish to make a series of opensrf
157 calls and don't wish to set the locale for each new
160 The caller should reset the locale when done using
161 reset_locale(), as the locale will otherwise persist
162 for the current process until set/reset again.
164 This is not for SERVER processes, since they
165 adopt the locale of their respective callers.
167 Signed-off-by: Bill Erickson <berick@esilibrary.com>
168 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
170 22 0 src/perl/lib/OpenSRF/AppSession.pm
172 commit 0a19073843476c02a168af1c00d6ccc5e0c03a14
173 Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
174 Date: Tue Aug 6 16:56:06 2013 +0300
176 LP#1208860: fix sprintf without format string.
178 Fixes error preventing installation on Debian testing and
179 removes warning on earlier versions of Debian.
181 Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
182 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
184 1 1 src/gateway/osrf_http_translator.c
186 commit 312a1d9f61aefc69602e7db4f6fe82e7b84d7207
187 Author: Bill Erickson <berick@esilibrary.com>
188 Date: Thu Jul 11 16:36:43 2013 -0400
190 LP1198983 disable multipart/mixed for Firefox
192 Only allow multipart mixed/replace message within the Evergreen staff
193 client for now. Eventually, multi-part messages will be wholly
196 Signed-off-by: Bill Erickson <berick@esilibrary.com>
197 Signed-off-by: Dan Scott <dscott@laurentian.ca>
199 5 3 src/javascript/opensrf_xhr.js
204 commit c5563a175edf84e11e628d254b566ae5344df80b
205 Author: Galen Charlton <gmc@esilibrary.com>
206 Date: Fri Apr 19 20:06:40 2013 -0400
208 bump up version to 2.2.0
210 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
212 2 2 src/perl/lib/OpenSRF.pm
213 1 1 src/python/setup.py
216 commit 2a0eff986aef7b45043baf67b788833060e05351
217 Author: Galen Charlton <gmc@esilibrary.com>
218 Date: Fri Apr 19 20:04:19 2013 -0400
220 updated release notes for 2.2.0
222 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
224 4 2 doc/RELEASE_NOTES.txt
226 commit 161cb3fa16e518c63ac2680082bfde118312be27
227 Author: Galen Charlton <gmc@esilibrary.com>
228 Date: Thu Apr 4 23:01:49 2013 -0400
230 LP#1162907: don't require installing RPC::XML
232 RPC::XML is not required by OpenSRF, although it is an
233 Evergreen dependency.
235 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
236 Signed-off-by: Mike Rylander <mrylander@gmail.com>
238 0 2 src/extras/Makefile.install
240 commit 4b2118dc1f2f5d09ae5c7b931777c21c46df6fc1
241 Author: Galen Charlton <gmc@esilibrary.com>
242 Date: Tue Mar 19 11:14:31 2013 -0400
244 remove Fedora 16 from the supported platforms list
248 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
250 1 1 doc/RELEASE_NOTES.txt
252 commit 32e2cce60ac342ba7e1c2437a04080f61737efe6
253 Author: Galen Charlton <gmc@esilibrary.com>
254 Date: Tue Mar 19 01:23:31 2013 -0400
256 add one last change to the release notes for 2.2.0-alpha
258 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
260 3 0 doc/RELEASE_NOTES.txt
262 commit de5f067661d9ce77fcd5260101e8c633a76b0495
263 Author: Galen Charlton <gmc@esilibrary.com>
264 Date: Sun Mar 17 16:37:46 2013 -0700
266 release notes for 2.2.0-alpha
268 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
270 75 0 doc/RELEASE_NOTES.txt
271 create mode 100644 doc/RELEASE_NOTES.txt
273 commit bc0c14b5c2dad7d4849eb36875f63cd7e5254ba3
274 Author: Galen Charlton <gmc@esilibrary.com>
275 Date: Sun Mar 17 15:16:51 2013 -0700
277 bump up version numbers for 2.2.0-alpha release
279 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
281 2 2 src/perl/lib/OpenSRF.pm
282 1 1 src/python/setup.py
285 commit a9182c03a3b61953751fda2da0e881d47f95e035
286 Author: Galen Charlton <gmc@esilibrary.com>
287 Date: Sun Mar 17 14:50:34 2013 -0700
289 ChangeLog for 2.2.0-alpha
291 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
295 commit 78f15b09801f508a8db3b03cf40ab73c6d6b144d
296 Author: Bill Erickson <berick@esilibrary.com>
297 Date: Fri Mar 15 15:56:55 2013 -0400
299 Multisession blocking repair
301 The new socket blocking code for multisession failed to take into
302 account that socket activity outside of the main block could lead to a
303 deadlock situation. For example:
305 * Check status of request A -> not complete
306 * Check status of request B -> whatever
307 * Request A may now be complete, since checking the status of any request
309 * Return to blocking loop because we think there is pending data, but in
310 fact all data has already been pulled from the socket.
312 The solution is for session_reap() to make a sweep and check for changes
313 in requests that are now complete as a side-effect of checking for
316 Signed-off-by: Bill Erickson <berick@esilibrary.com>
317 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
319 14 0 src/perl/lib/OpenSRF/MultiSession.pm
321 commit c8b808c739637ec68f2d8181f73d93f880f55dd6
322 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
323 Date: Wed Nov 14 14:50:46 2012 -0500
325 When running methods for clients, send plain warnings to "real" logs
327 Code inside an OpenSRF application method may use Perl libraries that warn
328 and carp like most Perl code is wont to do. Instead of letting
329 those message go to STDERR where they can be easily missed (and take up
330 lots of disk space on application boxes), why not catch them and
331 redirect them to our "real" logs using OpenSRF::Utils::Logger ?
333 Deployment of this change would probably have the side effect of bringing
334 to light bugs in applications (Evergreen) that will suddenly seem very
337 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
338 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
340 10 0 src/perl/lib/OpenSRF/Application.pm
342 commit df3155f9a3d9259ce64b27fb834450f99e85d8e2
343 Author: Bill Erickson <berick@esilibrary.com>
344 Date: Tue Oct 16 09:28:20 2012 -0400
346 Minor whitespace repairs in Server.pm
348 Signed-off-by: Bill Erickson <berick@esilibrary.com>
349 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
351 7 7 src/perl/lib/OpenSRF/Server.pm
353 commit dd09c46cfd3bc445a879257bb530117b904f09fa
354 Author: Bill Erickson <berick@esilibrary.com>
355 Date: Mon Oct 15 17:23:19 2012 -0400
357 Perl SIGHUP handling and config reloading
359 Sending the HUP signal to a Perl Listener process now results in the
362 * Reload the opensrf_core config
364 * kill idle child processes
365 * child processes that are active when the signal is received are
366 tracked and killed once they become idle.
367 * New children are spawned per the min child settings
369 The primary use case for these changes is temporarily changing the log
370 level (or log file) for a given service for debug purposes. It may also
371 be used, for example, to gracefully recover excess RAM consumed by a
374 Not all values in opensrf_core.xml are affected by a SIGHUP. Since the
375 goal is a gracful reload, no attempt is made by the listener process to
376 re-connect to jabber or re-register with the opensrf router(s). Child
377 processes will by necessity connect to Jabber during startup, though, so
378 any changes to the jabber configuration will affect child processes. In
379 general, it's best to affect jabber configuration changes with a true
382 opensrf.xml (opensrf.settings config) is not reloaded, so min/max child
383 settings will not be affected.
385 Signed-off-by: Bill Erickson <berick@esilibrary.com>
386 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
388 52 1 src/perl/lib/OpenSRF/Server.pm
389 2 1 src/perl/lib/OpenSRF/Utils/Logger.pm
391 commit 51dfd2c93ded26db5820201a1e43ed8e3cdb7d99
392 Author: Galen Charlton <gmc@esilibrary.com>
393 Date: Fri Jan 18 13:12:35 2013 -0500
395 LP#1101254: remove memory leak in HTTP translator
397 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
398 Signed-off-by: Bill Erickson <berick@esilibrary.com>
400 5 1 src/gateway/osrf_http_translator.c
402 commit 0d6feed4b9ca2f7335aabcb55383a8a0270480b1
403 Author: Bill Erickson <berick@esilibrary.com>
404 Date: Tue Jun 19 15:36:25 2012 -0400
406 Debian wheezy Makefile.install target
408 Signed-off-by: Bill Erickson <berick@esilibrary.com>
409 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
412 15 1 src/extras/Makefile.install
414 commit 56fa5ed7e9e0aceb4504a5bb279fa626d55a5fc0
415 Author: Bill Erickson <berick@esilibrary.com>
416 Date: Thu Jan 31 15:05:53 2013 -0500
418 Block on recv instead of loop/polling in MultiSession
420 When the time comes to wait for responses to arrive, block on the XMPP
421 socket (which uses select() under the covers) until data arrives,
422 instead of looping furiously and calling receive in non-blocking mode.
423 Before this change, waiting on responses resulted in long-running CPU
426 Signed-off-by: Bill Erickson <berick@esilibrary.com>
427 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
429 5 1 src/perl/lib/OpenSRF/MultiSession.pm
431 commit 8abac65dac48cc9bbd415741193e3fb873fdbc82
432 Author: Dan Scott <dscott@laurentian.ca>
433 Date: Fri Oct 19 16:28:59 2012 -0400
435 Stop using a non-standard default PREFIX for installs
437 Working towards packaging, we will be better off if we start getting used to
438 installing OpenSRF in standard FHS directories.
440 Signed-off-by: Dan Scott <dscott@laurentian.ca>
441 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
445 commit c676cfc19134df88e9586954dd350be347189a0c
446 Author: Galen Charlton <gmc@esilibrary.com>
447 Date: Sat Feb 23 00:26:06 2013 -0800
449 LP#1132247: fix compilation warnings in C test cases
451 Also, since osrfList maintains a list of pointers, not
452 values, adjust some of the test cases to discourage
453 anybody inclined to copy-and-paste from the test cases
454 from storing pointers to stack variables in an osrfList.
456 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
457 Signed-off-by: Ben Shum <bshum@biblio.org>
459 53 45 tests/check_osrf_list.c
460 1 1 tests/check_osrf_message.c
462 commit 77d42eea11a3551331e6cecd409f575ae584548d
463 Author: Bill Erickson <berick@esilibrary.com>
464 Date: Wed Oct 17 14:37:01 2012 -0400
466 Logger.pm whitespace cleanup
468 Apply 4-space "tabs" consistently.
470 Signed-off-by: Bill Erickson <berick@esilibrary.com>
471 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
473 128 129 src/perl/lib/OpenSRF/Utils/Logger.pm
475 commit 7667d34b4913b57740695a912a69f4d520fbcb9f
476 Author: Bill Erickson <berick@esilibrary.com>
477 Date: Wed Oct 17 14:31:02 2012 -0400
479 Enable client logtrace with environment vars
481 Supports a new environment variable OSRF_LOG_CLIENT which, if true,
482 enables control and generation of the client log trace value. This is
483 the same as setting <client>true</client> within the opensrf core
486 As a shortcut, if the MOD_PERL environment variable is set, assume
489 This allows clients and non-clients to share an opensrf core
490 configuration file, when previously the only difference between the two
491 was the <client> setting.
493 Signed-off-by: Bill Erickson <berick@esilibrary.com>
494 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
496 6 0 src/perl/lib/OpenSRF/Utils/Logger.pm
498 commit f086d4c0aaaa605139aa18658a62fa919294cdc8
499 Author: Dan Scott <dscott@laurentian.ca>
500 Date: Sun Jan 27 11:08:12 2013 -0500
502 Test for Apache executable in sbin dirs
504 Debian apparently doesn't include /usr/sbin in the default user PATH, so
505 add an APXS2-like lookup with likely locations if we don't find the
506 apache executable in our standard path.
508 Signed-off-by: Dan Scott <dscott@laurentian.ca>
509 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
510 Signed-off-by: Ben Shum <bshum@biblio.org>
514 commit 0c40bc6c40ff55b1ddf8bfe9b5e6ebaa87be5113
515 Author: Dan Scott <dscott@laurentian.ca>
516 Date: Wed Jan 16 21:59:22 2013 -0500
518 Support Apache 2.4 client IP address lookups
520 The Apache 2.4 API replaces the conn_rec->remote_ip member with
521 conn_rec->client_ip or conn_rec->useragent_ip (per
522 http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html). client_ip
523 seems to be the best choice for us, to avoid everything being logged
524 from the load balancer or proxy instead of the client's address.
526 This code detects the version of Apache and uses client_ip if it is 2.4
529 Signed-off-by: Dan Scott <dscott@laurentian.ca>
530 Signed-off-by: Bill Erickson <berick@esilibrary.com>
533 5 2 src/gateway/Makefile.am
534 4 0 src/gateway/osrf_http_translator.c
535 5 0 src/gateway/osrf_json_gateway.c
537 commit d390d1ae315bd9c9326c9ef76ebf74f57ddaa573
538 Author: Bill Erickson <berick@esilibrary.com>
539 Date: Tue Jun 26 09:21:57 2012 -0400
541 Prevent "uninitialized value" warnings in parameter logging
543 Use of uninitialized value $p[0] in join or string at
544 /usr/local/share/perl/5.10.1/OpenSRF/Application.pm line 130.
546 This is caused when the array of method params contains null/undef
547 values. Prevent the warnings by replacing these values w/ empty
550 Signed-off-by: Bill Erickson <berick@esilibrary.com>
551 Signed-off-by: Dan Scott <dscott@laurentian.ca>
552 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
554 1 1 src/perl/lib/OpenSRF/Application.pm
556 commit c0630d2bcedb086ac4e8bef98cc37748fc0cce3a
557 Author: Jason Stephenson <jstephenson@mvlc.org>
558 Date: Wed Oct 31 10:21:18 2012 -0400
560 Change OSRF_JAVA_DEPSDIR so building Java just works.
562 OSRF_JAVA_DEPSDIR was being set to /opt/java by configure without any
563 documentation to that effect. The src/java/deps.sh downloads the deps files
564 to src/java/deps. This means that you cannot just build java without either
565 copying the jars from src/java/deps or altering src/java/Makefile.
567 This edit changes the AC_SUBST call to replace OSRF_JAVA_DEPSDIR with deps,
568 so that you can at least build java without making any changes.
570 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
571 Signed-off-by: Bill Erickson <berick@esilibrary.com>
575 commit d262e2892203dc74fcd1abc69a9ae7458566b18a
576 Author: Bill Erickson <berick@esilibrary.com>
577 Date: Thu Nov 1 09:41:52 2012 -0400
579 Safer casting in java config parsing
581 Java config parsing, in particular getString and getInt, no longer fail
582 when encountering a number value in the internl JSON->Map object.
584 Java does not allow the following cast:
586 String s = (String) someNumber;
588 Instead, rely on the object's toString() which is safe and guaranteed
591 Signed-off-by: Bill Erickson <berick@esilibrary.com>
592 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
593 Signed-off-by: Dan Scott <dscott@laurentian.ca>
595 1 1 src/java/org/opensrf/util/Config.java
597 commit 2883586dd2c6852ce817dcf117d263283e14c9e1
598 Author: Dan Scott <dscott@laurentian.ca>
599 Date: Mon Nov 19 10:51:26 2012 -0500
601 Typo in configure.ac: 'framweork'
603 Reported by David Busby of edoceo in
604 https://bugs.launchpad.net/opensrf/+bug/1080458 - thanks David!
606 Signed-off-by: Dan Scott <dscott@laurentian.ca>