rhodes 3.3.3.beta.4 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -5
- data/CREDITS +2215 -0
- data/Rakefile +225 -59
- data/bin/c2dm.rb +0 -0
- data/bin/get-rhodes-info.bat +0 -0
- data/bin/migrate-rhodes-app +0 -0
- data/bin/migrate-rhodes-app.bat +0 -0
- data/bin/rhodes +0 -0
- data/bin/rhodes-setup +0 -0
- data/bin/rhodes-setup.bat +0 -0
- data/bin/rhogen +0 -0
- data/bin/rhogen.bat +0 -0
- data/bin/set-rhodes-sdk +0 -0
- data/bin/set-rhodes-sdk.bat +0 -0
- data/bin/upgrade-rhodes-app +0 -0
- data/bin/upgrade-rhodes-app.bat +0 -0
- data/doc/build.txt +20 -9
- data/doc/configuration.txt +8 -8
- data/doc/connect-to-web-services.txt +1 -1
- data/doc/device-caps.txt +63 -26
- data/doc/extensions.txt +14 -2
- data/doc/install.txt +28 -19
- data/doc/introduction.txt +6 -3
- data/doc/jqt-jqm-transition.txt +10 -9
- data/doc/release.txt +5 -1
- data/doc/rhodes-command-line.txt +130 -0
- data/doc/rhom.txt +16 -11
- data/doc/rhostudio-eclipse.txt +3 -3
- data/doc/simulator.txt +28 -31
- data/doc/syncengine-ajax-api.txt +246 -0
- data/doc/synchronization.txt +21 -3
- data/doc/test-log-debug.txt +3 -1
- data/doc/ui.txt +16 -16
- data/ext/extconf.rb +8 -0
- data/lib/build/jake.rb +5 -5
- data/lib/extensions/barcode/ext/barcode/platform/android/Rakefile +9 -9
- data/lib/extensions/barcode/ext/barcode/platform/android/jni/src/barcode.cpp +81 -1
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/android/CaptureActivityHandler.java +6 -13
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/android/DecodeHandler.java +2 -6
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/rhomobile/barcode/Barcode.java +12 -1
- data/lib/extensions/barcode/ext/barcode/platform/bb/run.bat +0 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/BarcodeCallbackHelper.h +2 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/BarcodeCallbackHelper.mm +36 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/BarcodeViewController.h +0 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/BarcodeViewController.m +15 -5
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/barcode.m +64 -1
- data/lib/extensions/barcode/ext/barcode/shared/ruby/barcode.i +35 -1
- data/lib/extensions/barcode/ext/barcode/shared/ruby/barcode_wrap.c +126 -2
- data/lib/extensions/barcode/ext/barcode/shared/src/zbar.c +18 -1
- data/lib/extensions/barcode/ext/build +0 -0
- data/lib/extensions/barcode/ext/build.bat +0 -0
- data/lib/extensions/digest-md5/ext/Rakefile +12 -10
- data/lib/extensions/digest-md5/ext/build +0 -0
- data/lib/extensions/digest-md5/ext/build.bat +0 -0
- data/lib/extensions/digest-md5/ext/digest-md5.sln +2 -2
- data/lib/extensions/digest-md5/ext/digest-md5.vcproj +41 -28
- data/lib/extensions/digest-sha1/ext/Rakefile +11 -10
- data/lib/extensions/digest-sha1/ext/build +0 -0
- data/lib/extensions/digest-sha1/ext/build.bat +0 -0
- data/lib/extensions/digest-sha1/ext/digest-sha1.sln +2 -2
- data/lib/extensions/digest-sha1/ext/digest-sha1.vcproj +41 -28
- data/lib/extensions/digest/ext/Rakefile +12 -11
- data/lib/extensions/digest/ext/build +0 -0
- data/lib/extensions/digest/ext/build.bat +0 -0
- data/lib/extensions/digest/ext/digest.sln +44 -0
- data/lib/extensions/digest/ext/digest.vcproj +40 -27
- data/lib/extensions/esri/ext/build +0 -0
- data/lib/extensions/esri/ext/build.bat +0 -0
- data/lib/extensions/fcntl/ext/Rakefile +10 -9
- data/lib/extensions/fcntl/ext/build +0 -0
- data/lib/extensions/fcntl/ext/build.bat +0 -0
- data/lib/extensions/fcntl/ext/fcntl.vcproj +1 -1
- data/lib/extensions/nfc/ext/build +0 -0
- data/lib/extensions/nfc/ext/build.bat +0 -0
- data/lib/extensions/nfc/ext/nfc/platform/android/Rakefile +11 -11
- data/lib/extensions/nfc/ext/nfc/platform/android/jni/src/nfc.cpp +0 -0
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/Nfc.java +12 -10
- data/lib/extensions/nfc/ext/nfc/shared/ruby/nfc_wrap.c +16 -9
- data/lib/extensions/pdf-writer/color.rb +145 -0
- data/lib/extensions/pdf-writer/color/cmyk.rb +279 -0
- data/lib/extensions/pdf-writer/color/css.rb +28 -0
- data/lib/extensions/pdf-writer/color/grayscale.rb +212 -0
- data/lib/extensions/pdf-writer/color/hsl.rb +221 -0
- data/lib/extensions/pdf-writer/color/palette.rb +16 -0
- data/lib/extensions/pdf-writer/color/palette/adobecolor.rb +272 -0
- data/lib/extensions/pdf-writer/color/palette/gimp.rb +116 -0
- data/lib/extensions/pdf-writer/color/palette/monocontrast.rb +180 -0
- data/lib/extensions/pdf-writer/color/rgb-colors.rb +355 -0
- data/lib/extensions/pdf-writer/color/rgb.rb +453 -0
- data/lib/extensions/pdf-writer/color/rgb/metallic.rb +43 -0
- data/lib/extensions/pdf-writer/color/yiq.rb +84 -0
- data/lib/extensions/pdf-writer/ext/LICENSES/color/Licence.txt +27 -0
- data/lib/extensions/pdf-writer/ext/LICENSES/color/README.txt +32 -0
- data/lib/extensions/pdf-writer/ext/LICENSES/pdf-writer/LICENCE +131 -0
- data/lib/extensions/pdf-writer/ext/LICENSES/pdf-writer/README +33 -0
- data/lib/extensions/pdf-writer/ext/LICENSES/transaction-simple/Licence.txt +25 -0
- data/lib/extensions/pdf-writer/ext/LICENSES/transaction-simple/Readme.txt +204 -0
- data/lib/extensions/pdf-writer/pdf/charts.rb +13 -0
- data/lib/extensions/pdf-writer/pdf/charts/stddev.rb +430 -0
- data/lib/extensions/pdf-writer/pdf/math.rb +108 -0
- data/lib/extensions/pdf-writer/pdf/quickref.rb +332 -0
- data/lib/extensions/pdf-writer/pdf/simpletable.rb +947 -0
- data/lib/extensions/pdf-writer/pdf/techbook.rb +901 -0
- data/lib/extensions/pdf-writer/pdf/writer.rb +2729 -0
- data/lib/extensions/pdf-writer/pdf/writer/arc4.rb +63 -0
- data/lib/extensions/pdf-writer/pdf/writer/fontmetrics.rb +203 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Courier-Bold.afm +342 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Courier-BoldOblique.afm +342 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Courier-Oblique.afm +342 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Courier.afm +342 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Helvetica-Bold.afm +2827 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Helvetica-BoldOblique.afm +2827 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Helvetica-Oblique.afm +3051 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Helvetica.afm +3051 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/MustRead.html +19 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Symbol.afm +213 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Times-Bold.afm +2588 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Times-BoldItalic.afm +2384 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Times-Italic.afm +2667 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/Times-Roman.afm +2419 -0
- data/lib/extensions/pdf-writer/pdf/writer/fonts/ZapfDingbats.afm +225 -0
- data/lib/extensions/pdf-writer/pdf/writer/graphics.rb +813 -0
- data/lib/extensions/pdf-writer/pdf/writer/graphics/imageinfo.rb +365 -0
- data/lib/extensions/pdf-writer/pdf/writer/lang.rb +43 -0
- data/lib/extensions/pdf-writer/pdf/writer/lang/en.rb +99 -0
- data/lib/extensions/pdf-writer/pdf/writer/object.rb +23 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/action.rb +35 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/annotation.rb +42 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/catalog.rb +39 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/contents.rb +65 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/destination.rb +40 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/encryption.rb +53 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/font.rb +72 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/fontdescriptor.rb +34 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/fontencoding.rb +40 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/image.rb +304 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/info.rb +51 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/outline.rb +30 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/outlines.rb +30 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/page.rb +195 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/pages.rb +115 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/procset.rb +46 -0
- data/lib/extensions/pdf-writer/pdf/writer/object/viewerpreferences.rb +74 -0
- data/lib/extensions/pdf-writer/pdf/writer/ohash.rb +58 -0
- data/lib/extensions/pdf-writer/pdf/writer/oreader.rb +25 -0
- data/lib/extensions/pdf-writer/pdf/writer/state.rb +48 -0
- data/lib/extensions/pdf-writer/pdf/writer/strokestyle.rb +138 -0
- data/lib/extensions/pdf-writer/transaction/simple.rb +486 -0
- data/lib/extensions/pdf-writer/transaction/simple/group.rb +146 -0
- data/lib/extensions/pdf-writer/transaction/simple/threadsafe.rb +68 -0
- data/lib/extensions/pdf-writer/transaction/simple/threadsafe/group.rb +36 -0
- data/lib/framework/builtinME.rb +0 -0
- data/lib/framework/dateOrig.rb +8 -2
- data/lib/framework/rational.rb +0 -0
- data/lib/framework/res/esri.wm.png +0 -0
- data/lib/framework/rho/rho.rb +6 -0
- data/lib/framework/rho/rhobluetooth.rb +0 -0
- data/lib/framework/rho/rhofsconnector.rb +0 -0
- data/lib/framework/rho/rhonativeviewmanager.rb +0 -0
- data/lib/framework/rhofsconnector.rb +0 -0
- data/lib/framework/rhom/rhom_object_factory.rb +8 -0
- data/lib/framework/rhomotoapi.rb +3 -2
- data/platform/android/Rhodes/jni/include/rhodes/JNIRhodes.h +9 -1
- data/platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc +1 -0
- data/platform/android/Rhodes/jni/include/rhodes/jni/com_rhomobile_rhodes_file_RhoFileApi.h +26 -2
- data/platform/android/Rhodes/jni/src/callbacks.cpp +0 -5
- data/platform/android/Rhodes/jni/src/camera.cpp +1 -1
- data/platform/android/Rhodes/jni/src/fileapi.cpp +39 -19
- data/platform/android/Rhodes/jni/src/geolocation.cpp +3 -3
- data/platform/android/Rhodes/jni/src/mapview.cpp +206 -64
- data/platform/android/Rhodes/jni/src/nativeview.cpp +1 -1
- data/platform/android/Rhodes/jni/src/rhodes.cpp +13 -0
- data/platform/android/Rhodes/jni/src/rhodesapp.cpp +20 -0
- data/platform/android/Rhodes/jni/src/rhodessystem.cpp +36 -3
- data/platform/android/Rhodes/jni/src/signature.cpp +22 -2
- data/platform/android/Rhodes/res/drawable/alert_info.png +0 -0
- data/platform/android/Rhodes/res/drawable/esri.png +0 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/Capabilities.java +17 -16
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/Logger.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/MemoryInfoCollector.java +67 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +139 -114
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +106 -13
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +11 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/WebView.java +71 -16
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/CameraNewService.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/CameraSemiService.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/AbstractRhoExtension.java +22 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/Config.java +243 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtManager.java +19 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtension.java +9 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/{RhodesActivityListener.java → extmanager/IRhoListener.java} +16 -12
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManager.java +63 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +239 -14
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhodesStartupListeners.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/WebkitExtension.java +53 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/file/RhoFileApi.java +27 -12
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java +124 -62
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +49 -137
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +84 -114
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SplashScreen.java +75 -82
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/TabbedMainView.java +3 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Callout.java +4 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapBitmapManager.java +124 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapView.java +232 -43
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Request.java +193 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/nativeview/IRhoCustomView.java +13 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/nativeview/RhoNativeViewManager.java +32 -23
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/nativeview/RhoVideoView.java +74 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +6 -7
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +37 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality03.java +14 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality05.java +51 -38
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality07.java +9 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality08.java +48 -31
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +15 -16
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/signature/Signature.java +52 -15
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/LocalFileHandler.java +20 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/ChromeClientOld.java +1 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +77 -34
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/IRhoWebView.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebChromeClient.java +105 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +1 -1
- data/platform/android/build/RhodesSRC_build.files +8 -7
- data/platform/android/build/android.rake +326 -216
- data/platform/android/build/androidcommon.rb +27 -13
- data/platform/bb/RubyVM/src/com/rho/file/SimpleFile.java +27 -1
- data/platform/bb/RubyVM/src/j2me/io/File.java +104 -38
- data/platform/bb/build/bb.rake +1 -0
- data/platform/bb/build/runRAPC.bat +0 -0
- data/platform/bb/rhodes/resources/background.png +0 -0
- data/platform/bb/rhodes/resources/esri.png +0 -0
- data/platform/bb/rhodes/resources/mappin.png +0 -0
- data/platform/bb/rhodes/src/com/rho/rubyext/System.java +5 -1
- data/platform/bb/rhodes/src/rhomobile/PushListeningThread.java +2 -2
- data/platform/bb/rhodes/src/rhomobile/mapview/ESRIMapField.java +0 -0
- data/platform/bb/rhodes/src/rhomobile/mapview/ESRIMapProvider.java +0 -0
- data/platform/bb/rhodes/src/rhomobile/mapview/GeoCoding.java +0 -0
- data/platform/bb/rhodes/src/rhomobile/mapview/GoogleGeoCoding.java +0 -0
- data/platform/bb/rhodes/src/rhomobile/mapview/MapTools.java +0 -0
- data/platform/iphone/Classes/AppManager/AppManager.m +7 -1
- data/platform/iphone/Classes/Camera/PickImageDelegate.h +9 -0
- data/platform/iphone/Classes/Camera/PickImageDelegate.m +75 -4
- data/platform/iphone/Classes/GeoLocation/LocationController.h +8 -2
- data/platform/iphone/Classes/GeoLocation/LocationController.m +74 -76
- data/platform/iphone/Classes/InitMemoryInfoCollector.h +33 -0
- data/platform/iphone/Classes/InitMemoryInfoCollector.mm +52 -0
- data/platform/iphone/Classes/NativeView/NVViewController.h +0 -0
- data/platform/iphone/Classes/NativeView/NVViewController.m +34 -2
- data/platform/iphone/Classes/Rhodes.m +22 -2
- data/platform/iphone/Classes/Signature/SignatureDelegate.m +19 -0
- data/platform/iphone/Classes/Signature/SignatureViewController.h +0 -0
- data/platform/iphone/Classes/Signature/SignatureViewController.m +0 -0
- data/platform/iphone/Classes/SimpleMainView.h +0 -0
- data/platform/iphone/Classes/SimpleMainView.m +3 -3
- data/platform/iphone/ESRI/BluePushpin.png +0 -0
- data/platform/iphone/ESRI/BluePushpin@2x.png +0 -0
- data/platform/iphone/ESRI/esri.png +0 -0
- data/platform/iphone/ESRI/esri@2x.png +0 -0
- data/platform/iphone/rbuild/iphone.rake +75 -7
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +13 -4
- data/platform/linux/target/compiler/rubylinux +0 -0
- data/platform/mac/target/compiler/RubyMac +0 -0
- data/platform/osx/Rhodes Launcher/rhorunner.app/rhorunner b/data/platform/osx/Rhodes → Launcher/rhorunner.app/rhorunner +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Frameworks/QtGui.framework/Resources/qt_menu.nib/keyedobjects.nib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Frameworks/QtWebKit.framework/Versions/4/QtWebKit +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Info.plist +1 -1
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/MacOS/RhoSimulator +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/bearer/libqcorewlanbearer.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/bearer/libqgenericbearer.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/codecs/libqcncodecs.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/codecs/libqjpcodecs.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/codecs/libqkrcodecs.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/codecs/libqtwcodecs.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/graphicssystems/libqtracegraphicssystem.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/imageformats/libqgif.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/imageformats/libqico.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/imageformats/libqjpeg.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/imageformats/libqmng.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/imageformats/libqtga.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/imageformats/libqtiff.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/qmltooling/libqmldbg_inspector.dylib +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/qmltooling/libqmldbg_tcp.dylib +0 -0
- data/platform/osx/build/osx.rake +6 -8
- data/platform/shared/RhoConnectClient/RhoConnectClient.cpp +165 -33
- data/platform/shared/RhoConnectClient/RhoConnectClient.h +10 -1
- data/platform/shared/common/BundleManager.cpp +27 -16
- data/platform/shared/common/ExtManager.h +15 -2
- data/platform/shared/common/RhoConf.cpp +17 -2
- data/platform/shared/common/RhoConf.h +3 -1
- data/platform/shared/common/RhoDefs.h +6 -6
- data/platform/shared/common/RhoFatalError.h +1 -1
- data/platform/shared/common/RhoFile.cpp +9 -9
- data/platform/shared/common/RhoFilePath.h +7 -3
- data/platform/shared/common/RhoPort.h +3 -3
- data/platform/shared/common/RhoSystem.h +1 -1
- data/platform/shared/common/RhodesApp.cpp +426 -26
- data/platform/shared/common/RhodesApp.h +11 -3
- data/platform/shared/common/RhodesAppBase.cpp +4 -1
- data/platform/shared/common/StringConverter.h +3 -3
- data/platform/shared/common/app_build_capabilities.h +8 -0
- data/platform/shared/common/map/BaseMapEngine.cpp +302 -21
- data/platform/shared/common/map/BaseMapEngine.h +132 -6
- data/platform/shared/common/map/ESRIMapEngine.cpp +2 -1
- data/platform/shared/common/map/GeocodingMapEngine.cpp +22 -4
- data/platform/shared/common/map/GeocodingMapEngine.h +40 -0
- data/platform/shared/common/map/GoogleMapEngine.cpp +13 -1
- data/platform/shared/common/map/MapEngine.h +7 -0
- data/platform/shared/common/map/OSMMapEngine.cpp +12 -1
- data/platform/shared/json/JSONIterator.cpp +1 -1
- data/platform/shared/json/RJSONTokener.c +2 -0
- data/platform/shared/json/config.h +3 -3
- data/platform/shared/logging/RhoLog.cpp +12 -3
- data/platform/shared/logging/RhoLog.h +2 -1
- data/platform/shared/logging/RhoLogConf.cpp +147 -11
- data/platform/shared/logging/RhoLogConf.h +39 -1
- data/platform/shared/logging/RhoLogSink.cpp +1 -1
- data/platform/shared/net/HttpServer.cpp +8 -4
- data/platform/shared/net/INetRequest.cpp +7 -0
- data/platform/shared/net/INetRequest.h +2 -0
- data/platform/shared/net/RawSocket.cpp +1 -1
- data/platform/shared/qt/pbxproj2pro.pl +0 -0
- data/platform/shared/qt/pro_vcproj_diff.pl +0 -0
- data/platform/shared/qt/rhodes/QtMainWindow.cpp +1 -1
- data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +2 -2
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +2 -2
- data/platform/shared/qt/rhodes/impl/SystemImpl.cpp +11 -1
- data/platform/shared/qt/rhodes/main.cpp +5 -5
- data/platform/shared/ruby/ext/alert/alert_wrap.c +8 -8
- data/platform/shared/ruby/ext/bluetooth/bluetooth.i +0 -0
- data/platform/shared/ruby/ext/bluetooth/bluetooth_wrap.c +16 -9
- data/platform/shared/ruby/ext/camera/camera.i +2 -2
- data/platform/shared/ruby/ext/camera/camera_wrap.c +18 -3
- data/platform/shared/ruby/ext/datetimepicker/datetimepicker_wrap.c +37 -8
- data/platform/shared/ruby/ext/geolocation/geolocation_wrap.c +8 -8
- data/platform/shared/ruby/ext/mapview/mapview_wrap.c +16 -9
- data/platform/shared/ruby/ext/nativebar/nativebar_wrap.c +16 -9
- data/platform/shared/ruby/ext/nativeviewmanager/nativeviewmanager.i +0 -0
- data/platform/shared/ruby/ext/nativeviewmanager/nativeviewmanager_wrap.c +16 -9
- data/platform/shared/ruby/ext/phonebook/phonebook_wrap.c +8 -1
- data/platform/shared/ruby/ext/rho/rhoruby.c +7 -1
- data/platform/shared/ruby/ext/rho/rhoruby.h +1 -0
- data/platform/shared/ruby/ext/rhoconf/rhoconf_wrap.c +16 -9
- data/platform/shared/ruby/ext/signature/signature.i +0 -0
- data/platform/shared/ruby/ext/signature/signature_wrap.c +9 -9
- data/platform/shared/ruby/ext/syncengine/syncengine_wrap.c +16 -9
- data/platform/shared/ruby/ext/system/system_wrap.c +16 -9
- data/platform/shared/ruby/ext/webview/webview_wrap.c +16 -9
- data/platform/shared/ruby/gc.c +1 -0
- data/platform/shared/ruby/regint.h +6 -4
- data/platform/shared/ruby/vm.c +1 -0
- data/platform/shared/ruby/wince/wince.h +1 -1
- data/platform/shared/rubyext/System.cpp +1 -1
- data/platform/shared/shttpd/src/rdispatcher.c +3 -3
- data/platform/shared/shttpd/src/std_includes.h +1 -1
- data/platform/shared/sqlite/sqlite3.c +1 -0
- data/platform/shared/statistic/test/TestProfiling.cpp +1 -1
- data/platform/shared/stlport/build/lib/configure +0 -0
- data/platform/shared/stlport/build/lib/configure.bat +0 -0
- data/platform/shared/sync/SyncEngine.cpp +9 -12
- data/platform/shared/sync/SyncNotify.cpp +36 -3
- data/platform/shared/sync/SyncNotify.h +11 -4
- data/platform/shared/sync/SyncSource.cpp +32 -16
- data/platform/shared/sync/SyncSource.h +2 -3
- data/platform/shared/sync/SyncThread.cpp +13 -4
- data/platform/shared/sync/SyncThread.h +4 -0
- data/platform/shared/tcmalloc/page_heap.h +1 -1
- data/platform/shared/tcmalloc/rhomem.h +1 -1
- data/platform/shared/tcmalloc/windows/port.cpp +12 -3
- data/platform/shared/test/Tests.cpp +4 -4
- data/platform/shared/test/test_helper.cpp +4 -4
- data/platform/symbian/sqlite3/src/sqlite3.h +1 -1
- data/platform/win32/RhoSimulator/Microsoft.VC90.CRT.manifest +6 -0
- data/platform/win32/RhoSimulator/Microsoft.VC90.OpenMP.manifest +6 -0
- data/platform/win32/RhoSimulator/QtCore4.dll +0 -0
- data/platform/win32/RhoSimulator/QtGui4.dll +0 -0
- data/platform/win32/RhoSimulator/QtNetwork4.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebKit4.dll +0 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qico4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qmng4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qsvg4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtiff4.dll +0 -0
- data/platform/win32/RhoSimulator/libeay32.dll +0 -0
- data/platform/win32/RhoSimulator/msvcm90.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp90.dll +0 -0
- data/platform/win32/RhoSimulator/msvcr90.dll +0 -0
- data/platform/win32/RhoSimulator/phonon4.dll +0 -0
- data/platform/win32/RhoSimulator/ssleay32.dll +0 -0
- data/platform/win32/RhoSimulator/vcomp90.dll +0 -0
- data/platform/win32/target/replaceicon/replaceicon.exe +0 -0
- data/platform/win32/target/updateresstring/updateresstring.exe +0 -0
- data/platform/wm/RhoLib/RhoLib.vcproj +394 -69
- data/platform/wm/build/build_inf.js +83 -23
- data/platform/wm/build/wm.rake +127 -81
- data/platform/wm/rhodes.sln +6 -6
- data/platform/wm/rhodes/DateTimePicker.h +2 -2
- data/platform/wm/rhodes/IBrowserEngine.h +3 -0
- data/platform/wm/rhodes/IEBrowserEngine.cpp +34 -2
- data/platform/wm/rhodes/IEBrowserEngine.h +4 -1
- data/platform/wm/rhodes/LicenseStub.cpp +73 -0
- data/platform/{android/Rhodes/src/com/rhomobile/rhodes/webview/ChromeClientNew.java → wm/rhodes/LogMemory.cpp} +32 -20
- data/platform/{android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebSettings.java → wm/rhodes/LogMemory.h} +11 -8
- data/platform/wm/rhodes/LogOptionsDlg.h +1 -1
- data/platform/wm/rhodes/LogView.cpp +10 -10
- data/platform/wm/rhodes/LogView.h +10 -10
- data/platform/wm/rhodes/MainWindow.cpp +431 -173
- data/platform/wm/rhodes/MainWindow.h +37 -19
- data/platform/wm/rhodes/MapView/MapViewManager.h +1 -1
- data/platform/wm/rhodes/OkCancelModalDialog.h +1 -1
- data/platform/wm/rhodes/Rhodes.cpp +210 -47
- data/platform/wm/rhodes/Rhodes.rc +38 -0
- data/platform/wm/rhodes/bluetooth/Bluetooth.cpp +2 -2
- data/platform/wm/rhodes/bluetooth/Bluetooth.h +3 -3
- data/platform/wm/rhodes/camera/Camera.cpp +2 -1
- data/platform/wm/rhodes/camera/Camera.h +1 -1
- data/platform/wm/rhodes/resource.h +1 -1
- data/platform/wm/rhodes/rho/common/ExtManager.cpp +93 -5
- data/platform/wm/rhodes/rho/net/NetRequestImpl.cpp +2 -2
- data/platform/wm/rhodes/rho/rubyext/NativeToolbar.cpp +2 -2
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +13 -7
- data/platform/wm/rhodes/rhodes.vcproj +1409 -1008
- data/platform/wm/rhodes/simulator/MainWindowQt.h +1 -1
- data/platform/wm/rhodes/stdafx.h +2 -2
- data/platform/wm/rhoelements.sln +7 -9
- data/platform/wm/rubylib/rubylib.vcproj +62 -1
- data/platform/wm/sqlite3/sqlite3.vcproj +62 -1
- data/platform/wm/syncengine/syncengine.vcproj +62 -1
- data/platform/wm/tcmalloc/tcmalloc.vcproj +72 -53
- data/platform/wm/tools/detool/detool.cpp +1435 -1357
- data/platform/wp7/RhoRubyExtGen/GenerateInitializers.cmd +0 -0
- data/platform/wp7/RhoRubyLib/common/RhoLicense.cs +105 -0
- data/platform/wp7/RhoRubyLib/common/RhodesApp.cs +23 -5
- data/platform/wp7/RhoRubyLib/sync/SyncNotify.cs +5 -0
- data/platform/wp7/RhoRubyLib/views/RhoView.xaml.cs +22 -3
- data/platform/wp7/build/wp.rake +1 -0
- data/platform/wp7/rhodes/MainPage.xaml.cs +11 -0
- data/rakefile.rb +225 -59
- data/res/build-tools/7za.exe +0 -0
- data/res/build-tools/RhoAppRunner.exe +0 -0
- data/res/build-tools/RhoLogServer.exe +0 -0
- data/res/build-tools/RhoRuby.exe +0 -0
- data/res/build-tools/RubyMac +0 -0
- data/res/build-tools/detool.exe +0 -0
- data/res/build-tools/iphonesim/Source/iPhoneSimulator.m +1 -1
- data/res/build-tools/iphonesim/build/Release/iphonesim +0 -0
- data/res/build-tools/iphonesim/build/Release/iphonesim_43 +0 -0
- data/res/build-tools/license_rc.dll +0 -0
- data/res/build-tools/make.exe +0 -0
- data/res/build-tools/rubylinux +0 -0
- data/res/build-tools/swig_patch/Lib/typemaps/fragments.swg +235 -0
- data/res/build-tools/wmdc_connect.exe +0 -0
- data/res/build-tools/wp7explorer.exe +0 -0
- data/res/generators/rhogen.rb +2 -2
- data/res/generators/templates/application/app/Settings/controller.rb +1 -1
- data/res/generators/templates/application/app/layout.erb +1 -1
- data/res/generators/templates/application/app/loading.png +0 -0
- data/res/generators/templates/application/public/css/re_webkit.css +736 -0
- data/res/generators/templates/application/public/css/windows_mobile.css +0 -0
- data/res/generators/templates/application/public/images/listArrow.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/ajax-loader.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-18-black.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-18-white.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-36-black.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-36-white.png +0 -0
- data/res/generators/templates/application/public/js/syncengine.js +409 -52
- data/res/generators/templates/extension/extensions/montana/ext/build +0 -0
- data/res/generators/templates/extension/extensions/montana/ext/build.bat +0 -0
- data/res/generators/templates/extension/extensions/montana/ext/montana/platform/android/Rakefile +10 -10
- data/res/generators/templates/spec/app/SpecRunner/controller.rb +2 -0
- data/res/libs/motorolalicence/android/MotorolaLicence.h +13 -0
- data/res/libs/motorolalicence/android/libMotorolaLicence.a +0 -0
- data/res/libs/motorolalicence/iphone/MotorolaLicence.h +13 -0
- data/res/libs/motorolalicence/iphone/libMotorolaLicence.a +0 -0
- data/rhodes.gemspec +1 -1
- data/spec/framework_spec/app/SpecRunner/controller.rb +2 -0
- data/spec/phone_spec/app/SpecRunner/controller.rb +2 -0
- data/version +1 -1
- metadata +487 -412
- data/Manifest.txt +0 -7960
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivityStartupListeners.java +0 -12
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebSettingsNew.java +0 -52
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebSettingsOld.java +0 -62
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Frameworks/phonon.framework/Versions/4/phonon +0 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/PlugIns/phonon_backend/libphonon_qt7.dylib +0 -0
- data/platform/win32/RhoSimulator/Microsoft.VC80.CRT.manifest +0 -8
- data/platform/win32/RhoSimulator/Microsoft.VC80.OpenMP.manifest +0 -7
- data/platform/win32/RhoSimulator/msvcm80.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp80.dll +0 -0
- data/platform/win32/RhoSimulator/msvcr80.dll +0 -0
- data/platform/win32/RhoSimulator/vcomp.dll +0 -0
- data/rhomobile-debug-1.0.6.gem +0 -0
data/CHANGELOG
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
## 3.3.3
|
2
|
-
* Support freezed models (FixedSchema and PropertyBag)
|
3
|
-
* Detect available network types
|
4
|
-
* iPhone: support Xcode 4.3
|
5
|
-
*
|
1
|
+
## 3.3.3
|
2
|
+
* Support freezed models (FixedSchema and PropertyBag)
|
3
|
+
* Detect available network types
|
4
|
+
* iPhone: support Xcode 4.3
|
5
|
+
* Support JQueryMobile on Windows Phone 7
|
6
|
+
* Fix several RhoConnect Client issues
|
7
|
+
* The following features become part of RhoElements v2: database encryption, Windows Mobile and Windows CE support, Barcode, NFC and Inline Signature Capture
|
6
8
|
|
7
9
|
## 3.3.2
|
8
10
|
* iPhone: fix AppStore sumbit issue. Now all files stored in Private Documents, only database and user files in Documents
|
data/CREDITS
CHANGED
@@ -1,3 +1,2209 @@
|
|
1
|
+
This media, software or hardware ("Product") obtained from Motorola
|
2
|
+
Solutions, Inc. ("Motorola Solutions") may include Motorola Solutions?
|
3
|
+
Software, Third Party Software (defined below), and/or Open Source Software
|
4
|
+
(defined below).
|
5
|
+
|
6
|
+
The object code or source code (collectively, the "Software") included
|
7
|
+
with the Product is the exclusive property of Motorola Solutions or its
|
8
|
+
licensors, and any use is subject to the terms and conditions of one or
|
9
|
+
more agreements in force between the purchaser of the Motorola Solutions
|
10
|
+
Product or licensee of the Motorola Solutions Software and Motorola
|
11
|
+
Solutions. SOFTWARE IS PROTECTED BY U.S. COPYRIGHT LAWS AND INTERNATIONAL
|
12
|
+
LAWS AND TREATIES. UNAUTHORIZED COPYING, DISTRIBUTION OR OTHER USE OF
|
13
|
+
THIS PRODUCT IS STRICTLY PROHIBITED. ANY DISTRIBUTION OR USE NOT
|
14
|
+
SPECIFICALLY APPROVED BY MOTOROLA SOLUTIONS IS STRICTLY PROHIBITED.
|
15
|
+
|
16
|
+
Motorola Solutions? Software is subject to the commercial terms and
|
17
|
+
conditions entered into with Motorola Solutions, any other use is strictly
|
18
|
+
prohibited. Commercial Software licensed for redistribution by Motorola
|
19
|
+
Solutions ("Third Party Software") is subject to the terms and conditions
|
20
|
+
in force between Motorola Solutions and the licensor of the Third party
|
21
|
+
Software. The terms and conditions governing the usage of Third Party
|
22
|
+
Software may be part of the agreement entered into by the purchaser of
|
23
|
+
the Product with Motorola Solutions or separate Third Party Software
|
24
|
+
license agreement(s) included with the Product.
|
25
|
+
|
26
|
+
Software provided by Motorola Solutions which is covered by a publicly
|
27
|
+
available license governed solely under Copyright law, whereas the complete
|
28
|
+
terms and obligations of such license attach to a licensee solely through
|
29
|
+
the act of copying, using and/or distribution of the licensed Software, such
|
30
|
+
obligations often include one or more of attribution obligations, distribution
|
31
|
+
obligations, copyleft obligations, and intellectual property encumbrances is
|
32
|
+
referred to herein as "Open Source Software". The use of any Open Source
|
33
|
+
Software is subject to the licenses, terms and conditions of the commercial
|
34
|
+
agreement in force between the purchaser of the Product and Motorola Solutions
|
35
|
+
as well as the terms and conditions of the corresponding license of each
|
36
|
+
Open Source Software package. If there is a conflict between the terms and
|
37
|
+
conditions of any commercial agreement and the terms and conditions of the
|
38
|
+
Open Source Software license, the applicable Open Source Software license will
|
39
|
+
take precedence. Copies of the licenses for the included Open Source Software
|
40
|
+
as well as their attributions, acknowledgements, and software information
|
41
|
+
details, are listed below. Motorola Solutions is required to reproduce
|
42
|
+
the software licenses, acknowledgments and copyright notices as provided by
|
43
|
+
the authors and owners, thus, all such information is provided in its native
|
44
|
+
language form, without modification or translation.
|
45
|
+
|
46
|
+
For instructions on how to obtain a copy of any source code made publicly
|
47
|
+
available by Motorola Solutions related to Open Source Software distributed
|
48
|
+
by Motorola Solutions, you may send your request in writing to:
|
49
|
+
|
50
|
+
Motorola Solutions, Inc.
|
51
|
+
Open Source Software Management
|
52
|
+
1301 E. Algonquin Road
|
53
|
+
Schaumburg, IL 60196 USA.
|
54
|
+
|
55
|
+
In your request, please include the Motorola Solutions Product name and
|
56
|
+
version, along with the Open Source Software specifics, such as the Open
|
57
|
+
Source Software name and version.
|
58
|
+
|
59
|
+
Note: the source code for the Open Source Software included by Motorola
|
60
|
+
Solutions may be resident on the Product?s installation media provided with
|
61
|
+
the Product or on supplemental Product media. Please reference and review
|
62
|
+
the entire Motorola Solutions Open Source Software "Legal Notices" and any
|
63
|
+
corresponding "End User License Agreement" provided with the Product or the
|
64
|
+
commercial agreement under which the Product was purchased for details on
|
65
|
+
the availability, location and method for obtaining source code. Further,
|
66
|
+
depending on the license terms of the specific Open Source Software, source
|
67
|
+
code may not be provided. Please reference and review the entire Motorola
|
68
|
+
Solutions Open Source Software "Legal Notices" and "End User License Agreement"
|
69
|
+
to identify which Open Source Software packages have source code provided
|
70
|
+
or available.
|
71
|
+
|
72
|
+
To view information regarding licenses, acknowledgments and required copyright
|
73
|
+
notices for Open Source Software used in this Product, please select "Legal Notices"
|
74
|
+
from the graphical user interface of the Software (if applicable) or as
|
75
|
+
specified in the "Legal Notices" or End User License Agreement File/README
|
76
|
+
associated with the Product. Use of any Software is subject to acceptance of
|
77
|
+
the corresponding terms associated with the Software and by using the Software
|
78
|
+
you agree you have reviewed the terms and agreed to be bound by said terms.
|
79
|
+
|
80
|
+
MOTOROLA, MOTOROLA SOLUTIONS and the Stylized M Logo are trademarks or
|
81
|
+
registered trademarks of Motorola Trademark Holdings, LLC and are used under
|
82
|
+
license. All other trademarks are the property of Motorola Solutions, Inc. or
|
83
|
+
their respective owners. All rights reserved.
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
===========================================================================
|
89
|
+
PUBLICLY AVAILABLE SOFTWARE LIST
|
90
|
+
===========================================================================
|
91
|
+
|
92
|
+
|
93
|
+
Name: PAS Package Name #1
|
94
|
+
|
95
|
+
Version: Version Number, like 1.1.1
|
96
|
+
|
97
|
+
Description: Brief description of Pacakge. Typically can cut/paste
|
98
|
+
the Description provided on the Package Web Site. This
|
99
|
+
should be the description that was provided in the
|
100
|
+
PAS Justification Form provided to the OSRB.
|
101
|
+
|
102
|
+
If Motorola Solutions has modified the Package, please state:
|
103
|
+
"Motorola Solutions has modified the software."
|
104
|
+
|
105
|
+
|
106
|
+
Software Site: http://www.xxx.com
|
107
|
+
|
108
|
+
|
109
|
+
Source Code: Include Commentary based on Options below:
|
110
|
+
|
111
|
+
a) For Packages that do not have Source Distribution Obligations,
|
112
|
+
state:
|
113
|
+
|
114
|
+
" No Source Distribution Obligations. Motorola Solutions will
|
115
|
+
not provide nor distribute the Source Code for the <package name>
|
116
|
+
Software. The Source Code may be obtained from the original
|
117
|
+
Software Site.
|
118
|
+
|
119
|
+
|
120
|
+
b) For Packages that have Source Code Distribution Obligations, and
|
121
|
+
Motorola Solutions HAS NOT MODIFIED the Software, please state:
|
122
|
+
|
123
|
+
"The Source Packages for <package name> are available from the
|
124
|
+
original Software Site, or may be acquired from Motorola Solutions.
|
125
|
+
To obtain the Software from Motorola Solutions, please contact
|
126
|
+
Motorola Solutions using the methods described in the preamble of
|
127
|
+
this Legal Notices Document."
|
128
|
+
|
129
|
+
|
130
|
+
c) For Packages that have Source Code Distribution Obligations, and
|
131
|
+
Motorola Solutions HAS NOT MODIFIED the Software, as well as, you are including
|
132
|
+
the Source Code Packages as part of the Motorola Solutions Product Release or
|
133
|
+
Distribution Media, please state:
|
134
|
+
|
135
|
+
"The Source Packages for <package name> are available from the
|
136
|
+
original Software Site, or can be found at <Full Path Location>
|
137
|
+
in the Motorola Solutions Product Media. You may also acquire the
|
138
|
+
Source Packages from Motorola Solutions using the request methods
|
139
|
+
described in the preamble of this Legal Notices Document."
|
140
|
+
|
141
|
+
d) For Packages that have Source Code Distribution Obligations, and
|
142
|
+
Motorola Solutions HAS NOT MODIFIED the Software, as well as, Motorola Solutions is
|
143
|
+
providing access via Web Portal, please state:
|
144
|
+
|
145
|
+
"The Source Packages for <package name> are available from the
|
146
|
+
original Software Site, or from the Motorola Solutions Internet Portal
|
147
|
+
at <URL Link>. You may also acquire the Source Packages
|
148
|
+
from Motorola Solutions using the request methods described in the preamble of
|
149
|
+
this Legal Notices Document."
|
150
|
+
|
151
|
+
e) For Packages that have Source Code Distribution Obligations, and
|
152
|
+
Motorola Solutions HAS MODIFIED the Software, please state:
|
153
|
+
|
154
|
+
"The Source Packages for <package name> may be acquired from Motorola Solutions.
|
155
|
+
To obtain the Software from Motorola Solutions, please contact Motorola Solutions using
|
156
|
+
the methods described in the preamble of this Legal Notices Document."
|
157
|
+
|
158
|
+
|
159
|
+
f) For Packages that have Source Code Distribution Obligations, and
|
160
|
+
Motorola Solutions HAS MODIFIED the Software, as well as, you are including
|
161
|
+
the Source Code Packages as part of the Motorola Solutions Product Release or
|
162
|
+
Distribution Media, please state:
|
163
|
+
|
164
|
+
"The Source Packages for <package name> can be found at <Full Path Location>
|
165
|
+
in the Motorola Solutions Product Media. You may also acquire the Source
|
166
|
+
Packages from Motorola Solutions using the request methods described in the
|
167
|
+
preamble of this Legal Notices Document."
|
168
|
+
|
169
|
+
|
170
|
+
g) For Packages that have Source Code Distribution Obligations, and
|
171
|
+
Motorola Solutions HAS MODIFIED the Software, as well as, Motorola Solutions is
|
172
|
+
providing access via Web Portal, please state:
|
173
|
+
|
174
|
+
"The Source Packages for <package name> are available from the
|
175
|
+
Motorola Solutions Internet Portal at <URL Link>. You may also acquire the
|
176
|
+
Source Packages from Motorola Solutions using the request methods described in the
|
177
|
+
preamble of this Legal Notices Document."
|
178
|
+
|
179
|
+
|
180
|
+
License: License Name from OSI Recognized List, or by the Provider.
|
181
|
+
|
182
|
+
|
183
|
+
<cut/paste License Text Here, if a Common License reference the Common Licenses>
|
184
|
+
|
185
|
+
<BSD example>
|
186
|
+
License: BSD Type License
|
187
|
+
|
188
|
+
|
189
|
+
Copyright (c) 1999, 2004 Tanuki Software
|
190
|
+
|
191
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
192
|
+
the Java Service Wrapper and associated documentation files (the "Software"), to deal
|
193
|
+
in the Software without restriction, including without limitation the rights to use,
|
194
|
+
copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the
|
195
|
+
Software, and to permit persons to whom the Software is furnished to do so, subject
|
196
|
+
to the following conditions:
|
197
|
+
|
198
|
+
The above copyright notice and this permission notice shall be included in all copies
|
199
|
+
or substantial portions of the Software.
|
200
|
+
|
201
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
202
|
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
203
|
+
PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
204
|
+
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
205
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
206
|
+
DEALINGS IN THE SOFTWARE.
|
207
|
+
|
208
|
+
|
209
|
+
Portions of the Software have been derived from source code developed by Silver Egg
|
210
|
+
Technology under the following license:
|
211
|
+
|
212
|
+
Copyright (c) 2001 Silver Egg Technology
|
213
|
+
|
214
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
215
|
+
software and associated documentation files (the "Software"), to deal in the software
|
216
|
+
without restriction, including without limitation the rights to use, copy, modify, merge,
|
217
|
+
publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons
|
218
|
+
to whom the Software is furnished to do so, subject to the following conditions:
|
219
|
+
|
220
|
+
The above copyright notice and this permission notice shall be included in all copies or
|
221
|
+
substantial portions of the Software.
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
Credits: If applicable, include the Authors or Credit File for
|
226
|
+
the Package, as well as, any additional copyright notices
|
227
|
+
that are not covered by the License.
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
===========================================================================
|
232
|
+
|
233
|
+
|
234
|
+
Name: PAS Package Name #2
|
235
|
+
|
236
|
+
Version: Version Number, like 2.2.2
|
237
|
+
|
238
|
+
Description: Brief description of Pacakge. Typically can cut/paste
|
239
|
+
the Description provided on the Package Web Site. This
|
240
|
+
should be the description that was provided in the
|
241
|
+
PAS Justification Form provided to the OSRB.
|
242
|
+
|
243
|
+
If Motorola Solutions has modified the Package, please state:
|
244
|
+
"Motorola Solutions has modified the software."
|
245
|
+
|
246
|
+
|
247
|
+
Software Site: http://www.xxx.com
|
248
|
+
|
249
|
+
|
250
|
+
Source Code: Include Commentary based on Options below:
|
251
|
+
|
252
|
+
a) For Packages that do not have Source Distribution Obligations,
|
253
|
+
state:
|
254
|
+
|
255
|
+
" No Source Distribution Obligations. Motorola Solutions will
|
256
|
+
not provide nor distribute the Source Code for the <package name>
|
257
|
+
Software. The Source Code may be obtained from the original
|
258
|
+
Software Site.
|
259
|
+
|
260
|
+
|
261
|
+
b) For Packages that have Source Code Distribution Obligations, and
|
262
|
+
Motorola Solutions HAS NOT MODIFIED the Software, please state:
|
263
|
+
|
264
|
+
"The Source Packages for <package name> are available from the
|
265
|
+
original Software Site, or may be acquired from Motorola Solutions.
|
266
|
+
To obtain the Software from Motorola Solutions, please contact
|
267
|
+
Motorola Solutions using the methods described in the preamble of
|
268
|
+
this Legal Notices Document."
|
269
|
+
|
270
|
+
|
271
|
+
c) For Packages that have Source Code Distribution Obligations, and
|
272
|
+
Motorola Solutions HAS NOT MODIFIED the Software, as well as, you are including
|
273
|
+
the Source Code Packages as part of the Motorola Solutions Product Release or
|
274
|
+
Distribution Media, please state:
|
275
|
+
|
276
|
+
"The Source Packages for <package name> are available from the
|
277
|
+
original Software Site, or can be found at <Full Path Location>
|
278
|
+
in the Motorola Solutions Product Media. You may also acquire the
|
279
|
+
Source Packages from Motorola Solutions using the request methods
|
280
|
+
described in the preamble of this Legal Notices Document."
|
281
|
+
|
282
|
+
d) For Packages that have Source Code Distribution Obligations, and
|
283
|
+
Motorola Solutions HAS NOT MODIFIED the Software, as well as, Motorola Solutions is
|
284
|
+
providing access via Web Portal, please state:
|
285
|
+
|
286
|
+
"The Source Packages for <package name> are available from the
|
287
|
+
original Software Site, or from the Motorola Solutions Internet Portal
|
288
|
+
at <URL Link>. You may also acquire the Source Packages
|
289
|
+
from Motorola Solutions using the request methods described in the preamble of
|
290
|
+
this Legal Notices Document."
|
291
|
+
|
292
|
+
e) For Packages that have Source Code Distribution Obligations, and
|
293
|
+
Motorola Solutions HAS MODIFIED the Software, please state:
|
294
|
+
|
295
|
+
"The Source Packages for <package name> may be acquired from Motorola Solutions.
|
296
|
+
To obtain the Software from Motorola Solutions, please contact Motorola Solutions using
|
297
|
+
the methods described in the preamble of this Legal Notices Document."
|
298
|
+
|
299
|
+
|
300
|
+
f) For Packages that have Source Code Distribution Obligations, and
|
301
|
+
Motorola Solutions HAS MODIFIED the Software, as well as, you are including
|
302
|
+
the Source Code Packages as part of the Motorola Solutions Product Release or
|
303
|
+
Distribution Media, please state:
|
304
|
+
|
305
|
+
"The Source Packages for <package name> can be found at <Full Path Location>
|
306
|
+
in the Motorola Solutions Product Media. You may also acquire the Source
|
307
|
+
Packages from Motorola Solutions using the request methods described in the
|
308
|
+
preamble of this Legal Notices Document."
|
309
|
+
|
310
|
+
|
311
|
+
g) For Packages that have Source Code Distribution Obligations, and
|
312
|
+
Motorola Solutions HAS MODIFIED the Software, as well as, Motorola Solutions is
|
313
|
+
providing access via Web Portal, please state:
|
314
|
+
|
315
|
+
"The Source Packages for <package name> are available from the
|
316
|
+
Motorola Solutions Internet Portal at <URL Link>. You may also acquire the
|
317
|
+
Source Packages from Motorola Solutions using the request methods described in the
|
318
|
+
preamble of this Legal Notices Document."
|
319
|
+
|
320
|
+
|
321
|
+
License: License Name from OSI Recognized List, or by the Provider.
|
322
|
+
|
323
|
+
<cut/paste License Text Here, if a Common License reference the Common Licenses>
|
324
|
+
|
325
|
+
<LGPLv2.1 example>
|
326
|
+
License: GNU Lesser General Public License Version 2.1.
|
327
|
+
|
328
|
+
References the License Terms in the Common Licenses Section
|
329
|
+
of this Legal Notices Document.
|
330
|
+
|
331
|
+
|
332
|
+
Credits: If applicable, include the Authors or Credit File for
|
333
|
+
the Package, as well as, any additional copyright notices
|
334
|
+
that are not covered by the License.
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
===========================================================================
|
340
|
+
|
341
|
+
|
342
|
+
Name: PAS Package Name #3
|
343
|
+
|
344
|
+
Version: Version Number, like 3.3.3
|
345
|
+
|
346
|
+
Description: Brief description of Pacakge. Typically can cut/paste
|
347
|
+
the Description provided on the Package Web Site. This
|
348
|
+
should be the description that was provided in the
|
349
|
+
PAS Justification Form provided to the OSRB.
|
350
|
+
|
351
|
+
If Motorola Solutions has modified the Package, please state:
|
352
|
+
"Motorola Solutions has modified the software."
|
353
|
+
|
354
|
+
|
355
|
+
Software Site: http://www.xxx.com
|
356
|
+
|
357
|
+
|
358
|
+
Source Code: Include Commentary based on Options below:
|
359
|
+
|
360
|
+
a) For Packages that do not have Source Distribution Obligations,
|
361
|
+
state:
|
362
|
+
|
363
|
+
" No Source Distribution Obligations. Motorola Solutions will
|
364
|
+
not provide nor distribute the Source Code for the <package name>
|
365
|
+
Software. The Source Code may be obtained from the original
|
366
|
+
Software Site.
|
367
|
+
|
368
|
+
|
369
|
+
b) For Packages that have Source Code Distribution Obligations, and
|
370
|
+
Motorola Solutions HAS NOT MODIFIED the Software, please state:
|
371
|
+
|
372
|
+
"The Source Packages for <package name> are available from the
|
373
|
+
original Software Site, or may be acquired from Motorola Solutions.
|
374
|
+
To obtain the Software from Motorola Solutions, please contact
|
375
|
+
Motorola Solutions using the methods described in the preamble of
|
376
|
+
this Legal Notices Document."
|
377
|
+
|
378
|
+
|
379
|
+
c) For Packages that have Source Code Distribution Obligations, and
|
380
|
+
Motorola Solutions HAS NOT MODIFIED the Software, as well as, you are including
|
381
|
+
the Source Code Packages as part of the Motorola Solutions Product Release or
|
382
|
+
Distribution Media, please state:
|
383
|
+
|
384
|
+
"The Source Packages for <package name> are available from the
|
385
|
+
original Software Site, or can be found at <Full Path Location>
|
386
|
+
in the Motorola Solutions Product Media. You may also acquire the
|
387
|
+
Source Packages from Motorola Solutions using the request methods
|
388
|
+
described in the preamble of this Legal Notices Document."
|
389
|
+
|
390
|
+
d) For Packages that have Source Code Distribution Obligations, and
|
391
|
+
Motorola Solutions HAS NOT MODIFIED the Software, as well as, Motorola Solutions is
|
392
|
+
providing access via Web Portal, please state:
|
393
|
+
|
394
|
+
"The Source Packages for <package name> are available from the
|
395
|
+
original Software Site, or from the Motorola Solutions Internet Portal
|
396
|
+
at <URL Link>. You may also acquire the Source Packages
|
397
|
+
from Motorola Solutions using the request methods described in the preamble of
|
398
|
+
this Legal Notices Document."
|
399
|
+
|
400
|
+
e) For Packages that have Source Code Distribution Obligations, and
|
401
|
+
Motorola Solutions HAS MODIFIED the Software, please state:
|
402
|
+
|
403
|
+
"The Source Packages for <package name> may be acquired from Motorola Solutions.
|
404
|
+
To obtain the Software from Motorola Solutions, please contact Motorola Solutions using
|
405
|
+
the methods described in the preamble of this Legal Notices Document."
|
406
|
+
|
407
|
+
|
408
|
+
f) For Packages that have Source Code Distribution Obligations, and
|
409
|
+
Motorola Solutions HAS MODIFIED the Software, as well as, you are including
|
410
|
+
the Source Code Packages as part of the Motorola Solutions Product Release or
|
411
|
+
Distribution Media, please state:
|
412
|
+
|
413
|
+
"The Source Packages for <package name> can be found at <Full Path Location>
|
414
|
+
in the Motorola Solutions Product Media. You may also acquire the Source
|
415
|
+
Packages from Motorola Solutions using the request methods described in the
|
416
|
+
preamble of this Legal Notices Document."
|
417
|
+
|
418
|
+
|
419
|
+
g) For Packages that have Source Code Distribution Obligations, and
|
420
|
+
Motorola Solutions HAS MODIFIED the Software, as well as, Motorola Solutions is
|
421
|
+
providing access via Web Portal, please state:
|
422
|
+
|
423
|
+
"The Source Packages for <package name> are available from the
|
424
|
+
Motorola Solutions Internet Portal at <URL Link>. You may also acquire the
|
425
|
+
Source Packages from Motorola Solutions using the request methods described in the
|
426
|
+
preamble of this Legal Notices Document."
|
427
|
+
|
428
|
+
|
429
|
+
License: License Name from OSI Recognized List, or by the Provider.
|
430
|
+
|
431
|
+
<cut/paste License Text Here, if a Common License reference the Common Licenses>
|
432
|
+
|
433
|
+
<Apache 2.0 example>
|
434
|
+
License: Apache 2.0 License
|
435
|
+
|
436
|
+
References the License Terms in the Common Licenses Section
|
437
|
+
of this Legal Notices and End User License Agreement.
|
438
|
+
|
439
|
+
|
440
|
+
Notice File for Package #3:
|
441
|
+
|
442
|
+
=========================================================================
|
443
|
+
== NOTICE file corresponding to section 4(d) of the Apache License, ==
|
444
|
+
== Version 2.0, in this case for the Apache Package #3 distribution. ==
|
445
|
+
=========================================================================
|
446
|
+
|
447
|
+
This product includes software developed by
|
448
|
+
The Apache Software Foundation (http://www.apache.org/).
|
449
|
+
|
450
|
+
Portions of this software were originally based on the following:
|
451
|
+
- software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
Credits: If applicable, include the Authors or Credit File for
|
456
|
+
the Package, as well as, any additional copyright notices
|
457
|
+
that are not covered by the License. Apache Licenses typically
|
458
|
+
have a "Credits" File.
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
===========================================================================
|
465
|
+
PUBLICLY AVAILABLE SOFTWARE - COMMON LICENSES
|
466
|
+
===========================================================================
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
/* ====================================================================
|
471
|
+
* The Apache Software License, Version 1.1
|
472
|
+
*
|
473
|
+
* Copyright (c) 2000 The Apache Software Foundation. All rights
|
474
|
+
* reserved.
|
475
|
+
*
|
476
|
+
* Redistribution and use in source and binary forms, with or without
|
477
|
+
* modification, are permitted provided that the following conditions
|
478
|
+
* are met:
|
479
|
+
*
|
480
|
+
* 1. Redistributions of source code must retain the above copyright
|
481
|
+
* notice, this list of conditions and the following disclaimer.
|
482
|
+
*
|
483
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
484
|
+
* notice, this list of conditions and the following disclaimer in
|
485
|
+
* the documentation and/or other materials provided with the
|
486
|
+
* distribution.
|
487
|
+
*
|
488
|
+
* 3. The end-user documentation included with the redistribution,
|
489
|
+
* if any, must include the following acknowledgment:
|
490
|
+
* "This product includes software developed by the
|
491
|
+
* Apache Software Foundation (http://www.apache.org/)."
|
492
|
+
* Alternately, this acknowledgment may appear in the software itself,
|
493
|
+
* if and wherever such third-party acknowledgments normally appear.
|
494
|
+
*
|
495
|
+
* 4. The names "Apache" and "Apache Software Foundation" must
|
496
|
+
* not be used to endorse or promote products derived from this
|
497
|
+
* software without prior written permission. For written
|
498
|
+
* permission, please contact apache@apache.org.
|
499
|
+
*
|
500
|
+
* 5. Products derived from this software may not be called "Apache",
|
501
|
+
* nor may "Apache" appear in their name, without prior written
|
502
|
+
* permission of the Apache Software Foundation.
|
503
|
+
*
|
504
|
+
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
505
|
+
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
506
|
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
507
|
+
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
|
508
|
+
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
509
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
510
|
+
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
511
|
+
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
512
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
513
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
514
|
+
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
515
|
+
* SUCH DAMAGE.
|
516
|
+
* ====================================================================
|
517
|
+
*
|
518
|
+
* This software consists of voluntary contributions made by many
|
519
|
+
* individuals on behalf of the Apache Software Foundation. For more
|
520
|
+
* information on the Apache Software Foundation, please see
|
521
|
+
* <http://www.apache.org/>.
|
522
|
+
*
|
523
|
+
* Portions of this software are based upon public domain software
|
524
|
+
* originally written at the National Center for Supercomputing Applications,
|
525
|
+
* University of Illinois, Urbana-Champaign.
|
526
|
+
*/
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
===========================================================================
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
Apache License
|
536
|
+
Version 2.0, January 2004
|
537
|
+
http://www.apache.org/licenses/
|
538
|
+
|
539
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
540
|
+
|
541
|
+
1. Definitions.
|
542
|
+
|
543
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
544
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
545
|
+
|
546
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
547
|
+
the copyright owner that is granting the License.
|
548
|
+
|
549
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
550
|
+
other entities that control, are controlled by, or are under common
|
551
|
+
control with that entity. For the purposes of this definition,
|
552
|
+
"control" means (i) the power, direct or indirect, to cause the
|
553
|
+
direction or management of such entity, whether by contract or
|
554
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
555
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
556
|
+
|
557
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
558
|
+
exercising permissions granted by this License.
|
559
|
+
|
560
|
+
"Source" form shall mean the preferred form for making modifications,
|
561
|
+
including but not limited to software source code, documentation
|
562
|
+
source, and configuration files.
|
563
|
+
|
564
|
+
"Object" form shall mean any form resulting from mechanical
|
565
|
+
transformation or translation of a Source form, including but
|
566
|
+
not limited to compiled object code, generated documentation,
|
567
|
+
and conversions to other media types.
|
568
|
+
|
569
|
+
"Work" shall mean the work of authorship, whether in Source or
|
570
|
+
Object form, made available under the License, as indicated by a
|
571
|
+
copyright notice that is included in or attached to the work
|
572
|
+
(an example is provided in the Appendix below).
|
573
|
+
|
574
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
575
|
+
form, that is based on (or derived from) the Work and for which the
|
576
|
+
editorial revisions, annotations, elaborations, or other modifications
|
577
|
+
represent, as a whole, an original work of authorship. For the purposes
|
578
|
+
of this License, Derivative Works shall not include works that remain
|
579
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
580
|
+
the Work and Derivative Works thereof.
|
581
|
+
|
582
|
+
"Contribution" shall mean any work of authorship, including
|
583
|
+
the original version of the Work and any modifications or additions
|
584
|
+
to that Work or Derivative Works thereof, that is intentionally
|
585
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
586
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
587
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
588
|
+
means any form of electronic, verbal, or written communication sent
|
589
|
+
to the Licensor or its representatives, including but not limited to
|
590
|
+
communication on electronic mailing lists, source code control systems,
|
591
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
592
|
+
Licensor for the purpose of discussing and improving the Work, but
|
593
|
+
excluding communication that is conspicuously marked or otherwise
|
594
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
595
|
+
|
596
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
597
|
+
on behalf of whom a Contribution has been received by Licensor and
|
598
|
+
subsequently incorporated within the Work.
|
599
|
+
|
600
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
601
|
+
this License, each Contributor hereby grants to You a perpetual,
|
602
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
603
|
+
copyright license to reproduce, prepare Derivative Works of,
|
604
|
+
publicly display, publicly perform, sublicense, and distribute the
|
605
|
+
Work and such Derivative Works in Source or Object form.
|
606
|
+
|
607
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
608
|
+
this License, each Contributor hereby grants to You a perpetual,
|
609
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
610
|
+
(except as stated in this section) patent license to make, have made,
|
611
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
612
|
+
where such license applies only to those patent claims licensable
|
613
|
+
by such Contributor that are necessarily infringed by their
|
614
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
615
|
+
with the Work to which such Contribution(s) was submitted. If You
|
616
|
+
institute patent litigation against any entity (including a
|
617
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
618
|
+
or a Contribution incorporated within the Work constitutes direct
|
619
|
+
or contributory patent infringement, then any patent licenses
|
620
|
+
granted to You under this License for that Work shall terminate
|
621
|
+
as of the date such litigation is filed.
|
622
|
+
|
623
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
624
|
+
Work or Derivative Works thereof in any medium, with or without
|
625
|
+
modifications, and in Source or Object form, provided that You
|
626
|
+
meet the following conditions:
|
627
|
+
|
628
|
+
(a) You must give any other recipients of the Work or
|
629
|
+
Derivative Works a copy of this License; and
|
630
|
+
|
631
|
+
(b) You must cause any modified files to carry prominent notices
|
632
|
+
stating that You changed the files; and
|
633
|
+
|
634
|
+
(c) You must retain, in the Source form of any Derivative Works
|
635
|
+
that You distribute, all copyright, patent, trademark, and
|
636
|
+
attribution notices from the Source form of the Work,
|
637
|
+
excluding those notices that do not pertain to any part of
|
638
|
+
the Derivative Works; and
|
639
|
+
|
640
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
641
|
+
distribution, then any Derivative Works that You distribute must
|
642
|
+
include a readable copy of the attribution notices contained
|
643
|
+
within such NOTICE file, excluding those notices that do not
|
644
|
+
pertain to any part of the Derivative Works, in at least one
|
645
|
+
of the following places: within a NOTICE text file distributed
|
646
|
+
as part of the Derivative Works; within the Source form or
|
647
|
+
documentation, if provided along with the Derivative Works; or,
|
648
|
+
within a display generated by the Derivative Works, if and
|
649
|
+
wherever such third-party notices normally appear. The contents
|
650
|
+
of the NOTICE file are for informational purposes only and
|
651
|
+
do not modify the License. You may add Your own attribution
|
652
|
+
notices within Derivative Works that You distribute, alongside
|
653
|
+
or as an addendum to the NOTICE text from the Work, provided
|
654
|
+
that such additional attribution notices cannot be construed
|
655
|
+
as modifying the License.
|
656
|
+
|
657
|
+
You may add Your own copyright statement to Your modifications and
|
658
|
+
may provide additional or different license terms and conditions
|
659
|
+
for use, reproduction, or distribution of Your modifications, or
|
660
|
+
for any such Derivative Works as a whole, provided Your use,
|
661
|
+
reproduction, and distribution of the Work otherwise complies with
|
662
|
+
the conditions stated in this License.
|
663
|
+
|
664
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
665
|
+
any Contribution intentionally submitted for inclusion in the Work
|
666
|
+
by You to the Licensor shall be under the terms and conditions of
|
667
|
+
this License, without any additional terms or conditions.
|
668
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
669
|
+
the terms of any separate license agreement you may have executed
|
670
|
+
with Licensor regarding such Contributions.
|
671
|
+
|
672
|
+
6. Trademarks. This License does not grant permission to use the trade
|
673
|
+
names, trademarks, service marks, or product names of the Licensor,
|
674
|
+
except as required for reasonable and customary use in describing the
|
675
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
676
|
+
|
677
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
678
|
+
agreed to in writing, Licensor provides the Work (and each
|
679
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
680
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
681
|
+
implied, including, without limitation, any warranties or conditions
|
682
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
683
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
684
|
+
appropriateness of using or redistributing the Work and assume any
|
685
|
+
risks associated with Your exercise of permissions under this License.
|
686
|
+
|
687
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
688
|
+
whether in tort (including negligence), contract, or otherwise,
|
689
|
+
unless required by applicable law (such as deliberate and grossly
|
690
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
691
|
+
liable to You for damages, including any direct, indirect, special,
|
692
|
+
incidental, or consequential damages of any character arising as a
|
693
|
+
result of this License or out of the use or inability to use the
|
694
|
+
Work (including but not limited to damages for loss of goodwill,
|
695
|
+
work stoppage, computer failure or malfunction, or any and all
|
696
|
+
other commercial damages or losses), even if such Contributor
|
697
|
+
has been advised of the possibility of such damages.
|
698
|
+
|
699
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
700
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
701
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
702
|
+
or other liability obligations and/or rights consistent with this
|
703
|
+
License. However, in accepting such obligations, You may act only
|
704
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
705
|
+
of any other Contributor, and only if You agree to indemnify,
|
706
|
+
defend, and hold each Contributor harmless for any liability
|
707
|
+
incurred by, or claims asserted against, such Contributor by reason
|
708
|
+
of your accepting any such warranty or additional liability.
|
709
|
+
|
710
|
+
END OF TERMS AND CONDITIONS
|
711
|
+
|
712
|
+
APPENDIX: How to apply the Apache License to your work.
|
713
|
+
|
714
|
+
To apply the Apache License to your work, attach the following
|
715
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
716
|
+
replaced with your own identifying information. (Don't include
|
717
|
+
the brackets!) The text should be enclosed in the appropriate
|
718
|
+
comment syntax for the file format. We also recommend that a
|
719
|
+
file or class name and description of purpose be included on the
|
720
|
+
same "printed page" as the copyright notice for easier
|
721
|
+
identification within third-party archives.
|
722
|
+
|
723
|
+
Copyright [yyyy] [name of copyright owner]
|
724
|
+
|
725
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
726
|
+
you may not use this file except in compliance with the License.
|
727
|
+
You may obtain a copy of the License at
|
728
|
+
|
729
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
730
|
+
|
731
|
+
Unless required by applicable law or agreed to in writing, software
|
732
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
733
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
734
|
+
See the License for the specific language governing permissions and
|
735
|
+
limitations under the License.
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
===========================================================================
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
The "Artistic License"
|
747
|
+
|
748
|
+
Preamble
|
749
|
+
|
750
|
+
The intent of this document is to state the conditions under which a
|
751
|
+
Package may be copied, such that the Copyright Holder maintains some
|
752
|
+
semblance of artistic control over the development of the package,
|
753
|
+
while giving the users of the package the right to use and distribute
|
754
|
+
the Package in a more-or-less customary fashion, plus the right to make
|
755
|
+
reasonable modifications.
|
756
|
+
|
757
|
+
Definitions:
|
758
|
+
|
759
|
+
"Package" refers to the collection of files distributed by the
|
760
|
+
Copyright Holder, and derivatives of that collection of files
|
761
|
+
created through textual modification.
|
762
|
+
|
763
|
+
"Standard Version" refers to such a Package if it has not been
|
764
|
+
modified, or has been modified in accordance with the wishes
|
765
|
+
of the Copyright Holder as specified below.
|
766
|
+
|
767
|
+
"Copyright Holder" is whoever is named in the copyright or
|
768
|
+
copyrights for the package.
|
769
|
+
|
770
|
+
"You" is you, if you're thinking about copying or distributing
|
771
|
+
this Package.
|
772
|
+
|
773
|
+
"Reasonable copying fee" is whatever you can justify on the
|
774
|
+
basis of media cost, duplication charges, time of people involved,
|
775
|
+
and so on. (You will not be required to justify it to the
|
776
|
+
Copyright Holder, but only to the computing community at large
|
777
|
+
as a market that must bear the fee.)
|
778
|
+
|
779
|
+
"Freely Available" means that no fee is charged for the item
|
780
|
+
itself, though there may be fees involved in handling the item.
|
781
|
+
It also means that recipients of the item may redistribute it
|
782
|
+
under the same conditions they received it.
|
783
|
+
|
784
|
+
1. You may make and give away verbatim copies of the source form of the
|
785
|
+
Standard Version of this Package without restriction, provided that you
|
786
|
+
duplicate all of the original copyright notices and associated disclaimers.
|
787
|
+
|
788
|
+
2. You may apply bug fixes, portability fixes and other modifications
|
789
|
+
derived from the Public Domain or from the Copyright Holder. A Package
|
790
|
+
modified in such a way shall still be considered the Standard Version.
|
791
|
+
|
792
|
+
3. You may otherwise modify your copy of this Package in any way, provided
|
793
|
+
that you insert a prominent notice in each changed file stating how and
|
794
|
+
when you changed that file, and provided that you do at least ONE of the
|
795
|
+
following:
|
796
|
+
|
797
|
+
a) place your modifications in the Public Domain or otherwise make them
|
798
|
+
Freely Available, such as by posting said modifications to Usenet or
|
799
|
+
an equivalent medium, or placing the modifications on a major archive
|
800
|
+
site such as uunet.uu.net, or by allowing the Copyright Holder to include
|
801
|
+
your modifications in the Standard Version of the Package.
|
802
|
+
|
803
|
+
b) use the modified Package only within your corporation or organization.
|
804
|
+
|
805
|
+
c) rename any non-standard executables so the names do not conflict
|
806
|
+
with standard executables, which must also be provided, and provide
|
807
|
+
a separate manual page for each non-standard executable that clearly
|
808
|
+
documents how it differs from the Standard Version.
|
809
|
+
|
810
|
+
d) make other distribution arrangements with the Copyright Holder.
|
811
|
+
|
812
|
+
4. You may distribute the programs of this Package in object code or
|
813
|
+
executable form, provided that you do at least ONE of the following:
|
814
|
+
|
815
|
+
a) distribute a Standard Version of the executables and library files,
|
816
|
+
together with instructions (in the manual page or equivalent) on where
|
817
|
+
to get the Standard Version.
|
818
|
+
|
819
|
+
b) accompany the distribution with the machine-readable source of
|
820
|
+
the Package with your modifications.
|
821
|
+
|
822
|
+
c) give non-standard executables non-standard names, and clearly
|
823
|
+
document the differences in manual pages (or equivalent), together
|
824
|
+
with instructions on where to get the Standard Version.
|
825
|
+
|
826
|
+
d) make other distribution arrangements with the Copyright Holder.
|
827
|
+
|
828
|
+
5. You may charge a reasonable copying fee for any distribution of this
|
829
|
+
Package. You may charge any fee you choose for support of this
|
830
|
+
Package. You may not charge a fee for this Package itself. However,
|
831
|
+
you may distribute this Package in aggregate with other (possibly
|
832
|
+
commercial) programs as part of a larger (possibly commercial) software
|
833
|
+
distribution provided that you do not advertise this Package as a
|
834
|
+
product of your own. You may embed this Package's interpreter within
|
835
|
+
an executable of yours (by linking); this shall be construed as a mere
|
836
|
+
form of aggregation, provided that the complete Standard Version of the
|
837
|
+
interpreter is so embedded.
|
838
|
+
|
839
|
+
6. The scripts and library files supplied as input to or produced as
|
840
|
+
output from the programs of this Package do not automatically fall
|
841
|
+
under the copyright of this Package, but belong to whoever generated
|
842
|
+
them, and may be sold commercially, and may be aggregated with this
|
843
|
+
Package. If such scripts or library files are aggregated with this
|
844
|
+
Package via the so-called "undump" or "unexec" methods of producing a
|
845
|
+
binary executable image, then distribution of such an image shall
|
846
|
+
neither be construed as a distribution of this Package nor shall it
|
847
|
+
fall under the restrictions of Paragraphs 3 and 4, provided that you do
|
848
|
+
not represent such an executable image as a Standard Version of this
|
849
|
+
Package.
|
850
|
+
|
851
|
+
7. C subroutines (or comparably compiled subroutines in other
|
852
|
+
languages) supplied by you and linked into this Package in order to
|
853
|
+
emulate subroutines and variables of the language defined by this
|
854
|
+
Package shall not be considered part of this Package, but are the
|
855
|
+
equivalent of input as in Paragraph 6, provided these subroutines do
|
856
|
+
not change the language in any way that would cause it to fail the
|
857
|
+
regression tests for the language.
|
858
|
+
|
859
|
+
8. Aggregation of this Package with a commercial distribution is always
|
860
|
+
permitted provided that the use of this Package is embedded; that is,
|
861
|
+
when no overt attempt is made to make this Package's interfaces visible
|
862
|
+
to the end user of the commercial distribution. Such use shall not be
|
863
|
+
construed as a distribution of this Package.
|
864
|
+
|
865
|
+
9. The name of the Copyright Holder may not be used to endorse or promote
|
866
|
+
products derived from this software without specific prior written permission.
|
867
|
+
|
868
|
+
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
869
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
870
|
+
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
871
|
+
|
872
|
+
The End
|
873
|
+
|
874
|
+
|
875
|
+
|
876
|
+
|
877
|
+
===========================================================================
|
878
|
+
|
879
|
+
|
880
|
+
|
881
|
+
GNU GENERAL PUBLIC LICENSE
|
882
|
+
Version 2, June 1991
|
883
|
+
|
884
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
885
|
+
675 Mass Ave, Cambridge, MA 02139, USA
|
886
|
+
Everyone is permitted to copy and distribute verbatim copies
|
887
|
+
of this license document, but changing it is not allowed.
|
888
|
+
|
889
|
+
Preamble
|
890
|
+
|
891
|
+
The licenses for most software are designed to take away your
|
892
|
+
freedom to share and change it. By contrast, the GNU General Public
|
893
|
+
License is intended to guarantee your freedom to share and change free
|
894
|
+
software--to make sure the software is free for all its users. This
|
895
|
+
General Public License applies to most of the Free Software
|
896
|
+
Foundation's software and to any other program whose authors commit to
|
897
|
+
using it. (Some other Free Software Foundation software is covered by
|
898
|
+
the GNU Library General Public License instead.) You can apply it to
|
899
|
+
your programs, too.
|
900
|
+
|
901
|
+
When we speak of free software, we are referring to freedom, not
|
902
|
+
price. Our General Public Licenses are designed to make sure that you
|
903
|
+
have the freedom to distribute copies of free software (and charge for
|
904
|
+
this service if you wish), that you receive source code or can get it
|
905
|
+
if you want it, that you can change the software or use pieces of it
|
906
|
+
in new free programs; and that you know you can do these things.
|
907
|
+
|
908
|
+
To protect your rights, we need to make restrictions that forbid
|
909
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
910
|
+
These restrictions translate to certain responsibilities for you if you
|
911
|
+
distribute copies of the software, or if you modify it.
|
912
|
+
|
913
|
+
For example, if you distribute copies of such a program, whether
|
914
|
+
gratis or for a fee, you must give the recipients all the rights that
|
915
|
+
you have. You must make sure that they, too, receive or can get the
|
916
|
+
source code. And you must show them these terms so they know their
|
917
|
+
rights.
|
918
|
+
|
919
|
+
We protect your rights with two steps: (1) copyright the software, and
|
920
|
+
(2) offer you this license which gives you legal permission to copy,
|
921
|
+
distribute and/or modify the software.
|
922
|
+
|
923
|
+
Also, for each author's protection and ours, we want to make certain
|
924
|
+
that everyone understands that there is no warranty for this free
|
925
|
+
software. If the software is modified by someone else and passed on, we
|
926
|
+
want its recipients to know that what they have is not the original, so
|
927
|
+
that any problems introduced by others will not reflect on the original
|
928
|
+
authors' reputations.
|
929
|
+
|
930
|
+
Finally, any free program is threatened constantly by software
|
931
|
+
patents. We wish to avoid the danger that redistributors of a free
|
932
|
+
program will individually obtain patent licenses, in effect making the
|
933
|
+
program proprietary. To prevent this, we have made it clear that any
|
934
|
+
patent must be licensed for everyone's free use or not licensed at all.
|
935
|
+
|
936
|
+
The precise terms and conditions for copying, distribution and
|
937
|
+
modification follow.
|
938
|
+
|
939
|
+
|
940
|
+
GNU GENERAL PUBLIC LICENSE
|
941
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
942
|
+
|
943
|
+
0. This License applies to any program or other work which contains
|
944
|
+
a notice placed by the copyright holder saying it may be distributed
|
945
|
+
under the terms of this General Public License. The "Program", below,
|
946
|
+
refers to any such program or work, and a "work based on the Program"
|
947
|
+
means either the Program or any derivative work under copyright law:
|
948
|
+
that is to say, a work containing the Program or a portion of it,
|
949
|
+
either verbatim or with modifications and/or translated into another
|
950
|
+
language. (Hereinafter, translation is included without limitation in
|
951
|
+
the term "modification".) Each licensee is addressed as "you".
|
952
|
+
|
953
|
+
Activities other than copying, distribution and modification are not
|
954
|
+
covered by this License; they are outside its scope. The act of
|
955
|
+
running the Program is not restricted, and the output from the Program
|
956
|
+
is covered only if its contents constitute a work based on the
|
957
|
+
Program (independent of having been made by running the Program).
|
958
|
+
Whether that is true depends on what the Program does.
|
959
|
+
|
960
|
+
1. You may copy and distribute verbatim copies of the Program's
|
961
|
+
source code as you receive it, in any medium, provided that you
|
962
|
+
conspicuously and appropriately publish on each copy an appropriate
|
963
|
+
copyright notice and disclaimer of warranty; keep intact all the
|
964
|
+
notices that refer to this License and to the absence of any warranty;
|
965
|
+
and give any other recipients of the Program a copy of this License
|
966
|
+
along with the Program.
|
967
|
+
|
968
|
+
You may charge a fee for the physical act of transferring a copy, and
|
969
|
+
you may at your option offer warranty protection in exchange for a fee.
|
970
|
+
|
971
|
+
2. You may modify your copy or copies of the Program or any portion
|
972
|
+
of it, thus forming a work based on the Program, and copy and
|
973
|
+
distribute such modifications or work under the terms of Section 1
|
974
|
+
above, provided that you also meet all of these conditions:
|
975
|
+
|
976
|
+
a) You must cause the modified files to carry prominent notices
|
977
|
+
stating that you changed the files and the date of any change.
|
978
|
+
|
979
|
+
b) You must cause any work that you distribute or publish, that in
|
980
|
+
whole or in part contains or is derived from the Program or any
|
981
|
+
part thereof, to be licensed as a whole at no charge to all third
|
982
|
+
parties under the terms of this License.
|
983
|
+
|
984
|
+
c) If the modified program normally reads commands interactively
|
985
|
+
when run, you must cause it, when started running for such
|
986
|
+
interactive use in the most ordinary way, to print or display an
|
987
|
+
announcement including an appropriate copyright notice and a
|
988
|
+
notice that there is no warranty (or else, saying that you provide
|
989
|
+
a warranty) and that users may redistribute the program under
|
990
|
+
these conditions, and telling the user how to view a copy of this
|
991
|
+
License. (Exception: if the Program itself is interactive but
|
992
|
+
does not normally print such an announcement, your work based on
|
993
|
+
the Program is not required to print an announcement.)
|
994
|
+
|
995
|
+
These requirements apply to the modified work as a whole. If
|
996
|
+
identifiable sections of that work are not derived from the Program,
|
997
|
+
and can be reasonably considered independent and separate works in
|
998
|
+
themselves, then this License, and its terms, do not apply to those
|
999
|
+
sections when you distribute them as separate works. But when you
|
1000
|
+
distribute the same sections as part of a whole which is a work based
|
1001
|
+
on the Program, the distribution of the whole must be on the terms of
|
1002
|
+
this License, whose permissions for other licensees extend to the
|
1003
|
+
entire whole, and thus to each and every part regardless of who wrote it.
|
1004
|
+
|
1005
|
+
Thus, it is not the intent of this section to claim rights or contest
|
1006
|
+
your rights to work written entirely by you; rather, the intent is to
|
1007
|
+
exercise the right to control the distribution of derivative or
|
1008
|
+
collective works based on the Program.
|
1009
|
+
|
1010
|
+
In addition, mere aggregation of another work not based on the Program
|
1011
|
+
with the Program (or with a work based on the Program) on a volume of
|
1012
|
+
a storage or distribution medium does not bring the other work under
|
1013
|
+
the scope of this License.
|
1014
|
+
|
1015
|
+
3. You may copy and distribute the Program (or a work based on it,
|
1016
|
+
under Section 2) in object code or executable form under the terms of
|
1017
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
1018
|
+
|
1019
|
+
a) Accompany it with the complete corresponding machine-readable
|
1020
|
+
source code, which must be distributed under the terms of Sections
|
1021
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
1022
|
+
|
1023
|
+
b) Accompany it with a written offer, valid for at least three
|
1024
|
+
years, to give any third party, for a charge no more than your
|
1025
|
+
cost of physically performing source distribution, a complete
|
1026
|
+
machine-readable copy of the corresponding source code, to be
|
1027
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
1028
|
+
customarily used for software interchange; or,
|
1029
|
+
|
1030
|
+
c) Accompany it with the information you received as to the offer
|
1031
|
+
to distribute corresponding source code. (This alternative is
|
1032
|
+
allowed only for noncommercial distribution and only if you
|
1033
|
+
received the program in object code or executable form with such
|
1034
|
+
an offer, in accord with Subsection b above.)
|
1035
|
+
|
1036
|
+
The source code for a work means the preferred form of the work for
|
1037
|
+
making modifications to it. For an executable work, complete source
|
1038
|
+
code means all the source code for all modules it contains, plus any
|
1039
|
+
associated interface definition files, plus the scripts used to
|
1040
|
+
control compilation and installation of the executable. However, as a
|
1041
|
+
special exception, the source code distributed need not include
|
1042
|
+
anything that is normally distributed (in either source or binary
|
1043
|
+
form) with the major components (compiler, kernel, and so on) of the
|
1044
|
+
operating system on which the executable runs, unless that component
|
1045
|
+
itself accompanies the executable.
|
1046
|
+
|
1047
|
+
If distribution of executable or object code is made by offering
|
1048
|
+
access to copy from a designated place, then offering equivalent
|
1049
|
+
access to copy the source code from the same place counts as
|
1050
|
+
distribution of the source code, even though third parties are not
|
1051
|
+
compelled to copy the source along with the object code.
|
1052
|
+
|
1053
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
1054
|
+
except as expressly provided under this License. Any attempt
|
1055
|
+
otherwise to copy, modify, sublicense or distribute the Program is
|
1056
|
+
void, and will automatically terminate your rights under this License.
|
1057
|
+
However, parties who have received copies, or rights, from you under
|
1058
|
+
this License will not have their licenses terminated so long as such
|
1059
|
+
parties remain in full compliance.
|
1060
|
+
|
1061
|
+
5. You are not required to accept this License, since you have not
|
1062
|
+
signed it. However, nothing else grants you permission to modify or
|
1063
|
+
distribute the Program or its derivative works. These actions are
|
1064
|
+
prohibited by law if you do not accept this License. Therefore, by
|
1065
|
+
modifying or distributing the Program (or any work based on the
|
1066
|
+
Program), you indicate your acceptance of this License to do so, and
|
1067
|
+
all its terms and conditions for copying, distributing or modifying
|
1068
|
+
the Program or works based on it.
|
1069
|
+
|
1070
|
+
6. Each time you redistribute the Program (or any work based on the
|
1071
|
+
Program), the recipient automatically receives a license from the
|
1072
|
+
original licensor to copy, distribute or modify the Program subject to
|
1073
|
+
these terms and conditions. You may not impose any further
|
1074
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
1075
|
+
You are not responsible for enforcing compliance by third parties to
|
1076
|
+
this License.
|
1077
|
+
|
1078
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
1079
|
+
infringement or for any other reason (not limited to patent issues),
|
1080
|
+
conditions are imposed on you (whether by court order, agreement or
|
1081
|
+
otherwise) that contradict the conditions of this License, they do not
|
1082
|
+
excuse you from the conditions of this License. If you cannot
|
1083
|
+
distribute so as to satisfy simultaneously your obligations under this
|
1084
|
+
License and any other pertinent obligations, then as a consequence you
|
1085
|
+
may not distribute the Program at all. For example, if a patent
|
1086
|
+
license would not permit royalty-free redistribution of the Program by
|
1087
|
+
all those who receive copies directly or indirectly through you, then
|
1088
|
+
the only way you could satisfy both it and this License would be to
|
1089
|
+
refrain entirely from distribution of the Program.
|
1090
|
+
|
1091
|
+
If any portion of this section is held invalid or unenforceable under
|
1092
|
+
any particular circumstance, the balance of the section is intended to
|
1093
|
+
apply and the section as a whole is intended to apply in other
|
1094
|
+
circumstances.
|
1095
|
+
|
1096
|
+
It is not the purpose of this section to induce you to infringe any
|
1097
|
+
patents or other property right claims or to contest validity of any
|
1098
|
+
such claims; this section has the sole purpose of protecting the
|
1099
|
+
integrity of the free software distribution system, which is
|
1100
|
+
implemented by public license practices. Many people have made
|
1101
|
+
generous contributions to the wide range of software distributed
|
1102
|
+
through that system in reliance on consistent application of that
|
1103
|
+
system; it is up to the author/donor to decide if he or she is willing
|
1104
|
+
to distribute software through any other system and a licensee cannot
|
1105
|
+
impose that choice.
|
1106
|
+
|
1107
|
+
This section is intended to make thoroughly clear what is believed to
|
1108
|
+
be a consequence of the rest of this License.
|
1109
|
+
|
1110
|
+
8. If the distribution and/or use of the Program is restricted in
|
1111
|
+
certain countries either by patents or by copyrighted interfaces, the
|
1112
|
+
original copyright holder who places the Program under this License
|
1113
|
+
may add an explicit geographical distribution limitation excluding
|
1114
|
+
those countries, so that distribution is permitted only in or among
|
1115
|
+
countries not thus excluded. In such case, this License incorporates
|
1116
|
+
the limitation as if written in the body of this License.
|
1117
|
+
|
1118
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
1119
|
+
of the General Public License from time to time. Such new versions will
|
1120
|
+
be similar in spirit to the present version, but may differ in detail to
|
1121
|
+
address new problems or concerns.
|
1122
|
+
|
1123
|
+
Each version is given a distinguishing version number. If the Program
|
1124
|
+
specifies a version number of this License which applies to it and "any
|
1125
|
+
later version", you have the option of following the terms and conditions
|
1126
|
+
either of that version or of any later version published by the Free
|
1127
|
+
Software Foundation. If the Program does not specify a version number of
|
1128
|
+
this License, you may choose any version ever published by the Free Software
|
1129
|
+
Foundation.
|
1130
|
+
|
1131
|
+
10. If you wish to incorporate parts of the Program into other free
|
1132
|
+
programs whose distribution conditions are different, write to the author
|
1133
|
+
to ask for permission. For software which is copyrighted by the Free
|
1134
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
1135
|
+
make exceptions for this. Our decision will be guided by the two goals
|
1136
|
+
of preserving the free status of all derivatives of our free software and
|
1137
|
+
of promoting the sharing and reuse of software generally.
|
1138
|
+
|
1139
|
+
NO WARRANTY
|
1140
|
+
|
1141
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
1142
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
1143
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
1144
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
1145
|
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
1146
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
1147
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
1148
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
1149
|
+
REPAIR OR CORRECTION.
|
1150
|
+
|
1151
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
1152
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
1153
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
1154
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
1155
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
1156
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
1157
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
1158
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
1159
|
+
POSSIBILITY OF SUCH DAMAGES.
|
1160
|
+
|
1161
|
+
END OF TERMS AND CONDITIONS
|
1162
|
+
|
1163
|
+
Appendix: How to Apply These Terms to Your New Programs
|
1164
|
+
|
1165
|
+
If you develop a new program, and you want it to be of the greatest
|
1166
|
+
possible use to the public, the best way to achieve this is to make it
|
1167
|
+
free software which everyone can redistribute and change under these terms.
|
1168
|
+
|
1169
|
+
To do so, attach the following notices to the program. It is safest
|
1170
|
+
to attach them to the start of each source file to most effectively
|
1171
|
+
convey the exclusion of warranty; and each file should have at least
|
1172
|
+
the "copyright" line and a pointer to where the full notice is found.
|
1173
|
+
|
1174
|
+
<one line to give the program's name and a brief idea of what it does.>
|
1175
|
+
Copyright (C) 19yy <name of author>
|
1176
|
+
|
1177
|
+
This program is free software; you can redistribute it and/or modify
|
1178
|
+
it under the terms of the GNU General Public License as published by
|
1179
|
+
the Free Software Foundation; either version 2 of the License, or
|
1180
|
+
(at your option) any later version.
|
1181
|
+
|
1182
|
+
This program is distributed in the hope that it will be useful,
|
1183
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
1184
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
1185
|
+
GNU General Public License for more details.
|
1186
|
+
|
1187
|
+
You should have received a copy of the GNU General Public License
|
1188
|
+
along with this program; if not, write to the Free Software
|
1189
|
+
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
1190
|
+
|
1191
|
+
Also add information on how to contact you by electronic and paper mail.
|
1192
|
+
|
1193
|
+
If the program is interactive, make it output a short notice like this
|
1194
|
+
when it starts in an interactive mode:
|
1195
|
+
|
1196
|
+
Gnomovision version 69, Copyright (C) 19yy name of author
|
1197
|
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
1198
|
+
This is free software, and you are welcome to redistribute it
|
1199
|
+
under certain conditions; type `show c' for details.
|
1200
|
+
|
1201
|
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
1202
|
+
parts of the General Public License. Of course, the commands you use may
|
1203
|
+
be called something other than `show w' and `show c'; they could even be
|
1204
|
+
mouse-clicks or menu items--whatever suits your program.
|
1205
|
+
|
1206
|
+
You should also get your employer (if you work as a programmer) or your
|
1207
|
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
1208
|
+
necessary. Here is a sample; alter the names:
|
1209
|
+
|
1210
|
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
1211
|
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
1212
|
+
|
1213
|
+
<signature of Ty Coon>, 1 April 1989
|
1214
|
+
Ty Coon, President of Vice
|
1215
|
+
|
1216
|
+
This General Public License does not permit incorporating your program into
|
1217
|
+
proprietary programs. If your program is a subroutine library, you may
|
1218
|
+
consider it more useful to permit linking proprietary applications with the
|
1219
|
+
library. If this is what you want to do, use the GNU Library General
|
1220
|
+
Public License instead of this License.
|
1221
|
+
|
1222
|
+
|
1223
|
+
===========================================================================
|
1224
|
+
|
1225
|
+
|
1226
|
+
GNU LIBRARY GENERAL PUBLIC LICENSE
|
1227
|
+
Version 2, June 1991
|
1228
|
+
|
1229
|
+
Copyright (C) 1991 Free Software Foundation, Inc.
|
1230
|
+
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
1231
|
+
Everyone is permitted to copy and distribute verbatim copies
|
1232
|
+
of this license document, but changing it is not allowed.
|
1233
|
+
|
1234
|
+
[This is the first released version of the library GPL. It is
|
1235
|
+
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
1236
|
+
|
1237
|
+
Preamble
|
1238
|
+
|
1239
|
+
The licenses for most software are designed to take away your
|
1240
|
+
freedom to share and change it. By contrast, the GNU General Public
|
1241
|
+
Licenses are intended to guarantee your freedom to share and change
|
1242
|
+
free software--to make sure the software is free for all its users.
|
1243
|
+
|
1244
|
+
This license, the Library General Public License, applies to some
|
1245
|
+
specially designated Free Software Foundation software, and to any
|
1246
|
+
other libraries whose authors decide to use it. You can use it for
|
1247
|
+
your libraries, too.
|
1248
|
+
|
1249
|
+
When we speak of free software, we are referring to freedom, not
|
1250
|
+
price. Our General Public Licenses are designed to make sure that you
|
1251
|
+
have the freedom to distribute copies of free software (and charge for
|
1252
|
+
this service if you wish), that you receive source code or can get it
|
1253
|
+
if you want it, that you can change the software or use pieces of it
|
1254
|
+
in new free programs; and that you know you can do these things.
|
1255
|
+
|
1256
|
+
To protect your rights, we need to make restrictions that forbid
|
1257
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
1258
|
+
These restrictions translate to certain responsibilities for you if
|
1259
|
+
you distribute copies of the library, or if you modify it.
|
1260
|
+
|
1261
|
+
For example, if you distribute copies of the library, whether gratis
|
1262
|
+
or for a fee, you must give the recipients all the rights that we gave
|
1263
|
+
you. You must make sure that they, too, receive or can get the source
|
1264
|
+
code. If you link a program with the library, you must provide
|
1265
|
+
complete object files to the recipients so that they can relink them
|
1266
|
+
with the library, after making changes to the library and recompiling
|
1267
|
+
it. And you must show them these terms so they know their rights.
|
1268
|
+
|
1269
|
+
Our method of protecting your rights has two steps: (1) copyright
|
1270
|
+
the library, and (2) offer you this license which gives you legal
|
1271
|
+
permission to copy, distribute and/or modify the library.
|
1272
|
+
|
1273
|
+
Also, for each distributor's protection, we want to make certain
|
1274
|
+
that everyone understands that there is no warranty for this free
|
1275
|
+
library. If the library is modified by someone else and passed on, we
|
1276
|
+
want its recipients to know that what they have is not the original
|
1277
|
+
version, so that any problems introduced by others will not reflect on
|
1278
|
+
the original authors' reputations.
|
1279
|
+
^L
|
1280
|
+
Finally, any free program is threatened constantly by software
|
1281
|
+
patents. We wish to avoid the danger that companies distributing free
|
1282
|
+
software will individually obtain patent licenses, thus in effect
|
1283
|
+
transforming the program into proprietary software. To prevent this,
|
1284
|
+
we have made it clear that any patent must be licensed for everyone's
|
1285
|
+
free use or not licensed at all.
|
1286
|
+
|
1287
|
+
Most GNU software, including some libraries, is covered by the ordinary
|
1288
|
+
GNU General Public License, which was designed for utility programs. This
|
1289
|
+
license, the GNU Library General Public License, applies to certain
|
1290
|
+
designated libraries. This license is quite different from the ordinary
|
1291
|
+
one; be sure to read it in full, and don't assume that anything in it is
|
1292
|
+
the same as in the ordinary license.
|
1293
|
+
|
1294
|
+
The reason we have a separate public license for some libraries is that
|
1295
|
+
they blur the distinction we usually make between modifying or adding to a
|
1296
|
+
program and simply using it. Linking a program with a library, without
|
1297
|
+
changing the library, is in some sense simply using the library, and is
|
1298
|
+
analogous to running a utility program or application program. However, in
|
1299
|
+
a textual and legal sense, the linked executable is a combined work, a
|
1300
|
+
derivative of the original library, and the ordinary General Public License
|
1301
|
+
treats it as such.
|
1302
|
+
|
1303
|
+
Because of this blurred distinction, using the ordinary General
|
1304
|
+
Public License for libraries did not effectively promote software
|
1305
|
+
sharing, because most developers did not use the libraries. We
|
1306
|
+
concluded that weaker conditions might promote sharing better.
|
1307
|
+
|
1308
|
+
However, unrestricted linking of non-free programs would deprive the
|
1309
|
+
users of those programs of all benefit from the free status of the
|
1310
|
+
libraries themselves. This Library General Public License is intended to
|
1311
|
+
permit developers of non-free programs to use free libraries, while
|
1312
|
+
preserving your freedom as a user of such programs to change the free
|
1313
|
+
libraries that are incorporated in them. (We have not seen how to achieve
|
1314
|
+
this as regards changes in header files, but we have achieved it as regards
|
1315
|
+
changes in the actual functions of the Library.) The hope is that this
|
1316
|
+
will lead to faster development of free libraries.
|
1317
|
+
|
1318
|
+
The precise terms and conditions for copying, distribution and
|
1319
|
+
modification follow. Pay close attention to the difference between a
|
1320
|
+
"work based on the library" and a "work that uses the library". The
|
1321
|
+
former contains code derived from the library, while the latter only
|
1322
|
+
works together with the library.
|
1323
|
+
|
1324
|
+
Note that it is possible for a library to be covered by the ordinary
|
1325
|
+
General Public License rather than by this special one.
|
1326
|
+
^L
|
1327
|
+
GNU LIBRARY GENERAL PUBLIC LICENSE
|
1328
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
1329
|
+
|
1330
|
+
0. This License Agreement applies to any software library which
|
1331
|
+
contains a notice placed by the copyright holder or other authorized
|
1332
|
+
party saying it may be distributed under the terms of this Library
|
1333
|
+
General Public License (also called "this License"). Each licensee is
|
1334
|
+
addressed as "you".
|
1335
|
+
|
1336
|
+
A "library" means a collection of software functions and/or data
|
1337
|
+
prepared so as to be conveniently linked with application programs
|
1338
|
+
(which use some of those functions and data) to form executables.
|
1339
|
+
|
1340
|
+
The "Library", below, refers to any such software library or work
|
1341
|
+
which has been distributed under these terms. A "work based on the
|
1342
|
+
Library" means either the Library or any derivative work under
|
1343
|
+
copyright law: that is to say, a work containing the Library or a
|
1344
|
+
portion of it, either verbatim or with modifications and/or translated
|
1345
|
+
straightforwardly into another language. (Hereinafter, translation is
|
1346
|
+
included without limitation in the term "modification".)
|
1347
|
+
|
1348
|
+
"Source code" for a work means the preferred form of the work for
|
1349
|
+
making modifications to it. For a library, complete source code means
|
1350
|
+
all the source code for all modules it contains, plus any associated
|
1351
|
+
interface definition files, plus the scripts used to control compilation
|
1352
|
+
and installation of the library.
|
1353
|
+
|
1354
|
+
Activities other than copying, distribution and modification are not
|
1355
|
+
covered by this License; they are outside its scope. The act of
|
1356
|
+
running a program using the Library is not restricted, and output from
|
1357
|
+
such a program is covered only if its contents constitute a work based
|
1358
|
+
on the Library (independent of the use of the Library in a tool for
|
1359
|
+
writing it). Whether that is true depends on what the Library does
|
1360
|
+
and what the program that uses the Library does.
|
1361
|
+
|
1362
|
+
1. You may copy and distribute verbatim copies of the Library's
|
1363
|
+
complete source code as you receive it, in any medium, provided that
|
1364
|
+
you conspicuously and appropriately publish on each copy an
|
1365
|
+
appropriate copyright notice and disclaimer of warranty; keep intact
|
1366
|
+
all the notices that refer to this License and to the absence of any
|
1367
|
+
warranty; and distribute a copy of this License along with the
|
1368
|
+
Library.
|
1369
|
+
|
1370
|
+
You may charge a fee for the physical act of transferring a copy,
|
1371
|
+
and you may at your option offer warranty protection in exchange for a
|
1372
|
+
fee.
|
1373
|
+
2. You may modify your copy or copies of the Library or any portion
|
1374
|
+
of it, thus forming a work based on the Library, and copy and
|
1375
|
+
distribute such modifications or work under the terms of Section 1
|
1376
|
+
above, provided that you also meet all of these conditions:
|
1377
|
+
|
1378
|
+
a) The modified work must itself be a software library.
|
1379
|
+
|
1380
|
+
b) You must cause the files modified to carry prominent notices
|
1381
|
+
stating that you changed the files and the date of any change.
|
1382
|
+
|
1383
|
+
c) You must cause the whole of the work to be licensed at no
|
1384
|
+
charge to all third parties under the terms of this License.
|
1385
|
+
|
1386
|
+
d) If a facility in the modified Library refers to a function or a
|
1387
|
+
table of data to be supplied by an application program that uses
|
1388
|
+
the facility, other than as an argument passed when the facility
|
1389
|
+
is invoked, then you must make a good faith effort to ensure that,
|
1390
|
+
in the event an application does not supply such function or
|
1391
|
+
table, the facility still operates, and performs whatever part of
|
1392
|
+
its purpose remains meaningful.
|
1393
|
+
|
1394
|
+
(For example, a function in a library to compute square roots has
|
1395
|
+
a purpose that is entirely well-defined independent of the
|
1396
|
+
application. Therefore, Subsection 2d requires that any
|
1397
|
+
application-supplied function or table used by this function must
|
1398
|
+
be optional: if the application does not supply it, the square
|
1399
|
+
root function must still compute square roots.)
|
1400
|
+
|
1401
|
+
These requirements apply to the modified work as a whole. If
|
1402
|
+
identifiable sections of that work are not derived from the Library,
|
1403
|
+
and can be reasonably considered independent and separate works in
|
1404
|
+
themselves, then this License, and its terms, do not apply to those
|
1405
|
+
sections when you distribute them as separate works. But when you
|
1406
|
+
distribute the same sections as part of a whole which is a work based
|
1407
|
+
on the Library, the distribution of the whole must be on the terms of
|
1408
|
+
this License, whose permissions for other licensees extend to the
|
1409
|
+
entire whole, and thus to each and every part regardless of who wrote
|
1410
|
+
it.
|
1411
|
+
|
1412
|
+
Thus, it is not the intent of this section to claim rights or contest
|
1413
|
+
your rights to work written entirely by you; rather, the intent is to
|
1414
|
+
exercise the right to control the distribution of derivative or
|
1415
|
+
collective works based on the Library.
|
1416
|
+
|
1417
|
+
In addition, mere aggregation of another work not based on the Library
|
1418
|
+
with the Library (or with a work based on the Library) on a volume of
|
1419
|
+
a storage or distribution medium does not bring the other work under
|
1420
|
+
the scope of this License.
|
1421
|
+
|
1422
|
+
3. You may opt to apply the terms of the ordinary GNU General Public
|
1423
|
+
License instead of this License to a given copy of the Library. To do
|
1424
|
+
this, you must alter all the notices that refer to this License, so
|
1425
|
+
that they refer to the ordinary GNU General Public License, version 2,
|
1426
|
+
instead of to this License. (If a newer version than version 2 of the
|
1427
|
+
ordinary GNU General Public License has appeared, then you can specify
|
1428
|
+
that version instead if you wish.) Do not make any other change in
|
1429
|
+
these notices.
|
1430
|
+
|
1431
|
+
Once this change is made in a given copy, it is irreversible for
|
1432
|
+
that copy, so the ordinary GNU General Public License applies to all
|
1433
|
+
subsequent copies and derivative works made from that copy.
|
1434
|
+
|
1435
|
+
This option is useful when you wish to copy part of the code of
|
1436
|
+
the Library into a program that is not a library.
|
1437
|
+
|
1438
|
+
4. You may copy and distribute the Library (or a portion or
|
1439
|
+
derivative of it, under Section 2) in object code or executable form
|
1440
|
+
under the terms of Sections 1 and 2 above provided that you accompany
|
1441
|
+
it with the complete corresponding machine-readable source code, which
|
1442
|
+
must be distributed under the terms of Sections 1 and 2 above on a
|
1443
|
+
medium customarily used for software interchange.
|
1444
|
+
|
1445
|
+
If distribution of object code is made by offering access to copy
|
1446
|
+
from a designated place, then offering equivalent access to copy the
|
1447
|
+
source code from the same place satisfies the requirement to
|
1448
|
+
distribute the source code, even though third parties are not
|
1449
|
+
compelled to copy the source along with the object code.
|
1450
|
+
|
1451
|
+
5. A program that contains no derivative of any portion of the
|
1452
|
+
Library, but is designed to work with the Library by being compiled or
|
1453
|
+
linked with it, is called a "work that uses the Library". Such a
|
1454
|
+
work, in isolation, is not a derivative work of the Library, and
|
1455
|
+
therefore falls outside the scope of this License.
|
1456
|
+
|
1457
|
+
However, linking a "work that uses the Library" with the Library
|
1458
|
+
creates an executable that is a derivative of the Library (because it
|
1459
|
+
contains portions of the Library), rather than a "work that uses the
|
1460
|
+
library". The executable is therefore covered by this License.
|
1461
|
+
Section 6 states terms for distribution of such executables.
|
1462
|
+
|
1463
|
+
When a "work that uses the Library" uses material from a header file
|
1464
|
+
that is part of the Library, the object code for the work may be a
|
1465
|
+
derivative work of the Library even though the source code is not.
|
1466
|
+
Whether this is true is especially significant if the work can be
|
1467
|
+
linked without the Library, or if the work is itself a library. The
|
1468
|
+
threshold for this to be true is not precisely defined by law.
|
1469
|
+
|
1470
|
+
If such an object file uses only numerical parameters, data
|
1471
|
+
structure layouts and accessors, and small macros and small inline
|
1472
|
+
functions (ten lines or less in length), then the use of the object
|
1473
|
+
file is unrestricted, regardless of whether it is legally a derivative
|
1474
|
+
work. (Executables containing this object code plus portions of the
|
1475
|
+
Library will still fall under Section 6.)
|
1476
|
+
|
1477
|
+
Otherwise, if the work is a derivative of the Library, you may
|
1478
|
+
distribute the object code for the work under the terms of Section 6.
|
1479
|
+
Any executables containing that work also fall under Section 6,
|
1480
|
+
whether or not they are linked directly with the Library itself.
|
1481
|
+
|
1482
|
+
6. As an exception to the Sections above, you may also compile or
|
1483
|
+
link a "work that uses the Library" with the Library to produce a
|
1484
|
+
work containing portions of the Library, and distribute that work
|
1485
|
+
under terms of your choice, provided that the terms permit
|
1486
|
+
modification of the work for the customer's own use and reverse
|
1487
|
+
engineering for debugging such modifications.
|
1488
|
+
|
1489
|
+
You must give prominent notice with each copy of the work that the
|
1490
|
+
Library is used in it and that the Library and its use are covered by
|
1491
|
+
this License. You must supply a copy of this License. If the work
|
1492
|
+
during execution displays copyright notices, you must include the
|
1493
|
+
copyright notice for the Library among them, as well as a reference
|
1494
|
+
directing the user to the copy of this License. Also, you must do one
|
1495
|
+
of these things:
|
1496
|
+
|
1497
|
+
a) Accompany the work with the complete corresponding
|
1498
|
+
machine-readable source code for the Library including whatever
|
1499
|
+
changes were used in the work (which must be distributed under
|
1500
|
+
Sections 1 and 2 above); and, if the work is an executable linked
|
1501
|
+
with the Library, with the complete machine-readable "work that
|
1502
|
+
uses the Library", as object code and/or source code, so that the
|
1503
|
+
user can modify the Library and then relink to produce a modified
|
1504
|
+
executable containing the modified Library. (It is understood
|
1505
|
+
that the user who changes the contents of definitions files in the
|
1506
|
+
Library will not necessarily be able to recompile the application
|
1507
|
+
to use the modified definitions.)
|
1508
|
+
|
1509
|
+
b) Accompany the work with a written offer, valid for at
|
1510
|
+
least three years, to give the same user the materials
|
1511
|
+
specified in Subsection 6a, above, for a charge no more
|
1512
|
+
than the cost of performing this distribution.
|
1513
|
+
|
1514
|
+
c) If distribution of the work is made by offering access to copy
|
1515
|
+
from a designated place, offer equivalent access to copy the above
|
1516
|
+
specified materials from the same place.
|
1517
|
+
|
1518
|
+
d) Verify that the user has already received a copy of these
|
1519
|
+
materials or that you have already sent this user a copy.
|
1520
|
+
|
1521
|
+
For an executable, the required form of the "work that uses the
|
1522
|
+
Library" must include any data and utility programs needed for
|
1523
|
+
reproducing the executable from it. However, as a special exception,
|
1524
|
+
the source code distributed need not include anything that is normally
|
1525
|
+
distributed (in either source or binary form) with the major
|
1526
|
+
components (compiler, kernel, and so on) of the operating system on
|
1527
|
+
which the executable runs, unless that component itself accompanies
|
1528
|
+
the executable.
|
1529
|
+
|
1530
|
+
It may happen that this requirement contradicts the license
|
1531
|
+
restrictions of other proprietary libraries that do not normally
|
1532
|
+
accompany the operating system. Such a contradiction means you cannot
|
1533
|
+
use both them and the Library together in an executable that you
|
1534
|
+
distribute.
|
1535
|
+
^L
|
1536
|
+
7. You may place library facilities that are a work based on the
|
1537
|
+
Library side-by-side in a single library together with other library
|
1538
|
+
facilities not covered by this License, and distribute such a combined
|
1539
|
+
library, provided that the separate distribution of the work based on
|
1540
|
+
the Library and of the other library facilities is otherwise
|
1541
|
+
permitted, and provided that you do these two things:
|
1542
|
+
|
1543
|
+
a) Accompany the combined library with a copy of the same work
|
1544
|
+
based on the Library, uncombined with any other library
|
1545
|
+
facilities. This must be distributed under the terms of the
|
1546
|
+
Sections above.
|
1547
|
+
|
1548
|
+
b) Give prominent notice with the combined library of the fact
|
1549
|
+
that part of it is a work based on the Library, and explaining
|
1550
|
+
where to find the accompanying uncombined form of the same work.
|
1551
|
+
|
1552
|
+
8. You may not copy, modify, sublicense, link with, or distribute
|
1553
|
+
the Library except as expressly provided under this License. Any
|
1554
|
+
attempt otherwise to copy, modify, sublicense, link with, or
|
1555
|
+
distribute the Library is void, and will automatically terminate your
|
1556
|
+
rights under this License. However, parties who have received copies,
|
1557
|
+
or rights, from you under this License will not have their licenses
|
1558
|
+
terminated so long as such parties remain in full compliance.
|
1559
|
+
|
1560
|
+
9. You are not required to accept this License, since you have not
|
1561
|
+
signed it. However, nothing else grants you permission to modify or
|
1562
|
+
distribute the Library or its derivative works. These actions are
|
1563
|
+
prohibited by law if you do not accept this License. Therefore, by
|
1564
|
+
modifying or distributing the Library (or any work based on the
|
1565
|
+
Library), you indicate your acceptance of this License to do so, and
|
1566
|
+
all its terms and conditions for copying, distributing or modifying
|
1567
|
+
the Library or works based on it.
|
1568
|
+
|
1569
|
+
10. Each time you redistribute the Library (or any work based on the
|
1570
|
+
Library), the recipient automatically receives a license from the
|
1571
|
+
original licensor to copy, distribute, link with or modify the Library
|
1572
|
+
subject to these terms and conditions. You may not impose any further
|
1573
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
1574
|
+
You are not responsible for enforcing compliance by third parties to
|
1575
|
+
this License.
|
1576
|
+
^L
|
1577
|
+
11. If, as a consequence of a court judgment or allegation of patent
|
1578
|
+
infringement or for any other reason (not limited to patent issues),
|
1579
|
+
conditions are imposed on you (whether by court order, agreement or
|
1580
|
+
otherwise) that contradict the conditions of this License, they do not
|
1581
|
+
excuse you from the conditions of this License. If you cannot
|
1582
|
+
distribute so as to satisfy simultaneously your obligations under this
|
1583
|
+
License and any other pertinent obligations, then as a consequence you
|
1584
|
+
may not distribute the Library at all. For example, if a patent
|
1585
|
+
license would not permit royalty-free redistribution of the Library by
|
1586
|
+
all those who receive copies directly or indirectly through you, then
|
1587
|
+
the only way you could satisfy both it and this License would be to
|
1588
|
+
refrain entirely from distribution of the Library.
|
1589
|
+
|
1590
|
+
If any portion of this section is held invalid or unenforceable under any
|
1591
|
+
particular circumstance, the balance of the section is intended to apply,
|
1592
|
+
and the section as a whole is intended to apply in other circumstances.
|
1593
|
+
|
1594
|
+
It is not the purpose of this section to induce you to infringe any
|
1595
|
+
patents or other property right claims or to contest validity of any
|
1596
|
+
such claims; this section has the sole purpose of protecting the
|
1597
|
+
integrity of the free software distribution system which is
|
1598
|
+
implemented by public license practices. Many people have made
|
1599
|
+
generous contributions to the wide range of software distributed
|
1600
|
+
through that system in reliance on consistent application of that
|
1601
|
+
system; it is up to the author/donor to decide if he or she is willing
|
1602
|
+
to distribute software through any other system and a licensee cannot
|
1603
|
+
impose that choice.
|
1604
|
+
|
1605
|
+
This section is intended to make thoroughly clear what is believed to
|
1606
|
+
be a consequence of the rest of this License.
|
1607
|
+
|
1608
|
+
12. If the distribution and/or use of the Library is restricted in
|
1609
|
+
certain countries either by patents or by copyrighted interfaces, the
|
1610
|
+
original copyright holder who places the Library under this License may add
|
1611
|
+
an explicit geographical distribution limitation excluding those countries,
|
1612
|
+
so that distribution is permitted only in or among countries not thus
|
1613
|
+
excluded. In such case, this License incorporates the limitation as if
|
1614
|
+
written in the body of this License.
|
1615
|
+
|
1616
|
+
13. The Free Software Foundation may publish revised and/or new
|
1617
|
+
versions of the Library General Public License from time to time.
|
1618
|
+
Such new versions will be similar in spirit to the present version,
|
1619
|
+
but may differ in detail to address new problems or concerns.
|
1620
|
+
|
1621
|
+
Each version is given a distinguishing version number. If the Library
|
1622
|
+
specifies a version number of this License which applies to it and
|
1623
|
+
"any later version", you have the option of following the terms and
|
1624
|
+
conditions either of that version or of any later version published by
|
1625
|
+
the Free Software Foundation. If the Library does not specify a
|
1626
|
+
license version number, you may choose any version ever published by
|
1627
|
+
the Free Software Foundation.
|
1628
|
+
|
1629
|
+
14. If you wish to incorporate parts of the Library into other free
|
1630
|
+
programs whose distribution conditions are incompatible with these,
|
1631
|
+
write to the author to ask for permission. For software which is
|
1632
|
+
copyrighted by the Free Software Foundation, write to the Free
|
1633
|
+
Software Foundation; we sometimes make exceptions for this. Our
|
1634
|
+
decision will be guided by the two goals of preserving the free status
|
1635
|
+
of all derivatives of our free software and of promoting the sharing
|
1636
|
+
and reuse of software generally.
|
1637
|
+
|
1638
|
+
NO WARRANTY
|
1639
|
+
|
1640
|
+
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
1641
|
+
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
1642
|
+
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
1643
|
+
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
1644
|
+
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
1645
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
1646
|
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
1647
|
+
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
1648
|
+
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
1649
|
+
|
1650
|
+
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
1651
|
+
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
1652
|
+
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
1653
|
+
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
1654
|
+
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
1655
|
+
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
1656
|
+
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
1657
|
+
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
1658
|
+
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
1659
|
+
DAMAGES.
|
1660
|
+
|
1661
|
+
END OF TERMS AND CONDITIONS
|
1662
|
+
^L
|
1663
|
+
Appendix: How to Apply These Terms to Your New Libraries
|
1664
|
+
|
1665
|
+
If you develop a new library, and you want it to be of the greatest
|
1666
|
+
possible use to the public, we recommend making it free software that
|
1667
|
+
everyone can redistribute and change. You can do so by permitting
|
1668
|
+
redistribution under these terms (or, alternatively, under the terms of the
|
1669
|
+
ordinary General Public License).
|
1670
|
+
|
1671
|
+
To apply these terms, attach the following notices to the library. It is
|
1672
|
+
safest to attach them to the start of each source file to most effectively
|
1673
|
+
convey the exclusion of warranty; and each file should have at least the
|
1674
|
+
"copyright" line and a pointer to where the full notice is found.
|
1675
|
+
|
1676
|
+
<one line to give the library's name and a brief idea of what it does.>
|
1677
|
+
Copyright (C) <year> <name of author>
|
1678
|
+
|
1679
|
+
This library is free software; you can redistribute it and/or
|
1680
|
+
modify it under the terms of the GNU Library General Public
|
1681
|
+
License as published by the Free Software Foundation; either
|
1682
|
+
version 2 of the License, or (at your option) any later version.
|
1683
|
+
|
1684
|
+
|
1685
|
+
|
1686
|
+
===========================================================================
|
1687
|
+
|
1688
|
+
|
1689
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
1690
|
+
Version 2.1, February 1999
|
1691
|
+
|
1692
|
+
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
1693
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
1694
|
+
Everyone is permitted to copy and distribute verbatim copies
|
1695
|
+
of this license document, but changing it is not allowed.
|
1696
|
+
|
1697
|
+
[This is the first released version of the Lesser GPL. It also counts
|
1698
|
+
as the successor of the GNU Library Public License, version 2, hence
|
1699
|
+
the version number 2.1.]
|
1700
|
+
|
1701
|
+
Preamble
|
1702
|
+
|
1703
|
+
The licenses for most software are designed to take away your
|
1704
|
+
freedom to share and change it. By contrast, the GNU General Public
|
1705
|
+
Licenses are intended to guarantee your freedom to share and change
|
1706
|
+
free software--to make sure the software is free for all its users.
|
1707
|
+
|
1708
|
+
This license, the Lesser General Public License, applies to some
|
1709
|
+
specially designated software packages--typically libraries--of the
|
1710
|
+
Free Software Foundation and other authors who decide to use it. You
|
1711
|
+
can use it too, but we suggest you first think carefully about whether
|
1712
|
+
this license or the ordinary General Public License is the better
|
1713
|
+
strategy to use in any particular case, based on the explanations below.
|
1714
|
+
|
1715
|
+
When we speak of free software, we are referring to freedom of use,
|
1716
|
+
not price. Our General Public Licenses are designed to make sure that
|
1717
|
+
you have the freedom to distribute copies of free software (and charge
|
1718
|
+
for this service if you wish); that you receive source code or can get
|
1719
|
+
it if you want it; that you can change the software and use pieces of
|
1720
|
+
it in new free programs; and that you are informed that you can do
|
1721
|
+
these things.
|
1722
|
+
|
1723
|
+
To protect your rights, we need to make restrictions that forbid
|
1724
|
+
distributors to deny you these rights or to ask you to surrender these
|
1725
|
+
rights. These restrictions translate to certain responsibilities for
|
1726
|
+
you if you distribute copies of the library or if you modify it.
|
1727
|
+
|
1728
|
+
For example, if you distribute copies of the library, whether gratis
|
1729
|
+
or for a fee, you must give the recipients all the rights that we gave
|
1730
|
+
you. You must make sure that they, too, receive or can get the source
|
1731
|
+
code. If you link other code with the library, you must provide
|
1732
|
+
complete object files to the recipients, so that they can relink them
|
1733
|
+
with the library after making changes to the library and recompiling
|
1734
|
+
it. And you must show them these terms so they know their rights.
|
1735
|
+
|
1736
|
+
We protect your rights with a two-step method: (1) we copyright the
|
1737
|
+
library, and (2) we offer you this license, which gives you legal
|
1738
|
+
permission to copy, distribute and/or modify the library.
|
1739
|
+
|
1740
|
+
To protect each distributor, we want to make it very clear that
|
1741
|
+
there is no warranty for the free library. Also, if the library is
|
1742
|
+
modified by someone else and passed on, the recipients should know
|
1743
|
+
that what they have is not the original version, so that the original
|
1744
|
+
author's reputation will not be affected by problems that might be
|
1745
|
+
introduced by others.
|
1746
|
+
|
1747
|
+
|
1748
|
+
Finally, software patents pose a constant threat to the existence of
|
1749
|
+
any free program. We wish to make sure that a company cannot
|
1750
|
+
effectively restrict the users of a free program by obtaining a
|
1751
|
+
restrictive license from a patent holder. Therefore, we insist that
|
1752
|
+
any patent license obtained for a version of the library must be
|
1753
|
+
consistent with the full freedom of use specified in this license.
|
1754
|
+
|
1755
|
+
Most GNU software, including some libraries, is covered by the
|
1756
|
+
ordinary GNU General Public License. This license, the GNU Lesser
|
1757
|
+
General Public License, applies to certain designated libraries, and
|
1758
|
+
is quite different from the ordinary General Public License. We use
|
1759
|
+
this license for certain libraries in order to permit linking those
|
1760
|
+
libraries into non-free programs.
|
1761
|
+
|
1762
|
+
When a program is linked with a library, whether statically or using
|
1763
|
+
a shared library, the combination of the two is legally speaking a
|
1764
|
+
combined work, a derivative of the original library. The ordinary
|
1765
|
+
General Public License therefore permits such linking only if the
|
1766
|
+
entire combination fits its criteria of freedom. The Lesser General
|
1767
|
+
Public License permits more lax criteria for linking other code with
|
1768
|
+
the library.
|
1769
|
+
|
1770
|
+
We call this license the "Lesser" General Public License because it
|
1771
|
+
does Less to protect the user's freedom than the ordinary General
|
1772
|
+
Public License. It also provides other free software developers Less
|
1773
|
+
of an advantage over competing non-free programs. These disadvantages
|
1774
|
+
are the reason we use the ordinary General Public License for many
|
1775
|
+
libraries. However, the Lesser license provides advantages in certain
|
1776
|
+
special circumstances.
|
1777
|
+
|
1778
|
+
For example, on rare occasions, there may be a special need to
|
1779
|
+
encourage the widest possible use of a certain library, so that it becomes
|
1780
|
+
a de-facto standard. To achieve this, non-free programs must be
|
1781
|
+
allowed to use the library. A more frequent case is that a free
|
1782
|
+
library does the same job as widely used non-free libraries. In this
|
1783
|
+
case, there is little to gain by limiting the free library to free
|
1784
|
+
software only, so we use the Lesser General Public License.
|
1785
|
+
|
1786
|
+
In other cases, permission to use a particular library in non-free
|
1787
|
+
programs enables a greater number of people to use a large body of
|
1788
|
+
free software. For example, permission to use the GNU C Library in
|
1789
|
+
non-free programs enables many more people to use the whole GNU
|
1790
|
+
operating system, as well as its variant, the GNU/Linux operating
|
1791
|
+
system.
|
1792
|
+
|
1793
|
+
Although the Lesser General Public License is Less protective of the
|
1794
|
+
users' freedom, it does ensure that the user of a program that is
|
1795
|
+
linked with the Library has the freedom and the wherewithal to run
|
1796
|
+
that program using a modified version of the Library.
|
1797
|
+
|
1798
|
+
The precise terms and conditions for copying, distribution and
|
1799
|
+
modification follow. Pay close attention to the difference between a
|
1800
|
+
"work based on the library" and a "work that uses the library". The
|
1801
|
+
former contains code derived from the library, whereas the latter must
|
1802
|
+
be combined with the library in order to run.
|
1803
|
+
|
1804
|
+
|
1805
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
1806
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
1807
|
+
|
1808
|
+
0. This License Agreement applies to any software library or other
|
1809
|
+
program which contains a notice placed by the copyright holder or
|
1810
|
+
other authorized party saying it may be distributed under the terms of
|
1811
|
+
this Lesser General Public License (also called "this License").
|
1812
|
+
Each licensee is addressed as "you".
|
1813
|
+
|
1814
|
+
A "library" means a collection of software functions and/or data
|
1815
|
+
prepared so as to be conveniently linked with application programs
|
1816
|
+
(which use some of those functions and data) to form executables.
|
1817
|
+
|
1818
|
+
The "Library", below, refers to any such software library or work
|
1819
|
+
which has been distributed under these terms. A "work based on the
|
1820
|
+
Library" means either the Library or any derivative work under
|
1821
|
+
copyright law: that is to say, a work containing the Library or a
|
1822
|
+
portion of it, either verbatim or with modifications and/or translated
|
1823
|
+
straightforwardly into another language. (Hereinafter, translation is
|
1824
|
+
included without limitation in the term "modification".)
|
1825
|
+
|
1826
|
+
"Source code" for a work means the preferred form of the work for
|
1827
|
+
making modifications to it. For a library, complete source code means
|
1828
|
+
all the source code for all modules it contains, plus any associated
|
1829
|
+
interface definition files, plus the scripts used to control compilation
|
1830
|
+
and installation of the library.
|
1831
|
+
|
1832
|
+
Activities other than copying, distribution and modification are not
|
1833
|
+
covered by this License; they are outside its scope. The act of
|
1834
|
+
running a program using the Library is not restricted, and output from
|
1835
|
+
such a program is covered only if its contents constitute a work based
|
1836
|
+
on the Library (independent of the use of the Library in a tool for
|
1837
|
+
writing it). Whether that is true depends on what the Library does
|
1838
|
+
and what the program that uses the Library does.
|
1839
|
+
|
1840
|
+
1. You may copy and distribute verbatim copies of the Library's
|
1841
|
+
complete source code as you receive it, in any medium, provided that
|
1842
|
+
you conspicuously and appropriately publish on each copy an
|
1843
|
+
appropriate copyright notice and disclaimer of warranty; keep intact
|
1844
|
+
all the notices that refer to this License and to the absence of any
|
1845
|
+
warranty; and distribute a copy of this License along with the
|
1846
|
+
Library.
|
1847
|
+
|
1848
|
+
You may charge a fee for the physical act of transferring a copy,
|
1849
|
+
and you may at your option offer warranty protection in exchange for a
|
1850
|
+
fee.
|
1851
|
+
|
1852
|
+
|
1853
|
+
2. You may modify your copy or copies of the Library or any portion
|
1854
|
+
of it, thus forming a work based on the Library, and copy and
|
1855
|
+
distribute such modifications or work under the terms of Section 1
|
1856
|
+
above, provided that you also meet all of these conditions:
|
1857
|
+
|
1858
|
+
a) The modified work must itself be a software library.
|
1859
|
+
|
1860
|
+
b) You must cause the files modified to carry prominent notices
|
1861
|
+
stating that you changed the files and the date of any change.
|
1862
|
+
|
1863
|
+
c) You must cause the whole of the work to be licensed at no
|
1864
|
+
charge to all third parties under the terms of this License.
|
1865
|
+
|
1866
|
+
d) If a facility in the modified Library refers to a function or a
|
1867
|
+
table of data to be supplied by an application program that uses
|
1868
|
+
the facility, other than as an argument passed when the facility
|
1869
|
+
is invoked, then you must make a good faith effort to ensure that,
|
1870
|
+
in the event an application does not supply such function or
|
1871
|
+
table, the facility still operates, and performs whatever part of
|
1872
|
+
its purpose remains meaningful.
|
1873
|
+
|
1874
|
+
(For example, a function in a library to compute square roots has
|
1875
|
+
a purpose that is entirely well-defined independent of the
|
1876
|
+
application. Therefore, Subsection 2d requires that any
|
1877
|
+
application-supplied function or table used by this function must
|
1878
|
+
be optional: if the application does not supply it, the square
|
1879
|
+
root function must still compute square roots.)
|
1880
|
+
|
1881
|
+
These requirements apply to the modified work as a whole. If
|
1882
|
+
identifiable sections of that work are not derived from the Library,
|
1883
|
+
and can be reasonably considered independent and separate works in
|
1884
|
+
themselves, then this License, and its terms, do not apply to those
|
1885
|
+
sections when you distribute them as separate works. But when you
|
1886
|
+
distribute the same sections as part of a whole which is a work based
|
1887
|
+
on the Library, the distribution of the whole must be on the terms of
|
1888
|
+
this License, whose permissions for other licensees extend to the
|
1889
|
+
entire whole, and thus to each and every part regardless of who wrote
|
1890
|
+
it.
|
1891
|
+
|
1892
|
+
Thus, it is not the intent of this section to claim rights or contest
|
1893
|
+
your rights to work written entirely by you; rather, the intent is to
|
1894
|
+
exercise the right to control the distribution of derivative or
|
1895
|
+
collective works based on the Library.
|
1896
|
+
|
1897
|
+
In addition, mere aggregation of another work not based on the Library
|
1898
|
+
with the Library (or with a work based on the Library) on a volume of
|
1899
|
+
a storage or distribution medium does not bring the other work under
|
1900
|
+
the scope of this License.
|
1901
|
+
|
1902
|
+
3. You may opt to apply the terms of the ordinary GNU General Public
|
1903
|
+
License instead of this License to a given copy of the Library. To do
|
1904
|
+
this, you must alter all the notices that refer to this License, so
|
1905
|
+
that they refer to the ordinary GNU General Public License, version 2,
|
1906
|
+
instead of to this License. (If a newer version than version 2 of the
|
1907
|
+
ordinary GNU General Public License has appeared, then you can specify
|
1908
|
+
that version instead if you wish.) Do not make any other change in
|
1909
|
+
these notices.
|
1910
|
+
|
1911
|
+
|
1912
|
+
Once this change is made in a given copy, it is irreversible for
|
1913
|
+
that copy, so the ordinary GNU General Public License applies to all
|
1914
|
+
subsequent copies and derivative works made from that copy.
|
1915
|
+
|
1916
|
+
This option is useful when you wish to copy part of the code of
|
1917
|
+
the Library into a program that is not a library.
|
1918
|
+
|
1919
|
+
4. You may copy and distribute the Library (or a portion or
|
1920
|
+
derivative of it, under Section 2) in object code or executable form
|
1921
|
+
under the terms of Sections 1 and 2 above provided that you accompany
|
1922
|
+
it with the complete corresponding machine-readable source code, which
|
1923
|
+
must be distributed under the terms of Sections 1 and 2 above on a
|
1924
|
+
medium customarily used for software interchange.
|
1925
|
+
|
1926
|
+
If distribution of object code is made by offering access to copy
|
1927
|
+
from a designated place, then offering equivalent access to copy the
|
1928
|
+
source code from the same place satisfies the requirement to
|
1929
|
+
distribute the source code, even though third parties are not
|
1930
|
+
compelled to copy the source along with the object code.
|
1931
|
+
|
1932
|
+
5. A program that contains no derivative of any portion of the
|
1933
|
+
Library, but is designed to work with the Library by being compiled or
|
1934
|
+
linked with it, is called a "work that uses the Library". Such a
|
1935
|
+
work, in isolation, is not a derivative work of the Library, and
|
1936
|
+
therefore falls outside the scope of this License.
|
1937
|
+
|
1938
|
+
However, linking a "work that uses the Library" with the Library
|
1939
|
+
creates an executable that is a derivative of the Library (because it
|
1940
|
+
contains portions of the Library), rather than a "work that uses the
|
1941
|
+
library". The executable is therefore covered by this License.
|
1942
|
+
Section 6 states terms for distribution of such executables.
|
1943
|
+
|
1944
|
+
When a "work that uses the Library" uses material from a header file
|
1945
|
+
that is part of the Library, the object code for the work may be a
|
1946
|
+
derivative work of the Library even though the source code is not.
|
1947
|
+
Whether this is true is especially significant if the work can be
|
1948
|
+
linked without the Library, or if the work is itself a library. The
|
1949
|
+
threshold for this to be true is not precisely defined by law.
|
1950
|
+
|
1951
|
+
If such an object file uses only numerical parameters, data
|
1952
|
+
structure layouts and accessors, and small macros and small inline
|
1953
|
+
functions (ten lines or less in length), then the use of the object
|
1954
|
+
file is unrestricted, regardless of whether it is legally a derivative
|
1955
|
+
work. (Executables containing this object code plus portions of the
|
1956
|
+
Library will still fall under Section 6.)
|
1957
|
+
|
1958
|
+
Otherwise, if the work is a derivative of the Library, you may
|
1959
|
+
distribute the object code for the work under the terms of Section 6.
|
1960
|
+
Any executables containing that work also fall under Section 6,
|
1961
|
+
whether or not they are linked directly with the Library itself.
|
1962
|
+
|
1963
|
+
|
1964
|
+
6. As an exception to the Sections above, you may also combine or
|
1965
|
+
link a "work that uses the Library" with the Library to produce a
|
1966
|
+
work containing portions of the Library, and distribute that work
|
1967
|
+
under terms of your choice, provided that the terms permit
|
1968
|
+
modification of the work for the customer's own use and reverse
|
1969
|
+
engineering for debugging such modifications.
|
1970
|
+
|
1971
|
+
You must give prominent notice with each copy of the work that the
|
1972
|
+
Library is used in it and that the Library and its use are covered by
|
1973
|
+
this License. You must supply a copy of this License. If the work
|
1974
|
+
during execution displays copyright notices, you must include the
|
1975
|
+
copyright notice for the Library among them, as well as a reference
|
1976
|
+
directing the user to the copy of this License. Also, you must do one
|
1977
|
+
of these things:
|
1978
|
+
|
1979
|
+
a) Accompany the work with the complete corresponding
|
1980
|
+
machine-readable source code for the Library including whatever
|
1981
|
+
changes were used in the work (which must be distributed under
|
1982
|
+
Sections 1 and 2 above); and, if the work is an executable linked
|
1983
|
+
with the Library, with the complete machine-readable "work that
|
1984
|
+
uses the Library", as object code and/or source code, so that the
|
1985
|
+
user can modify the Library and then relink to produce a modified
|
1986
|
+
executable containing the modified Library. (It is understood
|
1987
|
+
that the user who changes the contents of definitions files in the
|
1988
|
+
Library will not necessarily be able to recompile the application
|
1989
|
+
to use the modified definitions.)
|
1990
|
+
|
1991
|
+
b) Use a suitable shared library mechanism for linking with the
|
1992
|
+
Library. A suitable mechanism is one that (1) uses at run time a
|
1993
|
+
copy of the library already present on the user's computer system,
|
1994
|
+
rather than copying library functions into the executable, and (2)
|
1995
|
+
will operate properly with a modified version of the library, if
|
1996
|
+
the user installs one, as long as the modified version is
|
1997
|
+
interface-compatible with the version that the work was made with.
|
1998
|
+
|
1999
|
+
c) Accompany the work with a written offer, valid for at
|
2000
|
+
least three years, to give the same user the materials
|
2001
|
+
specified in Subsection 6a, above, for a charge no more
|
2002
|
+
than the cost of performing this distribution.
|
2003
|
+
|
2004
|
+
d) If distribution of the work is made by offering access to copy
|
2005
|
+
from a designated place, offer equivalent access to copy the above
|
2006
|
+
specified materials from the same place.
|
2007
|
+
|
2008
|
+
e) Verify that the user has already received a copy of these
|
2009
|
+
materials or that you have already sent this user a copy.
|
2010
|
+
|
2011
|
+
For an executable, the required form of the "work that uses the
|
2012
|
+
Library" must include any data and utility programs needed for
|
2013
|
+
reproducing the executable from it. However, as a special exception,
|
2014
|
+
the materials to be distributed need not include anything that is
|
2015
|
+
normally distributed (in either source or binary form) with the major
|
2016
|
+
components (compiler, kernel, and so on) of the operating system on
|
2017
|
+
which the executable runs, unless that component itself accompanies
|
2018
|
+
the executable.
|
2019
|
+
|
2020
|
+
It may happen that this requirement contradicts the license
|
2021
|
+
restrictions of other proprietary libraries that do not normally
|
2022
|
+
accompany the operating system. Such a contradiction means you cannot
|
2023
|
+
use both them and the Library together in an executable that you
|
2024
|
+
distribute.
|
2025
|
+
|
2026
|
+
|
2027
|
+
7. You may place library facilities that are a work based on the
|
2028
|
+
Library side-by-side in a single library together with other library
|
2029
|
+
facilities not covered by this License, and distribute such a combined
|
2030
|
+
library, provided that the separate distribution of the work based on
|
2031
|
+
the Library and of the other library facilities is otherwise
|
2032
|
+
permitted, and provided that you do these two things:
|
2033
|
+
|
2034
|
+
a) Accompany the combined library with a copy of the same work
|
2035
|
+
based on the Library, uncombined with any other library
|
2036
|
+
facilities. This must be distributed under the terms of the
|
2037
|
+
Sections above.
|
2038
|
+
|
2039
|
+
b) Give prominent notice with the combined library of the fact
|
2040
|
+
that part of it is a work based on the Library, and explaining
|
2041
|
+
where to find the accompanying uncombined form of the same work.
|
2042
|
+
|
2043
|
+
8. You may not copy, modify, sublicense, link with, or distribute
|
2044
|
+
the Library except as expressly provided under this License. Any
|
2045
|
+
attempt otherwise to copy, modify, sublicense, link with, or
|
2046
|
+
distribute the Library is void, and will automatically terminate your
|
2047
|
+
rights under this License. However, parties who have received copies,
|
2048
|
+
or rights, from you under this License will not have their licenses
|
2049
|
+
terminated so long as such parties remain in full compliance.
|
2050
|
+
|
2051
|
+
9. You are not required to accept this License, since you have not
|
2052
|
+
signed it. However, nothing else grants you permission to modify or
|
2053
|
+
distribute the Library or its derivative works. These actions are
|
2054
|
+
prohibited by law if you do not accept this License. Therefore, by
|
2055
|
+
modifying or distributing the Library (or any work based on the
|
2056
|
+
Library), you indicate your acceptance of this License to do so, and
|
2057
|
+
all its terms and conditions for copying, distributing or modifying
|
2058
|
+
the Library or works based on it.
|
2059
|
+
|
2060
|
+
10. Each time you redistribute the Library (or any work based on the
|
2061
|
+
Library), the recipient automatically receives a license from the
|
2062
|
+
original licensor to copy, distribute, link with or modify the Library
|
2063
|
+
subject to these terms and conditions. You may not impose any further
|
2064
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
2065
|
+
You are not responsible for enforcing compliance by third parties with
|
2066
|
+
this License.
|
2067
|
+
|
2068
|
+
|
2069
|
+
11. If, as a consequence of a court judgment or allegation of patent
|
2070
|
+
infringement or for any other reason (not limited to patent issues),
|
2071
|
+
conditions are imposed on you (whether by court order, agreement or
|
2072
|
+
otherwise) that contradict the conditions of this License, they do not
|
2073
|
+
excuse you from the conditions of this License. If you cannot
|
2074
|
+
distribute so as to satisfy simultaneously your obligations under this
|
2075
|
+
License and any other pertinent obligations, then as a consequence you
|
2076
|
+
may not distribute the Library at all. For example, if a patent
|
2077
|
+
license would not permit royalty-free redistribution of the Library by
|
2078
|
+
all those who receive copies directly or indirectly through you, then
|
2079
|
+
the only way you could satisfy both it and this License would be to
|
2080
|
+
refrain entirely from distribution of the Library.
|
2081
|
+
|
2082
|
+
If any portion of this section is held invalid or unenforceable under any
|
2083
|
+
particular circumstance, the balance of the section is intended to apply,
|
2084
|
+
and the section as a whole is intended to apply in other circumstances.
|
2085
|
+
|
2086
|
+
It is not the purpose of this section to induce you to infringe any
|
2087
|
+
patents or other property right claims or to contest validity of any
|
2088
|
+
such claims; this section has the sole purpose of protecting the
|
2089
|
+
integrity of the free software distribution system which is
|
2090
|
+
implemented by public license practices. Many people have made
|
2091
|
+
generous contributions to the wide range of software distributed
|
2092
|
+
through that system in reliance on consistent application of that
|
2093
|
+
system; it is up to the author/donor to decide if he or she is willing
|
2094
|
+
to distribute software through any other system and a licensee cannot
|
2095
|
+
impose that choice.
|
2096
|
+
|
2097
|
+
This section is intended to make thoroughly clear what is believed to
|
2098
|
+
be a consequence of the rest of this License.
|
2099
|
+
|
2100
|
+
12. If the distribution and/or use of the Library is restricted in
|
2101
|
+
certain countries either by patents or by copyrighted interfaces, the
|
2102
|
+
original copyright holder who places the Library under this License may add
|
2103
|
+
an explicit geographical distribution limitation excluding those countries,
|
2104
|
+
so that distribution is permitted only in or among countries not thus
|
2105
|
+
excluded. In such case, this License incorporates the limitation as if
|
2106
|
+
written in the body of this License.
|
2107
|
+
|
2108
|
+
13. The Free Software Foundation may publish revised and/or new
|
2109
|
+
versions of the Lesser General Public License from time to time.
|
2110
|
+
Such new versions will be similar in spirit to the present version,
|
2111
|
+
but may differ in detail to address new problems or concerns.
|
2112
|
+
|
2113
|
+
Each version is given a distinguishing version number. If the Library
|
2114
|
+
specifies a version number of this License which applies to it and
|
2115
|
+
"any later version", you have the option of following the terms and
|
2116
|
+
conditions either of that version or of any later version published by
|
2117
|
+
the Free Software Foundation. If the Library does not specify a
|
2118
|
+
license version number, you may choose any version ever published by
|
2119
|
+
the Free Software Foundation.
|
2120
|
+
|
2121
|
+
|
2122
|
+
14. If you wish to incorporate parts of the Library into other free
|
2123
|
+
programs whose distribution conditions are incompatible with these,
|
2124
|
+
write to the author to ask for permission. For software which is
|
2125
|
+
copyrighted by the Free Software Foundation, write to the Free
|
2126
|
+
Software Foundation; we sometimes make exceptions for this. Our
|
2127
|
+
decision will be guided by the two goals of preserving the free status
|
2128
|
+
of all derivatives of our free software and of promoting the sharing
|
2129
|
+
and reuse of software generally.
|
2130
|
+
|
2131
|
+
NO WARRANTY
|
2132
|
+
|
2133
|
+
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
2134
|
+
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
2135
|
+
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
2136
|
+
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
2137
|
+
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
2138
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
2139
|
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
2140
|
+
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
2141
|
+
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
2142
|
+
|
2143
|
+
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
2144
|
+
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
2145
|
+
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
2146
|
+
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
2147
|
+
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
2148
|
+
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
2149
|
+
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
2150
|
+
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
2151
|
+
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
2152
|
+
DAMAGES.
|
2153
|
+
|
2154
|
+
END OF TERMS AND CONDITIONS
|
2155
|
+
|
2156
|
+
|
2157
|
+
How to Apply These Terms to Your New Libraries
|
2158
|
+
|
2159
|
+
If you develop a new library, and you want it to be of the greatest
|
2160
|
+
possible use to the public, we recommend making it free software that
|
2161
|
+
everyone can redistribute and change. You can do so by permitting
|
2162
|
+
redistribution under these terms (or, alternatively, under the terms of the
|
2163
|
+
ordinary General Public License).
|
2164
|
+
|
2165
|
+
To apply these terms, attach the following notices to the library. It is
|
2166
|
+
safest to attach them to the start of each source file to most effectively
|
2167
|
+
convey the exclusion of warranty; and each file should have at least the
|
2168
|
+
"copyright" line and a pointer to where the full notice is found.
|
2169
|
+
|
2170
|
+
<one line to give the library's name and a brief idea of what it does.>
|
2171
|
+
Copyright (C) <year> <name of author>
|
2172
|
+
|
2173
|
+
This library is free software; you can redistribute it and/or
|
2174
|
+
modify it under the terms of the GNU Lesser General Public
|
2175
|
+
License as published by the Free Software Foundation; either
|
2176
|
+
version 2.1 of the License, or (at your option) any later version.
|
2177
|
+
|
2178
|
+
This library is distributed in the hope that it will be useful,
|
2179
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2180
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2181
|
+
Lesser General Public License for more details.
|
2182
|
+
|
2183
|
+
You should have received a copy of the GNU Lesser General Public
|
2184
|
+
License along with this library; if not, write to the Free Software
|
2185
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2186
|
+
|
2187
|
+
Also add information on how to contact you by electronic and paper mail.
|
2188
|
+
|
2189
|
+
You should also get your employer (if you work as a programmer) or your
|
2190
|
+
school, if any, to sign a "copyright disclaimer" for the library, if
|
2191
|
+
necessary. Here is a sample; alter the names:
|
2192
|
+
|
2193
|
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
2194
|
+
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
2195
|
+
|
2196
|
+
<signature of Ty Coon>, 1 April 1990
|
2197
|
+
Ty Coon, President of Vice
|
2198
|
+
|
2199
|
+
That's all there is to it!
|
2200
|
+
|
2201
|
+
|
2202
|
+
|
2203
|
+
===========================================================================
|
2204
|
+
|
2205
|
+
|
2206
|
+
|
1
2207
|
Rhodes contains code from the following other projects:
|
2
2208
|
|
3
2209
|
Ruby language 1.9.1 (http://www.ruby-lang.org/)
|
@@ -36,3 +2242,12 @@ Rhodes contains code from the following other projects:
|
|
36
2242
|
zbar 0.10 (http://zbar.sourceforge.net/)
|
37
2243
|
License: GNU LGPL 2.1 (http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)
|
38
2244
|
|
2245
|
+
color (http://rubyforge.org/projects/color/)
|
2246
|
+
License: MIT-Style (http://color.rubyforge.org/svn/color/trunk/Licence.txt)
|
2247
|
+
|
2248
|
+
transaction-simple (http://rubyforge.org/projects/trans-simple/)
|
2249
|
+
License: MIT-Style (http://trans-simple.rubyforge.org/svn/transaction-simple/trunk/Licence.txt)
|
2250
|
+
|
2251
|
+
pdf-writer (http://ruby-pdf.rubyforge.org/pdf-writer/index.html)
|
2252
|
+
License: MIT-Style (http://ruby-pdf.rubyforge.org/pdf-writer/licence.html)
|
2253
|
+
|