]> git.evergreen-ils.org Git - OpenSRF.git/blob - ChangeLog
d9ebbc0b045f0df2477d9e7be7151f98e847d650
[OpenSRF.git] / ChangeLog
1 ChangeLog
2 =========
3
4 OpenSRF 2.2.1
5 -------------
6
7 commit 2b9389dcabbe33aab06fa97f42a07d207811f3d3
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date:   Mon Oct 21 09:01:36 2013 +0000
10
11     bump up version number to 2.2.1
12     
13     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
14
15 2       2       src/perl/lib/OpenSRF.pm
16 1       1       src/python/setup.py
17 1       1       version.m4
18
19 commit a367290f622321a828bbb3243f6058e348133b39
20 Author: Galen Charlton <gmc@esilibrary.com>
21 Date:   Mon Oct 21 08:59:41 2013 +0000
22
23     update release notes for 2.2.1
24     
25     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
26
27 22      1       doc/RELEASE_NOTES.txt
28
29 commit 425821b7a8e4dde99beeb325a119e3dae154e1b3
30 Author: Jason Etheridge <jason@esilibrary.com>
31 Date:   Thu Aug 1 14:15:14 2013 -0400
32
33     silence some uninitialized warnings
34     
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>
38
39 5       1       src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm
40 1       1       src/perl/lib/OpenSRF/Utils.pm
41
42 commit d081052e872468d228d55c8fc4eb6cffa527da3b
43 Author: Galen Charlton <gmc@esilibrary.com>
44 Date:   Tue Aug 6 22:00:15 2013 +0000
45
46     LP#1188195: add tests for setting default client locale
47     
48     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
49
50 8       1       src/perl/t/02-AppSession.t
51
52 commit 811caee573b71ea3ac59c48f83d9ca29accad2f0
53 Author: Bill Erickson <berick@esilibrary.com>
54 Date:   Thu May 23 15:17:12 2013 -0400
55
56     LP#1188195: Default per-process client locale (Perl)
57     
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
62     AppSession object.
63     
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.
67     
68     This is not for SERVER processes, since they
69     adopt the locale of their respective callers.
70     
71     Signed-off-by: Bill Erickson <berick@esilibrary.com>
72     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
73
74 22      0       src/perl/lib/OpenSRF/AppSession.pm
75
76 commit 0a19073843476c02a168af1c00d6ccc5e0c03a14
77 Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
78 Date:   Tue Aug 6 16:56:06 2013 +0300
79
80     LP#1208860: fix sprintf without format string.
81     
82     Fixes error preventing installation on Debian testing and
83     removes warning on earlier versions of Debian.
84     
85     Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
86     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
87
88 1       1       src/gateway/osrf_http_translator.c
89
90 commit 312a1d9f61aefc69602e7db4f6fe82e7b84d7207
91 Author: Bill Erickson <berick@esilibrary.com>
92 Date:   Thu Jul 11 16:36:43 2013 -0400
93
94     LP1198983 disable multipart/mixed for Firefox
95     
96     Only allow multipart mixed/replace message within the Evergreen staff
97     client for now.  Eventually, multi-part messages will be wholly
98     deprecated.
99     
100     Signed-off-by: Bill Erickson <berick@esilibrary.com>
101     Signed-off-by: Dan Scott <dscott@laurentian.ca>
102
103 5       3       src/javascript/opensrf_xhr.js
104
105 OpenSRF 2.2.0
106 -------------
107
108 commit c5563a175edf84e11e628d254b566ae5344df80b
109 Author: Galen Charlton <gmc@esilibrary.com>
110 Date:   Fri Apr 19 20:06:40 2013 -0400
111
112     bump up version to 2.2.0
113     
114     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
115
116 2       2       src/perl/lib/OpenSRF.pm
117 1       1       src/python/setup.py
118 1       1       version.m4
119
120 commit 2a0eff986aef7b45043baf67b788833060e05351
121 Author: Galen Charlton <gmc@esilibrary.com>
122 Date:   Fri Apr 19 20:04:19 2013 -0400
123
124     updated release notes for 2.2.0
125     
126     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
127
128 4       2       doc/RELEASE_NOTES.txt
129
130 commit 161cb3fa16e518c63ac2680082bfde118312be27
131 Author: Galen Charlton <gmc@esilibrary.com>
132 Date:   Thu Apr 4 23:01:49 2013 -0400
133
134     LP#1162907: don't require installing RPC::XML
135     
136     RPC::XML is not required by OpenSRF, although it is an
137     Evergreen dependency.
138     
139     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
140     Signed-off-by: Mike Rylander <mrylander@gmail.com>
141
142 0       2       src/extras/Makefile.install
143
144 commit 4b2118dc1f2f5d09ae5c7b931777c21c46df6fc1
145 Author: Galen Charlton <gmc@esilibrary.com>
146 Date:   Tue Mar 19 11:14:31 2013 -0400
147
148     remove Fedora 16 from the supported platforms list
149     
150     Per commit 2c6fabe8
151     
152     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
153
154 1       1       doc/RELEASE_NOTES.txt
155
156 commit 32e2cce60ac342ba7e1c2437a04080f61737efe6
157 Author: Galen Charlton <gmc@esilibrary.com>
158 Date:   Tue Mar 19 01:23:31 2013 -0400
159
160     add one last change to the release notes for 2.2.0-alpha
161     
162     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
163
164 3       0       doc/RELEASE_NOTES.txt
165
166 commit de5f067661d9ce77fcd5260101e8c633a76b0495
167 Author: Galen Charlton <gmc@esilibrary.com>
168 Date:   Sun Mar 17 16:37:46 2013 -0700
169
170     release notes for 2.2.0-alpha
171     
172     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
173
174 75      0       doc/RELEASE_NOTES.txt
175  create mode 100644 doc/RELEASE_NOTES.txt
176
177 commit bc0c14b5c2dad7d4849eb36875f63cd7e5254ba3
178 Author: Galen Charlton <gmc@esilibrary.com>
179 Date:   Sun Mar 17 15:16:51 2013 -0700
180
181     bump up version numbers for 2.2.0-alpha release
182     
183     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
184
185 2       2       src/perl/lib/OpenSRF.pm
186 1       1       src/python/setup.py
187 1       1       version.m4
188
189 commit a9182c03a3b61953751fda2da0e881d47f95e035
190 Author: Galen Charlton <gmc@esilibrary.com>
191 Date:   Sun Mar 17 14:50:34 2013 -0700
192
193     ChangeLog for 2.2.0-alpha
194     
195     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
196
197 185     1189    ChangeLog
198
199 commit 78f15b09801f508a8db3b03cf40ab73c6d6b144d
200 Author: Bill Erickson <berick@esilibrary.com>
201 Date:   Fri Mar 15 15:56:55 2013 -0400
202
203     Multisession blocking repair
204     
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:
208     
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
212       affects all requests
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.
215     
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
218     completed requests.
219     
220     Signed-off-by: Bill Erickson <berick@esilibrary.com>
221     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
222
223 14      0       src/perl/lib/OpenSRF/MultiSession.pm
224
225 commit c8b808c739637ec68f2d8181f73d93f880f55dd6
226 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
227 Date:   Wed Nov 14 14:50:46 2012 -0500
228
229     When running methods for clients, send plain warnings to "real" logs
230     
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 ?
236     
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
239     noisy.
240     
241     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
242     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
243
244 10      0       src/perl/lib/OpenSRF/Application.pm
245
246 commit df3155f9a3d9259ce64b27fb834450f99e85d8e2
247 Author: Bill Erickson <berick@esilibrary.com>
248 Date:   Tue Oct 16 09:28:20 2012 -0400
249
250     Minor whitespace repairs in Server.pm
251     
252     Signed-off-by: Bill Erickson <berick@esilibrary.com>
253     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
254
255 7       7       src/perl/lib/OpenSRF/Server.pm
256
257 commit dd09c46cfd3bc445a879257bb530117b904f09fa
258 Author: Bill Erickson <berick@esilibrary.com>
259 Date:   Mon Oct 15 17:23:19 2012 -0400
260
261     Perl SIGHUP handling and config reloading
262     
263     Sending the HUP signal to a Perl Listener process now results in the
264     following:
265     
266      * Reload the opensrf_core config
267      * re-init the logger
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
272     
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
276     child process.
277     
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
284     service restart.
285     
286     opensrf.xml (opensrf.settings config) is not reloaded, so min/max child
287     settings will not be affected.
288     
289     Signed-off-by: Bill Erickson <berick@esilibrary.com>
290     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
291
292 52      1       src/perl/lib/OpenSRF/Server.pm
293 2       1       src/perl/lib/OpenSRF/Utils/Logger.pm
294
295 commit 51dfd2c93ded26db5820201a1e43ed8e3cdb7d99
296 Author: Galen Charlton <gmc@esilibrary.com>
297 Date:   Fri Jan 18 13:12:35 2013 -0500
298
299     LP#1101254: remove memory leak in HTTP translator
300     
301     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
302     Signed-off-by: Bill Erickson <berick@esilibrary.com>
303
304 5       1       src/gateway/osrf_http_translator.c
305
306 commit 0d6feed4b9ca2f7335aabcb55383a8a0270480b1
307 Author: Bill Erickson <berick@esilibrary.com>
308 Date:   Tue Jun 19 15:36:25 2012 -0400
309
310     Debian wheezy Makefile.install target
311     
312     Signed-off-by: Bill Erickson <berick@esilibrary.com>
313     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
314
315 1       0       README
316 15      1       src/extras/Makefile.install
317
318 commit 56fa5ed7e9e0aceb4504a5bb279fa626d55a5fc0
319 Author: Bill Erickson <berick@esilibrary.com>
320 Date:   Thu Jan 31 15:05:53 2013 -0500
321
322     Block on recv instead of loop/polling in MultiSession
323     
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
328     spikes.
329     
330     Signed-off-by: Bill Erickson <berick@esilibrary.com>
331     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
332
333 5       1       src/perl/lib/OpenSRF/MultiSession.pm
334
335 commit 8abac65dac48cc9bbd415741193e3fb873fdbc82
336 Author: Dan Scott <dscott@laurentian.ca>
337 Date:   Fri Oct 19 16:28:59 2012 -0400
338
339     Stop using a non-standard default PREFIX for installs
340     
341     Working towards packaging, we will be better off if we start getting used to
342     installing OpenSRF in standard FHS directories.
343     
344     Signed-off-by: Dan Scott <dscott@laurentian.ca>
345     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
346
347 0       1       configure.ac
348
349 commit c676cfc19134df88e9586954dd350be347189a0c
350 Author: Galen Charlton <gmc@esilibrary.com>
351 Date:   Sat Feb 23 00:26:06 2013 -0800
352
353     LP#1132247: fix compilation warnings in C test cases
354     
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.
359     
360     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
361     Signed-off-by: Ben Shum <bshum@biblio.org>
362
363 53      45      tests/check_osrf_list.c
364 1       1       tests/check_osrf_message.c
365
366 commit 77d42eea11a3551331e6cecd409f575ae584548d
367 Author: Bill Erickson <berick@esilibrary.com>
368 Date:   Wed Oct 17 14:37:01 2012 -0400
369
370     Logger.pm whitespace cleanup
371     
372     Apply 4-space "tabs" consistently.
373     
374     Signed-off-by: Bill Erickson <berick@esilibrary.com>
375     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
376
377 128     129     src/perl/lib/OpenSRF/Utils/Logger.pm
378
379 commit 7667d34b4913b57740695a912a69f4d520fbcb9f
380 Author: Bill Erickson <berick@esilibrary.com>
381 Date:   Wed Oct 17 14:31:02 2012 -0400
382
383     Enable client logtrace with environment vars
384     
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
388     configuration file.
389     
390     As a shortcut, if the MOD_PERL environment variable is set, assume
391     client=true.
392     
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.
396     
397     Signed-off-by: Bill Erickson <berick@esilibrary.com>
398     Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
399
400 6       0       src/perl/lib/OpenSRF/Utils/Logger.pm
401
402 commit f086d4c0aaaa605139aa18658a62fa919294cdc8
403 Author: Dan Scott <dscott@laurentian.ca>
404 Date:   Sun Jan 27 11:08:12 2013 -0500
405
406     Test for Apache executable in sbin dirs
407     
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.
411     
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>
415
416 11      2       configure.ac
417
418 commit 0c40bc6c40ff55b1ddf8bfe9b5e6ebaa87be5113
419 Author: Dan Scott <dscott@laurentian.ca>
420 Date:   Wed Jan 16 21:59:22 2013 -0500
421
422     Support Apache 2.4 client IP address lookups
423     
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.
429     
430     This code detects the version of Apache and uses client_ip if it is 2.4
431     or greater.
432     
433     Signed-off-by: Dan Scott <dscott@laurentian.ca>
434     Signed-off-by: Bill Erickson <berick@esilibrary.com>
435
436 24      0       configure.ac
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
440
441 commit d390d1ae315bd9c9326c9ef76ebf74f57ddaa573
442 Author: Bill Erickson <berick@esilibrary.com>
443 Date:   Tue Jun 26 09:21:57 2012 -0400
444
445     Prevent "uninitialized value" warnings in parameter logging
446     
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.
449     
450     This is caused when the array of method params contains null/undef
451     values.  Prevent the warnings by replacing these values w/ empty
452     strings.
453     
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>
457
458 1       1       src/perl/lib/OpenSRF/Application.pm
459
460 commit c0630d2bcedb086ac4e8bef98cc37748fc0cce3a
461 Author: Jason Stephenson <jstephenson@mvlc.org>
462 Date:   Wed Oct 31 10:21:18 2012 -0400
463
464     Change OSRF_JAVA_DEPSDIR so building Java just works.
465     
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.
470     
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.
473     
474     Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
475     Signed-off-by: Bill Erickson <berick@esilibrary.com>
476
477 1       1       configure.ac
478
479 commit d262e2892203dc74fcd1abc69a9ae7458566b18a
480 Author: Bill Erickson <berick@esilibrary.com>
481 Date:   Thu Nov 1 09:41:52 2012 -0400
482
483     Safer casting in java config parsing
484     
485     Java config parsing, in particular getString and getInt, no longer fail
486     when encountering a number value in the internl JSON->Map object.
487     
488     Java does not allow the following cast:
489     
490     String s = (String) someNumber;
491     
492     Instead, rely on the object's toString() which is safe and guaranteed
493     to exist.
494     
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>
498
499 1       1       src/java/org/opensrf/util/Config.java
500
501 commit 2883586dd2c6852ce817dcf117d263283e14c9e1
502 Author: Dan Scott <dscott@laurentian.ca>
503 Date:   Mon Nov 19 10:51:26 2012 -0500
504
505     Typo in configure.ac: 'framweork'
506     
507     Reported by David Busby of edoceo in
508     https://bugs.launchpad.net/opensrf/+bug/1080458 - thanks David!
509     
510     Signed-off-by: Dan Scott <dscott@laurentian.ca>
511
512 1       1       configure.ac