7 commit 2b9389dcabbe33aab06fa97f42a07d207811f3d3
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date: Mon Oct 21 09:01:36 2013 +0000
11 bump up version number to 2.2.1
13 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
15 2 2 src/perl/lib/OpenSRF.pm
16 1 1 src/python/setup.py
19 commit a367290f622321a828bbb3243f6058e348133b39
20 Author: Galen Charlton <gmc@esilibrary.com>
21 Date: Mon Oct 21 08:59:41 2013 +0000
23 update release notes for 2.2.1
25 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
27 22 1 doc/RELEASE_NOTES.txt
29 commit 425821b7a8e4dde99beeb325a119e3dae154e1b3
30 Author: Jason Etheridge <jason@esilibrary.com>
31 Date: Thu Aug 1 14:15:14 2013 -0400
33 silence some uninitialized warnings
35 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
36 Signed-off-by: Bill Erickson <berick@esilibrary.com>
37 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
39 5 1 src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm
40 1 1 src/perl/lib/OpenSRF/Utils.pm
42 commit d081052e872468d228d55c8fc4eb6cffa527da3b
43 Author: Galen Charlton <gmc@esilibrary.com>
44 Date: Tue Aug 6 22:00:15 2013 +0000
46 LP#1188195: add tests for setting default client locale
48 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
50 8 1 src/perl/t/02-AppSession.t
52 commit 811caee573b71ea3ac59c48f83d9ca29accad2f0
53 Author: Bill Erickson <berick@esilibrary.com>
54 Date: Thu May 23 15:17:12 2013 -0400
56 LP#1188195: Default per-process client locale (Perl)
58 Get/set the locale used by all new client sessions
59 for the current process. This is primarily useful
60 for clients that wish to make a series of opensrf
61 calls and don't wish to set the locale for each new
64 The caller should reset the locale when done using
65 reset_locale(), as the locale will otherwise persist
66 for the current process until set/reset again.
68 This is not for SERVER processes, since they
69 adopt the locale of their respective callers.
71 Signed-off-by: Bill Erickson <berick@esilibrary.com>
72 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
74 22 0 src/perl/lib/OpenSRF/AppSession.pm
76 commit 0a19073843476c02a168af1c00d6ccc5e0c03a14
77 Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
78 Date: Tue Aug 6 16:56:06 2013 +0300
80 LP#1208860: fix sprintf without format string.
82 Fixes error preventing installation on Debian testing and
83 removes warning on earlier versions of Debian.
85 Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
86 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
88 1 1 src/gateway/osrf_http_translator.c
90 commit 312a1d9f61aefc69602e7db4f6fe82e7b84d7207
91 Author: Bill Erickson <berick@esilibrary.com>
92 Date: Thu Jul 11 16:36:43 2013 -0400
94 LP1198983 disable multipart/mixed for Firefox
96 Only allow multipart mixed/replace message within the Evergreen staff
97 client for now. Eventually, multi-part messages will be wholly
100 Signed-off-by: Bill Erickson <berick@esilibrary.com>
101 Signed-off-by: Dan Scott <dscott@laurentian.ca>
103 5 3 src/javascript/opensrf_xhr.js
108 commit c5563a175edf84e11e628d254b566ae5344df80b
109 Author: Galen Charlton <gmc@esilibrary.com>
110 Date: Fri Apr 19 20:06:40 2013 -0400
112 bump up version to 2.2.0
114 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
116 2 2 src/perl/lib/OpenSRF.pm
117 1 1 src/python/setup.py
120 commit 2a0eff986aef7b45043baf67b788833060e05351
121 Author: Galen Charlton <gmc@esilibrary.com>
122 Date: Fri Apr 19 20:04:19 2013 -0400
124 updated release notes for 2.2.0
126 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
128 4 2 doc/RELEASE_NOTES.txt
130 commit 161cb3fa16e518c63ac2680082bfde118312be27
131 Author: Galen Charlton <gmc@esilibrary.com>
132 Date: Thu Apr 4 23:01:49 2013 -0400
134 LP#1162907: don't require installing RPC::XML
136 RPC::XML is not required by OpenSRF, although it is an
137 Evergreen dependency.
139 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
140 Signed-off-by: Mike Rylander <mrylander@gmail.com>
142 0 2 src/extras/Makefile.install
144 commit 4b2118dc1f2f5d09ae5c7b931777c21c46df6fc1
145 Author: Galen Charlton <gmc@esilibrary.com>
146 Date: Tue Mar 19 11:14:31 2013 -0400
148 remove Fedora 16 from the supported platforms list
152 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
154 1 1 doc/RELEASE_NOTES.txt
156 commit 32e2cce60ac342ba7e1c2437a04080f61737efe6
157 Author: Galen Charlton <gmc@esilibrary.com>
158 Date: Tue Mar 19 01:23:31 2013 -0400
160 add one last change to the release notes for 2.2.0-alpha
162 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
164 3 0 doc/RELEASE_NOTES.txt
166 commit de5f067661d9ce77fcd5260101e8c633a76b0495
167 Author: Galen Charlton <gmc@esilibrary.com>
168 Date: Sun Mar 17 16:37:46 2013 -0700
170 release notes for 2.2.0-alpha
172 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
174 75 0 doc/RELEASE_NOTES.txt
175 create mode 100644 doc/RELEASE_NOTES.txt
177 commit bc0c14b5c2dad7d4849eb36875f63cd7e5254ba3
178 Author: Galen Charlton <gmc@esilibrary.com>
179 Date: Sun Mar 17 15:16:51 2013 -0700
181 bump up version numbers for 2.2.0-alpha release
183 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
185 2 2 src/perl/lib/OpenSRF.pm
186 1 1 src/python/setup.py
189 commit a9182c03a3b61953751fda2da0e881d47f95e035
190 Author: Galen Charlton <gmc@esilibrary.com>
191 Date: Sun Mar 17 14:50:34 2013 -0700
193 ChangeLog for 2.2.0-alpha
195 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
199 commit 78f15b09801f508a8db3b03cf40ab73c6d6b144d
200 Author: Bill Erickson <berick@esilibrary.com>
201 Date: Fri Mar 15 15:56:55 2013 -0400
203 Multisession blocking repair
205 The new socket blocking code for multisession failed to take into
206 account that socket activity outside of the main block could lead to a
207 deadlock situation. For example:
209 * Check status of request A -> not complete
210 * Check status of request B -> whatever
211 * Request A may now be complete, since checking the status of any request
213 * Return to blocking loop because we think there is pending data, but in
214 fact all data has already been pulled from the socket.
216 The solution is for session_reap() to make a sweep and check for changes
217 in requests that are now complete as a side-effect of checking for
220 Signed-off-by: Bill Erickson <berick@esilibrary.com>
221 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
223 14 0 src/perl/lib/OpenSRF/MultiSession.pm
225 commit c8b808c739637ec68f2d8181f73d93f880f55dd6
226 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
227 Date: Wed Nov 14 14:50:46 2012 -0500
229 When running methods for clients, send plain warnings to "real" logs
231 Code inside an OpenSRF application method may use Perl libraries that warn
232 and carp like most Perl code is wont to do. Instead of letting
233 those message go to STDERR where they can be easily missed (and take up
234 lots of disk space on application boxes), why not catch them and
235 redirect them to our "real" logs using OpenSRF::Utils::Logger ?
237 Deployment of this change would probably have the side effect of bringing
238 to light bugs in applications (Evergreen) that will suddenly seem very
241 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
242 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
244 10 0 src/perl/lib/OpenSRF/Application.pm
246 commit df3155f9a3d9259ce64b27fb834450f99e85d8e2
247 Author: Bill Erickson <berick@esilibrary.com>
248 Date: Tue Oct 16 09:28:20 2012 -0400
250 Minor whitespace repairs in Server.pm
252 Signed-off-by: Bill Erickson <berick@esilibrary.com>
253 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
255 7 7 src/perl/lib/OpenSRF/Server.pm
257 commit dd09c46cfd3bc445a879257bb530117b904f09fa
258 Author: Bill Erickson <berick@esilibrary.com>
259 Date: Mon Oct 15 17:23:19 2012 -0400
261 Perl SIGHUP handling and config reloading
263 Sending the HUP signal to a Perl Listener process now results in the
266 * Reload the opensrf_core config
268 * kill idle child processes
269 * child processes that are active when the signal is received are
270 tracked and killed once they become idle.
271 * New children are spawned per the min child settings
273 The primary use case for these changes is temporarily changing the log
274 level (or log file) for a given service for debug purposes. It may also
275 be used, for example, to gracefully recover excess RAM consumed by a
278 Not all values in opensrf_core.xml are affected by a SIGHUP. Since the
279 goal is a gracful reload, no attempt is made by the listener process to
280 re-connect to jabber or re-register with the opensrf router(s). Child
281 processes will by necessity connect to Jabber during startup, though, so
282 any changes to the jabber configuration will affect child processes. In
283 general, it's best to affect jabber configuration changes with a true
286 opensrf.xml (opensrf.settings config) is not reloaded, so min/max child
287 settings will not be affected.
289 Signed-off-by: Bill Erickson <berick@esilibrary.com>
290 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
292 52 1 src/perl/lib/OpenSRF/Server.pm
293 2 1 src/perl/lib/OpenSRF/Utils/Logger.pm
295 commit 51dfd2c93ded26db5820201a1e43ed8e3cdb7d99
296 Author: Galen Charlton <gmc@esilibrary.com>
297 Date: Fri Jan 18 13:12:35 2013 -0500
299 LP#1101254: remove memory leak in HTTP translator
301 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
302 Signed-off-by: Bill Erickson <berick@esilibrary.com>
304 5 1 src/gateway/osrf_http_translator.c
306 commit 0d6feed4b9ca2f7335aabcb55383a8a0270480b1
307 Author: Bill Erickson <berick@esilibrary.com>
308 Date: Tue Jun 19 15:36:25 2012 -0400
310 Debian wheezy Makefile.install target
312 Signed-off-by: Bill Erickson <berick@esilibrary.com>
313 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
316 15 1 src/extras/Makefile.install
318 commit 56fa5ed7e9e0aceb4504a5bb279fa626d55a5fc0
319 Author: Bill Erickson <berick@esilibrary.com>
320 Date: Thu Jan 31 15:05:53 2013 -0500
322 Block on recv instead of loop/polling in MultiSession
324 When the time comes to wait for responses to arrive, block on the XMPP
325 socket (which uses select() under the covers) until data arrives,
326 instead of looping furiously and calling receive in non-blocking mode.
327 Before this change, waiting on responses resulted in long-running CPU
330 Signed-off-by: Bill Erickson <berick@esilibrary.com>
331 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
333 5 1 src/perl/lib/OpenSRF/MultiSession.pm
335 commit 8abac65dac48cc9bbd415741193e3fb873fdbc82
336 Author: Dan Scott <dscott@laurentian.ca>
337 Date: Fri Oct 19 16:28:59 2012 -0400
339 Stop using a non-standard default PREFIX for installs
341 Working towards packaging, we will be better off if we start getting used to
342 installing OpenSRF in standard FHS directories.
344 Signed-off-by: Dan Scott <dscott@laurentian.ca>
345 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
349 commit c676cfc19134df88e9586954dd350be347189a0c
350 Author: Galen Charlton <gmc@esilibrary.com>
351 Date: Sat Feb 23 00:26:06 2013 -0800
353 LP#1132247: fix compilation warnings in C test cases
355 Also, since osrfList maintains a list of pointers, not
356 values, adjust some of the test cases to discourage
357 anybody inclined to copy-and-paste from the test cases
358 from storing pointers to stack variables in an osrfList.
360 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
361 Signed-off-by: Ben Shum <bshum@biblio.org>
363 53 45 tests/check_osrf_list.c
364 1 1 tests/check_osrf_message.c
366 commit 77d42eea11a3551331e6cecd409f575ae584548d
367 Author: Bill Erickson <berick@esilibrary.com>
368 Date: Wed Oct 17 14:37:01 2012 -0400
370 Logger.pm whitespace cleanup
372 Apply 4-space "tabs" consistently.
374 Signed-off-by: Bill Erickson <berick@esilibrary.com>
375 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
377 128 129 src/perl/lib/OpenSRF/Utils/Logger.pm
379 commit 7667d34b4913b57740695a912a69f4d520fbcb9f
380 Author: Bill Erickson <berick@esilibrary.com>
381 Date: Wed Oct 17 14:31:02 2012 -0400
383 Enable client logtrace with environment vars
385 Supports a new environment variable OSRF_LOG_CLIENT which, if true,
386 enables control and generation of the client log trace value. This is
387 the same as setting <client>true</client> within the opensrf core
390 As a shortcut, if the MOD_PERL environment variable is set, assume
393 This allows clients and non-clients to share an opensrf core
394 configuration file, when previously the only difference between the two
395 was the <client> setting.
397 Signed-off-by: Bill Erickson <berick@esilibrary.com>
398 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
400 6 0 src/perl/lib/OpenSRF/Utils/Logger.pm
402 commit f086d4c0aaaa605139aa18658a62fa919294cdc8
403 Author: Dan Scott <dscott@laurentian.ca>
404 Date: Sun Jan 27 11:08:12 2013 -0500
406 Test for Apache executable in sbin dirs
408 Debian apparently doesn't include /usr/sbin in the default user PATH, so
409 add an APXS2-like lookup with likely locations if we don't find the
410 apache executable in our standard path.
412 Signed-off-by: Dan Scott <dscott@laurentian.ca>
413 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
414 Signed-off-by: Ben Shum <bshum@biblio.org>
418 commit 0c40bc6c40ff55b1ddf8bfe9b5e6ebaa87be5113
419 Author: Dan Scott <dscott@laurentian.ca>
420 Date: Wed Jan 16 21:59:22 2013 -0500
422 Support Apache 2.4 client IP address lookups
424 The Apache 2.4 API replaces the conn_rec->remote_ip member with
425 conn_rec->client_ip or conn_rec->useragent_ip (per
426 http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html). client_ip
427 seems to be the best choice for us, to avoid everything being logged
428 from the load balancer or proxy instead of the client's address.
430 This code detects the version of Apache and uses client_ip if it is 2.4
433 Signed-off-by: Dan Scott <dscott@laurentian.ca>
434 Signed-off-by: Bill Erickson <berick@esilibrary.com>
437 5 2 src/gateway/Makefile.am
438 4 0 src/gateway/osrf_http_translator.c
439 5 0 src/gateway/osrf_json_gateway.c
441 commit d390d1ae315bd9c9326c9ef76ebf74f57ddaa573
442 Author: Bill Erickson <berick@esilibrary.com>
443 Date: Tue Jun 26 09:21:57 2012 -0400
445 Prevent "uninitialized value" warnings in parameter logging
447 Use of uninitialized value $p[0] in join or string at
448 /usr/local/share/perl/5.10.1/OpenSRF/Application.pm line 130.
450 This is caused when the array of method params contains null/undef
451 values. Prevent the warnings by replacing these values w/ empty
454 Signed-off-by: Bill Erickson <berick@esilibrary.com>
455 Signed-off-by: Dan Scott <dscott@laurentian.ca>
456 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
458 1 1 src/perl/lib/OpenSRF/Application.pm
460 commit c0630d2bcedb086ac4e8bef98cc37748fc0cce3a
461 Author: Jason Stephenson <jstephenson@mvlc.org>
462 Date: Wed Oct 31 10:21:18 2012 -0400
464 Change OSRF_JAVA_DEPSDIR so building Java just works.
466 OSRF_JAVA_DEPSDIR was being set to /opt/java by configure without any
467 documentation to that effect. The src/java/deps.sh downloads the deps files
468 to src/java/deps. This means that you cannot just build java without either
469 copying the jars from src/java/deps or altering src/java/Makefile.
471 This edit changes the AC_SUBST call to replace OSRF_JAVA_DEPSDIR with deps,
472 so that you can at least build java without making any changes.
474 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
475 Signed-off-by: Bill Erickson <berick@esilibrary.com>
479 commit d262e2892203dc74fcd1abc69a9ae7458566b18a
480 Author: Bill Erickson <berick@esilibrary.com>
481 Date: Thu Nov 1 09:41:52 2012 -0400
483 Safer casting in java config parsing
485 Java config parsing, in particular getString and getInt, no longer fail
486 when encountering a number value in the internl JSON->Map object.
488 Java does not allow the following cast:
490 String s = (String) someNumber;
492 Instead, rely on the object's toString() which is safe and guaranteed
495 Signed-off-by: Bill Erickson <berick@esilibrary.com>
496 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
497 Signed-off-by: Dan Scott <dscott@laurentian.ca>
499 1 1 src/java/org/opensrf/util/Config.java
501 commit 2883586dd2c6852ce817dcf117d263283e14c9e1
502 Author: Dan Scott <dscott@laurentian.ca>
503 Date: Mon Nov 19 10:51:26 2012 -0500
505 Typo in configure.ac: 'framweork'
507 Reported by David Busby of edoceo in
508 https://bugs.launchpad.net/opensrf/+bug/1080458 - thanks David!
510 Signed-off-by: Dan Scott <dscott@laurentian.ca>