pinboard-elinks

Check-in [d04a0af032]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge branch 'master' of github.com:atomicules/pinboard-elinks
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: d04a0af03250d87b3aa02063b23336cde8e199b57fd059a0e74528bac146f181
User & Date: base@atomicules.co.uk 2014-03-07 10:13:27
Context
2014-04-22
10:21
Add "starred" link to the top navigation menu check-in: 194e123f55 user: base@atomicules.co.uk tags: master, trunk
2014-03-07
10:13
Merge branch 'master' of github.com:atomicules/pinboard-elinks check-in: d04a0af032 user: base@atomicules.co.uk tags: master, trunk
10:12
Minor change - keybinding for read later

Realised it was conflicting with redrawing the elinks window. check-in: ce00796b89 user: base@atomicules.co.uk tags: master, trunk

2014-02-11
11:53
Add note about part of code not covered by license check-in: 720e4ef66c user: atomicules@users.noreply.github.com tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added LICENSE.















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Copyright (c) 2014, atomicules
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Changes to pinboard.lua.

93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
			getnextlines = getnextlines - 1
		end
	end
	return login,password
end


--The following taken from the contrib hooks.lua sample
function hx (c)
    return string.char((c >= 10 and (c - 10) + string.byte ('A')) or c + string.byte ('0'))
end

function char2hex (c)
    return '%'..hx (math.floor(string.byte (c) / 16))..hx (math.mod(string.byte (c), 16))
end

function escape (str)
    return string.gsub (str, "(%W)", char2hex)
end
--end stealing







|












93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
			getnextlines = getnextlines - 1
		end
	end
	return login,password
end


--The following taken from the contrib hooks.lua sample and so not covered by accompanying LICENSE
function hx (c)
    return string.char((c >= 10 and (c - 10) + string.byte ('A')) or c + string.byte ('0'))
end

function char2hex (c)
    return '%'..hx (math.floor(string.byte (c) / 16))..hx (math.mod(string.byte (c), 16))
end

function escape (str)
    return string.gsub (str, "(%W)", char2hex)
end
--end stealing