7 commit c5563a175edf84e11e628d254b566ae5344df80b
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date: Fri Apr 19 20:06:40 2013 -0400
11 bump up version to 2.2.0
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 2a0eff986aef7b45043baf67b788833060e05351
20 Author: Galen Charlton <gmc@esilibrary.com>
21 Date: Fri Apr 19 20:04:19 2013 -0400
23 updated release notes for 2.2.0
25 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
27 4 2 doc/RELEASE_NOTES.txt
29 commit 161cb3fa16e518c63ac2680082bfde118312be27
30 Author: Galen Charlton <gmc@esilibrary.com>
31 Date: Thu Apr 4 23:01:49 2013 -0400
33 LP#1162907: don't require installing RPC::XML
35 RPC::XML is not required by OpenSRF, although it is an
38 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
39 Signed-off-by: Mike Rylander <mrylander@gmail.com>
41 0 2 src/extras/Makefile.install
43 commit 4b2118dc1f2f5d09ae5c7b931777c21c46df6fc1
44 Author: Galen Charlton <gmc@esilibrary.com>
45 Date: Tue Mar 19 11:14:31 2013 -0400
47 remove Fedora 16 from the supported platforms list
51 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
53 1 1 doc/RELEASE_NOTES.txt
55 commit 32e2cce60ac342ba7e1c2437a04080f61737efe6
56 Author: Galen Charlton <gmc@esilibrary.com>
57 Date: Tue Mar 19 01:23:31 2013 -0400
59 add one last change to the release notes for 2.2.0-alpha
61 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
63 3 0 doc/RELEASE_NOTES.txt
65 commit de5f067661d9ce77fcd5260101e8c633a76b0495
66 Author: Galen Charlton <gmc@esilibrary.com>
67 Date: Sun Mar 17 16:37:46 2013 -0700
69 release notes for 2.2.0-alpha
71 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
73 75 0 doc/RELEASE_NOTES.txt
74 create mode 100644 doc/RELEASE_NOTES.txt
76 commit bc0c14b5c2dad7d4849eb36875f63cd7e5254ba3
77 Author: Galen Charlton <gmc@esilibrary.com>
78 Date: Sun Mar 17 15:16:51 2013 -0700
80 bump up version numbers for 2.2.0-alpha release
82 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
84 2 2 src/perl/lib/OpenSRF.pm
85 1 1 src/python/setup.py
88 commit a9182c03a3b61953751fda2da0e881d47f95e035
89 Author: Galen Charlton <gmc@esilibrary.com>
90 Date: Sun Mar 17 14:50:34 2013 -0700
92 ChangeLog for 2.2.0-alpha
94 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
98 commit 78f15b09801f508a8db3b03cf40ab73c6d6b144d
99 Author: Bill Erickson <berick@esilibrary.com>
100 Date: Fri Mar 15 15:56:55 2013 -0400
102 Multisession blocking repair
104 The new socket blocking code for multisession failed to take into
105 account that socket activity outside of the main block could lead to a
106 deadlock situation. For example:
108 * Check status of request A -> not complete
109 * Check status of request B -> whatever
110 * Request A may now be complete, since checking the status of any request
112 * Return to blocking loop because we think there is pending data, but in
113 fact all data has already been pulled from the socket.
115 The solution is for session_reap() to make a sweep and check for changes
116 in requests that are now complete as a side-effect of checking for
119 Signed-off-by: Bill Erickson <berick@esilibrary.com>
120 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
122 14 0 src/perl/lib/OpenSRF/MultiSession.pm
124 commit c8b808c739637ec68f2d8181f73d93f880f55dd6
125 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
126 Date: Wed Nov 14 14:50:46 2012 -0500
128 When running methods for clients, send plain warnings to "real" logs
130 Code inside an OpenSRF application method may use Perl libraries that warn
131 and carp like most Perl code is wont to do. Instead of letting
132 those message go to STDERR where they can be easily missed (and take up
133 lots of disk space on application boxes), why not catch them and
134 redirect them to our "real" logs using OpenSRF::Utils::Logger ?
136 Deployment of this change would probably have the side effect of bringing
137 to light bugs in applications (Evergreen) that will suddenly seem very
140 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
141 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
143 10 0 src/perl/lib/OpenSRF/Application.pm
145 commit df3155f9a3d9259ce64b27fb834450f99e85d8e2
146 Author: Bill Erickson <berick@esilibrary.com>
147 Date: Tue Oct 16 09:28:20 2012 -0400
149 Minor whitespace repairs in Server.pm
151 Signed-off-by: Bill Erickson <berick@esilibrary.com>
152 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
154 7 7 src/perl/lib/OpenSRF/Server.pm
156 commit dd09c46cfd3bc445a879257bb530117b904f09fa
157 Author: Bill Erickson <berick@esilibrary.com>
158 Date: Mon Oct 15 17:23:19 2012 -0400
160 Perl SIGHUP handling and config reloading
162 Sending the HUP signal to a Perl Listener process now results in the
165 * Reload the opensrf_core config
167 * kill idle child processes
168 * child processes that are active when the signal is received are
169 tracked and killed once they become idle.
170 * New children are spawned per the min child settings
172 The primary use case for these changes is temporarily changing the log
173 level (or log file) for a given service for debug purposes. It may also
174 be used, for example, to gracefully recover excess RAM consumed by a
177 Not all values in opensrf_core.xml are affected by a SIGHUP. Since the
178 goal is a gracful reload, no attempt is made by the listener process to
179 re-connect to jabber or re-register with the opensrf router(s). Child
180 processes will by necessity connect to Jabber during startup, though, so
181 any changes to the jabber configuration will affect child processes. In
182 general, it's best to affect jabber configuration changes with a true
185 opensrf.xml (opensrf.settings config) is not reloaded, so min/max child
186 settings will not be affected.
188 Signed-off-by: Bill Erickson <berick@esilibrary.com>
189 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
191 52 1 src/perl/lib/OpenSRF/Server.pm
192 2 1 src/perl/lib/OpenSRF/Utils/Logger.pm
194 commit 51dfd2c93ded26db5820201a1e43ed8e3cdb7d99
195 Author: Galen Charlton <gmc@esilibrary.com>
196 Date: Fri Jan 18 13:12:35 2013 -0500
198 LP#1101254: remove memory leak in HTTP translator
200 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
201 Signed-off-by: Bill Erickson <berick@esilibrary.com>
203 5 1 src/gateway/osrf_http_translator.c
205 commit 0d6feed4b9ca2f7335aabcb55383a8a0270480b1
206 Author: Bill Erickson <berick@esilibrary.com>
207 Date: Tue Jun 19 15:36:25 2012 -0400
209 Debian wheezy Makefile.install target
211 Signed-off-by: Bill Erickson <berick@esilibrary.com>
212 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
215 15 1 src/extras/Makefile.install
217 commit 56fa5ed7e9e0aceb4504a5bb279fa626d55a5fc0
218 Author: Bill Erickson <berick@esilibrary.com>
219 Date: Thu Jan 31 15:05:53 2013 -0500
221 Block on recv instead of loop/polling in MultiSession
223 When the time comes to wait for responses to arrive, block on the XMPP
224 socket (which uses select() under the covers) until data arrives,
225 instead of looping furiously and calling receive in non-blocking mode.
226 Before this change, waiting on responses resulted in long-running CPU
229 Signed-off-by: Bill Erickson <berick@esilibrary.com>
230 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
232 5 1 src/perl/lib/OpenSRF/MultiSession.pm
234 commit 8abac65dac48cc9bbd415741193e3fb873fdbc82
235 Author: Dan Scott <dscott@laurentian.ca>
236 Date: Fri Oct 19 16:28:59 2012 -0400
238 Stop using a non-standard default PREFIX for installs
240 Working towards packaging, we will be better off if we start getting used to
241 installing OpenSRF in standard FHS directories.
243 Signed-off-by: Dan Scott <dscott@laurentian.ca>
244 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
248 commit c676cfc19134df88e9586954dd350be347189a0c
249 Author: Galen Charlton <gmc@esilibrary.com>
250 Date: Sat Feb 23 00:26:06 2013 -0800
252 LP#1132247: fix compilation warnings in C test cases
254 Also, since osrfList maintains a list of pointers, not
255 values, adjust some of the test cases to discourage
256 anybody inclined to copy-and-paste from the test cases
257 from storing pointers to stack variables in an osrfList.
259 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
260 Signed-off-by: Ben Shum <bshum@biblio.org>
262 53 45 tests/check_osrf_list.c
263 1 1 tests/check_osrf_message.c
265 commit 77d42eea11a3551331e6cecd409f575ae584548d
266 Author: Bill Erickson <berick@esilibrary.com>
267 Date: Wed Oct 17 14:37:01 2012 -0400
269 Logger.pm whitespace cleanup
271 Apply 4-space "tabs" consistently.
273 Signed-off-by: Bill Erickson <berick@esilibrary.com>
274 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
276 128 129 src/perl/lib/OpenSRF/Utils/Logger.pm
278 commit 7667d34b4913b57740695a912a69f4d520fbcb9f
279 Author: Bill Erickson <berick@esilibrary.com>
280 Date: Wed Oct 17 14:31:02 2012 -0400
282 Enable client logtrace with environment vars
284 Supports a new environment variable OSRF_LOG_CLIENT which, if true,
285 enables control and generation of the client log trace value. This is
286 the same as setting <client>true</client> within the opensrf core
289 As a shortcut, if the MOD_PERL environment variable is set, assume
292 This allows clients and non-clients to share an opensrf core
293 configuration file, when previously the only difference between the two
294 was the <client> setting.
296 Signed-off-by: Bill Erickson <berick@esilibrary.com>
297 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
299 6 0 src/perl/lib/OpenSRF/Utils/Logger.pm
301 commit f086d4c0aaaa605139aa18658a62fa919294cdc8
302 Author: Dan Scott <dscott@laurentian.ca>
303 Date: Sun Jan 27 11:08:12 2013 -0500
305 Test for Apache executable in sbin dirs
307 Debian apparently doesn't include /usr/sbin in the default user PATH, so
308 add an APXS2-like lookup with likely locations if we don't find the
309 apache executable in our standard path.
311 Signed-off-by: Dan Scott <dscott@laurentian.ca>
312 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
313 Signed-off-by: Ben Shum <bshum@biblio.org>
317 commit 0c40bc6c40ff55b1ddf8bfe9b5e6ebaa87be5113
318 Author: Dan Scott <dscott@laurentian.ca>
319 Date: Wed Jan 16 21:59:22 2013 -0500
321 Support Apache 2.4 client IP address lookups
323 The Apache 2.4 API replaces the conn_rec->remote_ip member with
324 conn_rec->client_ip or conn_rec->useragent_ip (per
325 http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html). client_ip
326 seems to be the best choice for us, to avoid everything being logged
327 from the load balancer or proxy instead of the client's address.
329 This code detects the version of Apache and uses client_ip if it is 2.4
332 Signed-off-by: Dan Scott <dscott@laurentian.ca>
333 Signed-off-by: Bill Erickson <berick@esilibrary.com>
336 5 2 src/gateway/Makefile.am
337 4 0 src/gateway/osrf_http_translator.c
338 5 0 src/gateway/osrf_json_gateway.c
340 commit d390d1ae315bd9c9326c9ef76ebf74f57ddaa573
341 Author: Bill Erickson <berick@esilibrary.com>
342 Date: Tue Jun 26 09:21:57 2012 -0400
344 Prevent "uninitialized value" warnings in parameter logging
346 Use of uninitialized value $p[0] in join or string at
347 /usr/local/share/perl/5.10.1/OpenSRF/Application.pm line 130.
349 This is caused when the array of method params contains null/undef
350 values. Prevent the warnings by replacing these values w/ empty
353 Signed-off-by: Bill Erickson <berick@esilibrary.com>
354 Signed-off-by: Dan Scott <dscott@laurentian.ca>
355 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
357 1 1 src/perl/lib/OpenSRF/Application.pm
359 commit c0630d2bcedb086ac4e8bef98cc37748fc0cce3a
360 Author: Jason Stephenson <jstephenson@mvlc.org>
361 Date: Wed Oct 31 10:21:18 2012 -0400
363 Change OSRF_JAVA_DEPSDIR so building Java just works.
365 OSRF_JAVA_DEPSDIR was being set to /opt/java by configure without any
366 documentation to that effect. The src/java/deps.sh downloads the deps files
367 to src/java/deps. This means that you cannot just build java without either
368 copying the jars from src/java/deps or altering src/java/Makefile.
370 This edit changes the AC_SUBST call to replace OSRF_JAVA_DEPSDIR with deps,
371 so that you can at least build java without making any changes.
373 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
374 Signed-off-by: Bill Erickson <berick@esilibrary.com>
378 commit d262e2892203dc74fcd1abc69a9ae7458566b18a
379 Author: Bill Erickson <berick@esilibrary.com>
380 Date: Thu Nov 1 09:41:52 2012 -0400
382 Safer casting in java config parsing
384 Java config parsing, in particular getString and getInt, no longer fail
385 when encountering a number value in the internl JSON->Map object.
387 Java does not allow the following cast:
389 String s = (String) someNumber;
391 Instead, rely on the object's toString() which is safe and guaranteed
394 Signed-off-by: Bill Erickson <berick@esilibrary.com>
395 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
396 Signed-off-by: Dan Scott <dscott@laurentian.ca>
398 1 1 src/java/org/opensrf/util/Config.java
400 commit 2883586dd2c6852ce817dcf117d263283e14c9e1
401 Author: Dan Scott <dscott@laurentian.ca>
402 Date: Mon Nov 19 10:51:26 2012 -0500
404 Typo in configure.ac: 'framweork'
406 Reported by David Busby of edoceo in
407 https://bugs.launchpad.net/opensrf/+bug/1080458 - thanks David!
409 Signed-off-by: Dan Scott <dscott@laurentian.ca>