@checksub_team/peaks_timeline 1.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,530 @@
1
+ # Peaks.js
2
+
3
+ ## 0.19.0 (2020/02/06)
4
+
5
+ * (#309) Fixed rendering of non-editable segment marker handles (@chrisn)
6
+
7
+ * Reduced size of npm and Bower installs by removing unnecessary files
8
+ (@chrisn)
9
+
10
+ * Refactored to simplify code structure. All source files are now placed
11
+ in a single 'src' directory, and several files have been renamed for
12
+ consistency (@chrisn)
13
+
14
+ ## 0.18.1 (2020/02/02)
15
+
16
+ * (#306) Updated TypeScript declarations (@tscz)
17
+
18
+ * Documented zoomview.setStartTime() (@chrisn)
19
+
20
+ ## 0.18.0 (2020/02/02)
21
+
22
+ * (#300) Redesigned the marker customization API. Refer to customizing.md
23
+ for detailed documentation on how to customize the appearance of point
24
+ and segment marker handles (@chrisn)
25
+
26
+ * Added a view.fitToContainer() method that resizes the waveform and point and
27
+ segment marker handles to fit the available space (@chrisn)
28
+
29
+ * Added zoomview.setStartTime() method (@chrisn)
30
+
31
+ * The `inMarkerColor` and `outMarkerColor` configuration options have been
32
+ renamed to `segmentStartMarkerColor` and `segmentEndMarkerColor` (@chrisn)
33
+
34
+ * (#305) Added a zoomview.setZoom() method that gives applications greater
35
+ flexibility in setting the zoom level. The zoom level can be set to (a)
36
+ a number of samples per pixel, as per the existing peaks.zoom.setZoom() API,
37
+ (b) a number of seconds fit to the available width, or (c) the entire audio
38
+ duration fit to the available width (@chrisn)
39
+
40
+ ## 0.17.0 (2020/01/16)
41
+
42
+ * (#302) Fixed segment handle dragging so that dragging the start marker does
43
+ not change the segment end time, and vice versa (@chrisn)
44
+
45
+ * Added view.enableMarkerEditing() method (@chrisn)
46
+
47
+ * Updated Typescript definitions (@is343, @chrisn)
48
+
49
+ ## 0.16.0 (2019/12/16)
50
+
51
+ * (#262) Increased hit region for segment mouseenter and mouseleave events,
52
+ no longer requires placing the mouse directly over the waveform image
53
+ (@chrisn)
54
+
55
+ * (#263, #283) Added destroyZoomview() and destroyOverview() methods (@chrisn)
56
+
57
+ ## 0.15.0 (2019/12/04)
58
+
59
+ * (#293) Added overview.dblclick and zoomview.dblclick events (@chrisn)
60
+
61
+ * Fixed Typescript definitions (@tscz, @chrisn)
62
+
63
+ ## 0.14.5 (2019/11/10)
64
+
65
+ * (#290) Fixed setAmplitudeScale() to update all waveform segments (@chrisn)
66
+
67
+ * Disabled warnings from Konva.js
68
+
69
+ * Fixed demo pages for Webkit
70
+
71
+ ## 0.14.4 (2019/11/06)
72
+
73
+ * (#289) Fixed overlapHighlightOffset behaviour when value too large
74
+ (@jodonnell)
75
+
76
+ ## 0.14.3 (2019/11/06)
77
+
78
+ * (#288) Added overviewHighlightOffset option, and renamed the
79
+ overviewHighlightRectangleColor option to overviewHighlightColor
80
+ (@jodonnell)
81
+
82
+ ## 0.14.2 (2019/11/05)
83
+
84
+ * (#285) The axis labels are now correctly rendered on top of the waveform
85
+ (@chrisn)
86
+
87
+ * (#286) Fixed point/segment marker creation function options, and updated
88
+ documentation (@chrisn)
89
+
90
+ ## 0.14.1 (2019/10/31)
91
+
92
+ * (#284) Fixed `peaks.destroy()` (@chrisn)
93
+
94
+ * Updated waveform-data.js to v3.1.0 (@chrisn)
95
+
96
+ ## 0.14.0 (2019/10/23)
97
+
98
+ * (#287) Added `segment.dragstart` and `segment.dragend` events.
99
+ The `segment.dragged` event now receives a boolean parameter that indicates
100
+ whether the start or end marker is being dragged (@Spidy88)
101
+
102
+ ## 0.13.1 (2019/10/22)
103
+
104
+ * (#281) Fixed TypeScript definitions (@tscz)
105
+
106
+ * Updated demo pages to use updated `Peaks.init()` API options (@chrisn)
107
+
108
+ ## 0.13.0 (2019/09/11)
109
+
110
+ * (#228, #240) Added ability to intialise a Peaks instance given an
111
+ AudioBuffer
112
+
113
+ * The API for creating waveforms using the Web Audio API has changed.
114
+ Instead of passing an `audioContext` option to `Peaks.init()` or
115
+ `peaksInstance.setSource()`, you shoud now pass a `webAudio` object,
116
+ for example:
117
+
118
+ ```javascript
119
+ const options = {
120
+ // ... etc
121
+ webAudio: {
122
+ audioContext: new AudioContext(),
123
+ multiChannel: true
124
+ }
125
+ }
126
+
127
+ Peaks.init(options, function(err, peaksInstance) { ... });
128
+ ```
129
+
130
+ * The (undocumented) `waveformBuilderOptions` option has also been removed.
131
+ If you were using `amplitude_scale`, please use `view.setAmplitudeScale()`
132
+ instead. The `scale` option is now determined by the lowest `zoomLevels`
133
+ setting
134
+
135
+ * Added `view.enableAutoScroll()` method
136
+
137
+ ## 0.12.0 (2019/08/24)
138
+
139
+ * (#194) Added multi-channel waveform support (@chrisn)
140
+
141
+ ## 0.11.1 (2019/08/23)
142
+
143
+ * Updated waveform-data.js to v3.0.0 (@chrisn)
144
+
145
+ ## 0.11.0 (2019/08/11)
146
+
147
+ * (#243, #268) Added emitCueEvents option that causes Peaks.js to emit
148
+ 'points.enter', 'segments.enter', and 'segments.exit' events during playback
149
+ or on seeking (@gmarinov, @chrisn)
150
+
151
+ * (#92) Added setSource() method to change the media element's source URL
152
+ and update the waveform (@chrisn)
153
+
154
+ ## 0.10.1 (2019/07/10)
155
+
156
+ * (#211) Added view.setAmplitudeScale() method, and documented new API methods
157
+ for creating and accessing the waveform views (@chrisn)
158
+
159
+ * (#270) Fixed segment rendering after updating startTime or endTime (@chrisn)
160
+
161
+ * (#267) Added option to run specific test files by glob pattern (@gmarinov)
162
+
163
+ ## 0.10.0 (2019/06/22)
164
+
165
+ * (#247) Added update() methods to allow changes to segment and point
166
+ properties (@zachsa)
167
+
168
+ * (#250) Added 'segments.mouseenter', 'segments.mouseleave', and
169
+ 'segments.click' events (@zachsa)
170
+
171
+ * (#258) Added new 'containers' option, to allow creation of zoomable
172
+ and non-zoomable ('overview') waveform views. Added example pages,
173
+ in the 'demo' folder (@chrisn)
174
+
175
+ * Updated to Konva 3.3.3 (@chrisn)
176
+
177
+ ## 0.9.14 (2019/03/05)
178
+
179
+ * (#249, #251, #252) Enabled touch events for waveform container
180
+ and point and segment markers (@rfrei)
181
+
182
+ * Updated to Konva 3.1.6 and waveform-data.js 2.1.2, and updated
183
+ development dependencies (@chrisn)
184
+
185
+ * Updated TypeScript declarations (@evanlouie)
186
+
187
+ ## 0.9.13 (2018/09/04)
188
+
189
+ * Added TypeScript declarations (@evanlouie)
190
+
191
+ ## 0.9.12 (2018/07/27)
192
+
193
+ * Version bump after updating npm access token (@chrisn)
194
+
195
+ ## 0.9.11 (2018/07/27)
196
+
197
+ * Refactored waveform rendering code, added WaveformShape class (@chrisn)
198
+
199
+ * Removed background layer, to reduce the number of Konva layers used (@chrisn)
200
+
201
+ * Avoid building waveform data multiple times when using the Web Audio API
202
+ (@cky917)
203
+
204
+ ## 0.9.10 (2018/06/23)
205
+
206
+ * Fixed use of Web Audio API in Safari (@ibobobo)
207
+
208
+ * Fixed point drag event handling (@anthonytex, @chrisn)
209
+
210
+ ## 0.9.9 (2018/05/21)
211
+
212
+ * Allow Peaks objects to be created using the new operator (@chrisn)
213
+
214
+ * The points.add() and segments.add() methods now operate atomically. This
215
+ change ensures that the input point/segment objects are validated before
216
+ storing, so that if an exception is thrown, we leave the state of the
217
+ points/segments array as it was before the function was called (@chrisn)
218
+
219
+ * Added 'points.mouseenter' and 'points.mouseleave' events. Also added
220
+ 'points.dblclick', which replaces the (previously undocumented)
221
+ pointDblClickHandler config option (@markjongkind, @chrisn)
222
+
223
+ * Added 'points.dragstart' and 'points.dragend' events, and renamed
224
+ 'points.dragged' to 'points.dragmove'. The (also undocumented)
225
+ pointDragEndHandler config option is deprecated (@chrisn)
226
+
227
+ ## 0.9.8 (2018/02/10)
228
+
229
+ * Ensure resources used by Player object are released on calling
230
+ peaks.destroy() (@chrisn)
231
+
232
+ * points.remove() and segments.remove() no longer throw an exception
233
+ if multiple matching markers are found. The removed markers are returned
234
+ in an array (@chrisn)
235
+
236
+ * Updated to eventemitter2 v5.0.1, also updated development dependencies
237
+ (@chrisn)
238
+
239
+ ## 0.9.7 (2018/01/25)
240
+
241
+ * (#104) Prevent "zoom level too low" exception when using the Web Audio API
242
+ to compute the waveform data (@chrisn)
243
+
244
+ * (#213) Added withCredentials option to allow users to send credentials
245
+ when requesting waveform data files using XHR (@bennypowers)
246
+
247
+ * (#212) Fixed points.removeAll() and segments.removeAll() (@chrisn)
248
+
249
+ * Fixed a bug where the time axis would show the wrong times next to the
250
+ axis markers (@chrisn)
251
+
252
+ * Peaks.js is now available via cdnjs. Added a link to the ReadMe
253
+ (@extend1994)
254
+
255
+ ## 0.9.6 (2018/01/13)
256
+
257
+ * (#112) Fixed a race condition where an audio element that contains
258
+ one or more source elements is added to a page, and Peaks.init()
259
+ is called before the audio element has selected which source
260
+ to use. Also improved error reporting, to avoid a misleading "Unable to
261
+ determine a compatible dataUri format for this browser" error (@chrisn)
262
+
263
+ ## 0.9.5 (2017/12/11)
264
+
265
+ * (#207) Prevent jump in playhead motion after starting playback
266
+ (@chrisn, @jdelStrother)
267
+
268
+ ## 0.9.4 (2017/11/24)
269
+
270
+ * Version bump to refresh npm and browserify cached releases (@chrisn)
271
+
272
+ ## 0.9.3 (2017/11/24)
273
+
274
+ * (#201) Added showPlayheadTime option to control display of the current time
275
+ position next to the playhead marker (@chrisn)
276
+
277
+ * (#202) Keep playhead layer in sync with timeupdate events (@jdelStrother)
278
+
279
+ ## 0.9.2 (2017/09/27)
280
+
281
+ * (#199) The playhead position is now correctly updated in the zoomable
282
+ view after calling player.seek() (@chrisn)
283
+ * Added parameter validation to player.seek() (@chrisn)
284
+ * Show the time when dragging point markers (@chrisn)
285
+ * Use a fixed set of default colors instead of random colors for segments
286
+ (@chrisn)
287
+ * Simplified createSegmentMarker, createSegmentLabel, and createPointMarker
288
+ functions (@chrisn)
289
+ * Refactored WaveformPoints and WaveformSegments classes (@chrisn)
290
+ * Refactored PointsLayer and SegmentsLayer _removeInvisiblePoints methods
291
+ (@chrisn)
292
+
293
+ ## 0.9.1 (2017/08/29)
294
+
295
+ * Fixed bug in IE11 which caused adding segment objects to fail (@chrisn)
296
+
297
+ ## 0.9.0 (2017/08/16)
298
+
299
+ * (#184, #116) Fixed waveform zoom and scrolling behaviour. Note that the
300
+ animated zoom feature no longer works, and so static zoom is now always used,
301
+ regardless of the 'zoomAdapter' option (@chrisn)
302
+ * Refactored WaveformSegments and WaveformPoints to separate the UI code into
303
+ new SegmentsLayer and PointsLayer classes (@chrisn)
304
+ * Points and segments are now represented by Point and Segment objects, rather
305
+ than plain JavaScript objects (@chrisn)
306
+ * (#117) Improved rendering speed of points and segments (@chrisn)
307
+ * Points and segments with duplicate ids are no longer allowed (@chrisn)
308
+ * The 'segments.ready' event is deprecated, use 'peaks.ready' instead (@chrisn)
309
+ * Added 'add', 'remove', 'remove_all', and 'dragged' events for points
310
+ and segments (@chrisn)
311
+ * The demo page now allows points and segments to be removed (@chrisn)
312
+ * Added ZoomController and TimeController classes to simplify main.js (@chrisn)
313
+ * Added PlayheadLayer class and refactored WaveformOverview and
314
+ WaveformZoomView so that the playhead update code is reused between both
315
+ (@chrisn)
316
+ * Added peaks.points.getPoint() method (@chrisn)
317
+ * Changed the keyboard interface so that the left/right arrow keys scroll the
318
+ waveform by 1 second, and shift+left/right by one screen width (@chrisn)
319
+ * Improved error messages (@chrisn)
320
+ * Removed Node.js v4 and added v8 in Travis CI builds. Please use v6.0 or later
321
+ to build Peaks.js (@chrisn)
322
+ * Many other refactorings and code improvements (@chrisn)
323
+
324
+ ## 0.8.1 (2017/07/03)
325
+
326
+ * Fixed deprecation logging from time API functions (@chrisn)
327
+ * Added parameter validation to Player.playSegment (@chrisn)
328
+
329
+ ## 0.8.0 (2017/07/01)
330
+
331
+ * (#192) Added Player.playSegment() method (@craigharvi3)
332
+ * Deprecated the time API; use the player API instead (@chrisn)
333
+ * Display optional point label text (@chrisn)
334
+ * Added documentation for the points API (@chrisn)
335
+ * Build ChangeLog manually (@chrisn)
336
+
337
+ ## 0.7.0 (2017/05/03)
338
+
339
+ * Updated to waveform-data.js v2.0.1 (@chrisn)
340
+ * (#182) Modified build to output a single UMD module; supporting installation with
341
+ package managers or the script-tag (@craigjohnwright)
342
+ * Another fix to mouse dragging behaviour (@chrisn)
343
+ * (#187) Fixed segment handle rendering (@chrisn)
344
+
345
+ ## v0.6.0 (2016/12/19)
346
+
347
+ * (#167) Added audioContext config option (@chrisn, @oncletom, @dodds-cc)
348
+ * (#165) Fixed mouse dragging behaviour (@chrisn)
349
+ * (#161) More reliable clicking behaviour, don't turn seek click off on
350
+ vertical mouse movement (@Develliot)
351
+ * (#159) Added JSDoc comments (@chrisn)
352
+ * (#157) Register mouse up/move events to the window rather than the waveform
353
+ stages (@jdelStrother)
354
+ * (#156) Refactored player and keyboard handler objects (@chrisn)
355
+ * (#155) Refactored WaveformPoints and WaveformSegments (@chrisn)
356
+
357
+ ## v0.5.0 (2016/08/25)
358
+
359
+ * (#150) Add Peaks.destroy method (@jdelStrother)
360
+
361
+ ## v0.4.9 (2016/08/24)
362
+
363
+ * (#151) Report XHR errors (@jdelStrother)
364
+ * (#152) Use the npm version of waveform-data.js (@oncletom)
365
+
366
+ ## v0.4.8 (2016/08/18)
367
+
368
+ * Fixed bug in defaultInMarker() which caused the wrong colour to be used for
369
+ left-hand segment markers (@chrisn)
370
+ * Renamed keyboard events (@chrisn)
371
+ * Updated to EventEmitter v1.0.x (@chrisn)
372
+ * Updated to Konva v1.0.x (@chrisn)
373
+ * Fixed adding points from Peaks.init() (@chrisn)
374
+ * (#144) Use Konva.FastLayer for drawing waveforms (@jdelStrother)
375
+ * (#143) Improve addSegment() method signature (@jdelStrother)
376
+ * (#142) Serve media from Karma during tests (@jdelStrother)
377
+ * (#141) Add/remove points and segments by ID (@jdelStrother)
378
+ * (#140) Expose browserified version as package.json "main" property
379
+ (@oncletom)
380
+ * (#139) Fixed keyboard right-shift bug (@chrisn)
381
+ * Numerous other refactorings (@chrisn)
382
+
383
+ ## v0.4.6 (2015/09/29)
384
+
385
+ * (#127) Don't add waveform layer to the overview stage twice and ensure
386
+ the UI layer is on top (@johvet)
387
+ * (#125) Node 0.12 and iojs compability (@oncletom)
388
+ * (#120) Explicit segment draw on drag resize (@oncletom)
389
+ * (#121) Make more colors configurable (@ziggythehamster)
390
+
391
+ ## v0.4.5 (2015/07/02)
392
+
393
+ * (#123) Allow alternate zoom adapters, add a static (non-animated) zoom
394
+ adapter, add more safety checks (@johvet, @ziggythehamster)
395
+
396
+ ## v0.4.4 (2015/06/30)
397
+
398
+ * (#122) Fix typo, seeking instead of seaking (@johvet)
399
+ * (#113) Make the axis label and gridline colors configurable
400
+ (@ziggythehamster)
401
+ * (#111) Initial error logging function for async errors (@oncletom)
402
+ * (#108) fix for bug #105 (@un-chein-andalou)
403
+
404
+ ## 0.4.3 (2014/10/15)
405
+
406
+ * (#101) deamdify and browserify back to optionalDependencies (@oncletom)
407
+
408
+ ## 0.4.2 (2014/10/09)
409
+
410
+ * Replaced example image in README.md
411
+ * Fixed time-out errors in Travis CI builds
412
+
413
+ ## 0.4.1 (2014/10/09)
414
+
415
+ * (#86) Fix Kinetic bower path in README (@oncletom)
416
+
417
+ ## 0.4.0 (2014/09/24)
418
+
419
+ * (#72) Upgrade to Kinetic 5.10 (@oncletom)
420
+ * (#84) Switch from SauceLabs to BrowserStack (@oncletom)
421
+ * (#81) beforeEach -> before, afterEach -> after (@oncletom)
422
+ * (#78) Added peaks.points.removeAll() method (@oncletom)
423
+
424
+ ## 0.3.2 (2014/09/10)
425
+
426
+ * (#79) EventEmitter2 prototype workaround (@oncletom)
427
+ * (#75) Fixed Travis + IE9 tests (@oncletom)
428
+
429
+ ## 0.3.1 (2014/09/08)
430
+
431
+ * (#74) 0.3 Build System Fix (@oncletom)
432
+
433
+ ## 0.3.0 (2014/08/21)
434
+
435
+ * (#71) Replaced eventEmitter with eventemitter2 (@oncletom)
436
+
437
+ ## 0.3.0-beta.5 (2014/07/10)
438
+
439
+ * (#62) Added waveformZoomReady event (after segments and points initialized)
440
+ (@chainlink)
441
+
442
+ ## 0.3.0-beta.4 (2014/07/10)
443
+
444
+ * Automatically deamdify files with browserify
445
+
446
+ ## 0.3.0-beta.3 (2014/07/10)
447
+
448
+ * (#66) Simplified build system (@oncletom)
449
+ * (#63) Fixed bug when using grunt build for vanilla JS (Kinetic Not Found)
450
+ (@chainlink)
451
+ * (#52) Custom height for each container (@bbcrd)
452
+ * Refactored waveform rendering code (@oncletom)
453
+ * View height can be set through CSS (@oncletom)
454
+ * Added smooth zoom animation (@mgrewal, @oncletom)
455
+ * Use waveform-data.js v1.2.0 (@chainlink)
456
+ * Added Points interface (@chainlink)
457
+
458
+ ## 0.3.0-beta.2 (2014/06/28)
459
+
460
+ * (#51) Added functions to delete segments (@oncletom)
461
+ * Aliased segments.addSegment as segments.add (@oncletom)
462
+
463
+ ## 0.3.0-beta.1 (2014/06/27)
464
+
465
+ * (#50) Peaks build system (@oncletom)
466
+ * Added Web Audio builder from waveform-data.js
467
+
468
+ ## 0.2.1 (2014/03/24)
469
+
470
+ * (#43) Fixed "SYNTAX_ERR: DOM Exception 12" error in Safari (@oncletom)
471
+ * (#28) Segment improvement (@oncletom)
472
+
473
+ ## 0.2.0 (2014/03/13)
474
+
475
+ * (#36) Ability to work with a video element as well (@oncletom)
476
+ * (#39) Fixing the `FAILED Peaks.segments "before each" hook` breaking CI
477
+ (@oncletom)
478
+ * (#38) Removing the requirejs builder (@oncletom)
479
+ * (#37) Added "segments.ready" event (@oncletom)
480
+ * (#35) Simplifying the AMD tree (@oncletom)
481
+ * (#32) Resize event is assigned to window and not the Peaks instance
482
+ (@oncletom)
483
+ * (#33) Enforcing strict mode (@oncletom)
484
+
485
+ ## 0.1.0 (2014/02/25)
486
+
487
+ * (#26) Removed sass dependency (@oncletom)
488
+ * (#20) Removed JST/Underscore dependencies (@oncletom)
489
+ * (#19) Added tests for each element of the public API (@oncletom)
490
+ * (#15) Partially removed jQuery dependency (@oncletom)
491
+ * (#14) Fixed {zoom,over}view mouseup is not releasing document.addEventListener("mouseup") (@oncletom)
492
+ * (#11) Handling multiple Peaks instances (@oncletom)
493
+ * (#10) Added peaks.time.setCurrentTime() (@oncletom)
494
+ * Rewrote the README and added screenshot (@oncletom)
495
+ * Fixed playhead positioning after click/drag etc (@oncletom)
496
+ * Removed dependency on underscore (@oncletom)
497
+ * Added parameter validation (@oncletom)
498
+ * Added test cases for segments API and zoom levels (@oncletom)
499
+ * Removed bootstrap module (@oncletom)
500
+
501
+ ## 0.0.6 (2014/02/19)
502
+
503
+ * (#30) Clicking in the zoomview should just change the playhead position
504
+ (@oncletom)
505
+
506
+ ## 0.0.5 (2014/02/17)
507
+
508
+ * (#25) Dragging zoomview bug (low priority) (@oncletom)
509
+ * (#24) Out of Range bug (@oncletom)
510
+
511
+ ## 0.0.4 (2014/02/06)
512
+
513
+ * (#22) Seeking not working (@oncletom)
514
+
515
+ ## 0.0.3 (2014/01/30)
516
+
517
+ * (#17) Moving the playhead in views now updates the audio element
518
+ currentTime (@oncletom)
519
+ * (#16) Fixed IE9 bug with createSegment (@oncletom)
520
+ * (#3) Added TravisCI + Saucelabs (@oncletom)
521
+ * (#13) Migrated to Mocha+Chai for tests (@oncletom)
522
+
523
+ ## 0.0.2 (2014/01/28)
524
+
525
+ * (#12) `element.currentTime` side-effect (@oncletom)
526
+ * (#5) Segments performance boost (@oncletom)
527
+
528
+ ## 0.0.1 (2013/12/14 09:42 +00:00)
529
+
530
+ * (#1) bower install failing for me (@oncletom)
package/COPYING ADDED
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.