Software /
code /
prosody
Annotate
COPYING @ 13134:638f627e707f
util.datamanager: Add O(1) list indexing with on-disk index
Index file contains offsets and lengths of each item() which allows
seeking directly to each item and reading it without parsing the entire
file.
Also allows tricks like binary search, assuming items have some defined
order.
We take advantage of the 1-based indexing in tables to store a magic
header in the 0 position, so that table index 1 ends up at file index 1.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 May 2021 02:09:56 +0200 |
parent | 12354:3ce3633527af |
rev | line source |
---|---|
12353
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
1 All source code in this project is released under the below MIT license. Some |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
2 components are not authored by the Prosody maintainers, but such code is |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
3 itself either released under a MIT license or declared public domain. |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
4 |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
5 --- |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
6 |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
7 Copyright (C) 2008-2022 Matthew Wild |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
8 Copyright (C) 2008-2020 Waqas Hussain |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
9 Copyright (C) 2010-2022 Kim Alvefur |
478 | 10 |
767
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
11 Permission is hereby granted, free of charge, to any person obtaining a copy |
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
12 of this software and associated documentation files (the "Software"), to deal |
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
13 in the Software without restriction, including without limitation the rights |
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
14 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
15 copies of the Software, and to permit persons to whom the Software is |
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
16 furnished to do so, subject to the following conditions: |
478 | 17 |
767
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
18 The above copyright notice and this permission notice shall be included in |
13ae298c67d7
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild <mwild1@gmail.com>
parents:
521
diff
changeset
|
19 all copies or substantial portions of the Software. |
478 | 20 |
4304
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
21 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
22 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
23 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
24 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
25 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
26 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
73bf8aab8b77
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain <waqas20@gmail.com>
parents:
4303
diff
changeset
|
27 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
12353
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
28 |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
29 --- |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
30 |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
31 util-src/encodings.c: |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
32 Parts included from Lua 5.3. Copyright (C) 1994-2015 Lua.org, PUC-Rio. |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
33 |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
34 util-src/signal.c: |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
35 Copyright (C) 2007 Patrick J. Donnelly (batrick@batbytes.com) |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
36 See full copyright notice in the source file. |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
37 |
12354
3ce3633527af
util.struct: Import Roberto 'struct' library v0.3
Matthew Wild <mwild1@gmail.com>
parents:
12353
diff
changeset
|
38 util-src/struct.c: |
3ce3633527af
util.struct: Import Roberto 'struct' library v0.3
Matthew Wild <mwild1@gmail.com>
parents:
12353
diff
changeset
|
39 Copyright (C) 2010-2018 Lua.org, PUC-Rio. All rights reserved. |
3ce3633527af
util.struct: Import Roberto 'struct' library v0.3
Matthew Wild <mwild1@gmail.com>
parents:
12353
diff
changeset
|
40 See full copyright notice in the source file. |
3ce3633527af
util.struct: Import Roberto 'struct' library v0.3
Matthew Wild <mwild1@gmail.com>
parents:
12353
diff
changeset
|
41 |
12353
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
42 net/dns.lua: |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
43 public domain 20080404 lua@ztact.com |
5ace23519e71
COPYING: An overdue update. Also add some clarity about third-party code.
Matthew Wild <mwild1@gmail.com>
parents:
4304
diff
changeset
|
44 |