|
| 1 | +linenoise.cpp |
| 2 | +============= |
| 3 | + |
| 4 | +Copyright (c) 2010, Salvatore Sanfilippo <antirez at gmail dot com> |
| 5 | +Copyright (c) 2010, Pieter Noordhuis <pcnoordhuis at gmail dot com> |
| 6 | + |
| 7 | +All rights reserved. |
| 8 | + |
| 9 | +Redistribution and use in source and binary forms, with or without |
| 10 | +modification, are permitted provided that the following conditions are met: |
| 11 | + |
| 12 | + * Redistributions of source code must retain the above copyright notice, |
| 13 | + this list of conditions and the following disclaimer. |
| 14 | + * Redistributions in binary form must reproduce the above copyright |
| 15 | + notice, this list of conditions and the following disclaimer in the |
| 16 | + documentation and/or other materials provided with the distribution. |
| 17 | + * Neither the name of Redis nor the names of its contributors may be used |
| 18 | + to endorse or promote products derived from this software without |
| 19 | + specific prior written permission. |
| 20 | + |
| 21 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 22 | +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 23 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 24 | +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 25 | +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 26 | +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 27 | +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 28 | +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 29 | +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 30 | +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 31 | +POSSIBILITY OF SUCH DAMAGE. |
| 32 | + |
| 33 | + |
| 34 | +wcwidth.cpp |
| 35 | +=========== |
| 36 | + |
| 37 | +Markus Kuhn -- 2007-05-26 (Unicode 5.0) |
| 38 | + |
| 39 | +Permission to use, copy, modify, and distribute this software |
| 40 | +for any purpose and without fee is hereby granted. The author |
| 41 | +disclaims all warranties with regard to this software. |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +ConvertUTF.cpp |
| 46 | +============== |
| 47 | + |
| 48 | +Copyright 2001-2004 Unicode, Inc. |
| 49 | + |
| 50 | +Disclaimer |
| 51 | + |
| 52 | +This source code is provided as is by Unicode, Inc. No claims are |
| 53 | +made as to fitness for any particular purpose. No warranties of any |
| 54 | +kind are expressed or implied. The recipient agrees to determine |
| 55 | +applicability of information provided. If this file has been |
| 56 | +purchased on magnetic or optical media from Unicode, Inc., the |
| 57 | +sole remedy for any claim will be exchange of defective media |
| 58 | +within 90 days of receipt. |
| 59 | + |
| 60 | +Limitations on Rights to Redistribute This Code |
| 61 | + |
| 62 | +Unicode, Inc. hereby grants the right to freely use the information |
| 63 | +supplied in this file in the creation of products supporting the |
| 64 | +Unicode Standard, and to make copies of this file in any form |
| 65 | +for internal or external distribution as long as this notice |
| 66 | +remains attached. |
0 commit comments