commit
stringlengths
40
40
old_file
stringlengths
6
181
new_file
stringlengths
6
181
old_contents
stringlengths
448
7.17k
new_contents
stringlengths
449
7.17k
subject
stringlengths
0
450
message
stringlengths
6
4.92k
lang
stringclasses
1 value
license
stringclasses
12 values
repos
stringlengths
9
33.9k
be6998376ec61b953fbb38b6eeceb7458752bb17
mod_auth_dovecot/mod_auth_dovecot.lua
mod_auth_dovecot/mod_auth_dovecot.lua
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2010 Javier Torres -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- local socket_unix = require "socket.unix"; local datamanager = require "util.datamanager"; local log = require "util.logger".init("auth_dovecot"); loc...
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2010 Javier Torres -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- local socket_unix = require "socket.unix"; local datamanager = require "util.datamanager"; local usermanager = require "core.usermanager"; local log =...
mod_auth_dovecot: Fix various global variable sets/gets, log levels, unclear variable names and change coding style to match more closely the rest of the Prosody code.
mod_auth_dovecot: Fix various global variable sets/gets, log levels, unclear variable names and change coding style to match more closely the rest of the Prosody code.
Lua
mit
joewalker/prosody-modules,BurmistrovJ/prosody-modules,either1/prosody-modules,apung/prosody-modules,BurmistrovJ/prosody-modules,joewalker/prosody-modules,drdownload/prosody-modules,guilhem/prosody-modules,iamliqiang/prosody-modules,vfedoroff/prosody-modules,syntafin/prosody-modules,jkprg/prosody-modules,cryptotoad/pros...
a885f48771898dd43280f96fa92f061ffe57679b
mod_post_msg/mod_post_msg.lua
mod_post_msg/mod_post_msg.lua
module:depends"http" local jid_split = require "util.jid".split; local jid_prep = require "util.jid".prep; local msg = require "util.stanza".message; local test_password = require "core.usermanager".test_password; local b64_decode = require "util.encodings".base64.decode; local formdecode = require "net.http".formdeco...
module:depends"http" local jid_split = require "util.jid".split; local jid_prep = require "util.jid".prep; local msg = require "util.stanza".message; local test_password = require "core.usermanager".test_password; local b64_decode = require "util.encodings".base64.decode; local formdecode = require "net.http".formdeco...
mod_post_msg: Fix indentation
mod_post_msg: Fix indentation
Lua
mit
mmusial/prosody-modules,vfedoroff/prosody-modules,LanceJenkinZA/prosody-modules,either1/prosody-modules,drdownload/prosody-modules,apung/prosody-modules,dhotson/prosody-modules,cryptotoad/prosody-modules,mardraze/prosody-modules,NSAKEY/prosody-modules,softer/prosody-modules,LanceJenkinZA/prosody-modules,BurmistrovJ/pro...
4ba5656d7b599d1c442a8d6d9990d6caee1fb4e2
src/actions/vstudio/vs2013.lua
src/actions/vstudio/vs2013.lua
-- -- vs2013.lua -- Baseline support for Visual Studio 2013. -- Copyright (c) 2013 Jason Perkins and the Premake project -- --- -- Register a command-line action for Visual Studio 2012. --- newaction { trigger = "vs2013", shortname = "Visual Studio 2013", description = "Generate Microsoft V...
-- -- vs2013.lua -- Baseline support for Visual Studio 2013. -- Copyright (c) 2013 Jason Perkins and the Premake project -- premake.vstudio.vc2013 = {} local vc2013 = premake.vstudio.vc2013 local vstudio = premake.vstudio --- -- Register a command-line action for Visual Studio 2013. --- newaction { trigger...
Fix vs2013 action.
Fix vs2013 action.
Lua
bsd-3-clause
premake/premake-4.x,ryanjmulder/premake-4.x,premake/premake-4.x,lizh06/premake-4.x,premake/premake-4.x,lizh06/premake-4.x,lizh06/premake-4.x,premake/premake-4.x,lizh06/premake-4.x,ryanjmulder/premake-4.x,ryanjmulder/premake-4.x,ryanjmulder/premake-4.x
aa33acbb1e7d3ef308714cec585fc6a86bae0184
vrp/modules/basic_skinshop.lua
vrp/modules/basic_skinshop.lua
-- a basic skinshop implementation local cfg = require("resources/vrp/cfg/skinshops") local skinshops = cfg.skinshops -- open the skin shop for the specified ped parts -- name = partid function vRP.openSkinshop(source,parts) local user_id = vRP.getUserId(source) if user_id ~= nil then local menudata = { ...
-- a basic skinshop implementation local cfg = require("resources/vrp/cfg/skinshops") local skinshops = cfg.skinshops -- open the skin shop for the specified ped parts -- name = partid function vRP.openSkinshop(source,parts) local user_id = vRP.getUserId(source) if user_id ~= nil then -- get old customization...
Fix basic skinshop issue
Fix basic skinshop issue
Lua
mit
ImagicTheCat/vRP,ENDrain/vRP-plusplus,ImagicTheCat/vRP,ENDrain/vRP-plusplus,ENDrain/vRP-plusplus
421e3ad56b8489b422cfab7844f53f3cc8077bff
lua/weapons/gmod_tool/stools/starfall.lua
lua/weapons/gmod_tool/stools/starfall.lua
TOOL.Category = "Starfall" TOOL.Name = "Starfall" TOOL.Command = nil TOOL.ConfigName = "" TOOL.Tab = "Wire" if CLIENT then language.Add( "Tool_starfall_name", "Starfall Tool (Wire)" ) language.Add( "Tool_starfall_desc", "Spawns a starfall processor" ) language.Add( "Tool_starfall_0", "Prima...
TOOL.Category = "Starfall" TOOL.Name = "Starfall" TOOL.Command = nil TOOL.ConfigName = "" TOOL.Tab = "Wire" if CLIENT then language.Add( "Tool_starfall_name", "Starfall Tool (Wire)" ) language.Add( "Tool_starfall_desc", "Spawns a starfall processor" ) language.Add( "Tool_starfall_0", "Prima...
[SF] Fixed not being able to spawn the processor in multiplayer
[SF] Fixed not being able to spawn the processor in multiplayer
Lua
bsd-3-clause
Ingenious-Gaming/Starfall,Xandaros/Starfall,Xandaros/Starfall,Ingenious-Gaming/Starfall,INPStarfall/Starfall,Jazzelhawk/Starfall,INPStarfall/Starfall,Jazzelhawk/Starfall
21f375186d53ace9bba5e42e9be0c9ec75cebcf3
mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua
mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua
-- Copyright (C) 2009 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st, jid, uuid = require "util.stanza", require "util.jid", require "util.uuid"; local dataforms_new = require "util.dataforms".new; local usermanager_user_exists...
-- Copyright (C) 2009 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st, jid, uuid = require "util.stanza", require "util.jid", require "util.uuid"; local dataforms_new = require "util.dataforms".new; local usermanager_user_exists...
mod_adhoc_cmd_admin: Fixed style, some typos, and got down to <100LOC. Perhaps we need util.adhoc?
mod_adhoc_cmd_admin: Fixed style, some typos, and got down to <100LOC. Perhaps we need util.adhoc?
Lua
mit
NSAKEY/prosody-modules,jkprg/prosody-modules,vfedoroff/prosody-modules,BurmistrovJ/prosody-modules,vince06fr/prosody-modules,either1/prosody-modules,joewalker/prosody-modules,asdofindia/prosody-modules,prosody-modules/import,olax/prosody-modules,guilhem/prosody-modules,vince06fr/prosody-modules,BurmistrovJ/prosody-modu...
52cdfcc60f2b2c5dd0491227cee42073570212b3
lua/starfall/preprocessor.lua
lua/starfall/preprocessor.lua
------------------------------------------------------------------------------- -- SF Preprocessor. -- Processes code for compile time directives. -- @author Colonel Thirty Two ------------------------------------------------------------------------------- -- TODO: Make an @include-only parser SF.Preprocessor = {} SF...
------------------------------------------------------------------------------- -- SF Preprocessor. -- Processes code for compile time directives. -- @author Colonel Thirty Two ------------------------------------------------------------------------------- -- TODO: Make an @include-only parser SF.Preprocessor = {} SF...
Preprocessor FindComments fix and multiline strings support
Preprocessor FindComments fix and multiline strings support
Lua
bsd-3-clause
Xandaros/Starfall,INPStarfall/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,Jazzelhawk/Starfall,Ingenious-Gaming/Starfall,INPStarfall/Starfall
78b89e8f8235d804ff29b45a1ec3794fa863e536
OvaleActionBar.lua
OvaleActionBar.lua
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2012 Sidoine Copyright (C) 2012, 2013, 2014 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in th...
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2012 Sidoine Copyright (C) 2012, 2013, 2014 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in th...
Fix ticket 352 - Improve showing of keybindings.
Fix ticket 352 - Improve showing of keybindings. Update keybindings shown on the icon based on stance. Also update keybindings for spell/item shown in a macro based on what will be cast if it is used. Original diff by @chipzzke with extension to macro items by @jlam. git-svn-id: b2bb544abab4b09d60f88077ac82407cb244...
Lua
mit
eXhausted/Ovale,ultijlam/ovale,eXhausted/Ovale,Xeltor/ovale,ultijlam/ovale,eXhausted/Ovale,ultijlam/ovale
6a2bb359fdb3bb6a2a2545f46d70e83d608ca49b
applications/luci-splash/luasrc/controller/splash/splash.lua
applications/luci-splash/luasrc/controller/splash/splash.lua
module("luci.controller.splash.splash", package.seeall) function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), "Client-Splash") node("splash").target = call("action_dispatch") node("splash", "activate").target = call("action_activate") node("splash", "splash").target = template("splash_sp...
module("luci.controller.splash.splash", package.seeall) function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), "Client-Splash") node("splash").target = call("action_dispatch") node("splash", "activate").target = call("action_activate") node("splash", "splash").target = template("splash_sp...
applications/luci-splash: properly fix mac address detection in mixed IPv4/IPv6 environments (thanks stargieg)
applications/luci-splash: properly fix mac address detection in mixed IPv4/IPv6 environments (thanks stargieg)
Lua
apache-2.0
LuttyYang/luci,nmav/luci,palmettos/test,cshore/luci,nwf/openwrt-luci,keyidadi/luci,oyido/luci,db260179/openwrt-bpi-r1-luci,zhaoxx063/luci,maxrio/luci981213,aa65535/luci,david-xiao/luci,oneru/luci,dismantl/luci-0.12,mumuqz/luci,shangjiyu/luci-with-extra,MinFu/luci,aa65535/luci,ReclaimYourPrivacy/cloak-luci,palmettos/tes...
4f54218546108cc9558c191d1b1bde5f9f91a757
applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
applications/luci-firewall: fix turning off nat reflection
applications/luci-firewall: fix turning off nat reflection git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@7338 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ReclaimYourPrivacy/cloak-luci,eugenesan/openwrt-luci,projectbismark/luci-bismark,freifunk-gluon/luci,Canaan-Creative/luci,eugenesan/openwrt-luci,projectbismark/luci-bismark,zwhfly/openwrt-luci,yeewang/openwrt-luci,8devices/carambola2-luci,Canaan-Creative/luci,freifunk-gluon/luci,zwhfly/openwrt-luci,stephank/luci,jschmi...
872d5d6c20a9e25990fb658e04583d8124cb0633
protocols/6x4/luasrc/model/network/proto_6x4.lua
protocols/6x4/luasrc/model/network/proto_6x4.lua
--[[ LuCI - Network model - 6to4 & 6in4 protocol extension Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE...
--[[ LuCI - Network model - 6to4 & 6in4 protocol extension Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE...
protocols/6x4: fix install state detection with netifd
protocols/6x4: fix install state detection with netifd git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@8656 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
jschmidlapp/luci,ch3n2k/luci,Flexibity/luci,ch3n2k/luci,saraedum/luci-packages-old,vhpham80/luci,8devices/carambola2-luci,phi-psi/luci,phi-psi/luci,Flexibity/luci,jschmidlapp/luci,Flexibity/luci,jschmidlapp/luci,zwhfly/openwrt-luci,ReclaimYourPrivacy/cloak-luci,ReclaimYourPrivacy/cloak-luci,Flexibity/luci,vhpham80/luci...
55d710904266ebbb8f98f44dda8bc23211e351e8
plugins/terminal.koplugin/main.lua
plugins/terminal.koplugin/main.lua
local DataStorage = require("datastorage") local Font = require("ui/font") local InfoMessage = require("ui/widget/infomessage") local InputDialog = require("ui/widget/inputdialog") local UIManager = require("ui/uimanager") local WidgetContainer = require("ui/widget/container/widgetcontainer") local logger = require("lo...
local DataStorage = require("datastorage") local Font = require("ui/font") local InfoMessage = require("ui/widget/infomessage") local InputDialog = require("ui/widget/inputdialog") local TextViewer = require("ui/widget/textviewer") local Trapper = require("ui/trapper") local UIManager = require("ui/uimanager") local Wi...
Terminal plugin: a few tweaks (#5985)
Terminal plugin: a few tweaks (#5985) - Show output in a TextViewer with a monospace font. - Include stderr, so errors are shown - Use Trapper to allow interrupting command (and to fix some refresh issues)
Lua
agpl-3.0
Frenzie/koreader,Hzj-jie/koreader,Frenzie/koreader,mihailim/koreader,NiLuJe/koreader,NiLuJe/koreader,mwoz123/koreader,Markismus/koreader,poire-z/koreader,poire-z/koreader,pazos/koreader,koreader/koreader,koreader/koreader
9d8d3180801fc00940e5d75eda42f395846429a3
mod_blocking/mod_blocking.lua
mod_blocking/mod_blocking.lua
module:add_feature("urn:xmpp:blocking"); -- Add JID to default privacy list function add_blocked_jid(username, host, jid) local privacy_lists = datamanager.load(username, host, "privacy") or {}; local default_list_name = privacy_lists.default; if not default_list_name then default_list_name = "blocklist"; priva...
module:add_feature("urn:xmpp:blocking"); -- Add JID to default privacy list function add_blocked_jid(username, host, jid) local privacy_lists = datamanager.load(username, host, "privacy") or {}; local default_list_name = privacy_lists.default; if not default_list_name then default_list_name = "blocklist"; priva...
mod_blocking: Support for the "unblock all JIDs" case, and fix saving of rules after removing a JID
mod_blocking: Support for the "unblock all JIDs" case, and fix saving of rules after removing a JID
Lua
mit
olax/prosody-modules,mardraze/prosody-modules,dhotson/prosody-modules,vfedoroff/prosody-modules,Craige/prosody-modules,olax/prosody-modules,mmusial/prosody-modules,LanceJenkinZA/prosody-modules,either1/prosody-modules,apung/prosody-modules,cryptotoad/prosody-modules,NSAKEY/prosody-modules,apung/prosody-modules,vince06f...
557dcec842d99b1f89cb2ecba6c35873a366aa83
modules/http/http.lua
modules/http/http.lua
module("http", package.seeall) local function str(char) return string.char(char) end local function getchar(stream) local char while true do char = stream:getchar() if char == -1 then coroutine.yield() else break end end return char end local function read_line(stream) local line = "" local ch...
module("http", package.seeall) local str = string.char local function getchar(stream) local char while true do char = stream:getchar() if char == -1 then coroutine.yield() else break end end return char end local function read_line(stream) local line = "" local char, c local read = 0 while t...
Minor fix/optimisations to http.lua
Minor fix/optimisations to http.lua
Lua
mpl-2.0
lcheylus/haka,Wingless-Archangel/haka,Wingless-Archangel/haka,haka-security/haka,haka-security/haka,LubyRuffy/haka,nabilbendafi/haka,LubyRuffy/haka,nabilbendafi/haka,lcheylus/haka,nabilbendafi/haka,lcheylus/haka,haka-security/haka
7b6a3f3cb2236fa651156bae3c1e2f10aa692a07
frontend/ui/widget/timewidget.lua
frontend/ui/widget/timewidget.lua
local Blitbuffer = require("ffi/blitbuffer") local ButtonTable = require("ui/widget/buttontable") local CenterContainer = require("ui/widget/container/centercontainer") local CloseButton = require("ui/widget/closebutton") local Device = require("device") local FrameContainer = require("ui/widget/container/framecontaine...
local Blitbuffer = require("ffi/blitbuffer") local ButtonTable = require("ui/widget/buttontable") local CenterContainer = require("ui/widget/container/centercontainer") local CloseButton = require("ui/widget/closebutton") local Device = require("device") local FrameContainer = require("ui/widget/container/framecontaine...
[fix] Handle max_width in time widget (#5540)
[fix] Handle max_width in time widget (#5540) Set max_width like in #5503
Lua
agpl-3.0
Markismus/koreader,poire-z/koreader,poire-z/koreader,Frenzie/koreader,koreader/koreader,NiLuJe/koreader,Hzj-jie/koreader,mihailim/koreader,NiLuJe/koreader,Frenzie/koreader,pazos/koreader,mwoz123/koreader,koreader/koreader
9a7579c3cecfe653184b7ba55bbedc084c67ae50
tests/actions/codelite/codelite_files.lua
tests/actions/codelite/codelite_files.lua
-- -- tests/actions/codelite/codelite_files.lua -- Validate generation of files block in CodeLite C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.codelite_files = { } local suite = T.codelite_files local codelite = premake.codelite -- -- Setup -- local sln, prj function suit...
-- -- tests/actions/codelite/codelite_files.lua -- Validate generation of files block in CodeLite C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.codelite_files = { } local suite = T.codelite_files local codelite = premake.codelite -- -- Setup -- local sln, prj function suite....
Fix CodeLite file tests
Fix CodeLite file tests
Lua
bsd-3-clause
ryanjmulder/premake-4.x,lizh06/premake-4.x,premake/premake-4.x,soundsrc/premake-stable,soundsrc/premake-stable,soundsrc/premake-stable,lizh06/premake-4.x,ryanjmulder/premake-4.x,lizh06/premake-4.x,premake/premake-4.x,ryanjmulder/premake-4.x,premake/premake-4.x,soundsrc/premake-stable,ryanjmulder/premake-4.x,premake/pre...
a490d64b387d876c15f45caeee41b2ffbf00cdea
orange/utils/extractor.lua
orange/utils/extractor.lua
local type = type local ipairs = ipairs local pairs = pairs local string_find = string.find local string_lower = string.lower local table_insert = table.insert local ngx_re_find = ngx.re.find local ngx_re_match = ngx.re.match local function extract_variable(extraction) if not extraction or not extraction.type then...
local type = type local ipairs = ipairs local pairs = pairs local string_find = string.find local string_lower = string.lower local table_insert = table.insert local ngx_re_find = ngx.re.find local ngx_re_match = ngx.re.match local function extract_variable(extraction) if not extraction or not extraction.type then...
fixbug: nil uri when parsing uri/url template
fixbug: nil uri when parsing uri/url template
Lua
mit
jxskiss/orange,jxskiss/orange,sumory/orange,thisverygoodhhhh/orange,sumory/orange,thisverygoodhhhh/orange,thisverygoodhhhh/orange,wuhuatianbao007/orange,wuhuatianbao007/orange,jxskiss/orange,sumory/orange,wuhuatianbao007/orange
af60fb015e5ba915e93733e5154b326cbcc9ca36
OvaleQueue.lua
OvaleQueue.lua
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2013 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in the LICENSE file accompanying this program. --]...
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2013 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in the LICENSE file accompanying this program. --]...
Add new queue method :At() to return the queue element at the given index.
Add new queue method :At() to return the queue element at the given index. Also, tweak the internal indices so that in the best case usage, the queue simply uses array table size for the queued elements. Lastly, fix the documentation since queue = FIFO and stack = LIFO. git-svn-id: b2bb544abab4b09d60f88077ac82407cb2...
Lua
mit
eXhausted/Ovale,eXhausted/Ovale,Xeltor/ovale,ultijlam/ovale,ultijlam/ovale,ultijlam/ovale,eXhausted/Ovale
6a1cdca34518fac1ca4ee2f77dad6ff60062bda5
modules/luci-mod-rpc/luasrc/controller/rpc.lua
modules/luci-mod-rpc/luasrc/controller/rpc.lua
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local require = require local pairs = pairs local print = print local pcall = pcall local table = table local type = type local tonumber = tonumber module "lu...
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.rpc", package.seeall) function index() local function session_retrieve(sid, allowed_users) local util = require "luci.util" loca...
luci-mod-rpc: fix authentication via query string parameter
luci-mod-rpc: fix authentication via query string parameter Localize the `authenticatior()` and `session_retrieve()` functions into the `index()` function scope so that they're retained when extracting the function into the dispatcher bytecode cache. Also allow access to the global scope since upvalues do not work re...
Lua
apache-2.0
tobiaswaldvogel/luci,artynet/luci,kuoruan/lede-luci,remakeelectric/luci,rogerpueyo/luci,Noltari/luci,hnyman/luci,wongsyrone/luci-1,nmav/luci,rogerpueyo/luci,rogerpueyo/luci,artynet/luci,kuoruan/lede-luci,hnyman/luci,hnyman/luci,openwrt-es/openwrt-luci,wongsyrone/luci-1,nmav/luci,lbthomsen/openwrt-luci,tobiaswaldvogel/l...
24fd3c7b3b3003d44bee3c237604fa0fb3735912
libs/uci/luasrc/model/uci/bind.lua
libs/uci/luasrc/model/uci/bind.lua
--[[ LuCI - UCI utilities for model classes Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
--[[ LuCI - UCI utilities for model classes Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
libs/uci: optimize get & set performance in luci.model.uci.bind, fix ambiguous case in uciop()
libs/uci: optimize get & set performance in luci.model.uci.bind, fix ambiguous case in uciop() git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5378 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
zwhfly/openwrt-luci,ReclaimYourPrivacy/cloak-luci,ThingMesh/openwrt-luci,Flexibity/luci,zwhfly/openwrt-luci,stephank/luci,8devices/carambola2-luci,stephank/luci,vhpham80/luci,projectbismark/luci-bismark,projectbismark/luci-bismark,vhpham80/luci,ch3n2k/luci,zwhfly/openwrt-luci,ReclaimYourPrivacy/cloak-luci,eugenesan/ope...
3144e77d013c344471e26cf58d3c7262b951a11a
kong/core/globalpatches.lua
kong/core/globalpatches.lua
local meta = require "kong.meta" local randomseed = math.randomseed _G._KONG = { _NAME = meta._NAME, _VERSION = meta._VERSION } local seed --- Seeds the random generator, use with care. -- The uuid.seed() method will create a unique seed per worker -- process, using a combination of both time and the worker's pi...
local meta = require "kong.meta" local randomseed = math.randomseed _G._KONG = { _NAME = meta._NAME, _VERSION = meta._VERSION } local seed --- Seeds the random generator, use with care. -- The uuid.seed() method will create a unique seed per worker -- process, using a combination of both time and the worker's pi...
fix(globalpatches) randomseed throws error when seeded in wrong context
fix(globalpatches) randomseed throws error when seeded in wrong context
Lua
apache-2.0
akh00/kong,li-wl/kong,salazar/kong,Kong/kong,ccyphers/kong,Kong/kong,jebenexer/kong,icyxp/kong,beauli/kong,shiprabehera/kong,jerizm/kong,Kong/kong,Vermeille/kong,Mashape/kong
2d290a3f376997dad424b06e394ffc5d0a7b5d49
scripts/ovale_demonhunter_spells.lua
scripts/ovale_demonhunter_spells.lua
local OVALE, Ovale = ... local OvaleScripts = Ovale.OvaleScripts do local name = "ovale_demonhunter_spells" local desc = "[7.0] Ovale: DemonHunter spells" local code = [[ Define(annihilation 201427) SpellInfo(annihilation fury=40) Define(blade_dance 188499) SpellInfo(blade_dance replace death_sweep=buff,metamorp...
local OVALE, Ovale = ... local OvaleScripts = Ovale.OvaleScripts do local name = "ovale_demonhunter_spells" local desc = "[7.0] Ovale: DemonHunter spells" local code = [[ Define(annihilation 201427) SpellInfo(annihilation fury=40) Define(blade_dance 188499) SpellInfo(blade_dance replace death_sweep=buff,metamorp...
various fixes in definitions
various fixes in definitions
Lua
mit
ultijlam/ovale,ultijlam/ovale,Xeltor/ovale,ultijlam/ovale
9c82238a96947173e9a147d3d1aaf80e275f9d83
kong/cmd/utils/serf_signals.lua
kong/cmd/utils/serf_signals.lua
-- Enhanced implementation of previous "services.serf.lua" module, -- no change in actual logic, only decoupled from the events features -- which now live in kong.serf local pl_stringx = require "pl.stringx" local pl_utils = require "pl.utils" local pl_file = require "pl.file" local Serf = require "kong.serf" local ki...
-- Enhanced implementation of previous "services.serf.lua" module, -- no change in actual logic, only decoupled from the events features -- which now live in kong.serf local pl_stringx = require "pl.stringx" local pl_utils = require "pl.utils" local pl_file = require "pl.file" local Serf = require "kong.serf" local ki...
fix(cli) consistent logging output in serf path search
fix(cli) consistent logging output in serf path search
Lua
apache-2.0
Kong/kong,ccyphers/kong,shiprabehera/kong,Kong/kong,li-wl/kong,akh00/kong,Kong/kong,jebenexer/kong,salazar/kong,icyxp/kong,Mashape/kong
6c5a095967ca0dd1b937cd0f5743d65800e79cd9
premake.lua
premake.lua
-- TODO: Because there is plenty ... -- 1. What about other IDE's that Premake supports? e.g. codeblocks, xcode -- 2. x86/x64 switching -- 3. get macosx library for zlib -- 4. actually test linux/mac build configurations -- 5. clean this file up because I'm sure it could be organized better -- -- NOTE: I...
-- TODO: Because there is plenty ... -- 1. What about other IDE's that Premake supports? e.g. codeblocks, xcode -- 2. x86/x64 switching -- 3. get macosx library for zlib -- 4. actually test linux/mac build configurations -- 5. clean this file up because I'm sure it could be organized better -- -- NOTE: I...
fix a bunch of incorrect things I wrote in the premake script for Mac builds
fix a bunch of incorrect things I wrote in the premake script for Mac builds
Lua
apache-2.0
iichenbf/fbx-conv,reduz/fbx-conv,iichenbf/fbx-conv,lvlonggame/fbx-conv,davidedmonds/fbx-conv,reduz/fbx-conv,arisecbf/fbx-conv,arisecbf/fbx-conv,xoppa/fbx-conv,lvlonggame/fbx-conv,xoppa/fbx-conv,iichenbf/fbx-conv,xoppa/fbx-conv,cocos2d-x/fbx-conv,lvlonggame/fbx-conv,andyvand/fbx-conv,davidedmonds/fbx-conv,reduz/fbx-conv...
82d18183116b43699e978c081206163105d73737
share/lua/website/soundcloud.lua
share/lua/website/soundcloud.lua
-- libquvi-scripts -- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free S...
-- libquvi-scripts -- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free S...
FIX: soundcloud.lua: Multi-byte char handling
FIX: soundcloud.lua: Multi-byte char handling The previous code only worked for unicode escaped characters that didn't contain any characters on the range a-f as we matched with %d. Furthermore, we didn't handle values >= 256 when unescaping them. This is now fixed using the helper code from: http://luaparse.luaforge....
Lua
lgpl-2.1
hadess/libquvi-scripts-iplayer,alech/libquvi-scripts,DangerCove/libquvi-scripts,DangerCove/libquvi-scripts,legatvs/libquvi-scripts,legatvs/libquvi-scripts,hadess/libquvi-scripts-iplayer,alech/libquvi-scripts
b7c182165fa8d2805d24e32105519190e1836cfb
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.df", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) return { title = "%H: Disk space usage on %di", vlabel = "Byte...
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.df", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) return { title = "%H: Disk space usage on %di", vlabel = "Byte...
luci-app-statistics: Fix disk usage graphing
luci-app-statistics: Fix disk usage graphing Disk usage graphing was broken. This fixes it. Signed-off-by: Daniel Dickinson <9b934cf284d9b196f48b43876d3e01912797242c@daniel.thecshore.com> (cherry picked from commit 6d2163eb622a6f4da43b6ecc8379a1fc891b5b0b)
Lua
apache-2.0
Sakura-Winkey/LuCI,db260179/openwrt-bpi-r1-luci,db260179/openwrt-bpi-r1-luci,RuiChen1113/luci,db260179/openwrt-bpi-r1-luci,Sakura-Winkey/LuCI,Sakura-Winkey/LuCI,RuiChen1113/luci,Sakura-Winkey/LuCI,Sakura-Winkey/LuCI,Sakura-Winkey/LuCI,RuiChen1113/luci,db260179/openwrt-bpi-r1-luci,db260179/openwrt-bpi-r1-luci,RuiChen111...
989723b2c1d8854e279898f25d83d783c3534b73
share/lua/sd/appletrailers.lua
share/lua/sd/appletrailers.lua
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Ilkka Ollakka <ileoo at videolan dot org > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at yo...
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Ilkka Ollakka <ileoo at videolan dot org > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at yo...
appletrailers sd: fix parsing
appletrailers sd: fix parsing Fix parsing to get trailertype. Should help to view all the trailers now.
Lua
lgpl-2.1
krichter722/vlc,vlc-mirror/vlc-2.1,krichter722/vlc,vlc-mirror/vlc,krichter722/vlc,jomanmuk/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc-2.1,krichter722/vlc,xkfz007/vlc,xkfz007/vlc,jomanmuk/vlc-2.1,shyamalschandra/vlc,jomanmuk/vlc-2.1,jomanmuk/vlc-2.2,vlc-mirror/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.2,shyamalschandra/vlc,jomanmuk/vlc...
f492d291ebacbd043e1f520974e9137df77c594b
modules/game_cooldown/cooldown.lua
modules/game_cooldown/cooldown.lua
cooldownWindow = nil cooldownButton = nil contentsPanel = nil spellCooldownPanel = nil function init() connect(g_game, { onGameStart = online, onGameEnd = offline, onSpellGroupCooldown = onSpellGroupCooldown, onSpellCooldown = onSpellCooldown }) cooldown...
local ProgressCallback = { update = 1, finish = 2 } cooldownWindow = nil cooldownButton = nil contentsPanel = nil spellCooldownPanel = nil function init() connect(g_game, { onGameStart = online, onSpellGroupCooldown = onSpellGroupCooldown, onSpellCooldown = onSpellCooldow...
More fixes to spell cooldown module: * Fixed duration issues. * Fixed referencing after destroyed issue. * Using callbacks for progress rect now.
More fixes to spell cooldown module: * Fixed duration issues. * Fixed referencing after destroyed issue. * Using callbacks for progress rect now.
Lua
mit
dreamsxin/otclient,Radseq/otclient,Cavitt/otclient_mapgen,gpedro/otclient,Radseq/otclient,Cavitt/otclient_mapgen,EvilHero90/otclient,gpedro/otclient,kwketh/otclient,EvilHero90/otclient,kwketh/otclient,dreamsxin/otclient,gpedro/otclient,dreamsxin/otclient
1b210126778c4c92b1026657e6b69508dac7f5cf
spec/integration/proxy/realip_spec.lua
spec/integration/proxy/realip_spec.lua
local spec_helper = require "spec.spec_helpers" local http_client = require "kong.tools.http_client" local stringy = require "stringy" local cjson = require "cjson" local yaml = require "yaml" local uuid = require "uuid" local IO = require "kong.tools.io" -- This is important to seed the UUID generator uuid.seed() lo...
local spec_helper = require "spec.spec_helpers" local http_client = require "kong.tools.http_client" local stringy = require "stringy" local cjson = require "cjson" local yaml = require "yaml" local uuid = require "uuid" local IO = require "kong.tools.io" -- This is important to seed the UUID generator uuid.seed() lo...
fix(tests) using the local nginx_tmp directory
fix(tests) using the local nginx_tmp directory
Lua
apache-2.0
peterayeni/kong,chourobin/kong,wakermahmud/kong,skynet/kong,vmercierfr/kong,puug/kong,Skyscanner/kong,sbuettner/kong,ChristopherBiscardi/kong,bbalu/kong,AnsonSmith/kong,paritoshmmmec/kong
4437c46825b34ced12a5e6babd4d681067c79db1
lua_modules/ds3231/ds3231.lua
lua_modules/ds3231/ds3231.lua
-------------------------------------------------------------------------------- -- DS3231 I2C module for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Tobie Booth <tbooth@hindbra.in> -------------------------------------------------------------------------------- local moduleName = ... loc...
-------------------------------------------------------------------------------- -- DS3231 I2C module for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Tobie Booth <tbooth@hindbra.in> -------------------------------------------------------------------------------- local moduleName = ... loc...
fixed floating point problem in bcd conversions
fixed floating point problem in bcd conversions
Lua
mit
marcelstoer/nodemcu-firmware,TerryE/nodemcu-firmware,anusornc/nodemcu-firmware,funshine/nodemcu-firmware,ruisebastiao/nodemcu-firmware,cs8425/nodemcu-firmware,rickvanbodegraven/nodemcu-firmware,FrankX0/nodemcu-firmware,FelixPe/nodemcu-firmware,ojahan/node-mcu-firmware,mikeller/nodemcu-firmware,Alkorin/nodemcu-firmware,...
6b45a4ea06279313b52a3ea11ddb39107a3b5c8a
frontend/cache.lua
frontend/cache.lua
--[[ A global LRU cache ]]-- local md5 = require("MD5") local lfs = require("libs/libkoreader-lfs") local DEBUG = require("dbg") local function calcFreeMem() local meminfo = io.open("/proc/meminfo", "r") local freemem = 0 if meminfo then for line in meminfo:lines() do local free, buffer...
--[[ A global LRU cache ]]-- local md5 = require("MD5") local lfs = require("libs/libkoreader-lfs") local DEBUG = require("dbg") local function calcFreeMem() local meminfo = io.open("/proc/meminfo", "r") local freemem = 0 if meminfo then for line in meminfo:lines() do local free, buffer...
fix cache implementation
fix cache implementation the cache would behave badly when the same item was insert()ed twice: it would add the size twice to memory consumption, but would never substract it twice when purging the (actually single) object from cache. So the cache would seem to fill up while in fact it wasn't.
Lua
agpl-3.0
NickSavage/koreader,noname007/koreader,frankyifei/koreader,houqp/koreader,NiLuJe/koreader,ashang/koreader,chihyang/koreader,Frenzie/koreader,Hzj-jie/koreader,lgeek/koreader,Frenzie/koreader,mwoz123/koreader,koreader/koreader,apletnev/koreader,robert00s/koreader,koreader/koreader,NiLuJe/koreader,ashhher3/koreader,pazos/...
aae809ba4838ddaebfff1d3f3564ba00c86d4901
frontend/ui/widget/buttontable.lua
frontend/ui/widget/buttontable.lua
local HorizontalGroup = require("ui/widget/horizontalgroup") local VerticalGroup = require("ui/widget/verticalgroup") local VerticalSpan = require("ui/widget/verticalspan") local FocusManager = require("ui/widget/focusmanager") local LineWidget = require("ui/widget/linewidget") local Blitbuffer = require("ffi/blitbuffe...
local Blitbuffer = require("ffi/blitbuffer") local Button = require("ui/widget/button") local Device = require("device") local FocusManager = require("ui/widget/focusmanager") local HorizontalGroup = require("ui/widget/horizontalgroup") local LineWidget = require("ui/widget/linewidget") local VerticalGroup = require("u...
max_width in buttontable - prevent overlong text (#3145)
max_width in buttontable - prevent overlong text (#3145) * max_width in buttontable - prevent overlong text * fix max_width
Lua
agpl-3.0
koreader/koreader,houqp/koreader,poire-z/koreader,mwoz123/koreader,lgeek/koreader,poire-z/koreader,Frenzie/koreader,Hzj-jie/koreader,mihailim/koreader,Markismus/koreader,NiLuJe/koreader,koreader/koreader,NiLuJe/koreader,Frenzie/koreader,apletnev/koreader,pazos/koreader
5a6455caf36899728b0c7fd1fc0e8c6a66af0c42
libs/uci/luasrc/model/uci/bind.lua
libs/uci/luasrc/model/uci/bind.lua
--[[ LuCI - UCI utilities for model classes Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
--[[ LuCI - UCI utilities for model classes Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
libs/uci: fix attempt to assign empty tables in uci bind class
libs/uci: fix attempt to assign empty tables in uci bind class git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5403 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ch3n2k/luci,Canaan-Creative/luci,yeewang/openwrt-luci,vhpham80/luci,projectbismark/luci-bismark,8devices/carambola2-luci,eugenesan/openwrt-luci,jschmidlapp/luci,eugenesan/openwrt-luci,ThingMesh/openwrt-luci,zwhfly/openwrt-luci,projectbismark/luci-bismark,ThingMesh/openwrt-luci,jschmidlapp/luci,Flexibity/luci,dtaht/cero...
21e9264e6e7cd80b2baaab86aadde55f7dd7c50f
build/scripts/LLVM.lua
build/scripts/LLVM.lua
require "Build" require "Utils" require "../Helpers" local llvm = basedir .. "/../deps/llvm" -- If we are inside vagrant then clone and build LLVM outside the shared folder, -- otherwise file I/O performance will be terrible. if is_vagrant() then llvm = "~/llvm" end local llvm_build = llvm .. "/" .. os.get() funct...
require "Build" require "Utils" require "../Helpers" local llvm = basedir .. "/../deps/llvm" -- If we are inside vagrant then clone and build LLVM outside the shared folder, -- otherwise file I/O performance will be terrible. if is_vagrant() then llvm = "~/llvm" end local llvm_build = llvm .. "/" .. os.get() funct...
Fixed LLVM archive packaging scripts.
Fixed LLVM archive packaging scripts.
Lua
mit
inordertotest/CppSharp,u255436/CppSharp,u255436/CppSharp,genuinelucifer/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,mono/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,mono/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,genuinelucifer/CppSharp,mono/CppSha...
99668c7e1a701eef6f420e4086ff7e6116fc6cc8
IOHandler.lua
IOHandler.lua
--[[ * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * ]]-- require ...
--[[ * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * ]]-- require ...
Refactor to use util.msg per @minrk comment
Refactor to use util.msg per @minrk comment Fix indentation
Lua
bsd-3-clause
facebook/iTorch,michaf/iTorch,facebook/iTorch,michaf/iTorch,Laeeth/dbokeh_torch,Laeeth/dbokeh_torch
a197f31da7577ce215f46f036d61c7137cf7499f
reader.lua
reader.lua
#!./luajit require "defaults" pcall(dofile, "defaults.persistent.lua") package.path = "?.lua;common/?.lua;frontend/?.lua" package.cpath = "?.so;common/?.so;common/?.dll;/usr/lib/lua/?.so" local ffi = require("ffi") if ffi.os == "Windows" then ffi.cdef[[ int _putenv(const char *envvar); ]] ffi.C._p...
#!./luajit require "defaults" pcall(dofile, "defaults.persistent.lua") package.path = "?.lua;common/?.lua;frontend/?.lua" package.cpath = "?.so;common/?.so;common/?.dll;/usr/lib/lua/?.so" local ffi = require("ffi") if ffi.os == "Windows" then ffi.cdef[[ int _putenv(const char *envvar); ]] ffi.C._p...
check if last opened file exists before opening it This should fix #916.
check if last opened file exists before opening it This should fix #916.
Lua
agpl-3.0
chihyang/koreader,ashhher3/koreader,Markismus/koreader,NickSavage/koreader,Frenzie/koreader,chrox/koreader,ashang/koreader,frankyifei/koreader,noname007/koreader,mihailim/koreader,koreader/koreader,poire-z/koreader,NiLuJe/koreader,robert00s/koreader,mwoz123/koreader,houqp/koreader,Frenzie/koreader,pazos/koreader,poire-...
b6ca66894fe497d9fa6a5ec5bc44e5a519ef0897
src/luacheck/utils.lua
src/luacheck/utils.lua
local utils = {} utils.dir_sep = package.config:sub(1,1) utils.is_windows = utils.dir_sep == "\\" local bom = "\239\187\191" -- Returns all contents of file (path or file handler) or nil. function utils.read_file(file) local handler if type(file) == "string" then handler = io.open(file, "rb") if...
local utils = {} utils.dir_sep = package.config:sub(1,1) utils.is_windows = utils.dir_sep == "\\" local bom = "\239\187\191" -- Returns all contents of file (path or file handler) or nil. function utils.read_file(file) local handler if type(file) == "string" then handler = io.open(file, "rb") if...
Fix BOM stripping in UTF-aware environments
Fix BOM stripping in UTF-aware environments
Lua
mit
linuxmaniac/luacheck,mpeterv/luacheck,adan830/luacheck,xpol/luacheck,kidaa/luacheck,xpol/luacheck,mpeterv/luacheck,mpeterv/luacheck,tst2005/luacheck,kidaa/luacheck,linuxmaniac/luacheck,adan830/luacheck,tst2005/luacheck,xpol/luacheck
989e319af90f07e9094e9e625e6c2df76e236748
frontend/device/pocketbook/device.lua
frontend/device/pocketbook/device.lua
local Generic = require("device/generic/device") -- <= look at this file! local logger = require("logger") local ffi = require("ffi") local inkview = ffi.load("inkview") -- luacheck: push -- luacheck: ignore local EVT_INIT = 21 local EVT_EXIT = 22 local EVT_SHOW = 23 local EVT_REPAINT = 23 local EVT_HIDE = 24 local EV...
local Generic = require("device/generic/device") -- <= look at this file! local logger = require("logger") local ffi = require("ffi") local inkview = ffi.load("inkview") -- luacheck: push -- luacheck: ignore local EVT_INIT = 21 local EVT_EXIT = 22 local EVT_SHOW = 23 local EVT_REPAINT = 23 local EVT_HIDE = 24 local EV...
[PocketBook] Add Inkpad 3 (PB740) definition (#3830)
[PocketBook] Add Inkpad 3 (PB740) definition (#3830) Fixes #3687 Thanks to @Maradar for testing, see https://github.com/koreader/koreader/issues/3687#issuecomment-378652074
Lua
agpl-3.0
pazos/koreader,mwoz123/koreader,NiLuJe/koreader,koreader/koreader,poire-z/koreader,NiLuJe/koreader,houqp/koreader,mihailim/koreader,poire-z/koreader,koreader/koreader,Frenzie/koreader,Hzj-jie/koreader,lgeek/koreader,Frenzie/koreader,Markismus/koreader
2532debe30c5d952516f474f4ffdc918552bd45a
kong/tools/ngx_stub.lua
kong/tools/ngx_stub.lua
-- Stub _G.ngx for unit testing. -- Creates a stub for `ngx` for use by Kong's modules such as the DAO. It allows to use them -- outside of the nginx context such as when using the CLI, or unit testing. -- -- Monkeypatches the global `ngx` table. local reg = require "rex_pcre" local utils = require "kong.tools.utils" ...
-- Stub _G.ngx for unit testing. -- Creates a stub for `ngx` for use by Kong's modules such as the DAO. It allows to use them -- outside of the nginx context such as when using the CLI, or unit testing. -- -- Monkeypatches the global `ngx` table. local reg = require "rex_pcre" local utils = require "kong.tools.utils" ...
fix/test-ngx-stub
fix/test-ngx-stub
Lua
apache-2.0
Mashape/kong,Kong/kong,Kong/kong,li-wl/kong,smanolache/kong,jerizm/kong,jebenexer/kong,ccyphers/kong,icyxp/kong,beauli/kong,salazar/kong,Vermeille/kong,Kong/kong,shiprabehera/kong,akh00/kong
6eca26f610fcecef8636574cf9e69680554936d8
frontend/ui/screensaver.lua
frontend/ui/screensaver.lua
local DocumentRegistry = require("document/documentregistry") local UIManager = require("ui/uimanager") local Screen = require("device").screen local DocSettings = require("docsettings") local DEBUG = require("dbg") local _ = require("gettext") local Screensaver = { } function Screensaver:getCoverImage(file) loca...
local DocumentRegistry = require("document/documentregistry") local UIManager = require("ui/uimanager") local Screen = require("device").screen local DocSettings = require("docsettings") local DEBUG = require("dbg") local _ = require("gettext") local Screensaver = { } function Screensaver:getCoverImage(file) loca...
fix(screensaver): lastfile will be nil for fresh installation
fix(screensaver): lastfile will be nil for fresh installation
Lua
agpl-3.0
ashhher3/koreader,chrox/koreader,frankyifei/koreader,noname007/koreader,NiLuJe/koreader,chihyang/koreader,koreader/koreader,houqp/koreader,Frenzie/koreader,Markismus/koreader,Hzj-jie/koreader,NiLuJe/koreader,pazos/koreader,ashang/koreader,koreader/koreader,apletnev/koreader,mwoz123/koreader,Frenzie/koreader,poire-z/kor...
6d39c71c4c896e164dcfd509b229c165b47e3655
premake.lua
premake.lua
project.name = "Premake4" -- Project options addoption("no-tests", "Build without automated tests") -- Output directories project.config["Debug"].bindir = "bin/debug" project.config["Release"].bindir = "bin/release" -- Packages dopackage("src") -- Cleanup code function doclean(cmd,...
project.name = "Premake4" -- Project options addoption("no-tests", "Build without automated tests") -- Output directories project.config["Debug"].bindir = "bin/debug" project.config["Release"].bindir = "bin/release" -- Packages dopackage("src") -- Cleanup code function doclean(cmd,...
Minor fixes to release script
Minor fixes to release script
Lua
bsd-3-clause
dimitarcl/premake-dev,Amorph/premake-dev,Amorph/premake-dev,Amorph/premake-dev,Amorph/premake-stable,Amorph/premake-stable,dimitarcl/premake-dev,dimitarcl/premake-dev,Amorph/premake-stable
8196ae771e305596eea403f7d83e6e23309211ff
CCLib/src/cc/native/Turtle.lua
CCLib/src/cc/native/Turtle.lua
natives["cc.turtle.Turtle"] = natives["cc.turtle.Turtle"] or {} function booleanToInt(b) if b then return 1 else return 0 end end natives["cc.turtle.Turtle"]["forward()Z"] = function() local success = turtle.forward() return booleanToInt(success) end natives["cc.turtle.Turtle"]["back()Z"] = function() loca...
natives["cc.turtle.Turtle"] = natives["cc.turtle.Turtle"] or {} function booleanToInt(b) if b then return 1 else return 0 end end natives["cc.turtle.Turtle"]["forward()Z"] = function(this) local success = turtle.forward() return booleanToInt(success) end natives["cc.turtle.Turtle"]["back()Z"] = function(thi...
Fixed methods interpreting the this paramter wrong (the most of them)
Fixed methods interpreting the this paramter wrong (the most of them)
Lua
mit
Team-CC-Corp/JVML-JIT,apemanzilla/JVML-JIT
eb941f277f4ac65f68dd0724a16e7e1875c05f76
lua/include/dpdk.lua
lua/include/dpdk.lua
--- high-level dpdk wrapper local mod = {} local ffi = require "ffi" local dpdkc = require "dpdkc" local serpent = require "Serpent" -- DPDK constants (lib/librte_mbuf/rte_mbuf.h) -- TODO: import more constants here mod.PKT_RX_IEEE1588_TMST = 0x0400 mod.PKT_TX_IPV4_CSUM = 0x1000 mod.PKT_TX_TCP_CKSUM = 0x2000 m...
--- high-level dpdk wrapper local mod = {} local ffi = require "ffi" local dpdkc = require "dpdkc" local serpent = require "Serpent" -- DPDK constants (lib/librte_mbuf/rte_mbuf.h) -- TODO: import more constants here mod.PKT_RX_IEEE1588_TMST = 0x0400 mod.PKT_TX_IPV4_CSUM = 0x1000 mod.PKT_TX_TCP_CKSUM = 0x2000 m...
fix LuaDoc for dpdk.running()
fix LuaDoc for dpdk.running()
Lua
mit
emmericp/MoonGen,schoenb/MoonGen,slyon/MoonGen,duk3luk3/MoonGen,wenhuizhang/MoonGen,dschoeffm/MoonGen,kidaa/MoonGen,gallenmu/MoonGen,emmericp/MoonGen,gallenmu/MoonGen,NetronomeMoongen/MoonGen,scholzd/MoonGen,pavel-odintsov/MoonGen,slyon/MoonGen,scholzd/MoonGen,pavel-odintsov/MoonGen,emmericp/MoonGen,slyon/MoonGen,Netro...
3bbc9976fbdb8163776b4a0ad68d020eb59262be
SFLib.lua
SFLib.lua
--[[---------------------------------------] [ Starfall Library ] [ By Colonel Thirty Two ] [---------------------------------------]] local SFLib = SFLib or {} function SFLib.limitString(text, length) if #text <= length then return text else return strin...
--[[---------------------------------------] [ Starfall Library ] [ By Colonel Thirty Two ] [---------------------------------------]] AddCSLuaFile("SFLib.lua") SFLib = SFLib or {} function SFLib.limitString(text, length) if #text <= length then return text ...
[starfall/SFLib.lua] Fixed some syntax errors
[starfall/SFLib.lua] Fixed some syntax errors
Lua
bsd-3-clause
Ingenious-Gaming/Starfall,Jazzelhawk/Starfall,Xandaros/Starfall,INPStarfall/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,INPStarfall/Starfall
d058a92d5ae177e54280c35738b8711b0174149e
mod_adhoc_cmd_modules/mod_adhoc_cmd_modules.lua
mod_adhoc_cmd_modules/mod_adhoc_cmd_modules.lua
-- Copyright (C) 2009-2010 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; require "util.iterators"; local dataforms_new = require "util.dataforms".new; local array...
-- Copyright (C) 2009-2010 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; require "util.iterators"; local dataforms_new = require "util.dataforms".new; local array...
mod_adhoc_cmd_modules: Fix error message
mod_adhoc_cmd_modules: Fix error message
Lua
mit
olax/prosody-modules,prosody-modules/import,LanceJenkinZA/prosody-modules,vfedoroff/prosody-modules,prosody-modules/import,brahmi2/prosody-modules,heysion/prosody-modules,NSAKEY/prosody-modules,jkprg/prosody-modules,1st8/prosody-modules,brahmi2/prosody-modules,brahmi2/prosody-modules,1st8/prosody-modules,dhotson/prosod...
04d461bceab027028f6df19e8032e0df517f071c
share/lua/playlist/mpora.lua
share/lua/playlist/mpora.lua
--[[ $Id$ Copyright © 2009 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your opt...
--[[ $Id$ Copyright © 2009 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your opt...
LUA: Fix MPORA playlist parser.
LUA: Fix MPORA playlist parser.
Lua
lgpl-2.1
vlc-mirror/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc,krichter722/vlc,vlc-mirror/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc,shyamalschandra/vlc,shyamalschandra/vlc,vlc-mirror/vlc-2.1,vlc-mirror/vlc,shyamalschandra/vlc,krichter722/vlc,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,vlc-mirror/vlc,vlc-mirror/vlc-2.1,vlc-mirror...
212242c4341d2d150bfae7dd67456e908754803f
openresty/app.lua
openresty/app.lua
local _M = {} local cjson = require "cjson" local mysql = require "resty.mysql" local math = require "math" local encode = cjson.encode local random = math.random local insert = table.insert local mysqlconn = { host = "DBHOSTNAME", port = 3306, database = "hello_world", user = "benchmarkdbuser", ...
local _M = {} local cjson = require "cjson" local mysql = require "resty.mysql" local math = require "math" local encode = cjson.encode local random = math.random local insert = table.insert local mysqlconn = { host = "DBHOSTNAME", port = 3306, database = "hello_world", user = "benchmarkdbuser", ...
fix formatting
fix formatting
Lua
bsd-3-clause
Eyepea/FrameworkBenchmarks,grob/FrameworkBenchmarks,jamming/FrameworkBenchmarks,yunspace/FrameworkBenchmarks,dmacd/FB-try1,julienschmidt/FrameworkBenchmarks,julienschmidt/FrameworkBenchmarks,herloct/FrameworkBenchmarks,stefanocasazza/FrameworkBenchmarks,greg-hellings/FrameworkBenchmarks,testn/FrameworkBenchmarks,kbrock...
19d100b5de7e3f6248611e8fa86d6754acd04e72
mod_smacks/mod_smacks.lua
mod_smacks/mod_smacks.lua
local st = require "util.stanza"; local t_insert, t_remove = table.insert, table.remove; local math_min = math.min; local tonumber, tostring = tonumber, tostring; local add_filter = require "util.filters".add_filter; local xmlns_sm = "urn:xmpp:sm:2"; local sm_attr = { xmlns = xmlns_sm }; local max_unacked_stanzas =...
local st = require "util.stanza"; local t_insert, t_remove = table.insert, table.remove; local math_min = math.min; local tonumber, tostring = tonumber, tostring; local add_filter = require "util.filters".add_filter; local timer = require "util.timer"; local xmlns_sm = "urn:xmpp:sm:2"; local sm_attr = { xmlns = xmln...
mod_smacks: Fixes for monkey-patched sessionmanager.destroy to handle stream resumption, and to fall back to stock destroy() if the session is not smacks-enabled.
mod_smacks: Fixes for monkey-patched sessionmanager.destroy to handle stream resumption, and to fall back to stock destroy() if the session is not smacks-enabled.
Lua
mit
either1/prosody-modules,crunchuser/prosody-modules,BurmistrovJ/prosody-modules,Craige/prosody-modules,BurmistrovJ/prosody-modules,vince06fr/prosody-modules,mardraze/prosody-modules,crunchuser/prosody-modules,Craige/prosody-modules,Craige/prosody-modules,cryptotoad/prosody-modules,apung/prosody-modules,crunchuser/prosod...
5412893954dd557c17d38971e010baf1f7528ce4
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- requ...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- requ...
Fixed an overflow error with IPv6 route metric
Fixed an overflow error with IPv6 route metric
Lua
apache-2.0
ReclaimYourPrivacy/cloak-luci,dismantl/luci-0.12,thesabbir/luci,RuiChen1113/luci,LuttyYang/luci,Hostle/openwrt-luci-multi-user,daofeng2015/luci,chris5560/openwrt-luci,oneru/luci,Kyklas/luci-proto-hso,ollie27/openwrt_luci,981213/luci-1,Hostle/luci,tcatm/luci,tobiaswaldvogel/luci,Noltari/luci,kuoruan/luci,ff94315/luci-1,...
88f6405b1bba3317d572586df17c7ac18dc2f5e2
modules/admin-full/luasrc/model/cbi/admin_index/luci.lua
modules/admin-full/luasrc/model/cbi/admin_index/luci.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
modules/admin-full: fixup newlines when storing sysupgrade.conf
modules/admin-full: fixup newlines when storing sysupgrade.conf git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@6698 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
gwlim/luci,stephank/luci,vhpham80/luci,jschmidlapp/luci,Flexibity/luci,dtaht/cerowrt-luci-3.3,ch3n2k/luci,projectbismark/luci-bismark,zwhfly/openwrt-luci,freifunk-gluon/luci,Flexibity/luci,zwhfly/openwrt-luci,eugenesan/openwrt-luci,phi-psi/luci,yeewang/openwrt-luci,ch3n2k/luci,dtaht/cerowrt-luci-3.3,stephank/luci,ch3n2...
738e22e1be5e2f940a7e831a2d4d5f102b8d9d4e
kong/serf.lua
kong/serf.lua
-- from the previous services.serf module, simply decoupled from -- the Serf agent supervision logic. local pl_stringx = require "pl.stringx" local pl_utils = require "pl.utils" local pl_file = require "pl.file" local cjson = require "cjson.safe" local log = require "kong.cmd.utils.log" local Serf = {} Serf.__index =...
-- from the previous services.serf module, simply decoupled from -- the Serf agent supervision logic. local pl_stringx = require "pl.stringx" local pl_utils = require "pl.utils" local pl_file = require "pl.file" local cjson = require "cjson.safe" local log = require "kong.cmd.utils.log" local Serf = {} Serf.__index =...
fix(cluster) error check
fix(cluster) error check
Lua
apache-2.0
akh00/kong,beauli/kong,li-wl/kong,salazar/kong,Kong/kong,Kong/kong,jebenexer/kong,Kong/kong,icyxp/kong,shiprabehera/kong,Vermeille/kong,Mashape/kong,jerizm/kong,ccyphers/kong
4735455ec8e486ee445288d9ada16fe54f479261
share/lua/website/metacafe.lua
share/lua/website/metacafe.lua
-- libquvi-scripts -- Copyright (C) 2011 Lionel Elie Mamane <lionel@mamane.lu> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Fre...
-- libquvi-scripts -- Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2011 Lionel Elie Mamane <lionel@mamane.lu> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU...
FIX: metacafe.lua: Key parsing
FIX: metacafe.lua: Key parsing Some of the patterns were outdated due to the changes made to the website. Have the script extract the 'flashvars' value, unescape it and then extract each individual value from this unescaped value. Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>
Lua
agpl-3.0
alech/libquvi-scripts,DangerCove/libquvi-scripts,DangerCove/libquvi-scripts,legatvs/libquvi-scripts,alech/libquvi-scripts,legatvs/libquvi-scripts
e593cef109ec847a1f20bfd6f4d4bb25a93bc165
MCServer/Plugins/MagicCarpet/plugin.lua
MCServer/Plugins/MagicCarpet/plugin.lua
local Carpets = {} function Initialize( Plugin ) Plugin:SetName( "MagicCarpet" ) Plugin:SetVersion( 2 ) cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_MOVING, OnPlayerMoving) cPluginManager.AddHook(cPluginManager.HOOK_DISCONNECT, OnDisconnect) local PluginManager = cPluginManager:Get() PluginManager:Bin...
local Carpets = {} local PLUGIN function Initialize( Plugin ) Plugin:SetName( "MagicCarpet" ) Plugin:SetVersion( 2 ) cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_MOVING, OnPlayerMoving) cPluginManager.AddHook(cPluginManager.HOOK_DISCONNECT, OnDisconnect) local PluginManager = cPluginManager:Get() Plug...
Store plugin in a local variable to fix error on disable
Store plugin in a local variable to fix error on disable
Lua
apache-2.0
birkett/cuberite,Haxi52/cuberite,guijun/MCServer,guijun/MCServer,kevinr/cuberite,mc-server/MCServer,mc-server/MCServer,mc-server/MCServer,Schwertspize/cuberite,nevercast/cuberite,birkett/MCServer,nicodinh/cuberite,MuhammadWang/MCServer,HelenaKitty/EbooMC,linnemannr/MCServer,bendl/cuberite,tonibm19/cuberite,linnemannr/M...
011062967ab28b8c1cd9903570d67e04f67e4a45
rootfs/etc/nginx/lua/lua_ingress.lua
rootfs/etc/nginx/lua/lua_ingress.lua
local _M = {} local seeds = {} local original_randomseed = math.randomseed math.randomseed = function(seed) local pid = ngx.worker.pid() if seeds[pid] then ngx.log(ngx.WARN, string.format("ignoring math.randomseed(%d) since PRNG is already seeded for worker %d", seed, pid)) return end original_...
local _M = {} local seeds = {} local original_randomseed = math.randomseed local function get_seed_from_urandom() local seed local frandom = io.open("/dev/urandom", "rb") if frandom then local str = frandom:read(4) frandom:close() seed = 0 for i = 1, 4 do seed = 256 * seed + str:byte(i) ...
bugfix: fixed duplicated seeds.
bugfix: fixed duplicated seeds. ngx.time() + ngx.worker.pid() maybe get duplicated seeds. get from /dev/urandom first.
Lua
apache-2.0
aledbf/ingress-nginx,caicloud/ingress,caicloud/ingress,kubernetes/ingress-nginx,canhnt/ingress,caicloud/ingress,canhnt/ingress,aledbf/ingress-nginx,kubernetes/ingress-nginx,kubernetes/ingress-nginx,aledbf/ingress-nginx,aledbf/ingress-nginx,canhnt/ingress,caicloud/ingress,kubernetes/ingress-nginx,kubernetes/ingress-ngin...
4a1dbe2d57e98e5a388edd9f7c63a973fe9ac819
OvaleBanditsGuile.lua
OvaleBanditsGuile.lua
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2013, 2014 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in the LICENSE file accompanying this progra...
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2013, 2014 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in the LICENSE file accompanying this progra...
Fix tracking of Bandit's Guile stacks before Insight buff appears.
Fix tracking of Bandit's Guile stacks before Insight buff appears. git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@1358 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
ultijlam/ovale,ultijlam/ovale,eXhausted/Ovale,Xeltor/ovale,eXhausted/Ovale,eXhausted/Ovale,ultijlam/ovale
4e28f32956fd6b98ac47b4c104d8153abec68b04
examples/bbs/engine.lua
examples/bbs/engine.lua
local print = print local pcall = pcall local coroutine = coroutine local ui = require 'ui' module 'engine' local STATE = {} function run(conn, engine) while true do -- Get a message from the Mongrel2 server local good, request = pcall(conn.recv_json, conn) if good then local...
local print = print local pcall = pcall local coroutine = coroutine local ui = require 'ui' module 'engine' local STATE = {} function run(conn, engine) while true do -- Get a message from the Mongrel2 server local good, request = pcall(conn.recv_json, conn) if good then local...
Fixed bug where the STATE entry for a connection wouldn't be cleared if an error occured.
Fixed bug where the STATE entry for a connection wouldn't be cleared if an error occured.
Lua
bsd-3-clause
musl/mongrel2,steamraven/mongrel2,musl/mongrel2,markokr/mongrel2,mongrel2/mongrel2,krakensden/mongrel2,aidenkeating/mongrel2,AlexVPopov/mongrel2,winks/mongrel2,bashi-bazouk/mongrel2,jubarajborgohain/mongrel2,nickdesaulniers/mongrel2,chickenkiller/mongrel2,niedbalski/mongrel2,xrl/mongrel2,winks/mongrel2,AlexVPopov/mongr...
6818e93787cbcaa716370ed050e080b5d9da8c30
applications/luci-minidlna/luasrc/controller/minidlna.lua
applications/luci-minidlna/luasrc/controller/minidlna.lua
--[[ LuCI - Lua Configuration Interface - miniDLNA support Copyright 2012 Gabor Juhos <juhosg@openwrt.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2...
--[[ LuCI - Lua Configuration Interface - miniDLNA support Copyright 2012 Gabor Juhos <juhosg@openwrt.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2...
applications/luci-minidlna: fix status parsing
applications/luci-minidlna: fix status parsing git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@8658 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
zwhfly/openwrt-luci,ReclaimYourPrivacy/cloak-luci,Flexibity/luci,jschmidlapp/luci,eugenesan/openwrt-luci,stephank/luci,ThingMesh/openwrt-luci,vhpham80/luci,ThingMesh/openwrt-luci,yeewang/openwrt-luci,stephank/luci,eugenesan/openwrt-luci,phi-psi/luci,Canaan-Creative/luci,jschmidlapp/luci,stephank/luci,yeewang/openwrt-lu...
6dff532b37805fcc17d30d7bb1a05b332eff2eed
core/units.lua
core/units.lua
local units = { pt = { relative = false, value = 1 } } setmetatable(units, { __newindex = function (self, unit, spec) local def = SU.required(spec, "definition", "registering unit " .. unit) local relative = SU.boolean(spec.relative, false) if type(def) == "string" then local ...
local units = { pt = { relative = false, value = 1 } } setmetatable(units, { __newindex = function (self, unit, spec) local def = SU.required(spec, "definition", "registering unit " .. unit) local relative = SU.boolean(spec.relative, false) if type(def) == "string" then local ...
fix(core): Don't let units deal in length objects more than necessary
fix(core): Don't let units deal in length objects more than necessary Some of the :absolute() calls were causing side effects and/or race conditions
Lua
mit
alerque/sile,alerque/sile,alerque/sile,alerque/sile
ba253c4d60d466b49dbd918e4ea11961ed822f75
mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua
mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua
-- Copyright (C) 2009 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; local usermanager_user_exists = require "core.usermanager".user_exists; local usermanager_cre...
-- Copyright (C) 2009 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local _G = _G; local prosody = _G.prosody; local hosts = prosody.hosts; local usermanager_user_exists = require "core.usermanager".user_exists; local usermanager_cre...
mod_adhoc_cmd_admin: Fix session leak
mod_adhoc_cmd_admin: Fix session leak
Lua
mit
brahmi2/prosody-modules,heysion/prosody-modules,brahmi2/prosody-modules,BurmistrovJ/prosody-modules,apung/prosody-modules,cryptotoad/prosody-modules,olax/prosody-modules,BurmistrovJ/prosody-modules,heysion/prosody-modules,1st8/prosody-modules,iamliqiang/prosody-modules,vince06fr/prosody-modules,stephen322/prosody-modul...
54c69cd97e1690d2a3aefb81fd4d5017814883f0
lua/entities/starfall_hologram/init.lua
lua/entities/starfall_hologram/init.lua
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( "shared.lua" ) util.AddNetworkString "starfall_hologram_scale" util.AddNetworkString "starfall_hologram_clip" function ENT:Initialize() self.BaseClass.Initialize() self:SetSolid(SOLID_NONE) self:SetMoveType(MOVETYPE_NOCLIP) -- TODO: custom movetyp...
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( "shared.lua" ) util.AddNetworkString "starfall_hologram_scale" util.AddNetworkString "starfall_hologram_clip" function ENT:Initialize() self.BaseClass.Initialize() self:SetSolid(SOLID_NONE) self:SetMoveType(MOVETYPE_NOCLIP) -- TODO: custom movetyp...
Fix hologram scaling
Fix hologram scaling net.WriteEntity used to send a 32 bit unsigned integer, which is expected on the client side. Garry seems to have changed that. Sending the entIndex as 32-bit unsigned integer should work properly.
Lua
bsd-3-clause
INPStarfall/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,Jazzelhawk/Starfall,INPStarfall/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall
a71faab2e8680a3a3ea0a1c8efe88e6d4fa5a4de
mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua
mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua
local rostermanager = require "core.rostermanager"; local jid = require "util.jid"; local st = require "util.stanza"; local core_post_stanza = prosody.core_post_stanza; local function handle_inbound_subscription_request(origin, stanza) local to_bare, from_bare = jid.bare(stanza.attr.to), jid.bare(stanza.attr.from); ...
local rostermanager = require "core.rostermanager"; local jid = require "util.jid"; local st = require "util.stanza"; local core_post_stanza = prosody.core_post_stanza; local function handle_inbound_subscription_request(origin, stanza) local to_bare, from_bare = jid.bare(stanza.attr.to), jid.bare(stanza.attr.from); ...
mod_auto_accept_subscriptions: Fix passing nil in log message
mod_auto_accept_subscriptions: Fix passing nil in log message
Lua
mit
prosody-modules/import,syntafin/prosody-modules,asdofindia/prosody-modules,Craige/prosody-modules,guilhem/prosody-modules,asdofindia/prosody-modules,heysion/prosody-modules,syntafin/prosody-modules,iamliqiang/prosody-modules,jkprg/prosody-modules,LanceJenkinZA/prosody-modules,dhotson/prosody-modules,jkprg/prosody-modul...
91856a9242125388336d88140c840938704e9053
modules/admin-full/luasrc/controller/admin/network.lua
modules/admin-full/luasrc/controller/admin/network.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- modu...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- modu...
modules/admin-full: support deleting wireless networks and fix wireless join
modules/admin-full: support deleting wireless networks and fix wireless join
Lua
apache-2.0
teslamint/luci,jchuang1977/luci-1,ReclaimYourPrivacy/cloak-luci,981213/luci-1,jlopenwrtluci/luci,teslamint/luci,obsy/luci,jlopenwrtluci/luci,NeoRaider/luci,maxrio/luci981213,taiha/luci,schidler/ionic-luci,remakeelectric/luci,lcf258/openwrtcn,hnyman/luci,openwrt-es/openwrt-luci,RuiChen1113/luci,dismantl/luci-0.12,chris5...
196a95f4c021dd0520a63f22496910c00ca5669d
modules/client_options/options.lua
modules/client_options/options.lua
Options = {} local optionsWindow local optionsButton function Options.init() optionsWindow = displayUI('options.otui') optionsWindow:setVisible(false) optionsButton = TopMenu.addButton('settingsButton', 'Options (Ctrl+O)', '/core_styles/icons/settings.png', Options.toggle) Hotkeys.bind('Ctrl+O', Options.toggl...
Options = {} local optionsWindow local optionsButton function Options.init() -- load settings local booleanOptions = { vsync = true, showfps = true, fullscreen = false, classicControl = false } for k,v in pairs(booleanOptions) do ...
fix options
fix options
Lua
mit
gpedro/otclient,gpedro/otclient,Radseq/otclient,EvilHero90/otclient,dreamsxin/otclient,EvilHero90/otclient,Cavitt/otclient_mapgen,Radseq/otclient,dreamsxin/otclient,kwketh/otclient,kwketh/otclient,gpedro/otclient,dreamsxin/otclient,Cavitt/otclient_mapgen
859cb31f5dea9a1134595d2d019556ee7c368db6
modules/game_cooldown/cooldown.lua
modules/game_cooldown/cooldown.lua
local ProgressCallback = { update = 1, finish = 2 } cooldownWindow = nil cooldownButton = nil contentsPanel = nil spellCooldownPanel = nil function init() connect(g_game, { onGameStart = online, onSpellGroupCooldown = onSpellGroupCooldown, onSpellCooldown = onSpellCooldow...
local ProgressCallback = { update = 1, finish = 2 } cooldownWindow = nil cooldownButton = nil contentsPanel = nil spellCooldownPanel = nil lastPlayer = nil function init() connect(g_game, { onGameStart = online, onSpellGroupCooldown = onSpellGroupCooldown, onSpellCooldown...
Fix #257
Fix #257
Lua
mit
gpedro/otclient,Radseq/otclient,kwketh/otclient,dreamsxin/otclient,gpedro/otclient,EvilHero90/otclient,Cavitt/otclient_mapgen,kwketh/otclient,Radseq/otclient,EvilHero90/otclient,dreamsxin/otclient,dreamsxin/otclient,gpedro/otclient,Cavitt/otclient_mapgen
c4a6e71f2128899ba8f7969acb73ddfeff022a2b
company.lua
company.lua
local defaultVars = {cash=0,employees=0,workSpeed=1,emplSpeed=1,loyalty=65,currentProject={},completedProjects=0,lastNick="",} local defaultPVars = {name="Project0",work=0,needed=60,reward=150,time=70,timespent=0} local function loadUsers() return table.load("compData.txt") or {} end compData = compData or loadUsers()...
local defaultVars = {cash=0,employees=0,workSpeed=1,emplSpeed=1,loyalty=65,currentProject={},completedProjects=0,lastNick="",} local defaultPVars = {name="Project0",work=0,needed=60,reward=150,time=70,timespent=0} local function loadUsers() return table.load("compData.txt") or {} end compData = compData or loadUsers()...
fix very minor ./hire issues like ./hire .5 or ./hire moo
fix very minor ./hire issues like ./hire .5 or ./hire moo
Lua
mit
GLolol/Crackbot,cracker64/Crackbot,wolfy1339/WolfyBot,Brilliant-Minds/BMNBot-2,wolfy1339/WolfyBot,GLolol/Crackbot,Brilliant-Minds/BMNBot-2,wolfy1339/WolfyBot,cracker64/Crackbot
48c847020947d7a748f35ac3e0c2581807cbbffc
frontend/ui/network/wpa_supplicant.lua
frontend/ui/network/wpa_supplicant.lua
local UIManager = require("ui/uimanager") local WpaClient = require('lj-wpaclient/wpaclient') local InfoMessage = require("ui/widget/infomessage") local sleep = require("ffi/util").sleep local T = require("ffi/util").template local _ = require("gettext") local CLIENT_INIT_ERR_MSG = _("Failed to initialize network cont...
local UIManager = require("ui/uimanager") local WpaClient = require('lj-wpaclient/wpaclient') local InfoMessage = require("ui/widget/infomessage") local sleep = require("ffi/util").sleep local T = require("ffi/util").template local _ = require("gettext") local CLIENT_INIT_ERR_MSG = _("Failed to initialize network cont...
wpa_supplicant(fix): restore password bassed on SSID
wpa_supplicant(fix): restore password bassed on SSID
Lua
agpl-3.0
poire-z/koreader,mihailim/koreader,Hzj-jie/koreader,NiLuJe/koreader,NiLuJe/koreader,poire-z/koreader,robert00s/koreader,NickSavage/koreader,houqp/koreader,apletnev/koreader,pazos/koreader,Markismus/koreader,Frenzie/koreader,koreader/koreader,mwoz123/koreader,lgeek/koreader,koreader/koreader,Frenzie/koreader
4c0235ccfe92047390b445ee1c3b2a9353aa258c
src_trunk/resources/chat-system/c_chat_icon.lua
src_trunk/resources/chat-system/c_chat_icon.lua
function checkForChat() local chatting = getElementData(getLocalPlayer(), "chatting") if (isChatBoxInputActive() and chatting==0) then setElementData(getLocalPlayer(), "chatting", true, 1) elseif (not isChatBoxInputActive() and chatting==1) then setElementData(getLocalPlayer(), "chatting", true, 0) end...
function checkForChat() local chatting = getElementData(getLocalPlayer(), "chatting") if (isChatBoxInputActive() and chatting==0) then setElementData(getLocalPlayer(), "chatting", true, 1) elseif (not isChatBoxInputActive() and chatting==1) then setElementData(getLocalPlayer(), "chatting", true, 0) end...
Bug fix for chat icons
Bug fix for chat icons git-svn-id: 8769cb08482c9977c94b72b8e184ec7d2197f4f7@402 64450a49-1f69-0410-a0a2-f5ebb52c4f5b
Lua
bsd-3-clause
valhallaGaming/uno,valhallaGaming/uno,valhallaGaming/uno
ad0d90def03eba64e749fde9717f00a28edc7f06
kong/templates/nginx_kong.lua
kong/templates/nginx_kong.lua
return [[ charset UTF-8; error_log logs/error.log ${{LOG_LEVEL}}; > if anonymous_reports then ${{SYSLOG_REPORTS}} > end > if nginx_optimizations then >-- send_timeout 60s; # default value >-- keepalive_timeout 75s; # default value >-- client_body_timeout 60s; # default value >-- client_header_timeout ...
return [[ charset UTF-8; error_log logs/error.log ${{LOG_LEVEL}}; > if anonymous_reports then ${{SYSLOG_REPORTS}} > end > if nginx_optimizations then >-- send_timeout 60s; # default value >-- keepalive_timeout 75s; # default value >-- client_body_timeout 60s; # default value >-- client_header_timeout ...
fix(ws) do not override upstream_connection header
fix(ws) do not override upstream_connection header
Lua
apache-2.0
akh00/kong,Kong/kong,salazar/kong,Mashape/kong,ccyphers/kong,jebenexer/kong,icyxp/kong,Kong/kong,li-wl/kong,Kong/kong,shiprabehera/kong
dfad516e8402de33a3bb9d0750cc8736b83d6a85
applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
-- Copyright 2017 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local uci = require("luci.model.uci").cursor() local util = require("luci.util") local date = require("luci.http.protocol.date") local res_inpu...
-- Copyright 2017 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local uci = require("luci.model.uci").cursor() local util = require("luci.util") local date = require("luci.http.protocol.date") local res_inpu...
luci-app-dnscrypt-proxy: small fixes & additions
luci-app-dnscrypt-proxy: small fixes & additions * check/add for 'global' section to fix a possible issue with old (non-default) dnscrypt-proxy config files * a custom 'resolv-crypt.conf' can now be added in the new "Extra options" section * accept IPv4 and IPv6 address as local dnscrypt ip address Signed-off-by: Dir...
Lua
apache-2.0
artynet/luci,openwrt-es/openwrt-luci,kuoruan/luci,remakeelectric/luci,Noltari/luci,chris5560/openwrt-luci,openwrt-es/openwrt-luci,Wedmer/luci,Wedmer/luci,rogerpueyo/luci,nmav/luci,hnyman/luci,chris5560/openwrt-luci,chris5560/openwrt-luci,Wedmer/luci,981213/luci-1,981213/luci-1,Noltari/luci,Noltari/luci,artynet/luci,rem...
d19d4f24431fcb2b3e87ab4ec13c14e628ea9e98
lualib/sharedata/corelib.lua
lualib/sharedata/corelib.lua
local core = require "sharedata.core" local type = type local next = next local rawget = rawget local conf = {} conf.host = { new = core.new, delete = core.delete, getref = core.getref, markdirty = core.markdirty, incref = core.incref, decref = core.decref, } local meta = {} local isdirty = core.isdirty local...
local core = require "sharedata.core" local type = type local next = next local rawget = rawget local conf = {} conf.host = { new = core.new, delete = core.delete, getref = core.getref, markdirty = core.markdirty, incref = core.incref, decref = core.decref, } local meta = {} local isdirty = core.isdirty local...
bugfix: clear cached sub node
bugfix: clear cached sub node
Lua
mit
LiangMa/skynet,microcai/skynet,xcjmine/skynet,felixdae/skynet,zhaijialong/skynet,helling34/skynet,samael65535/skynet,puXiaoyi/skynet,rainfiel/skynet,dymx101/skynet,cuit-zhaxin/skynet,bingo235/skynet,harryzeng/skynet,MoZhonghua/skynet,MRunFoss/skynet,enulex/skynet,firedtoad/skynet,fhaoquan/skynet,zhangshiqian1214/skynet...
d11ccc9b820adbe654a037667751b1e3d794a72c
examples/icmp-arp-responder.lua
examples/icmp-arp-responder.lua
local dpdk = require "dpdk" local memory = require "memory" local device = require "device" local dpdkc = require "dpdkc" local utils = require "utils" local headers = require "headers" local packet = require "packet" local arp = require "proto.arp" local icmp = require "proto.icmp" local ffi = require "ffi" f...
local dpdk = require "dpdk" local memory = require "memory" local device = require "device" local dpdkc = require "dpdkc" local utils = require "utils" local headers = require "headers" local packet = require "packet" local arp = require "proto.arp" local ip = require "proto.ip4" local icmp = require "proto.icmp...
fix ping/arp responder example
fix ping/arp responder example
Lua
mit
slyon/MoonGen,bmichalo/MoonGen,NetronomeMoongen/MoonGen,kidaa/MoonGen,gallenmu/MoonGen,duk3luk3/MoonGen,wenhuizhang/MoonGen,kidaa/MoonGen,emmericp/MoonGen,atheurer/MoonGen,slyon/MoonGen,schoenb/MoonGen,wenhuizhang/MoonGen,gallenmu/MoonGen,atheurer/MoonGen,duk3luk3/MoonGen,schoenb/MoonGen,dschoeffm/MoonGen,dschoeffm/Moo...
1a3bfe360f0f3e4a3119b45588682b2b88ad45fa
build/LLVM.lua
build/LLVM.lua
-- Setup the LLVM dependency directories LLVMRootDir = "../../deps/llvm/" LLVMBuildDir = "../../deps/llvm/build/" -- TODO: Search for available system dependencies function SetupLLVMIncludes() local c = configuration() includedirs { path.join(LLVMRootDir, "include"), path.join(LLVMRootDir, "tools/clan...
-- Setup the LLVM dependency directories LLVMRootDir = "../../deps/llvm/" LLVMBuildDir = "../../deps/llvm/build/" -- TODO: Search for available system dependencies function SetupLLVMIncludes() local c = configuration() includedirs { path.join(LLVMRootDir, "include"), path.join(LLVMRootDir, "tools/clan...
build: fix clang linking
build: fix clang linking At least on linux with gcc the linking order of the libraries is important. Fix linking clang libraries by changing the link order. Signed-off-by: Tomi Valkeinen <e1ca4dbb8be1acaf20734fecd2da10ed1d46a9bb@iki.fi>
Lua
mit
KonajuGames/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,mydogisbox/CppSharp,xistoso/CppSharp,xistoso/CppSharp,txdv/CppSharp,nalkaro/CppSharp,genuinelucifer/CppSharp,inordertotest/CppSharp,SonyaSa/CppSharp,KonajuGames/CppSharp,KonajuGames/CppSharp,xistoso/CppSharp,ddobrev/CppSharp,mono/CppSharp,mono/CppSharp,ddobrev/C...
5e2dd31cc1688dca05bbdd8857d42d254dcdec93
spec/unit/statics_spec.lua
spec/unit/statics_spec.lua
local spec_helper = require "spec.spec_helpers" local constants = require "kong.constants" local stringy = require "stringy" local IO = require "kong.tools.io" local fs = require "luarocks.fs" describe("Static files", function() describe("Constants", function() it("version set in constants should match the one...
local spec_helper = require "spec.spec_helpers" local constants = require "kong.constants" local stringy = require "stringy" local IO = require "kong.tools.io" local fs = require "luarocks.fs" describe("Static files", function() describe("Constants", function() it("version set in constants should match the one...
fixing test
fixing test
Lua
apache-2.0
AnsonSmith/kong,puug/kong,chourobin/kong,vmercierfr/kong,sbuettner/kong,paritoshmmmec/kong,ChristopherBiscardi/kong,Skyscanner/kong,bbalu/kong,wakermahmud/kong,skynet/kong,peterayeni/kong,ropik/kong
7cbd56fcdd5f93555a7be72af46badc3c840dd06
frontend/apps/reader/modules/readerstatus.lua
frontend/apps/reader/modules/readerstatus.lua
local BookStatusWidget = require("ui/widget/bookstatuswidget") local ButtonDialogTitle = require("ui/widget/buttondialogtitle") local InfoMessage = require("ui/widget/infomessage") local InputContainer = require("ui/widget/container/inputcontainer") local UIManager = require("ui/uimanager") local _ = require("gettext")...
local BookStatusWidget = require("ui/widget/bookstatuswidget") local ButtonDialogTitle = require("ui/widget/buttondialogtitle") local InfoMessage = require("ui/widget/infomessage") local InputContainer = require("ui/widget/container/inputcontainer") local UIManager = require("ui/uimanager") local _ = require("gettext")...
[fix] End of document - go to file browser: swap openFileBrowser() close/open order (#5062)
[fix] End of document - go to file browser: swap openFileBrowser() close/open order (#5062) Fixes #5060. Cf. https://github.com/koreader/koreader/blob/89e002f2367079cefd445e1719c1715dccedd65b/frontend/apps/reader/modules/readermenu.lua#L42-L50 and https://github.com/koreader/koreader/blob/89e002f2367079cefd445e1719...
Lua
agpl-3.0
koreader/koreader,Frenzie/koreader,NiLuJe/koreader,Frenzie/koreader,mihailim/koreader,pazos/koreader,NiLuJe/koreader,Markismus/koreader,poire-z/koreader,mwoz123/koreader,poire-z/koreader,Hzj-jie/koreader,koreader/koreader
31d22dfc1771ec731e47c5a6b490ac2a141565c2
frontend/apps/reader/modules/readerkobolight.lua
frontend/apps/reader/modules/readerkobolight.lua
local InputContainer = require("ui/widget/container/inputcontainer") local LeftContainer = require("ui/widget/container/leftcontainer") local GestureRange = require("ui/gesturerange") local Device = require("device") local Geom = require("ui/geometry") local Screen = Device.screen local DEBUG = require("dbg") local UIM...
local InputContainer = require("ui/widget/container/inputcontainer") local LeftContainer = require("ui/widget/container/leftcontainer") local GestureRange = require("ui/gesturerange") local Device = require("device") local Geom = require("ui/geometry") local Screen = Device.screen local DEBUG = require("dbg") local UIM...
fix(kobofrontligh): initialize dimen with nil value
fix(kobofrontligh): initialize dimen with nil value
Lua
agpl-3.0
robert00s/koreader,apletnev/koreader,mwoz123/koreader,Markismus/koreader,Hzj-jie/koreader,mihailim/koreader,koreader/koreader,NiLuJe/koreader,lgeek/koreader,poire-z/koreader,pazos/koreader,houqp/koreader,koreader/koreader,poire-z/koreader,Frenzie/koreader,NickSavage/koreader,NiLuJe/koreader,Frenzie/koreader
e08051ad3df985e0882b22ede32eae4e14a0e8a8
modules/protocol/http/http.lua
modules/protocol/http/http.lua
local str = string.char local function getchar(stream) local char while true do char = stream:getchar() if char == -1 then coroutine.yield() else break end end return char end local function read_line(stream) local line = "" local char, c local read = 0 while true do c = getchar(stream) ...
local module = {} local str = string.char local function getchar(stream) local char while true do char = stream:getchar() if char == -1 then coroutine.yield() else break end end return char end local function read_line(stream) local line = "" local char, c local read = 0 while true do c =...
Fix http module
Fix http module The module should return a table.
Lua
mpl-2.0
Wingless-Archangel/haka,LubyRuffy/haka,LubyRuffy/haka,nabilbendafi/haka,nabilbendafi/haka,nabilbendafi/haka,haka-security/haka,lcheylus/haka,haka-security/haka,Wingless-Archangel/haka,haka-security/haka,lcheylus/haka,lcheylus/haka
0122c086f277654bb64d80a3bf10197ba69108c8
frontend/device/kobo/powerd.lua
frontend/device/kobo/powerd.lua
local BasePowerD = require("device/generic/powerd") local NickelConf = require("device/kobo/nickel_conf") local batt_state_folder = "/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/" -- Here, we only deal with the real hw intensity. -- Dealing with toggling and remembering/restoring -- previous ...
local BasePowerD = require("device/generic/powerd") local NickelConf = require("device/kobo/nickel_conf") local batt_state_folder = "/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/" -- Here, we only deal with the real hw intensity. -- Dealing with toggling and remembering/restoring -- previous ...
Fix crash on exit on Kobo devices with no frontlight (#3221)
Fix crash on exit on Kobo devices with no frontlight (#3221)
Lua
agpl-3.0
mwoz123/koreader,NiLuJe/koreader,houqp/koreader,Hzj-jie/koreader,NiLuJe/koreader,mihailim/koreader,poire-z/koreader,koreader/koreader,pazos/koreader,Markismus/koreader,Frenzie/koreader,Frenzie/koreader,apletnev/koreader,koreader/koreader,lgeek/koreader,poire-z/koreader
f486854b5fb48490a8ea3b9d321a71d929f46d6d
libs/uvl/luasrc/uvl/errors.lua
libs/uvl/luasrc/uvl/errors.lua
--[[ UCI Validation Layer - Error handling (c) 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> (c) 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
--[[ UCI Validation Layer - Error handling (c) 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> (c) 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
libs/uvl: fix syntax error introduced with r5861
libs/uvl: fix syntax error introduced with r5861 git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5863 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
stephank/luci,8devices/carambola2-luci,ThingMesh/openwrt-luci,vhpham80/luci,phi-psi/luci,8devices/carambola2-luci,saraedum/luci-packages-old,projectbismark/luci-bismark,ThingMesh/openwrt-luci,yeewang/openwrt-luci,Canaan-Creative/luci,gwlim/luci,ch3n2k/luci,8devices/carambola2-luci,Flexibity/luci,projectbismark/luci-bis...
11d0129f9661155dd2bd44cce5866726acd53433
modules/luci-base/luasrc/http.lua
modules/luci-base/luasrc/http.lua
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ltn12 = require "luci.ltn12" local protocol = require "luci.http.protocol" local util = require "luci.util" local string = require "string" local coroutine = require "coroutine" local table = require "tab...
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ltn12 = require "luci.ltn12" local protocol = require "luci.http.protocol" local util = require "luci.util" local string = require "string" local coroutine = require "coroutine" local table = require "tab...
http: add random security headers
http: add random security headers Fixes #1343. Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc215150d1bbc94f1b1078bee01@mein.io>
Lua
apache-2.0
981213/luci-1,981213/luci-1,remakeelectric/luci,nmav/luci,kuoruan/lede-luci,chris5560/openwrt-luci,chris5560/openwrt-luci,kuoruan/luci,kuoruan/lede-luci,remakeelectric/luci,Noltari/luci,artynet/luci,hnyman/luci,openwrt/luci,openwrt-es/openwrt-luci,Wedmer/luci,rogerpueyo/luci,openwrt/luci,wongsyrone/luci-1,kuoruan/luci,...
e71d2a336a2c30516d89b6932ecc3078314ff5f3
tests/actions/make/test_make_pch.lua
tests/actions/make/test_make_pch.lua
-- -- tests/actions/make/test_make_pch.lua -- Validate the setup for precompiled headers in makefiles. -- Copyright (c) 2010 Jason Perkins and the Premake project -- T.make_pch = { } local suite = T.make_pch local _ = premake.make.cpp -- -- Setup and teardown -- local sln, prj, cfg function suite.setup() sln...
-- -- tests/actions/make/test_make_pch.lua -- Validate the setup for precompiled headers in makefiles. -- Copyright (c) 2010 Jason Perkins and the Premake project -- T.make_pch = { } local suite = T.make_pch local _ = premake.make.cpp -- -- Setup and teardown -- local sln, prj, cfg function suite.setup() sln...
Issue #236: Fix failing PCH unit tests
Issue #236: Fix failing PCH unit tests
Lua
bsd-3-clause
lizh06/premake-4.x,ryanjmulder/premake-4.x,premake/premake-4.x,ryanjmulder/premake-4.x,ryanjmulder/premake-4.x,lizh06/premake-4.x,lizh06/premake-4.x,lizh06/premake-4.x,premake/premake-4.x,premake/premake-4.x,ryanjmulder/premake-4.x,premake/premake-4.x
fb859e602b1254c5d199d7f641f6b6717edd01cf
applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua
applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua
-- Copyright 2017 Jo-Philipp Wich <jo@mein.io> -- Licensed to the public under the Apache License 2.0. module("luci.controller.nlbw", package.seeall) function index() entry({"admin", "nlbw"}, firstchild(), _("Bandwidth Monitor"), 80) entry({"admin", "nlbw", "display"}, template("nlbw/display"), _("Display"), 1) en...
-- Copyright 2017 Jo-Philipp Wich <jo@mein.io> -- Licensed to the public under the Apache License 2.0. module("luci.controller.nlbw", package.seeall) function index() entry({"admin", "nlbw"}, firstchild(), _("Bandwidth Monitor"), 80) entry({"admin", "nlbw", "display"}, template("nlbw/display"), _("Display"), 1) en...
luci-app-nlbwmon: fix nil value concat
luci-app-nlbwmon: fix nil value concat Do not concatenate the yet undefined mtime variable to avoid a controller error with backtrace. Fixes: b3642f476 ("luci-app-nlbwmon: add proper file names for json and csv exports.") Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc215150d1bbc94f1b1078bee01@mein.io>
Lua
apache-2.0
lbthomsen/openwrt-luci,rogerpueyo/luci,Noltari/luci,hnyman/luci,openwrt/luci,tobiaswaldvogel/luci,nmav/luci,openwrt/luci,Noltari/luci,nmav/luci,openwrt/luci,openwrt/luci,lbthomsen/openwrt-luci,Noltari/luci,openwrt/luci,Noltari/luci,nmav/luci,artynet/luci,tobiaswaldvogel/luci,openwrt/luci,tobiaswaldvogel/luci,hnyman/luc...
5158fe6ebbc326f2b5b9b7429423911182f4a79f
world/Plugins/Docker/container.lua
world/Plugins/Docker/container.lua
-- Container object is the representation of a Docker -- container in the Minecraft world -- constant variables CONTAINER_CREATED = 0 CONTAINER_RUNNING = 1 CONTAINER_STOPPED = 2 -- NewContainer returns a Container object, -- representation of a Docker container in -- the Minecraft world function NewContainer() c = C...
-- Container object is the representation of a Docker -- container in the Minecraft world -- constant variables CONTAINER_CREATED = 0 CONTAINER_RUNNING = 1 CONTAINER_STOPPED = 2 -- NewContainer returns a Container object, -- representation of a Docker container in -- the Minecraft world function NewContainer() c = {...
fix NewContainer so it creates multiple instances
fix NewContainer so it creates multiple instances
Lua
apache-2.0
docker/dockercraft,nyasukun/openstackcraft,stevesloka/kubecraft,gdevillele/dockercraft,stevesloka/kubecraft,nyasukun/openstackcraft,stevesloka/kubecraft,johnmccabe/dockercraft,gdevillele/dockercraft,nyasukun/openstackcraft,johnmccabe/dockercraft,gdevillele/dockercraft,docker/dockercraft,johnmccabe/dockercraft
3983b0e66dad160b315fb6ad33397bdd798d72c9
access.lua
access.lua
-- import requirements -- allow either ccjsonjson, or th-LuaJSON local has_cjson, jsonmod = pcall(require, "cjson") if not has_cjson then jsonmod = require "json" end -- Ubuntu broke the install. Puts the source in /usr/share/lua/5.1/https.lua, -- but since the source defines itself as the module "ssl.https", aft...
-- import requirements -- allow either ccjsonjson, or th-LuaJSON local has_cjson, jsonmod = pcall(require, "cjson") if not has_cjson then jsonmod = require "json" end -- Ubuntu broke the install. Puts the source in /usr/share/lua/5.1/https.lua, -- but since the source defines itself as the module "ssl.https", aft...
Fixed https module abiguity in Ubuntu
Fixed https module abiguity in Ubuntu
Lua
mit
milliwayslabs/nginx-google-oauth,ivan1986/nginx-google-oauth,milliwayslabs/nginx-google-oauth,agoragames/nginx-google-oauth,agoragames/nginx-google-oauth,ivan1986/nginx-google-oauth
57a6025da9ad3b0478bbf9d4a9fad34eed5381a0
mod_mam/rsm.lib.lua
mod_mam/rsm.lib.lua
local stanza = require"util.stanza".stanza; local tostring, tonumber = tostring, tonumber; local type = type; local pairs = pairs; local xmlns_rsm = 'http://jabber.org/protocol/rsm'; local element_parsers; do local function xs_int(st) return tonumber((st:get_text())); end local function xs_string(st) return s...
local stanza = require"util.stanza".stanza; local tostring, tonumber = tostring, tonumber; local type = type; local pairs = pairs; local xmlns_rsm = 'http://jabber.org/protocol/rsm'; local element_parsers; do local function xs_int(st) return tonumber((st:get_text())); end local function xs_string(st) return s...
mod_mam/rsm.lib: Fix serialization of before = true
mod_mam/rsm.lib: Fix serialization of before = true
Lua
mit
vfedoroff/prosody-modules,Craige/prosody-modules,asdofindia/prosody-modules,crunchuser/prosody-modules,BurmistrovJ/prosody-modules,mardraze/prosody-modules,mmusial/prosody-modules,amenophis1er/prosody-modules,mmusial/prosody-modules,NSAKEY/prosody-modules,drdownload/prosody-modules,heysion/prosody-modules,vince06fr/pro...
a037d9438357a30e443b5b6ee84abe936d5255f1
libs/core/luasrc/model/network.lua
libs/core/luasrc/model/network.lua
--[[ LuCI - Network model Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicab...
--[[ LuCI - Network model Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicab...
libs/core: luci.model.network: implement contains_inteface(), fix bugs
libs/core: luci.model.network: implement contains_inteface(), fix bugs
Lua
apache-2.0
zhaoxx063/luci,tobiaswaldvogel/luci,nmav/luci,slayerrensky/luci,chris5560/openwrt-luci,dwmw2/luci,lcf258/openwrtcn,jorgifumi/luci,ff94315/luci-1,opentechinstitute/luci,florian-shellfire/luci,harveyhu2012/luci,cshore/luci,mumuqz/luci,daofeng2015/luci,openwrt-es/openwrt-luci,rogerpueyo/luci,oneru/luci,ollie27/openwrt_luc...
4eda42fddf30ab947dcf91a478bfe03a843ab666
tests/test_gmake_cpp.lua
tests/test_gmake_cpp.lua
-- -- tests/test_gmake_cpp.lua -- Automated test suite for GNU Make C/C++ project generation. -- Copyright (c) 2009 Jason Perkins and the Premake project -- T.gmake_cpp = { } -- -- Configure a solution for testing -- local sln, prj function T.gmake_cpp.setup() _ACTION = "gmake" _OPTIONS.os = "linux" sln = ...
-- -- tests/test_gmake_cpp.lua -- Automated test suite for GNU Make C/C++ project generation. -- Copyright (c) 2009 Jason Perkins and the Premake project -- T.gmake_cpp = { } -- -- Configure a solution for testing -- local sln, prj function T.gmake_cpp.setup() _ACTION = "gmake" _OPTIONS.os = "linux" sln = ...
Fixed failing GMake C++ tests
Fixed failing GMake C++ tests
Lua
bsd-3-clause
Amorph/premake-dev,dimitarcl/premake-dev,Amorph/premake-dev,Amorph/premake-stable,dimitarcl/premake-dev,Amorph/premake-dev,dimitarcl/premake-dev,Amorph/premake-stable,Amorph/premake-stable
45d9fe0b165467b808bf2fa56edb9e9ebaa89c7b
applications/luci-statistics/luasrc/statistics/i18n.lua
applications/luci-statistics/luasrc/statistics/i18n.lua
--[[ Luci statistics - diagram i18n helper (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
--[[ Luci statistics - diagram i18n helper (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
application/luci-statistics: fix i18n binding, use string() instead of translate
application/luci-statistics: fix i18n binding, use string() instead of translate
Lua
apache-2.0
jorgifumi/luci,opentechinstitute/luci,palmettos/cnLuCI,keyidadi/luci,LazyZhu/openwrt-luci-trunk-mod,forward619/luci,joaofvieira/luci,oyido/luci,nmav/luci,jorgifumi/luci,Hostle/openwrt-luci-multi-user,thesabbir/luci,palmettos/cnLuCI,artynet/luci,LazyZhu/openwrt-luci-trunk-mod,forward619/luci,lbthomsen/openwrt-luci,fkoom...
bba1ff0cfa40fcc52a56bb8a3ee294a2838629e0
alias.lua
alias.lua
--Contains data needed to create command aliasList = table.load("AliasList.txt") or {} local macroCMDs = { ["%*"] = function(nusr,nchan,nmsg,nargs,usedArgs) local add = "" for k,v in pairs(nargs) do if not usedArgs[k] then add = add .. v .. (k<#nargs and " " or "") end end return add end, ["me"] = ...
--Contains data needed to create command aliasList = table.load("AliasList.txt") or {} local macroCMDs = { ["me"] = function(nusr,nchan,nmsg,nargs,usedArgs) return nusr.nick end, ["chan"] = function(nusr,nchan,nmsg,nargs,usedArgs) return nchan end, ["host(m?a?s?k?)"] = function(nusr,nchan,nmsg,nargs,usedArgs,r...
$* is correctly only used once.
$* is correctly only used once. Fix $host/hostmask
Lua
mit
wolfy1339/WolfyBot,GLolol/Crackbot,cracker64/Crackbot,Brilliant-Minds/BMNBot-2,wolfy1339/WolfyBot,GLolol/Crackbot,Brilliant-Minds/BMNBot-2,cracker64/Crackbot,wolfy1339/WolfyBot
3b95ecd9b22d736dbb65009c4a0d764f4e163aaf
lualib/skynet/queue.lua
lualib/skynet/queue.lua
local skynet = require "skynet" local coroutine = coroutine local pcall = pcall local table = table function skynet.queue() local current_thread local ref = 0 local thread_queue = {} return function(f, ...) local thread = coroutine.running() if ref == 0 then current_thread = thread elseif current_thread ~...
local skynet = require "skynet" local coroutine = coroutine local pcall = pcall local table = table function skynet.queue() local current_thread local ref = 0 local thread_queue = {} return function(f, ...) local thread = coroutine.running() if current_thread and current_thread ~= thread then table.insert(t...
bugfix: skynet.queue
bugfix: skynet.queue
Lua
mit
JiessieDawn/skynet,bttscut/skynet,vizewang/skynet,bingo235/skynet,LiangMa/skynet,samael65535/skynet,letmefly/skynet,lc412/skynet,kebo/skynet,microcai/skynet,cuit-zhaxin/skynet,ag6ag/skynet,korialuo/skynet,KittyCookie/skynet,KittyCookie/skynet,xjdrew/skynet,lynx-seu/skynet,zhaijialong/skynet,xubigshu/skynet,firedtoad/sk...
027ee54ab0de2faa17de8efc01330315796689e8
tests/sample/security-rules.lua
tests/sample/security-rules.lua
------------------------------------ -- Loading disscetors ------------------------------------ require("ipv4") require("tcp") require("http") ------------------------------------ -- Function definition ------------------------------------ function getpayload(data) payload = '' for i = 1, #data do payload = pa...
------------------------------------ -- Loading disscetors ------------------------------------ require("ipv4") require("tcp") require("http") ------------------------------------ -- Function definition ------------------------------------ local function getpayload(data) payload = '' for i = 1, #data do payloa...
Fix security rule configuration sample
Fix security rule configuration sample
Lua
mpl-2.0
haka-security/haka,Wingless-Archangel/haka,nabilbendafi/haka,LubyRuffy/haka,nabilbendafi/haka,lcheylus/haka,lcheylus/haka,lcheylus/haka,haka-security/haka,nabilbendafi/haka,haka-security/haka,Wingless-Archangel/haka,LubyRuffy/haka
96498131c0571a329419efe2e61a5a88ed4dd1b8
test/sophia/transaction.test.lua
test/sophia/transaction.test.lua
-- basic transaction tests space = box.schema.space.create('test', { engine = 'sophia' }) index = space:create_index('primary', { type = 'tree', parts = {1, 'num'} }) -- begin/rollback box.begin() for key = 1, 10 do space:insert({key}) end t = {} for key = 1, 10 do table.insert(t, space:select({key})[1]) end t box.rol...
-- basic transaction tests space = box.schema.space.create('test', { engine = 'sophia' }) index = space:create_index('primary', { type = 'tree', parts = {1, 'num'} }) -- begin/rollback box.begin() for key = 1, 10 do space:insert({key}) end t = {} for key = 1, 10 do table.insert(t, space:select({key})[1]) end t box.rol...
sophia: fix case for first read in a transaction context
sophia: fix case for first read in a transaction context
Lua
bsd-2-clause
ocelot-inc/tarantool,rtsisyk/tarantool,ocelot-inc/tarantool,mejedi/tarantool,mejedi/tarantool,ocelot-inc/tarantool,mejedi/tarantool,rtsisyk/tarantool,ocelot-inc/tarantool,rtsisyk/tarantool,mejedi/tarantool,rtsisyk/tarantool
78186f738fe4c35de1ed8c205dd3606bf537f54b
generate.lua
generate.lua
do dofile("WoWAPI.lua") Ovale = {} LoadAddonFile("OvaleLexer.lua") LoadAddonFile("OvaleSimulationCraft.lua") local OvaleSimulationCraft = Ovale.OvaleSimulationCraft local profilesDirectory = "..\\SimulationCraft\\profiles\\Tier16H" local outputDirectory = "scripts" local saveInput = io.input() local saveOut...
--[[------------------------------ Load fake WoW environment. --]]------------------------------ local root = "../" do local state = { class = "DRUID", } dofile("WoWAPI.lua") WoWAPI:Initialize("Ovale", state) WoWAPI:ExportSymbols() end do -- Load all of the addon files. WoWAPI:LoadAddonFile("Ovale.toc") --...
Fix generate.lua to work after WoWAPI module changes.
Fix generate.lua to work after WoWAPI module changes. git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@1534 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
ultijlam/ovale,Xeltor/ovale,ultijlam/ovale,eXhausted/Ovale,ultijlam/ovale,eXhausted/Ovale,eXhausted/Ovale
8b326962c7d429024a80b6665fbdec0278902bf1
CCLib/src/java/lang/native/HashMap.lua
CCLib/src/java/lang/native/HashMap.lua
natives["java.util.HashMap"] = natives["java.util.HashMap"] or {} local tables = {} natives["java.util.HashMap"]["putHash(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"] = function(this, key, hash, value) tables[this] = tables[this] or {} local bucket = tables[this][hash] local previous = ...
natives["java.util.HashMap"] = natives["java.util.HashMap"] or {} local tables = setmetatable({}, {__mode = "k"}) natives["java.util.HashMap"]["putHash(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"] = function(this, key, hash, value) tables[this] = tables[this] or {} local bucket = tables[thi...
Fixed memory leak
Fixed memory leak
Lua
mit
apemanzilla/JVML-JIT,Team-CC-Corp/JVML-JIT
8f224a1685203bb71e12a0128a10b42fe353d675
lua/entities/base_starfall_entity/init.lua
lua/entities/base_starfall_entity/init.lua
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( "shared.lua" ) function ENT:Initialize () baseclass.Get( "base_gmodentity" ).Initialize( self ) self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self.instance = nil self.tableCopy = funct...
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( "shared.lua" ) function ENT:Initialize () baseclass.Get( "base_gmodentity" ).Initialize( self ) self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self.instance = nil end function ENT:OnRemo...
Remove table.Copy hack
Remove table.Copy hack This used to be necessary because the table.Copy function had a bug, which has since been fixed upstream. Fix #185
Lua
bsd-3-clause
Jazzelhawk/Starfall,Jazzelhawk/Starfall,Xandaros/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,INPStarfall/Starfall,Ingenious-Gaming/Starfall,INPStarfall/Starfall
503eca675eb8ae72362d4a1227d2d3f1ba87267d
src/plugins/finalcutpro/browser/selectlibrary.lua
src/plugins/finalcutpro/browser/selectlibrary.lua
--- === plugins.finalcutpro.browser.selectlibrary === --- --- Actions for selecting libraries local require = require local fcp = require "cp.apple.finalcutpro" local i18n = require "cp.i18n" local plugin = { id = "finalcutpro.browser.selectlibrary", group = "finalcutpro", depend...
--- === plugins.finalcutpro.browser.selectlibrary === --- --- Actions for selecting libraries local require = require local fcp = require "cp.apple.finalcutpro" local i18n = require "cp.i18n" local plugin = { id = "finalcutpro.browser.selectlibrary", group = "finalcutpro", depend...
Fixed @stickler-ci errors
Fixed @stickler-ci errors
Lua
mit
CommandPost/CommandPost,fcpxhacks/fcpxhacks,CommandPost/CommandPost,CommandPost/CommandPost,fcpxhacks/fcpxhacks
b69589fba337ac9c362e02d58c354b2e218900c7
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
* luci/app-olsr: further fixes in olsr plugins config
* luci/app-olsr: further fixes in olsr plugins config
Lua
apache-2.0
kuoruan/luci,palmettos/cnLuCI,nwf/openwrt-luci,aircross/OpenWrt-Firefly-LuCI,openwrt-es/openwrt-luci,ollie27/openwrt_luci,db260179/openwrt-bpi-r1-luci,db260179/openwrt-bpi-r1-luci,ReclaimYourPrivacy/cloak-luci,jlopenwrtluci/luci,deepak78/new-luci,cshore-firmware/openwrt-luci,aa65535/luci,remakeelectric/luci,chris5560/o...
b182505d46c54573706c9d2f78a1d021f8c2949f
share/lua/website/audioboo.lua
share/lua/website/audioboo.lua
-- libquvi-scripts -- Copyright (C) 2011 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free So...
-- libquvi-scripts -- Copyright (C) 2011-2012 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Fr...
FIX: audioboo.lua: multiple patterns
FIX: audioboo.lua: multiple patterns Fix {title,id,thumbnail,stream} patterns. Parse from the contents of the media URL instead of oembed which no longer appears to provide the media stream URL. Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>
Lua
agpl-3.0
alech/libquvi-scripts,DangerCove/libquvi-scripts,legatvs/libquvi-scripts,legatvs/libquvi-scripts,DangerCove/libquvi-scripts,alech/libquvi-scripts
f2d38336c17832137962356313a1cefe674ca400
frontend/apps/reader/modules/readerwikipedia.lua
frontend/apps/reader/modules/readerwikipedia.lua
local ReaderDictionary = require("apps/reader/modules/readerdictionary") local EventListener = require("ui/widget/eventlistener") local NetworkMgr = require("ui/networkmgr") local Translator = require("ui/translator") local Wikipedia = require("ui/wikipedia") local UIManager = require("ui/uimanager") local Geom = requi...
local ReaderDictionary = require("apps/reader/modules/readerdictionary") local EventListener = require("ui/widget/eventlistener") local NetworkMgr = require("ui/networkmgr") local Translator = require("ui/translator") local Wikipedia = require("ui/wikipedia") local UIManager = require("ui/uimanager") local Geom = requi...
fix #1642 GFW block in China may also cause Network unavailable error
fix #1642 GFW block in China may also cause Network unavailable error
Lua
agpl-3.0
koreader/koreader,Frenzie/koreader,koreader/koreader,NiLuJe/koreader,Frenzie/koreader,apletnev/koreader,poire-z/koreader,lgeek/koreader,Markismus/koreader,houqp/koreader,chihyang/koreader,poire-z/koreader,robert00s/koreader,mwoz123/koreader,mihailim/koreader,frankyifei/koreader,Hzj-jie/koreader,NickSavage/koreader,pazo...
02db33e9b3330e194c39bc6d3090609299579f15
src/haka/lua/utils.lua
src/haka/lua/utils.lua
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. function sorted_pairs(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0...
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. function sorted_pairs(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0...
Fix code formating
Fix code formating
Lua
mpl-2.0
nabilbendafi/haka,haka-security/haka,nabilbendafi/haka,LubyRuffy/haka,LubyRuffy/haka,Wingless-Archangel/haka,haka-security/haka,haka-security/haka,lcheylus/haka,lcheylus/haka,Wingless-Archangel/haka,nabilbendafi/haka,lcheylus/haka
c855494ba03d2b29c15473d43e367715ed1650a7
reader.lua
reader.lua
#!./luajit io.stdout:write([[ --------------------------------------------- launching... _ _____ ____ _ | |/ / _ \| _ \ ___ __ _ __| | ___ _ __ | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__| | . \ |_| | _ < __/ (_| | (_| | __/ | |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_| [*] Cu...
#!./luajit io.stdout:write([[ --------------------------------------------- launching... _ _____ ____ _ | |/ / _ \| _ \ ___ __ _ __| | ___ _ __ | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__| | . \ |_| | _ < __/ (_| | (_| | __/ | |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_| [*] Cu...
Minor: don't turn off wifi on exit
Minor: don't turn off wifi on exit This fixes #2379 and #2511.
Lua
agpl-3.0
houqp/koreader,NiLuJe/koreader,koreader/koreader,poire-z/koreader,apletnev/koreader,Frenzie/koreader,NiLuJe/koreader,mwoz123/koreader,pazos/koreader,poire-z/koreader,Hzj-jie/koreader,lgeek/koreader,koreader/koreader,robert00s/koreader,Markismus/koreader,mihailim/koreader,Frenzie/koreader