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
163d3370cbbff179486d908ab085a267cb80eb55
share/lua/website/dailymotion.lua
share/lua/website/dailymotion.lua
-- libquvi-scripts -- Copyright (C) 2010-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 Fr...
-- libquvi-scripts -- Copyright (C) 2010-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 Fr...
FIX: dailymotion.lua:130: no match: video plugin params
FIX: dailymotion.lua:130: no match: video plugin params * http://sourceforge.net/apps/trac/quvi/ticket/82
Lua
agpl-3.0
alech/libquvi-scripts,DangerCove/libquvi-scripts,hadess/libquvi-scripts-iplayer,legatvs/libquvi-scripts,alech/libquvi-scripts,DangerCove/libquvi-scripts,hadess/libquvi-scripts-iplayer,legatvs/libquvi-scripts
6f3e8bd878505b024a96ac7ac6f1447086afc1d4
share/lua/website/xhamster.lua
share/lua/website/xhamster.lua
-- libquvi-scripts -- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2010 Paul Kocialkowski <contact@paulk.fr> -- -- 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 ...
-- libquvi-scripts -- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2010 Paul Kocialkowski <contact@paulk.fr> -- -- 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: xhamster.lua: server response code 404
FIX: xhamster.lua: server response code 404 Fixes "error: server response code 404 (conncode=0)" with some of the videos.
Lua
lgpl-2.1
hadess/libquvi-scripts-iplayer,alech/libquvi-scripts,legatvs/libquvi-scripts,legatvs/libquvi-scripts,hadess/libquvi-scripts-iplayer,alech/libquvi-scripts,DangerCove/libquvi-scripts,DangerCove/libquvi-scripts
7f6767b298612da0d8ae4da708f77a0f77601264
service/clusterproxy.lua
service/clusterproxy.lua
local skynet = require "skynet" local cluster = require "cluster" local node, address = ... skynet.register_protocol { name = "system", id = skynet.PTYPE_SYSTEM, unpack = function (...) return ... end, } local forward_map = { [skynet.PTYPE_LUA] = skynet.PTYPE_SYSTEM, [skynet.PTYPE_RESPONSE] = skynet.PTYPE_RESPO...
local skynet = require "skynet" local cluster = require "cluster" local node, address = ... skynet.register_protocol { name = "system", id = skynet.PTYPE_SYSTEM, unpack = function (...) return ... end, } local forward_map = { [skynet.PTYPE_LUA] = skynet.PTYPE_SYSTEM, [skynet.PTYPE_RESPONSE] = skynet.PTYPE_RESPO...
remove duplicated line to fix issue #166
remove duplicated line to fix issue #166
Lua
mit
microcai/skynet,helling34/skynet,helling34/skynet,czlc/skynet,KAndQ/skynet,sundream/skynet,LuffyPan/skynet,xjdrew/skynet,LuffyPan/skynet,Ding8222/skynet,icetoggle/skynet,samael65535/skynet,ypengju/skynet_comment,zhoukk/skynet,xcjmine/skynet,vizewang/skynet,harryzeng/skynet,cpascal/skynet,liuxuezhan/skynet,felixdae/skyn...
e031599c0a14c5fd6efc174d9ce431d32c57cb55
frontend/ui/widget/filechooser.lua
frontend/ui/widget/filechooser.lua
local lfs = require("libs/libkoreader-lfs") local UIManager = require("ui/uimanager") local Menu = require("ui/widget/menu") local Screen = require("device").screen local Device = require("device") local util = require("ffi/util") local DEBUG = require("dbg") local _ = require("gettext") local ffi = require("ffi") ffi....
local lfs = require("libs/libkoreader-lfs") local UIManager = require("ui/uimanager") local Menu = require("ui/widget/menu") local Screen = require("device").screen local Device = require("device") local util = require("ffi/util") local DEBUG = require("dbg") local _ = require("gettext") local ffi = require("ffi") ffi....
fix strcoll() workaround
fix strcoll() workaround The strcoll() workaround we had in place for Kobo devices was (or has become) ineffective. We had set self.strcoll to nil on Kobo devices - but this was the instance variable. Setting it to nil effectively makes the instance variable vanish, so when trying to access it later, it was not there ...
Lua
agpl-3.0
apletnev/koreader,ashang/koreader,noname007/koreader,Frenzie/koreader,poire-z/koreader,poire-z/koreader,chihyang/koreader,koreader/koreader,pazos/koreader,NickSavage/koreader,Hzj-jie/koreader,koreader/koreader,ashhher3/koreader,robert00s/koreader,chrox/koreader,houqp/koreader,frankyifei/koreader,Frenzie/koreader,NiLuJe...
2d89e16fab2fbc1f2deff857dcfb306e8fef8722
frontend/apps/reader/modules/readerdogear.lua
frontend/apps/reader/modules/readerdogear.lua
local InputContainer = require("ui/widget/container/inputcontainer") local RightContainer = require("ui/widget/container/rightcontainer") local ImageWidget = require("ui/widget/imagewidget") local GestureRange = require("ui/gesturerange") local Device = require("device") local Geom = require("ui/geometry") local Screen...
local Device = require("device") local Event = require("ui/event") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local ImageWidget = require("ui/widget/imagewidget") local InputContainer = require("ui/widget/container/inputcontainer") local RightContainer = require("ui/widget/conta...
Fix: Can't long-press lookup word inside bookmark tap zone (#3048)
Fix: Can't long-press lookup word inside bookmark tap zone (#3048) * Fix: Can't long-press lookup word inside bookmark tap zone
Lua
agpl-3.0
Hzj-jie/koreader,mwoz123/koreader,Frenzie/koreader,NiLuJe/koreader,koreader/koreader,Markismus/koreader,pazos/koreader,mihailim/koreader,houqp/koreader,NiLuJe/koreader,apletnev/koreader,koreader/koreader,poire-z/koreader,poire-z/koreader,Frenzie/koreader,lgeek/koreader
0b71cdaaad609fa825553a28fc9cdf28e0c4db89
libs/core/luasrc/model/wireless.lua
libs/core/luasrc/model/wireless.lua
--[[ LuCI - Wireless 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 applica...
--[[ LuCI - Wireless 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 applica...
libs/core: extend and fix luci.model.wireless
libs/core: extend and fix luci.model.wireless
Lua
apache-2.0
LuttyYang/luci,aa65535/luci,david-xiao/luci,palmettos/cnLuCI,maxrio/luci981213,RedSnake64/openwrt-luci-packages,daofeng2015/luci,taiha/luci,male-puppies/luci,shangjiyu/luci-with-extra,sujeet14108/luci,remakeelectric/luci,sujeet14108/luci,nmav/luci,shangjiyu/luci-with-extra,forward619/luci,bright-things/ionic-luci,Sakur...
b8c1b19db880689eb4cf861f68833bbfb9b1dfc2
CCLib/src/java/lang/native/Throwable.lua
CCLib/src/java/lang/native/Throwable.lua
natives["java.lang.Throwable"] = natives["java.lang.Throwable"] or {} natives["java.lang.Throwable"]["fillInStackTrace()Ljava/lang/Throwable;"] = function(this) local stackTrace = newArray(getArrayClass("[Ljava.lang.StackTraceElement;"), 0) local lStackTrace = getStackTrace() stackTrace[4] = #lStackTrace - 1 local...
natives["java.lang.Throwable"] = natives["java.lang.Throwable"] or {} natives["java.lang.Throwable"]["fillInStackTrace()Ljava/lang/Throwable;"] = function(this) local stackTrace = newArray(getArrayClass("[Ljava.lang.StackTraceElement;"), 0) local lStackTrace = getStackTrace() stackTrace[4] = #lStackTrace - 1 local...
Fix stack trace order being reversed
Fix stack trace order being reversed
Lua
mit
Team-CC-Corp/JVML-JIT,apemanzilla/JVML-JIT
c679e85bb6ebf56086e685ec8984d7e748497d63
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,...
Another fix to my fix
Another fix to my fix
Lua
bsd-3-clause
dimitarcl/premake-dev,Amorph/premake-dev,Amorph/premake-stable,dimitarcl/premake-dev,Amorph/premake-stable,dimitarcl/premake-dev,Amorph/premake-dev,Amorph/premake-dev,Amorph/premake-stable
6ac4dc75a86ea8accc195bb4dee9b2108d59004a
output/scripts/common.lua
output/scripts/common.lua
-- Create a new class that inherits from a base class -- function inherits_from(baseClass) -- The following lines are equivalent to the SimpleClass example: -- Create the table and metatable representing the class. local new_class = {} local class_mt = { __index = new_class } -- Note that this fu...
-- Create a new class that inherits from a base class -- function inherits_from(baseClass) -- The following lines are equivalent to the SimpleClass example: -- Create the table and metatable representing the class. local new_class = {} local class_mt = { __index = new_class } -- Note that this fu...
bug in map_uv_square
bug in map_uv_square
Lua
agpl-3.0
DaTa-/Hypersomnia,TeamHypersomnia/Hypersomnia,DaTa-/Hypersomnia,TeamHypersomnia/Augmentations,DaTa-/Hypersomnia,TeamHypersomnia/Hypersomnia,TeamHypersomnia/Hypersomnia,TeamHypersomnia/Augmentations,TeamHypersomnia/Hypersomnia,TeamHypersomnia/Hypersomnia
fd804446373b0608c3cbb40ec12bf38521105fca
tableSave.lua
tableSave.lua
do -- declare local variables --// exportstring( string ) --// returns a "Lua" portable version of the string local function exportstring( s ) return string.format("%q", s) end --// The Save Function function table.save( tbl,filename ) local charS,charE = " ","\n" local file,err = io.open( filename, "w...
do -- declare local variables --// exportstring( string ) --// returns a "Lua" portable version of the string local function exportstring( s ) return string.format("%q", s) end --// The Save Function function table.save( tbl,filename ) local charS,charE = " ","\n" local file,err = io.open( filename, "w...
fix -nan or -inf cash corrupting gameUsers.txt
fix -nan or -inf cash corrupting gameUsers.txt
Lua
mit
cracker64/Crackbot,GLolol/Crackbot,wolfy1339/WolfyBot,wolfy1339/WolfyBot,GLolol/Crackbot,cracker64/Crackbot,wolfy1339/WolfyBot
05cad423ce2582a2828f35291c825f8ce7eb38a1
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua
-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.cpufreq",package.seeall) local uci = require("luci.model.uci").cursor() local extraitems = uci:get("luci_statistics", "collectd_cpufreq", "ExtraItems") or nil function item() return luci.i18n.translate("CPU Frequency...
-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.cpufreq",package.seeall) local uci = require("luci.model.uci").cursor() local extraitems = uci:get("luci_statistics", "collectd_cpufreq", "ExtraItems") or nil function item() return luci.i18n.translate("CPU Frequency...
luci-app-statistics: cpufreq: enhance additional data
luci-app-statistics: cpufreq: enhance additional data * Use the new data series sorting and coloring options to display the frequencies in order and with matching coloring in different cores. * Fix the y-axis text and legend in the frequency usage graph Signed-off-by: Hannu Nyman <ab53a3387de93e31696058c104e6f76...
Lua
apache-2.0
nmav/luci,nmav/luci,rogerpueyo/luci,hnyman/luci,hnyman/luci,lbthomsen/openwrt-luci,artynet/luci,rogerpueyo/luci,nmav/luci,lbthomsen/openwrt-luci,openwrt/luci,openwrt/luci,Noltari/luci,rogerpueyo/luci,tobiaswaldvogel/luci,hnyman/luci,Noltari/luci,Noltari/luci,openwrt/luci,Noltari/luci,hnyman/luci,lbthomsen/openwrt-luci,...
43444727069b653afff514d03cf73cff285bfc78
mod_statsd/mod_statsd.lua
mod_statsd/mod_statsd.lua
-- Log common stats to statsd -- -- Copyright (C) 2014 Daurnimator -- -- This module is MIT/X11 licensed. local socket = require "socket" local iterators = require "util.iterators" local jid = require "util.jid" local options = module:get_option("statsd") or {} -- Create UDP socket to statsd server local sock = sock...
-- Log common stats to statsd -- -- Copyright (C) 2014 Daurnimator -- -- This module is MIT/X11 licensed. local socket = require "socket" local iterators = require "util.iterators" local jid = require "util.jid" local options = module:get_option("statsd") or {} -- Create UDP socket to statsd server local sock = sock...
mod_statsd: Optionally include host in prefix
mod_statsd: Optionally include host in prefix
Lua
mit
NSAKEY/prosody-modules,either1/prosody-modules,amenophis1er/prosody-modules,joewalker/prosody-modules,vfedoroff/prosody-modules,brahmi2/prosody-modules,LanceJenkinZA/prosody-modules,asdofindia/prosody-modules,obelisk21/prosody-modules,mardraze/prosody-modules,BurmistrovJ/prosody-modules,iamliqiang/prosody-modules,apung...
6357cd1853192677b59e329beb5ca9e8376e8638
share/lua/website/break.lua
share/lua/website/break.lua
-- libquvi-scripts -- Copyright (C) 2010-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...
-- libquvi-scripts -- Copyright (C) 2010-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: break.lua: multiple patterns
FIX: break.lua: multiple patterns Fix {title,id,filepath,filehash} patterns. Add thumbnail_url. Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>
Lua
agpl-3.0
alech/libquvi-scripts,legatvs/libquvi-scripts,legatvs/libquvi-scripts,DangerCove/libquvi-scripts,alech/libquvi-scripts,DangerCove/libquvi-scripts
05dd61b9ec514a2408d0562a26672b9864ce1243
irc/handlers.lua
irc/handlers.lua
local pairs = pairs local error = error local tonumber = tonumber local table = table module "irc" handlers = {} handlers["PING"] = function(o, prefix, query) o:send("PONG :%s", query) end handlers["001"] = function(o, prefix, me) o.authed = true o.nick = me end handlers["PRIVMSG"] = function(o, prefix, channel...
local pairs = pairs local error = error local tonumber = tonumber local table = table module "irc" handlers = {} handlers["PING"] = function(o, prefix, query) o:send("PONG :%s", query) end handlers["001"] = function(o, prefix, me) o.authed = true o.nick = me end handlers["PRIVMSG"] = function(o, prefix, channel...
fix crash on startup (seems to be when WHO response happens before the channel is joined)
fix crash on startup (seems to be when WHO response happens before the channel is joined)
Lua
mit
GLolol/Crackbot,cracker64/Crackbot,cracker64/Crackbot,GLolol/Crackbot,wolfy1339/WolfyBot,wolfy1339/WolfyBot,wolfy1339/WolfyBot
0566df5f2839e2f0f06eaf3d7c8725a21426dd76
frontend/apps/filemanager/filemanagerfilesearcher.lua
frontend/apps/filemanager/filemanagerfilesearcher.lua
local CenterContainer = require("ui/widget/container/centercontainer") local InputContainer = require("ui/widget/container/inputcontainer") local DocumentRegistry = require("document/documentregistry") local InputDialog = require("ui/widget/inputdialog") local InfoMessage = require("ui/widget/infomessage") local lfs = ...
local CenterContainer = require("ui/widget/container/centercontainer") local InputContainer = require("ui/widget/container/inputcontainer") local DocumentRegistry = require("document/documentregistry") local InputDialog = require("ui/widget/inputdialog") local InfoMessage = require("ui/widget/infomessage") local lfs = ...
FileSearcher: also show directory results
FileSearcher: also show directory results Fixes #2177
Lua
agpl-3.0
Frenzie/koreader,poire-z/koreader,robert00s/koreader,houqp/koreader,apletnev/koreader,Hzj-jie/koreader,NiLuJe/koreader,Markismus/koreader,pazos/koreader,mihailim/koreader,poire-z/koreader,koreader/koreader,mwoz123/koreader,lgeek/koreader,Frenzie/koreader,NiLuJe/koreader,koreader/koreader
a3a8b418966a32301e4cbec74e4b760f01d61c54
mod_register_json/mod_register_json.lua
mod_register_json/mod_register_json.lua
-- Expose a simple servlet to handle user registrations from web pages -- via JSON. -- -- A Good chunk of the code is from mod_data_access.lua by Kim Alvefur -- aka Zash. local jid_prep = require "util.jid".prep; local jid_split = require "util.jid".split; local usermanager = require "core.usermanager"; local b64_deco...
-- Expose a simple servlet to handle user registrations from web pages -- via JSON. -- -- A Good chunk of the code is from mod_data_access.lua by Kim Alvefur -- aka Zash. local jid_prep = require "util.jid".prep; local jid_split = require "util.jid".split; local usermanager = require "core.usermanager"; local b64_deco...
mod_register_json: Let's call it the first commit, fixed all code errors (aka it works).
mod_register_json: Let's call it the first commit, fixed all code errors (aka it works).
Lua
mit
crunchuser/prosody-modules,joewalker/prosody-modules,softer/prosody-modules,either1/prosody-modules,joewalker/prosody-modules,dhotson/prosody-modules,apung/prosody-modules,LanceJenkinZA/prosody-modules,dhotson/prosody-modules,Craige/prosody-modules,olax/prosody-modules,guilhem/prosody-modules,cryptotoad/prosody-modules...
729b0a07df9ca90deed2a154c38ff6c2cd2eec5c
mod_s2s_auth_dane/mod_s2s_auth_dane.lua
mod_s2s_auth_dane/mod_s2s_auth_dane.lua
-- mod_s2s_auth_dane -- Copyright (C) 2013-2014 Kim Alvefur -- -- This file is MIT/X11 licensed. -- -- In your DNS, put -- _xmpp-server.example.com. IN TLSA 3 0 1 <sha256 hash of certificate> -- -- Known issues: -- Race condition -- Could be done much cleaner if mod_s2s was using util.async -- -- TODO Things to test/ha...
-- mod_s2s_auth_dane -- Copyright (C) 2013-2014 Kim Alvefur -- -- This file is MIT/X11 licensed. -- -- In your DNS, put -- _xmpp-server.example.com. IN TLSA 3 0 1 <sha256 hash of certificate> -- -- Known issues: -- Race condition -- Could be done much cleaner if mod_s2s was using util.async -- -- TODO Things to test/ha...
mod_s2s_auth_dane: Fix for a17c2c4043e5
mod_s2s_auth_dane: Fix for a17c2c4043e5
Lua
mit
apung/prosody-modules,brahmi2/prosody-modules,iamliqiang/prosody-modules,syntafin/prosody-modules,brahmi2/prosody-modules,obelisk21/prosody-modules,apung/prosody-modules,BurmistrovJ/prosody-modules,either1/prosody-modules,heysion/prosody-modules,vince06fr/prosody-modules,olax/prosody-modules,stephen322/prosody-modules,...
493c88782947a2856c20a40af1ad0d757705ea73
spec/unit/readerfooter_spec.lua
spec/unit/readerfooter_spec.lua
require("commonrequire") local DocumentRegistry = require("document/documentregistry") local ReaderUI = require("apps/reader/readerui") local DEBUG = require("dbg") describe("Readerfooter module", function() it("should setup footer for epub without error", function() local sample_epub = "spec/front/unit/da...
require("commonrequire") local DocumentRegistry = require("document/documentregistry") local ReaderUI = require("apps/reader/readerui") local DEBUG = require("dbg") describe("Readerfooter module", function() it("should setup footer for epub without error", function() local sample_epub = "spec/front/unit/da...
fix travis testfront
fix travis testfront
Lua
agpl-3.0
Frenzie/koreader,mihailim/koreader,mwoz123/koreader,Frenzie/koreader,chihyang/koreader,Markismus/koreader,NickSavage/koreader,poire-z/koreader,lgeek/koreader,apletnev/koreader,koreader/koreader,frankyifei/koreader,Hzj-jie/koreader,robert00s/koreader,pazos/koreader,koreader/koreader,NiLuJe/koreader,NiLuJe/koreader,houqp...
740bb20850378d5f3c3abd4cbe35720174d2c5e5
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()
Lua
apache-2.0
thess/OpenWrt-luci,teslamint/luci,kuoruan/luci,teslamint/luci,bright-things/ionic-luci,jorgifumi/luci,LazyZhu/openwrt-luci-trunk-mod,opentechinstitute/luci,RedSnake64/openwrt-luci-packages,palmettos/test,wongsyrone/luci-1,Sakura-Winkey/LuCI,jchuang1977/luci-1,slayerrensky/luci,lcf258/openwrtcn,aa65535/luci,kuoruan/luci...
f5010994b9b921d799504a46a0f8d1817d656f5c
kong/plugins/hmac-auth/access.lua
kong/plugins/hmac-auth/access.lua
local cache = require "kong.tools.database_cache" local stringy = require "stringy" local responses = require "kong.tools.responses" local constants = require "kong.constants" local math_abs = math.abs local ngx_time = ngx.time local ngx_gmatch = ngx.re.gmatch local ngx_decode_base64 = ngx.decode_base64 local ngx_pars...
local cache = require "kong.tools.database_cache" local stringy = require "stringy" local responses = require "kong.tools.responses" local constants = require "kong.constants" local math_abs = math.abs local ngx_time = ngx.time local ngx_gmatch = ngx.re.gmatch local ngx_decode_base64 = ngx.decode_base64 local ngx_pars...
hotfix(hmac-auth) constant time digest comparison
hotfix(hmac-auth) constant time digest comparison fix #655
Lua
apache-2.0
shiprabehera/kong,Kong/kong,Vermeille/kong,Mashape/kong,li-wl/kong,jebenexer/kong,salazar/kong,xvaara/kong,ajayk/kong,ccyphers/kong,jerizm/kong,beauli/kong,Kong/kong,smanolache/kong,Kong/kong,icyxp/kong,akh00/kong
ff9c15d1452026c9e8933ebc18af07aba9668e33
lua/Transition.lua
lua/Transition.lua
--! Perform soft transitions of properties in one state to another. --! --! Copyright 2012-13 Bifrost Entertainment. All rights reserved. --! \author Tommy Nguyen local __count = 0 local __transitions = {} local function clear() for i = 1, __count do __transitions[i] = nil end __count = 0 end local function reg...
--! Perform soft transitions of properties in one state to another. --! --! Copyright 2012-13 Bifrost Entertainment. All rights reserved. --! \author Tommy Nguyen local module_path = (...):match("(.*[./\\])[^./\\]+") or "" local __count = 0 local __transitions = {} local function clear() for i = 1, __count do __t...
Fixed Transition failing to require files when in folder.
Fixed Transition failing to require files when in folder.
Lua
mit
tn0502/rainbow,pandaforks/tido-rainbow,tn0502/rainbow,pandaforks/tido-rainbow,tn0502/rainbow,pandaforks/tido-rainbow,pandaforks/tido-rainbow,tn0502/rainbow,tn0502/rainbow,pandaforks/tido-rainbow,tn0502/rainbow
14b90d0a8821a18bd672e93e8367f1838bba6b74
src/CppParser/Bindings/premake4.lua
src/CppParser/Bindings/premake4.lua
project "CppSharp.Parser.Gen" kind "ConsoleApp" language "C#" location "." debugdir "." files { "ParserGen.cs", "*.lua" } links { "CppSharp.AST", "CppSharp.Generator" } configuration { "vs*" } links { "CppSharp.Parser" } configuration { "not vs*" } links { "CppSharp.Parser.CSharp" } pro...
project "CppSharp.Parser.Gen" kind "ConsoleApp" language "C#" location "." debugdir "." files { "ParserGen.cs", "*.lua" } links { "CppSharp.AST", "CppSharp.Generator" } SetupParser() project "CppSharp.Parser.CSharp" kind "SharedLib" language "C#" location "." dependson { "CppSharp.Cp...
Fixed the ParserGen build script to use the SetupParser helper function.
Fixed the ParserGen build script to use the SetupParser helper function.
Lua
mit
Samana/CppSharp,zillemarco/CppSharp,genuinelucifer/CppSharp,txdv/CppSharp,ddobrev/CppSharp,genuinelucifer/CppSharp,mono/CppSharp,mono/CppSharp,ddobrev/CppSharp,ddobrev/CppSharp,xistoso/CppSharp,KonajuGames/CppSharp,mydogisbox/CppSharp,SonyaSa/CppSharp,mohtamohit/CppSharp,Samana/CppSharp,txdv/CppSharp,mydogisbox/CppShar...
5e3d86a33fc7d9478a856c8e5eda25225581ecef
src/CppParser/Bindings/premake4.lua
src/CppParser/Bindings/premake4.lua
project "CppSharp.Parser.Gen" kind "ConsoleApp" language "C#" SetupManagedProject() debugdir "." files { "ParserGen.cs", "*.lua" } links { "CppSharp.AST", "CppSharp.Generator" } SetupParser() project "CppSharp.Parser.CSharp" kind "SharedLib" language "C#" SetupManagedProject() depend...
project "CppSharp.Parser.Gen" kind "ConsoleApp" language "C#" SetupManagedProject() debugdir "." files { "ParserGen.cs", "*.lua" } links { "CppSharp.AST", "CppSharp.Generator" } SetupParser() project "CppSharp.Parser.CSharp" kind "SharedLib" language "C#" SetupManagedProject() depend...
Fixed parser bindings build to correctly choose the correct generated bindings depending on the platform.
Fixed parser bindings build to correctly choose the correct generated bindings depending on the platform.
Lua
mit
mono/CppSharp,xistoso/CppSharp,xistoso/CppSharp,nalkaro/CppSharp,nalkaro/CppSharp,Samana/CppSharp,mydogisbox/CppSharp,imazen/CppSharp,genuinelucifer/CppSharp,mono/CppSharp,u255436/CppSharp,KonajuGames/CppSharp,SonyaSa/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,imazen/CppSharp,genuinelucifer/CppSharp,SonyaSa/CppSharp...
d6016cba04d7637aab04f4e55716db19523cfa47
defaut/Paladin.lua
defaut/Paladin.lua
Ovale.defaut["PALADIN"] = [[Define(avenging_wrath 31884) SpellInfo(avenging_wrath duration=20 cd=180 ) SpellAddBuff(avenging_wrath avenging_wrath=1) Define(blessing_of_kings 20217) SpellInfo(blessing_of_kings duration=3600 ) SpellAddBuff(blessing_of_kings blessing_of_kings=1) Define(blessing_of_might 19740) S...
Ovale.defaut["PALADIN"] = [[Define(avenging_wrath 31884) SpellInfo(avenging_wrath duration=20 cd=180 ) SpellAddBuff(avenging_wrath avenging_wrath=1) Define(blessing_of_kings 20217) SpellInfo(blessing_of_kings duration=3600 ) SpellAddBuff(blessing_of_kings blessing_of_kings=1) Define(blessing_of_might 19740) S...
Fix ticket 175 - Paladin Priority broken with Glyph of Exorcism
Fix ticket 175 - Paladin Priority broken with Glyph of Exorcism When using the Glyph of Mass Exorcism, the spell ID of Exorcism changes from 879 to 122032. git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@671 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
eXhausted/Ovale,ultijlam/ovale,Xeltor/ovale,ultijlam/ovale,eXhausted/Ovale,eXhausted/Ovale,ultijlam/ovale
353099ec332cbcf714ca018f67f22d44c3d6451c
OS/DiskOS/Programs/load.lua
OS/DiskOS/Programs/load.lua
local source = select(1,...) local term = require("terminal") local eapi = require("Editors") local png = false if source and source ~= "@clip" and source ~= "-?" then source = term.resolve(source) if source:sub(-4,-1) == ".png" then png = true elseif source:sub(-5,-1) ~= ".lk12" then local lksrc = sou...
local source = select(1,...) local term = require("terminal") local eapi = require("Editors") local png = false if source and source ~= "@clip" and source ~= "-?" then source = term.resolve(source) if source:sub(-4,-1) == ".png" then png = true elseif source:sub(-5,-1) ~= ".lk12" then local lksrc = sou...
Typofixes in `load` command
Typofixes in `load` command Former-commit-id: 2dedf6eb1bd1ae29476dc7ccfd756243bfa455e0
Lua
mit
RamiLego4Game/LIKO-12
086dbdb657e7994f996b18791812e4779ac43340
frontend/ui/widget/scrolltextwidget.lua
frontend/ui/widget/scrolltextwidget.lua
local InputContainer = require("ui/widget/container/inputcontainer") local TextBoxWidget = require("ui/widget/textboxwidget") local VerticalScrollBar = require("ui/widget/verticalscrollbar") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local UIManager = require("ui/uimanager") loc...
local InputContainer = require("ui/widget/container/inputcontainer") local TextBoxWidget = require("ui/widget/textboxwidget") local VerticalScrollBar = require("ui/widget/verticalscrollbar") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local UIManager = require("ui/uimanager") loc...
scrolltextwidget(fix): add moveCursor method
scrolltextwidget(fix): add moveCursor method
Lua
agpl-3.0
houqp/koreader,poire-z/koreader,mihailim/koreader,Frenzie/koreader,robert00s/koreader,NiLuJe/koreader,Markismus/koreader,Frenzie/koreader,apletnev/koreader,pazos/koreader,lgeek/koreader,mwoz123/koreader,NickSavage/koreader,Hzj-jie/koreader,koreader/koreader,NiLuJe/koreader,koreader/koreader,poire-z/koreader
982af59fac8a105a6ebff28a10e40219686f791b
kong/cluster_events/strategies/postgres.lua
kong/cluster_events/strategies/postgres.lua
local utils = require "kong.tools.utils" local pgmoon = require "pgmoon" local max = math.max local fmt = string.format local concat = table.concat local setmetatable = setmetatable local new_tab do local ok ok, new_tab = pcall(require, "table.new") if not ok then new_tab = function...
local utils = require "kong.tools.utils" local pgmoon = require "pgmoon" local max = math.max local fmt = string.format local concat = table.concat local setmetatable = setmetatable local new_tab do local ok ok, new_tab = pcall(require, "table.new") if not ok then new_tab = function...
fix(cluster) add missing error handling in Postgres strategy
fix(cluster) add missing error handling in Postgres strategy From #2709
Lua
apache-2.0
jebenexer/kong,Kong/kong,Kong/kong,icyxp/kong,shiprabehera/kong,salazar/kong,Mashape/kong,Kong/kong
338b54e3dd01422bbeb4c3ebe21b37151efb929a
kong/plugins/oauth2/migrations/postgres.lua
kong/plugins/oauth2/migrations/postgres.lua
return { { name = "2015-08-03-132400_init_oauth2", up = [[ CREATE TABLE IF NOT EXISTS oauth2_credentials( id uuid, name text, consumer_id uuid REFERENCES consumers (id) ON DELETE CASCADE, client_id text UNIQUE, client_secret text UNIQUE, redirect_uri text,...
return { { name = "2015-08-03-132400_init_oauth2", up = [[ CREATE TABLE IF NOT EXISTS oauth2_credentials( id uuid, name text, consumer_id uuid REFERENCES consumers (id) ON DELETE CASCADE, client_id text UNIQUE, client_secret text UNIQUE, redirect_uri text,...
hotfix(oauth2) missing migration for postgres
hotfix(oauth2) missing migration for postgres
Lua
apache-2.0
Kong/kong,ccyphers/kong,icyxp/kong,li-wl/kong,salazar/kong,Mashape/kong,akh00/kong,jebenexer/kong,shiprabehera/kong,Kong/kong,Kong/kong
c483441208358fe98b1edbde033b7a958767f8ff
share/lua/sd/icecast.lua
share/lua/sd/icecast.lua
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 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 ...
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 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 ...
lua: icecast: can fix radionomy's station names
lua: icecast: can fix radionomy's station names
Lua
lgpl-2.1
xkfz007/vlc,krichter722/vlc,vlc-mirror/vlc-2.1,vlc-mirror/vlc,jomanmuk/vlc-2.1,xkfz007/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc,krichter722/vlc,jomanmuk/vlc-2.2,xkfz007/vlc,xkfz007/vlc,jomanmuk/vlc-2.2,xkfz007/vlc,jomanmuk/vlc-2.1,krichter722/vlc,vlc-mirror/vlc,shyamalschandra/vlc,vlc-mir...
7144c1d36ffef99c6563d2716e85a852142643ce
share/lua/sd/icecast.lua
share/lua/sd/icecast.lua
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 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 ...
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 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 ...
lua: sd: strengthen icecast. (fix #8425)
lua: sd: strengthen icecast. (fix #8425) XML is correct, but data is still random and full of junk...
Lua
lgpl-2.1
shyamalschandra/vlc,shyamalschandra/vlc,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,krichter722/vlc,shyamalschandra/vlc,vlc-mirror/vlc-2.1,xkfz007/vlc,krichter722/vlc,vlc-mirror/vlc,xkfz007/vlc,shyamalschandra/vlc,shyamalschandra/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc,jomanmuk/vlc-2.2,shyamal...
c842b668b0ada4757aca0f7feccf041a24628b2b
contrib/package/olsrd-luci/files/lib/config/olsr.lua
contrib/package/olsrd-luci/files/lib/config/olsr.lua
#!/usr/bin/lua --[[ OLSRd configuration generator (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.o...
#!/usr/bin/lua --[[ OLSRd configuration generator (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.o...
* luci/contrib/olsrd-luci: adept config generator to new uci api and fix ifname in interface sections
* luci/contrib/olsrd-luci: adept config generator to new uci api and fix ifname in interface sections
Lua
apache-2.0
forward619/luci,Noltari/luci,teslamint/luci,jchuang1977/luci-1,keyidadi/luci,Wedmer/luci,palmettos/cnLuCI,keyidadi/luci,MinFu/luci,cshore/luci,bright-things/ionic-luci,RuiChen1113/luci,ollie27/openwrt_luci,nmav/luci,dismantl/luci-0.12,LazyZhu/openwrt-luci-trunk-mod,NeoRaider/luci,openwrt/luci,bittorf/luci,obsy/luci,rem...
1121e2885a43e01766b0aa179fdc97be8b873afe
modules/admin-full/luasrc/model/cbi/admin_network/hosts.lua
modules/admin-full/luasrc/model/cbi/admin_network/hosts.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...
admin-full/network/hosts: Fix problem when arptable is empty, #482
admin-full/network/hosts: Fix problem when arptable is empty, #482 git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@9416 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ch3n2k/luci,phi-psi/luci,eugenesan/openwrt-luci,phi-psi/luci,zwhfly/openwrt-luci,ch3n2k/luci,vhpham80/luci,zwhfly/openwrt-luci,vhpham80/luci,eugenesan/openwrt-luci,ThingMesh/openwrt-luci,zwhfly/openwrt-luci,yeewang/openwrt-luci,ch3n2k/luci,8devices/carambola2-luci,yeewang/openwrt-luci,8devices/carambola2-luci,ReclaimYo...
7b5e62b8960715ac4fafcf627242ae48db6dc95e
service/clusterd.lua
service/clusterd.lua
local skynet = require "skynet" local sc = require "socketchannel" local socket = require "socket" local cluster = require "cluster.c" local config_name = skynet.getenv "cluster" local node_address = {} local function loadconfig() local f = assert(io.open(config_name)) local source = f:read "*a" f:close() assert(...
local skynet = require "skynet" local sc = require "socketchannel" local socket = require "socket" local cluster = require "cluster.c" local config_name = skynet.getenv "cluster" local node_address = {} local function loadconfig() local f = assert(io.open(config_name)) local source = f:read "*a" f:close() assert(...
fix typo
fix typo
Lua
mit
ilylia/skynet,lc412/skynet,qyli/test,microcai/skynet,yinjun322/skynet,zhaijialong/skynet,felixdae/skynet,catinred2/skynet,lawnight/skynet,gitfancode/skynet,qyli/test,cuit-zhaxin/skynet,Markal128/skynet,ypengju/skynet_comment,cpascal/skynet,cuit-zhaxin/skynet,cdd990/skynet,yinjun322/skynet,gitfancode/skynet,zhaijialong/...
791d540a5a8b9397a12f50d555832a8d49bdba70
frontend/apps/filemanager/filemanagerfilesearcher.lua
frontend/apps/filemanager/filemanagerfilesearcher.lua
local CenterContainer = require("ui/widget/container/centercontainer") local InputContainer = require("ui/widget/container/inputcontainer") local DocumentRegistry = require("document/documentregistry") local InputDialog = require("ui/widget/inputdialog") local InfoMessage = require("ui/widget/infomessage") local lfs = ...
local CenterContainer = require("ui/widget/container/centercontainer") local InputContainer = require("ui/widget/container/inputcontainer") local DocumentRegistry = require("document/documentregistry") local InputDialog = require("ui/widget/inputdialog") local InfoMessage = require("ui/widget/infomessage") local lfs = ...
FileSearcher: filter .sdr directories
FileSearcher: filter .sdr directories Fixes #2665
Lua
agpl-3.0
koreader/koreader,mwoz123/koreader,Frenzie/koreader,NiLuJe/koreader,poire-z/koreader,pazos/koreader,robert00s/koreader,koreader/koreader,Frenzie/koreader,NiLuJe/koreader,apletnev/koreader,lgeek/koreader,poire-z/koreader,Markismus/koreader,mihailim/koreader,Hzj-jie/koreader,houqp/koreader
57eb0c64861c7ce7371f7c0d73c40dbc841c496c
mod_websocket/mod_websocket.lua
mod_websocket/mod_websocket.lua
-- Prosody IM -- Copyright (C) 2012 Florian Zeitz -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:set_global(); local add_filter = require "util.filters".add_filter; local sha1 = require "util.hashes".sha1; local base64 = require "util.encod...
-- Prosody IM -- Copyright (C) 2012 Florian Zeitz -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:set_global(); local add_filter = require "util.filters".add_filter; local sha1 = require "util.hashes".sha1; local base64 = require "util.encod...
mod_websocket: Fix require to work with lua-bitop (Thanks Istv?n and Zash)
mod_websocket: Fix require to work with lua-bitop (Thanks Istv?n and Zash)
Lua
mit
LanceJenkinZA/prosody-modules,LanceJenkinZA/prosody-modules,1st8/prosody-modules,vince06fr/prosody-modules,crunchuser/prosody-modules,BurmistrovJ/prosody-modules,either1/prosody-modules,jkprg/prosody-modules,vfedoroff/prosody-modules,asdofindia/prosody-modules,either1/prosody-modules,brahmi2/prosody-modules,obelisk21/p...
aa2e1edfa5c3ccc878cd615c7729a892eae72947
applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
-- Copyright 2014 Aedan Renner <chipdankly@gmail.com> -- Copyright 2018 Florian Eckert <fe@dev.tdt.de> -- Licensed to the public under the GNU General Public License v2. local dsp = require "luci.dispatcher" local util = require("luci.util") local m, mwan_rule, src_ip, src_port, dest_ip, dest_port, proto, sticky lo...
-- Copyright 2014 Aedan Renner <chipdankly@gmail.com> -- Copyright 2018 Florian Eckert <fe@dev.tdt.de> -- Licensed to the public under the GNU General Public License v2. local dsp = require "luci.dispatcher" local util = require("luci.util") local m, mwan_rule, src_ip, src_port, dest_ip, dest_port, proto, sticky lo...
luci-app-mwan3: fix possibility to not select an ipset
luci-app-mwan3: fix possibility to not select an ipset Signed-off-by: Florian Eckert <ee3e4af9c48a69f5a5c47153eb4a777754bfbe6f@dev.tdt.de>
Lua
apache-2.0
openwrt-es/openwrt-luci,nmav/luci,Noltari/luci,openwrt/luci,artynet/luci,nmav/luci,hnyman/luci,openwrt-es/openwrt-luci,lbthomsen/openwrt-luci,nmav/luci,openwrt/luci,nmav/luci,Noltari/luci,lbthomsen/openwrt-luci,rogerpueyo/luci,openwrt-es/openwrt-luci,artynet/luci,rogerpueyo/luci,hnyman/luci,nmav/luci,nmav/luci,nmav/luc...
50c56b01043113b77f47ae9634d671b67376475b
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...
Changed logout and post-auth redirect to respect cb_scheme variable (fixes HTTP servers running behind an HTTPS proxy)
Changed logout and post-auth redirect to respect cb_scheme variable (fixes HTTP servers running behind an HTTPS proxy)
Lua
mit
ivan1986/nginx-google-oauth,agoragames/nginx-google-oauth,ivan1986/nginx-google-oauth,agoragames/nginx-google-oauth,milliwayslabs/nginx-google-oauth,milliwayslabs/nginx-google-oauth
12baf681cade7228219964d5b43fa5fc8ca2c3ce
share/lua/playlist/koreus.lua
share/lua/playlist/koreus.lua
--[[ Copyright 2009 the VideoLAN team 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 option) any later version. This program is distributed in t...
--[[ Copyright 2009 the VideoLAN team 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 option) any later version. This program is distributed in t...
Koreus: fix on broken pages
Koreus: fix on broken pages
Lua
lgpl-2.1
vlc-mirror/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,xkfz007/vlc,jomanmuk/vlc-2.1,xkfz007/vlc,xkfz007/vlc,shyamalschandra/vlc,krichter722/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc,jomanmuk/vlc-2.2,vlc-mirror/vlc,vlc-mirror/vlc-2.1,krichter722/vlc,krichter722/vlc,vlc-mirror/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2...
847769a9d809c0b873e81c7affab38abcf0d8dc7
build/Tests.lua
build/Tests.lua
-- Tests/examples helpers function SetupExampleProject() SetupNativeProjects() location (path.join(builddir, "deps")) end function SetupTestProject(name, file, lib) SetupTestGeneratorProject(name) SetupTestNativeProject(name) SetupTestProjectsCSharp(name, file, lib) SetupTestProjectsCLI(name, file, lib)...
-- Tests/examples helpers function SetupExampleProject() SetupNativeProjects() location (path.join(builddir, "deps")) end function SetupTestProject(name, file, lib) SetupTestGeneratorProject(name) SetupTestNativeProject(name) SetupTestProjectsCSharp(name, file, lib) SetupTestProjectsCLI(name, file, lib)...
Fixed the tests build scripts.
Fixed the tests build scripts.
Lua
mit
mono/CppSharp,mydogisbox/CppSharp,Samana/CppSharp,Samana/CppSharp,zillemarco/CppSharp,genuinelucifer/CppSharp,genuinelucifer/CppSharp,zillemarco/CppSharp,u255436/CppSharp,zillemarco/CppSharp,KonajuGames/CppSharp,txdv/CppSharp,SonyaSa/CppSharp,ktopouzi/CppSharp,SonyaSa/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp...
8970ff6d495ee362098545b8f4a075ebda5d8099
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...
Fix MPORA lua playlist script.
Fix MPORA lua playlist script.
Lua
lgpl-2.1
vlc-mirror/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,krichter722/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,shyamalschandra/vlc,vlc-mirror/vlc-2.1,krichter722/vlc,jomanmuk/vlc-2.2,xkfz007/vlc,vlc-mirror/vlc,xkfz007/vlc,xkfz007/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.1,jomanmuk/vlc-2.2,shyama...
593f6384879544855fb0486ca87d9be160a99e91
mod_lastlog/mod_lastlog.lua
mod_lastlog/mod_lastlog.lua
local datamanager = require "util.datamanager"; local time = os.time; local log_ip = module:get_option_boolean("lastlog_ip_address", false); local host = module.host; module:hook("authentication-success", function(event) local session = event.session; if session.username then datamanager.store(session.username, h...
local datamanager = require "util.datamanager"; local time = os.time; local log_ip = module:get_option_boolean("lastlog_ip_address", false); local host = module.host; module:hook("authentication-success", function(event) local session = event.session; if session.username then datamanager.store(session.username, h...
mod_lastlog: Fix command
mod_lastlog: Fix command
Lua
mit
iamliqiang/prosody-modules,jkprg/prosody-modules,syntafin/prosody-modules,cryptotoad/prosody-modules,drdownload/prosody-modules,LanceJenkinZA/prosody-modules,mardraze/prosody-modules,obelisk21/prosody-modules,1st8/prosody-modules,asdofindia/prosody-modules,jkprg/prosody-modules,drdownload/prosody-modules,stephen322/pro...
9f31be2af67e592fa8f4046f7c09104c6ae95b1d
lua/entities/gmod_starfall_hologram/cl_init.lua
lua/entities/gmod_starfall_hologram/cl_init.lua
include( "shared.lua" ) ENT.RenderGroup = RENDERGROUP_BOTH -- Umsgs may be recieved before the entity is initialized, place -- them in here until initialization. local msgQueueNames = {} local msgQueueData = {} local function msgQueueAdd ( umname, ent, udata ) local names, data = msgQueueNames[ ent ], msgQueueData[...
include( "shared.lua" ) ENT.RenderGroup = RENDERGROUP_BOTH -- Umsgs may be recieved before the entity is initialized, place -- them in here until initialization. local msgQueueNames = {} local msgQueueData = {} local function msgQueueAdd ( umname, ent, udata ) local names, data = msgQueueNames[ ent ], msgQueueData[...
Fix rare hologram error
Fix rare hologram error If the net message for scaling/clipping arrived in a specific period of time, it would error. This makes sure the entity is properly initialised before any scaling or clipping is done. Finally fixes #20
Lua
bsd-3-clause
INPStarfall/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,Ingenious-Gaming/Starfall,Xandaros/Starfall,Jazzelhawk/Starfall,INPStarfall/Starfall
8368e219b0f716563998bc2465ebe1853b2bc65c
mod_pastebin/mod_pastebin.lua
mod_pastebin/mod_pastebin.lua
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local length_threshold = config.get("*", "core", "pastebin_threshold") or 500; local base_url; local pastes = {}; local xmlns_xhtmlim = "http://jabber.org/protocol/...
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local length_threshold = config.get("*", "core", "pastebin_threshold") or 500; local base_url = config.get(module.host, "core", "pastebin_url"); local pastes = {}; ...
mod_pastebin: Small fix to read the pastebin URL from the config
mod_pastebin: Small fix to read the pastebin URL from the config
Lua
mit
brahmi2/prosody-modules,stephen322/prosody-modules,olax/prosody-modules,stephen322/prosody-modules,heysion/prosody-modules,1st8/prosody-modules,brahmi2/prosody-modules,mmusial/prosody-modules,vfedoroff/prosody-modules,crunchuser/prosody-modules,asdofindia/prosody-modules,heysion/prosody-modules,LanceJenkinZA/prosody-mo...
8937557a2808b6ec5876a12d46b00af9f6e1a55e
mod_pastebin/mod_pastebin.lua
mod_pastebin/mod_pastebin.lua
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local t_insert, t_remove = table.insert, table.remove; local add_task = require "util.timer".add_task; local length_threshold = config.get(module.host, "core", "pasteb...
local st = require "util.stanza"; local httpserver = require "net.httpserver"; local uuid_new = require "util.uuid".generate; local os_time = os.time; local t_insert, t_remove = table.insert, table.remove; local add_task = require "util.timer".add_task; local function drop_invalid_utf8(seq) local start = seq:byte();...
mod_pastebin: Better fix for stripping truncated UFT-8 sequences
mod_pastebin: Better fix for stripping truncated UFT-8 sequences
Lua
mit
apung/prosody-modules,mardraze/prosody-modules,mmusial/prosody-modules,cryptotoad/prosody-modules,NSAKEY/prosody-modules,1st8/prosody-modules,syntafin/prosody-modules,BurmistrovJ/prosody-modules,brahmi2/prosody-modules,vfedoroff/prosody-modules,heysion/prosody-modules,mardraze/prosody-modules,iamliqiang/prosody-modules...
04b5a204e46d6a7ac2ea3eecc8004666b96d28c0
demos/monkey/threepwood.lua
demos/monkey/threepwood.lua
--! Monkey Demo: Guybrush Threepwood --! --! Copyright 2011-12 Bifrost Entertainment. All rights reserved. --! \author Tommy Nguyen Threepwood = {}; Threepwood.__index = Threepwood; function Threepwood.new(assets) local guybrush = {}; setmetatable(guybrush, Threepwood); -- Load Guybrush standing, facing left or r...
--! Monkey Demo: Guybrush Threepwood --! --! Copyright 2011-12 Bifrost Entertainment. All rights reserved. --! \author Tommy Nguyen Threepwood = {}; Threepwood.__index = Threepwood; function Threepwood.new(assets) local guybrush = {}; setmetatable(guybrush, Threepwood); -- Load Guybrush standing, facing left or r...
demos/monkey: Fixed a segmentation fault.
demos/monkey: Fixed a segmentation fault. Spamming mouse/touch events can cause Threepwood's animation node to be removed twice.
Lua
mit
tn0502/rainbow,tn0502/rainbow,tn0502/rainbow,tn0502/rainbow,pandaforks/tido-rainbow,pandaforks/tido-rainbow,pandaforks/tido-rainbow,tn0502/rainbow,pandaforks/tido-rainbow,pandaforks/tido-rainbow,tn0502/rainbow
58d9f5c0b3172809f7981e5ac78fcefa5d5ca8ee
tools/kobo_touch_probe.lua
tools/kobo_touch_probe.lua
-- touch probe utility -- usage: ./luajit tools/kobo_touch_probe.lua require "defaults" package.path = "common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;rocks/lib/lua/5.1/?.so;" .. package.cpath local DataStorage = require("datastorage...
-- touch probe utility -- usage: ./luajit tools/kobo_touch_probe.lua require "defaults" package.path = "common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;rocks/lib/lua/5.1/?.so;" .. package.cpath local DataStorage = require("datastorage...
[fix, spec] Stop the kobo_touch_probe test from causing problems for other tests. (#3877)
[fix, spec] Stop the kobo_touch_probe test from causing problems for other tests. (#3877) Previously, it caused problems because it was overriding G_reader_settings, which caused the Translator test to fail on the second (but not first) run.
Lua
agpl-3.0
Frenzie/koreader,NiLuJe/koreader,mihailim/koreader,koreader/koreader,koreader/koreader,poire-z/koreader,NiLuJe/koreader,Markismus/koreader,poire-z/koreader,lgeek/koreader,mwoz123/koreader,pazos/koreader,Hzj-jie/koreader,Frenzie/koreader,houqp/koreader
9190a1653faf0bac9ff9ed2bbb258b09393a4110
lua/include/pipe.lua
lua/include/pipe.lua
local mod = {} local memory = require "memory" local ffi = require "ffi" local serpent = require "Serpent" local dpdk = require "dpdk" ffi.cdef [[ // dummy struct spsc_ptr_queue { }; struct spsc_ptr_queue* make_pipe(); void enqueue(struct spsc_ptr_queue* queue, void* data); void* try_dequeue(struct spsc_ptr_q...
local mod = {} local memory = require "memory" local ffi = require "ffi" local serpent = require "Serpent" local dpdk = require "dpdk" ffi.cdef [[ // dummy struct spsc_ptr_queue { }; struct spsc_ptr_queue* make_pipe(); void enqueue(struct spsc_ptr_queue* queue, void* data); void* try_dequeue(struct spsc_ptr_q...
fix memory leak
fix memory leak
Lua
mit
emmericp/MoonGen,bmichalo/MoonGen,atheurer/MoonGen,kidaa/MoonGen,scholzd/MoonGen,NetronomeMoongen/MoonGen,gallenmu/MoonGen,duk3luk3/MoonGen,kidaa/MoonGen,wenhuizhang/MoonGen,bmichalo/MoonGen,duk3luk3/MoonGen,pavel-odintsov/MoonGen,gallenmu/MoonGen,NetronomeMoongen/MoonGen,gallenmu/MoonGen,slyon/MoonGen,kidaa/MoonGen,Ne...
c62d5520e16b2ecdfef4dc83479813b6d8293f44
Parallel.lua
Parallel.lua
local Parallel, parent = torch.class('nn.Parallel', 'nn.Container') function Parallel:__init(inputDimension,outputDimension) parent.__init(self) self.modules = {} self.size = torch.LongStorage() self.inputDimension = inputDimension self.outputDimension = outputDimension end function Parallel:updateOut...
local Parallel, parent = torch.class('nn.Parallel', 'nn.Container') function Parallel:__init(inputDimension,outputDimension) parent.__init(self) self.modules = {} self.inputDimension = inputDimension self.outputDimension = outputDimension end function Parallel:updateOutput(input) local nModule=input:si...
fix size for parallel container
fix size for parallel container
Lua
bsd-3-clause
Moodstocks/nn,jhjin/nn,witgo/nn,caldweln/nn,nicholas-leonard/nn,PraveerSINGH/nn,diz-vara/nn,apaszke/nn,kmul00/nn,colesbury/nn,xianjiec/nn,andreaskoepf/nn,lukasc-ch/nn,elbamos/nn,jonathantompson/nn,eriche2016/nn,joeyhng/nn,sagarwaghmare69/nn
35c52421b98c39e2e7d618405b2b6d48a5117ff9
src/application.lua
src/application.lua
if not cfg.data.sta_ssid then print('Wifi: Missing config') return end if (not cfg.data.mqtt_user) or (not cfg.data.mqtt_password) then print('MQTT: Missing config') return end local queue_report = nil local send_report = nil local flush_data = nil mq_id = "ESP-" .. node.chipid() local mq_prefix = "/nodes/" ...
if not cfg.data.sta_ssid then print('Wifi: Missing config') return end if (not cfg.data.mqtt_user) or (not cfg.data.mqtt_password) then print('MQTT: Missing config') return end local queue_report = nil local send_report = nil local flush_data = nil mq_id = "ESP-" .. node.chipid() local mq_prefix = "/nodes/" ...
One of many potential fixes. I hate lua.
One of many potential fixes. I hate lua. Signed-off-by: Kalman Olah <aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d@kalmanolah.net>
Lua
mit
kalmanolah/kalmon-ESP8266
8307cb5f7b862c71988a80d6b0c3ade401a32642
lib/wax-scripts/ext/table.lua
lib/wax-scripts/ext/table.lua
function table.clone(t, nometa) local u = {} if not nometa then setmetatable(u, getmetatable(t)) end for i, v in pairs(t) do if type(v) == "table" then u[i] = table.clone(v) else u[i] = v end end return u end function table.merge(t, u) local r = table.clone(t) fo...
function table.clone(t, nometa) local u = {} if not nometa then setmetatable(u, getmetatable(t)) end for i, v in pairs(t) do if type(v) == "table" then u[i] = table.clone(v) else u[i] = v end end return u end function table.merge(t, u) local r = table.clone(t) fo...
Fixing circular referencs problem in table.tostring
Fixing circular referencs problem in table.tostring
Lua
mit
probablycorey/wax,chiyun1/wax,qskycolor/wax,dxd214/wax,chiyun1/wax,RoyZeng/wax,1yvT0s/wax,felipejfc/n-wax,LiJingBiao/wax,RoyZeng/wax,LiJingBiao/wax,taobao-idev/wax,FlashHand/wax,BITA-app/wax,hj3938/wax,probablycorey/wax,1yvT0s/wax,LiJingBiao/wax,a20251313/wax,marinehero/wax,1yvT0s/wax,dxd214/wax,dxd214/wax,marinehero/w...
1d589d3612cd7bd8ad2d94974a4909dae6889478
mod_archive_muc/mod_archive_muc.lua
mod_archive_muc/mod_archive_muc.lua
-- Prosody IM -- Copyright (C) 2010 Dai Zhiwei -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza"; local dm = require "util.datamanager"; local jid = require "util.jid"; local datetime = require "util.datetime"; local...
-- Prosody IM -- Copyright (C) 2010 Dai Zhiwei -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza"; local dm = require "util.datamanager"; local jid = require "util.jid"; local datetime = require "util.datetime"; local ...
mod_archive_muc: use usermanager to check if some user exists; use rostermanager to check if someone is in the roster; minor fixes.
mod_archive_muc: use usermanager to check if some user exists; use rostermanager to check if someone is in the roster; minor fixes.
Lua
mit
vfedoroff/prosody-modules,prosody-modules/import,obelisk21/prosody-modules,drdownload/prosody-modules,joewalker/prosody-modules,cryptotoad/prosody-modules,mardraze/prosody-modules,drdownload/prosody-modules,joewalker/prosody-modules,syntafin/prosody-modules,olax/prosody-modules,heysion/prosody-modules,heysion/prosody-m...
b0506ad28d5560aff4aa92f7812ad42375c3a579
kong/plugins/oauth2/migrations/cassandra.lua
kong/plugins/oauth2/migrations/cassandra.lua
return { { name = "2015-08-03-132400_init_oauth2", up = [[ CREATE TABLE IF NOT EXISTS oauth2_credentials( id uuid, name text, consumer_id uuid, client_id text, client_secret text, redirect_uri text, created_at timestamp, PRIMARY KEY (id) ...
return { { name = "2015-08-03-132400_init_oauth2", up = [[ CREATE TABLE IF NOT EXISTS oauth2_credentials( id uuid, name text, consumer_id uuid, client_id text, client_secret text, redirect_uri text, created_at timestamp, PRIMARY KEY (id) ...
fix(oauth2) create Cassandra index on oauth2_authorization_codes(credential_id)
fix(oauth2) create Cassandra index on oauth2_authorization_codes(credential_id)
Lua
apache-2.0
Mashape/kong,icyxp/kong,ccyphers/kong,shiprabehera/kong,akh00/kong,Kong/kong,Kong/kong,Kong/kong,li-wl/kong,salazar/kong,jebenexer/kong
3191cf9cbf6bebc49df996aa4b3257469710912b
defaut/Demoniste.lua
defaut/Demoniste.lua
Ovale.defaut["WARLOCK"]= [[ Define(CURSEELEMENTS 1490) Define(CURSEAGONY 980) Define(CURSEDOOM 603) Define(CURSETONGUES 1714) Define(CURSEWEAKNESS 702) Define(UNSTABLEAFFLICTION 30108) Define(CORRUPTION 172) Define(TALENTUNSTABLEAFFLICTION 1670) Define(TALENTSHADOWBOLT 944) Define(IMMOLATE 348) Define(TALENTIMMOLATE 96...
Ovale.defaut["WARLOCK"]= [[ Define(CURSEELEMENTS 1490) Define(CURSEAGONY 980) Define(CURSEDOOM 603) Define(CURSETONGUES 1714) Define(CURSEWEAKNESS 702) Define(UNSTABLEAFFLICTION 30108) Define(CORRUPTION 172) Define(TALENTUNSTABLEAFFLICTION 1670) Define(TALENTSHADOWBOLT 944) Define(IMMOLATE 348) Define(TALENTIMMOLATE 96...
destruction warlock fixes
destruction warlock fixes git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@148 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
ultijlam/ovale,eXhausted/Ovale,Xeltor/ovale,ultijlam/ovale,eXhausted/Ovale,eXhausted/Ovale,ultijlam/ovale
b0ec4e7f5ecea7a0f7bb3c7c8eacbe9fdcdef5ef
build/Tests.lua
build/Tests.lua
-- Tests/examples helpers function SetupExampleProject() kind "ConsoleApp" language "C#" debugdir "." files { "**.cs", "./*.lua" } links { "CppSharp.AST", "CppSharp.Generator", "CppSharp.Parser" } SetupManagedProject() SetupParser() end function SetupTestProject(name, extraFiles) ...
-- Tests/examples helpers function SetupExampleProject() kind "ConsoleApp" language "C#" debugdir "." files { "**.cs", "./*.lua" } links { "CppSharp", "CppSharp.AST", "CppSharp.Generator", "CppSharp.Parser" } SetupManagedProject() SetupParser() end function SetupTestProject(nam...
Fixed generated build files to directly link against "CppSharp" for test projects.
Fixed generated build files to directly link against "CppSharp" for test projects.
Lua
mit
inordertotest/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,mohtamohit/CppSharp,ktopouzi/CppSharp,zillemarco/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,inordertotest/CppSharp,u255436/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,mohtamohit/CppSharp,mono/CppSharp,u255436/CppSharp,ddobrev/CppSharp,mono/CppSh...
d71130644e6c91685363168e5cf92f17c67bd0c8
tundra.lua
tundra.lua
----------------------------------------------------------------------------------------------------------------------- local mac_opts = { "-Wall", "-I.", "-DPRODBG_MAC", "-Weverything", "-Werror", "-Wno-c11-extensions", "-Wno-variadic-macros", "-Wno-c++98-compat-pedantic", "-Wno-old-style-cast", "-Wno-docu...
----------------------------------------------------------------------------------------------------------------------- local mac_opts = { "-Wall", "-I.", "-DPRODBG_MAC", "-Weverything", "-Werror", "-Wno-unknown-warning-option", "-Wno-c11-extensions", "-Wno-variadic-macros", "-Wno-c++98-compat-pedantic", "-...
Fixed so we can still build old version of Xcode
Fixed so we can still build old version of Xcode
Lua
mit
emoon/ProDBG,v3n/ProDBG,RobertoMalatesta/ProDBG,v3n/ProDBG,v3n/ProDBG,kondrak/ProDBG,ashemedai/ProDBG,ashemedai/ProDBG,emoon/ProDBG,SlNPacifist/ProDBG,RobertoMalatesta/ProDBG,kondrak/ProDBG,SlNPacifist/ProDBG,ashemedai/ProDBG,ashemedai/ProDBG,SlNPacifist/ProDBG,v3n/ProDBG,kondrak/ProDBG,emoon/ProDBG,kondrak/ProDBG,kond...
efcc8c8fb40f5792f81eb118ccdfa7c3e9627106
training/dump_model.lua
training/dump_model.lua
require 'torch' require 'nn' require 'features' io.stdout:setvbuf("no") embeddingsFolder=arg[1]; --name=arg[2] output=arg[3]; modelFolder=arg[2] --embeddingsFolder .. '/' .. name mlp = torch.load(modelFolder .. '/bestModel') features = nn.Features(embeddingsFolder .. '/embeddings.words', embeddingsFolder .. '/lemma...
require 'torch' require 'nn' require 'features' io.stdout:setvbuf("no") embeddingsFolder=arg[1]; --name=arg[2] output=arg[3]; modelFolder=arg[2] --embeddingsFolder .. '/' .. name mlp = torch.load(modelFolder .. '/bestModel') features = nn.Features(embeddingsFolder .. '/embeddings.words', embeddingsFolder .. '/lemma...
fixed bug in dump_model.lua: use correct vector length
fixed bug in dump_model.lua: use correct vector length
Lua
mit
lukovnikov/easyccg,lukovnikov/easyccg,mikelewis0/easyccg,mikelewis0/easyccg,mikelewis0/easyccg,lukovnikov/easyccg
87f1cf5622eb5fa6d7b6378166c8cc6926aaaa72
MCServer/Plugins/InfoReg.lua
MCServer/Plugins/InfoReg.lua
-- InfoReg.lua -- Implements registration functions that process g_PluginInfo --- Lists all the subcommands that the player has permissions for local function ListSubcommands(a_Player, a_Subcommands, a_CmdString) if (a_Player == nil) then LOGINFO("The " .. a_CmdString .. " command requires another verb:") el...
-- InfoReg.lua -- Implements registration functions that process g_PluginInfo --- Lists all the subcommands that the player has permissions for local function ListSubcommands(a_Player, a_Subcommands, a_CmdString) if (a_Player == nil) then LOGINFO("The " .. a_CmdString .. " command requires another verb:") el...
InfoReg: Fixed EntireCommand handling for MultiCommandHandler().
InfoReg: Fixed EntireCommand handling for MultiCommandHandler(). The EntireCommand wasn't propagated into the handlers.
Lua
apache-2.0
bendl/cuberite,Tri125/MCServer,birkett/cuberite,johnsoch/cuberite,Fighter19/cuberite,QUSpilPrgm/cuberite,mmdk95/cuberite,nevercast/cuberite,electromatter/cuberite,Howaner/MCServer,mmdk95/cuberite,nounoursheureux/MCServer,HelenaKitty/EbooMC,thetaeo/cuberite,Schwertspize/cuberite,birkett/cuberite,marvinkopf/cuberite,elec...
4416872603829a1b1f8777255640cfd416ff8c91
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,...
Fixes to release script
Fixes to release script
Lua
bsd-3-clause
dimitarcl/premake-dev,Amorph/premake-dev,Amorph/premake-stable,dimitarcl/premake-dev,Amorph/premake-dev,Amorph/premake-stable,Amorph/premake-stable,Amorph/premake-dev,dimitarcl/premake-dev
ec0853bebbbe5f1e3bc0a63bebc468c32f8873e3
lualib/redis.lua
lualib/redis.lua
local skynet = require "skynet" local socket = require "socket" local config = require "config" local redis_conf = skynet.getenv "redis" local name = config (redis_conf) local readline = socket.readline local readbytes = socket.read local table = table local string = string local redis = {} local command = {} local m...
local skynet = require "skynet" local socket = require "socket" local config = require "config" local redis_conf = skynet.getenv "redis" local name = config (redis_conf) local readline = socket.readline local readbytes = socket.read local table = table local string = string local redis = {} local command = {} local m...
bugfix: redis batch mode. fix Issue #51
bugfix: redis batch mode. fix Issue #51
Lua
mit
longmian/skynet,zhangshiqian1214/skynet,KittyCookie/skynet,javachengwc/skynet,cloudwu/skynet,Zirpon/skynet,winglsh/skynet,fztcjjl/skynet,vizewang/skynet,MoZhonghua/skynet,chenjiansnail/skynet,sundream/skynet,sundream/skynet,zzh442856860/skynet,LiangMa/skynet,plsytj/skynet,ruleless/skynet,ilylia/skynet,JiessieDawn/skyne...
271ce20cabc748da2c00bd772f5a11d2fb010b73
kong/tools/config_loader.lua
kong/tools/config_loader.lua
local yaml = require "yaml" local IO = require "kong.tools.io" local utils = require "kong.tools.utils" local logger = require "kong.cli.utils.logger" local luarocks = require "kong.cli.utils.luarocks" local stringy = require "stringy" local constants = require "kong.constants" local config_defaults = require "kong.too...
local yaml = require "yaml" local IO = require "kong.tools.io" local utils = require "kong.tools.utils" local logger = require "kong.cli.utils.logger" local luarocks = require "kong.cli.utils.luarocks" local stringy = require "stringy" local constants = require "kong.constants" local config_defaults = require "kong.too...
feat(conf) graceful error message on invalid conf
feat(conf) graceful error message on invalid conf Fix #949 Signed-off-by: Thibault Charbonnier <3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com>
Lua
apache-2.0
li-wl/kong,smanolache/kong,Vermeille/kong,jerizm/kong,jebenexer/kong,icyxp/kong,akh00/kong,shiprabehera/kong,Kong/kong,Kong/kong,Kong/kong,ccyphers/kong,Mashape/kong,salazar/kong,beauli/kong
01126eee62231b3370f5fd796d93f40846ad5dbb
modules/client_serverlist/serverlist.lua
modules/client_serverlist/serverlist.lua
ServerList = {} -- private variables local serverListWindow = nil local serverTextList = nil local servers = {} -- private functions function getServer(host) for k,server in pairs(servers) do if server.host == host then return server end end end function getServerKey(host) for k,server in pairs(s...
ServerList = {} -- private variables local serverListWindow = nil local serverTextList = nil local servers = {} -- public functions function ServerList.init() serverListWindow = g_ui.displayUI('serverlist') serverTextList = serverListWindow:getChildById('serverList') servers = g_settings.getNode('ServerList') ...
Some fixes for the server list module * Fixed an indexing issue in the settings Note: Forgot to mention that it will store the last account/password used for that server
Some fixes for the server list module * Fixed an indexing issue in the settings Note: Forgot to mention that it will store the last account/password used for that server
Lua
mit
dreamsxin/otclient,Radseq/otclient,kwketh/otclient,EvilHero90/otclient,gpedro/otclient,Cavitt/otclient_mapgen,Radseq/otclient,gpedro/otclient,gpedro/otclient,dreamsxin/otclient,dreamsxin/otclient,EvilHero90/otclient,kwketh/otclient,Cavitt/otclient_mapgen
c1ad5ef59deaf218896303c4571ead3d8298646a
lua/include/histogram.lua
lua/include/histogram.lua
local histogram = {} histogram.__index = histogram function histogram.create() local histo = {} setmetatable(histo, histogram) histo.histo = {} histo.dirty = true return histo end function histogram:update(k) self.histo[k] = (self.histo[k] or 0) +1 self.dirty = true end function histogram:calc() self.sortedH...
local histogram = {} histogram.__index = histogram function histogram.create() local histo = {} setmetatable(histo, histogram) histo.histo = {} histo.dirty = true return histo end function histogram:update(k) self.histo[k] = (self.histo[k] or 0) +1 self.dirty = true end function histogram:calc() self.sortedH...
Add accessor for totals to histogram class
Add accessor for totals to histogram class numSamples, sum, and avg can now be accessed in a clean way via the :totals() method. This fixes a problem whereby the fields could be accessed while they were in dirty state.
Lua
mit
atheurer/MoonGen,schoenb/MoonGen,schoenb/MoonGen,emmericp/MoonGen,slyon/MoonGen,wenhuizhang/MoonGen,atheurer/MoonGen,werpat/MoonGen,scholzd/MoonGen,gallenmu/MoonGen,kidaa/MoonGen,emmericp/MoonGen,slyon/MoonGen,gallenmu/MoonGen,duk3luk3/MoonGen,dschoeffm/MoonGen,werpat/MoonGen,kidaa/MoonGen,atheurer/MoonGen,pavel-odints...
7775233688fd91ef17b70db7932cb910bd94fac9
frontend/ui/widget/radiobutton.lua
frontend/ui/widget/radiobutton.lua
--[[-- Widget that shows a radiobutton checked (`◉`) or unchecked (`◯`) or nothing of the same size. Example: local RadioButton = require("ui/widget/radiobutton") local parent_widget = FrameContainer:new{} table.insert(parent_widget, RadioButton:new{ checkable = false, -- shows nothing when false,...
--[[-- Widget that shows a radiobutton checked (`◉`) or unchecked (`◯`) or nothing of the same size. Example: local RadioButton = require("ui/widget/radiobutton") local parent_widget = FrameContainer:new{} table.insert(parent_widget, RadioButton:new{ checkable = false, -- shows nothing when false,...
[fix] Prevent xtext crash by not freeing TextWidget prematurely (#5616)
[fix] Prevent xtext crash by not freeing TextWidget prematurely (#5616) Fixes <https://github.com/koreader/koreader/issues/5614>.
Lua
agpl-3.0
Frenzie/koreader,koreader/koreader,pazos/koreader,mwoz123/koreader,NiLuJe/koreader,NiLuJe/koreader,koreader/koreader,Markismus/koreader,poire-z/koreader,Frenzie/koreader,mihailim/koreader,Hzj-jie/koreader,poire-z/koreader
cb7cc6e86a49864e2349c19484279370268e89fd
share/luaplaylist/dailymotion.lua
share/luaplaylist/dailymotion.lua
-- $Id$ -- Probe function. function probe() return vlc.access == "http" and string.match( vlc.path, "dailymotion.com" ) and string.match( vlc.peek( 256 ), "<!DOCTYPE.*<title>Video " ) end -- Parse function. function parse() while true do line = vlc.readline() if not line ...
-- $Id$ --[[ Translate Daily Motion video webpages URLs to the corresponding FLV URL. --]] -- Probe function. function probe() return vlc.access == "http" and string.match( vlc.path, "dailymotion.com" ) and string.match( vlc.peek( 256 ), "<!DOCTYPE.*<title>Video " ) end -- Parse function...
Fix the url translation
Fix the url translation
Lua
lgpl-2.1
jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,krichter722/vlc,krichter722/vlc,jomanmuk/vlc-2.2,shyamalschandra/vlc,xkfz007/vlc,jomanmuk/vlc-2.1,jomanmuk/vlc-2.2,krichter722/vlc,shyamalschandra/vlc,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,vlc-mirror/vlc,jomanmuk/vlc-2.1,shyamalschandra/vlc,shyamalschandra/vlc,jomanm...
1013ef286c1b85936dfb29ad6e0e42edd98ad054
kong/core/reports.lua
kong/core/reports.lua
local cjson = require "cjson.safe" local utils = require "kong.tools.utils" local singletons = require "kong.singletons" local constants = require "kong.constants" local kong_dict = ngx.shared.kong local udp_sock = ngx.socket.udp local timer_at = ngx.timer.at local ngx_log = ngx.log local concat = table.concat local ...
local cjson = require "cjson.safe" local utils = require "kong.tools.utils" local singletons = require "kong.singletons" local constants = require "kong.constants" local kong_dict = ngx.shared.kong local udp_sock = ngx.socket.udp local timer_at = ngx.timer.at local ngx_log = ngx.log local concat = table.concat local ...
fix(reports) send unique_id again
fix(reports) send unique_id again
Lua
apache-2.0
akh00/kong,li-wl/kong,Kong/kong,salazar/kong,Kong/kong,Mashape/kong,ccyphers/kong,shiprabehera/kong,Kong/kong,jebenexer/kong,icyxp/kong
a2da9444015fa367dc4d81b0514410f01b58be46
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 OSX CMake configuration in LLVM build scripts.
Fixed OSX CMake configuration in LLVM build scripts.
Lua
mit
zillemarco/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,ktopouzi/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,ddobrev/CppSharp,ddobrev/CppSharp,mono/CppSharp,genuinelucifer/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,mono/CppSharp,genuinelucifer/CppSharp,inordertotest/CppSharp,ktopouzi/CppSharp,mono/CppSharp,moh...
5fec6dbe7bf0d481f924290a6aee35fb23abcd02
modules/admin-full/luasrc/model/cbi/admin_system/admin.lua
modules/admin-full/luasrc/model/cbi/admin_system/admin.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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://w...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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://w...
modules/admin-full: fix System -> Administration menu if dropbear is not installed
modules/admin-full: fix System -> Administration menu if dropbear is not installed git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@8070 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
saraedum/luci-packages-old,Canaan-Creative/luci,saraedum/luci-packages-old,phi-psi/luci,phi-psi/luci,Flexibity/luci,freifunk-gluon/luci,vhpham80/luci,zwhfly/openwrt-luci,Canaan-Creative/luci,eugenesan/openwrt-luci,dtaht/cerowrt-luci-3.3,phi-psi/luci,dtaht/cerowrt-luci-3.3,stephank/luci,phi-psi/luci,Canaan-Creative/luci...
debfd75f3384cac10939c62c2f884ae3c1a8cb4e
modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua
modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua
require "luci.sys" require "luci.tools.webadmin" local bit = require "bit" local uci = luci.model.uci.cursor_state() local ffzone = luci.tools.webadmin.firewall_find_zone("freifunk") local ffznet = ffzone and uci:get("firewall", ffzone, "network") local ffwifs = ffznet and luci.util.split(ffznet, " ") or {} -- Syste...
require "luci.sys" require "luci.tools.webadmin" local bit = require "bit" local uci = luci.model.uci.cursor_state() local ffzone = luci.tools.webadmin.firewall_find_zone("freifunk") local ffznet = ffzone and uci:get("firewall", ffzone, "network") local ffwifs = ffznet and luci.util.split(ffznet, " ") or {} -- Syste...
modules/freifunk: fix same problem
modules/freifunk: fix same problem
Lua
apache-2.0
obsy/luci,remakeelectric/luci,palmettos/cnLuCI,dismantl/luci-0.12,Hostle/openwrt-luci-multi-user,artynet/luci,cshore/luci,Kyklas/luci-proto-hso,palmettos/cnLuCI,oyido/luci,LazyZhu/openwrt-luci-trunk-mod,keyidadi/luci,obsy/luci,lcf258/openwrtcn,dwmw2/luci,marcel-sch/luci,daofeng2015/luci,david-xiao/luci,keyidadi/luci,ku...
2db41115bdeb6151f4882647d0b08971d3d202d4
mod_carbons/mod_carbons.lua
mod_carbons/mod_carbons.lua
-- XEP-0280: Message Carbons implementation for Prosody -- Copyright (C) 2011 Kim Alvefur -- -- This file is MIT/X11 licensed. local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local xmlns_carbons = "urn:xmpp:carbons:2"; local xmlns_carbons_old = "urn:xmpp:carbons:1"; local xmlns_carbons_real...
-- XEP-0280: Message Carbons implementation for Prosody -- Copyright (C) 2011 Kim Alvefur -- -- This file is MIT/X11 licensed. local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local xmlns_carbons = "urn:xmpp:carbons:2"; local xmlns_carbons_old = "urn:xmpp:carbons:1"; local xmlns_carbons_real...
mod_carbons: Fix <private/> handling
mod_carbons: Fix <private/> handling
Lua
mit
asdofindia/prosody-modules,BurmistrovJ/prosody-modules,mardraze/prosody-modules,mmusial/prosody-modules,asdofindia/prosody-modules,drdownload/prosody-modules,heysion/prosody-modules,olax/prosody-modules,cryptotoad/prosody-modules,softer/prosody-modules,BurmistrovJ/prosody-modules,Craige/prosody-modules,crunchuser/proso...
2e38ebdd5ef132aea47856e19b30eff59f161e7a
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 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 = 0; module:add_event_hook(...
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 =...
mod_smacks: Fix the logic for handling outgoing stanzas and ack requests
mod_smacks: Fix the logic for handling outgoing stanzas and ack requests
Lua
mit
dhotson/prosody-modules,crunchuser/prosody-modules,drdownload/prosody-modules,jkprg/prosody-modules,mmusial/prosody-modules,jkprg/prosody-modules,amenophis1er/prosody-modules,Craige/prosody-modules,guilhem/prosody-modules,olax/prosody-modules,mmusial/prosody-modules,1st8/prosody-modules,jkprg/prosody-modules,cryptotoad...
b29796e6828c3ef7d8e93f8f977f114f42ab5c2f
modules/outfit/outfit.lua
modules/outfit/outfit.lua
Outfit = {} -- private variables local window = nil local m_creature = nil local m_outfit = nil local m_outfits = nil local m_currentOutfit = 1 local m_currentColor = nil -- private functions local function onAddonCheckChange(addon, value) if addon:isChecked() then m_outfit.addons = m_outfit.addons + value el...
Outfit = {} -- private variables local window = nil local m_creature = nil local m_outfit = nil local m_outfits = nil local m_currentOutfit = 1 local m_currentColor = nil -- private functions local function onAddonCheckChange(addon, value) if addon:isChecked() then m_outfit.addons = m_outfit.addons + value el...
outfit fix
outfit fix
Lua
mit
gpedro/otclient,Cavitt/otclient_mapgen,Radseq/otclient,dreamsxin/otclient,gpedro/otclient,EvilHero90/otclient,kwketh/otclient,dreamsxin/otclient,gpedro/otclient,EvilHero90/otclient,Cavitt/otclient_mapgen,kwketh/otclient,Radseq/otclient,dreamsxin/otclient
5f2d2e3c356c379acdbfc8da7bf36384421aad79
packages/rotate.lua
packages/rotate.lua
local pdf = require("justenoughlibtexpdf") local enter = function(self) if not self.rotate then return end local x = -math.rad(self.rotate) -- Keep center point the same pdf:gsave() local cx = self:left() local cy = -self:bottom() pdf.setmatrix(1,0,0,1,cx + math.sin(x) * self:height(),cy) pdf.setmatri...
local pdf = require("justenoughlibtexpdf") local enter = function (self) if not self.rotate then return end local x = -math.rad(self.rotate) -- Keep center point the same pdf:gsave() local cx = self:left():tonumber() local cy = -self:bottom():tonumber() pdf.setmatrix(1, 0, 0, 1, cx + math.sin(x) * self:h...
fix(packages): Cast measurements to numbers before use in PDF functions
fix(packages): Cast measurements to numbers before use in PDF functions
Lua
mit
alerque/sile,alerque/sile,alerque/sile,alerque/sile
ddeb09c0f1027f93161087839ff8afc8ca0650ac
src/luacheck/utils.lua
src/luacheck/utils.lua
local utils = {} local lfs = require "lfs" -- Returns whether path points to a directory. function utils.is_dir(path) return lfs.attributes(path, "mode") == "directory" end -- Returns whether path points to a file. function utils.is_file(path) return lfs.attributes(path, "mode") == "file" end local dir_sep ...
local utils = {} local lfs = require "lfs" -- Returns whether path points to a directory. function utils.is_dir(path) return lfs.attributes(path, "mode") == "directory" end -- Returns whether path points to a file. function utils.is_file(path) return lfs.attributes(path, "mode") == "file" end local dir_sep ...
Fixed incompatibility with Lua 5.3
Fixed incompatibility with Lua 5.3 Now the only thing stopping luacheck running unpatched on 5.3 is lfs.
Lua
mit
mpeterv/luacheck,kidaa/luacheck,linuxmaniac/luacheck,mpeterv/luacheck,xpol/luacheck,xpol/luacheck,linuxmaniac/luacheck,adan830/luacheck,xpol/luacheck,mpeterv/luacheck,adan830/luacheck,tst2005/luacheck,tst2005/luacheck,kidaa/luacheck
f4eddbd772245842a4eab337a078c897efdfbde5
icesl-gallery/involute.lua
icesl-gallery/involute.lua
-- emit the inside of the involute of the circle of radius r for the first two quadrants local r = 5 local h = 3 involute_of_circle = implicit_solid(v(-6*r,0,0), v(2*r,4*r,h), 0.25, [[ uniform float r = 5; float solid(vec3 p) { float l = length(p.xy) - r; if (l <= 0) { return l; } float num = p.y + sqrt(p.x * p.x...
-- emit the inside of the involute of the circle of radius r for the first two quadrants local r = 20 local h = 3 involute_of_circle = implicit_solid(v(-6*r,0,0), v(2*r,4*r,h), 0.1, [[ uniform float r = 5; float solid(vec3 p) { float l = length(p.xy) - r; float num = p.y + sqrt(p.x * p.x + p.y * p.y - r * r); float ...
fix(gallery): Remove branch condition on involute
fix(gallery): Remove branch condition on involute
Lua
mit
loic-fejoz/loic-fejoz-fabmoments,loic-fejoz/loic-fejoz-fabmoments,loic-fejoz/loic-fejoz-fabmoments
4e0d0532a19eb3c477ef306ea518060929be1672
kong/cmd/init.lua
kong/cmd/init.lua
local pl_app = require "pl.lapp" local log = require "kong.cmd.utils.log" local options = [[ --v verbose --vv debug --trace with traceback ]] local cmds_arr = {} local cmds = { start = true, stop = true, quit = true, restart = true, reload = true, health = true, check = true, com...
local pl_app = require "pl.lapp" local log = require "kong.cmd.utils.log" local options = [[ --v verbose --vv debug ]] local cmds_arr = {} local cmds = { start = true, stop = true, quit = true, restart = true, reload = true, health = true, check = true, compile = true, migrations = ...
fix(cli) drop the --trace option as it provides little information.
fix(cli) drop the --trace option as it provides little information. The former `trace` info is automatically added to verbose and debug level logging.
Lua
apache-2.0
ccyphers/kong,li-wl/kong,akh00/kong,Vermeille/kong,jebenexer/kong,jerizm/kong,shiprabehera/kong,icyxp/kong,Mashape/kong,beauli/kong,salazar/kong,Kong/kong,Kong/kong,Kong/kong
1ca1b111d0c98376e72dfe660c479ed60b00d6d9
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 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 h...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 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 h...
Add support for changing ULA prefix
Add support for changing ULA prefix git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@9647 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
ThingMesh/openwrt-luci,gwlim/luci,phi-psi/luci,Canaan-Creative/luci,ThingMesh/openwrt-luci,vhpham80/luci,ReclaimYourPrivacy/cloak-luci,ThingMesh/openwrt-luci,ch3n2k/luci,ch3n2k/luci,ch3n2k/luci,Canaan-Creative/luci,Canaan-Creative/luci,phi-psi/luci,zwhfly/openwrt-luci,gwlim/luci,Canaan-Creative/luci,ch3n2k/luci,Reclaim...
6296bec45de0423cdfc5272b6543204a1d1566af
modules/tcp/tcp-connection.lua
modules/tcp/tcp-connection.lua
module("tcp-connection", package.seeall) local function forge(self) if not self.connection then return nil end pkt = self.stream:pop() if not pkt then pkt = table.remove(self.connection.data.queue) if pkt then self.connection:stream(self.direction):seq(pkt) end end if pkt then self.connection:str...
module("tcp-connection", package.seeall) local function forge(self) if not self.connection then return nil end pkt = self.stream:pop() if not pkt then pkt = table.remove(self.connection.data.queue) if pkt then self.connection:stream(self.direction):seq(pkt) end end if pkt then self.connection:str...
Fix tcp connection
Fix tcp connection The connection first packet need to be a SYN only. Otherwise a repeated SYN-ACK could be seen as a connection creation. Also changed the behavior to drop the connection in case of a RST to avoid "no connection found" log showing after it.
Lua
mpl-2.0
nabilbendafi/haka,lcheylus/haka,haka-security/haka,nabilbendafi/haka,LubyRuffy/haka,lcheylus/haka,Wingless-Archangel/haka,Wingless-Archangel/haka,LubyRuffy/haka,nabilbendafi/haka,haka-security/haka,lcheylus/haka,haka-security/haka
77b2e6d5eaea838d05eb8de3ed32fedc01933e8d
src/haka/lua/context.lua
src/haka/lua/context.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/. local LocalContext = class() function LocalContext.method:__init() self._connections = {} self._dissector_connecti...
-- 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/. local LocalContext = class() function LocalContext.method:__init() self._connections = {} self._dissector_connecti...
Fix bad error report in Lua
Fix bad error report in Lua Sometimes a (null) error was reported in the output.
Lua
mpl-2.0
Wingless-Archangel/haka,LubyRuffy/haka,LubyRuffy/haka,haka-security/haka,lcheylus/haka,Wingless-Archangel/haka,nabilbendafi/haka,haka-security/haka,haka-security/haka,lcheylus/haka,nabilbendafi/haka,nabilbendafi/haka,lcheylus/haka
71e27245fcffe7531270647d14e77bf68077f301
spec/03-plugins/syslog/log_spec.lua
spec/03-plugins/syslog/log_spec.lua
local utils = require "kong.tools.utils" local cjson = require "cjson" local helpers = require "spec.helpers" local exec = require("pl.utils").executeex describe("Syslog #ci", function() local client, platform setup(function() helpers.dao:truncate_tables() assert(helpers.prepare_prefix()) local ap...
local helpers = require "spec.helpers" local utils = require "kong.tools.utils" local cjson = require "cjson" local pl_stringx = require "pl.stringx" describe("Plugin: syslog", function() local client, platform setup(function() helpers.dao:truncate_tables() assert(helpers.prepare_prefix()) local api1 ...
tests(syslog) fix linting and boilerplate
tests(syslog) fix linting and boilerplate
Lua
apache-2.0
salazar/kong,li-wl/kong,Kong/kong,beauli/kong,Kong/kong,akh00/kong,icyxp/kong,Vermeille/kong,shiprabehera/kong,jebenexer/kong,Kong/kong,Mashape/kong,ccyphers/kong,jerizm/kong
86e5d8283dba1b3701b4f122f788e81c1feea95e
examples/read_by_line.lua
examples/read_by_line.lua
-- read input stream line by line local uv = require "lluv" local ut = require "lluv.utils" local host, port = "127.0.0.1", 5555 local buffer = ut.Buffer("\r\n") local function read_data(cli, err, data) if err then return cli:close() end local line = buffer.next_line(data) while line do print(line) l...
-- read input stream line by line local uv = require "lluv" local ut = require "lluv.utils" local host, port = "127.0.0.1", 5555 local buffer = ut.Buffer.new("\r\n") local function read_data(cli, err, data) if err then return cli:close() end buffer:append(data) while true do local line = buffer:next_line...
Fix. Read line example
Fix. Read line example
Lua
mit
moteus/lua-lluv,moteus/lua-lluv,moteus/lua-lluv,kidaa/lua-lluv,kidaa/lua-lluv
5511c29bdfbcb986c1efedc2ec133065760108ae
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua
-- Copyright 2009-2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network".init() local fw = require "luci.model.firewall".init() local utl = require "luci.util" local uci = require "luci.model.uci".cursor() m = SimpleForm("network", tran...
-- Copyright 2009-2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network".init() local fw = require "luci.model.firewall".init() local utl = require "luci.util" local uci = require "luci.model.uci".cursor() m = SimpleForm("network", tran...
luci-mod-admin-full: limit interface name length to 15 chars
luci-mod-admin-full: limit interface name length to 15 chars Limit the name of a new interface to 15 characters. Add a note about the maximum length and the automatic protocol/bridge prefixes (br-, 6in4-, pppoe- etc.). Reference to: https://dev.openwrt.org/ticket/20380 https://github.com/openwrt/luci/issues/507 Ther...
Lua
apache-2.0
db260179/openwrt-bpi-r1-luci,db260179/openwrt-bpi-r1-luci,Sakura-Winkey/LuCI,db260179/openwrt-bpi-r1-luci,RuiChen1113/luci,RuiChen1113/luci,Sakura-Winkey/LuCI,db260179/openwrt-bpi-r1-luci,RuiChen1113/luci,db260179/openwrt-bpi-r1-luci,Sakura-Winkey/LuCI,RuiChen1113/luci,RuiChen1113/luci,db260179/openwrt-bpi-r1-luci,Saku...
38251718297142f966f28385a79a111b0c5b5009
share/lua/website/collegehumor.lua
share/lua/website/collegehumor.lua
-- libquvi-scripts -- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2010-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 th...
-- libquvi-scripts -- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com> -- Copyright (C) 2010-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 th...
FIX: website/collegehumor.lua: title pattern
FIX: website/collegehumor.lua: title pattern
Lua
lgpl-2.1
hadess/libquvi-scripts-iplayer,alech/libquvi-scripts,legatvs/libquvi-scripts,hadess/libquvi-scripts-iplayer,DangerCove/libquvi-scripts,alech/libquvi-scripts,DangerCove/libquvi-scripts,legatvs/libquvi-scripts
f609905267f5a0c04159834614a21376809ca365
profiles/lib/profile_debugger.lua
profiles/lib/profile_debugger.lua
-- Enable calling our lua profile code directly from the lua command line, -- which makes it easier to debug. -- We simulate the normal C++ environment by defining the required globals and functions. -- See debug_example.lua for an example of how to require and use this file. -- for more convenient printing of tables...
-- Enable calling our lua profile code directly from the lua command line, -- which makes it easier to debug. -- We simulate the normal C++ environment by defining the required globals and functions. -- See debug_example.lua for an example of how to require and use this file. -- for more convenient printing of tables...
fix profile debugging related to way classes
fix profile debugging related to way classes
Lua
bsd-2-clause
Project-OSRM/osrm-backend,felixguendling/osrm-backend,oxidase/osrm-backend,deniskoronchik/osrm-backend,neilbu/osrm-backend,Project-OSRM/osrm-backend,bjtaylor1/osrm-backend,yuryleb/osrm-backend,KnockSoftware/osrm-backend,neilbu/osrm-backend,bjtaylor1/osrm-backend,felixguendling/osrm-backend,neilbu/osrm-backend,frodrigo/...
68b79bcc4c4ea6a1ed5ad8d1828719c03a2d52e4
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(serf) disable error checking because of Serf bug
fix(serf) disable error checking because of Serf bug
Lua
apache-2.0
Kong/kong,jerizm/kong,icyxp/kong,ccyphers/kong,li-wl/kong,salazar/kong,beauli/kong,shiprabehera/kong,Kong/kong,akh00/kong,Mashape/kong,jebenexer/kong,Vermeille/kong,Kong/kong
d291e1c3f5664d86054736912f671af1bc339235
libs/sgi-webuci/root/usr/lib/boa/luci.lua
libs/sgi-webuci/root/usr/lib/boa/luci.lua
module("luci-plugin", package.seeall) function normalize(path) local newpath while newpath ~= path do if (newpath) then path = newpath end newpath = string.gsub(path, "/[^/]+/../", "/") end return newpath end function init(path) -- NB: path points to ROOT/usr/lib/boa, change it to /usr/lib/lua root ...
module("luci-plugin", package.seeall) function normalize(path) local newpath while newpath ~= path do if (newpath) then path = newpath end newpath = string.gsub(path, "/[^/]+/../", "/") end return newpath end function init(path) -- NB: path points to ROOT/usr/lib/boa, change it to /usr/lib/lua root ...
* Fixed host builds
* Fixed host builds
Lua
apache-2.0
tobiaswaldvogel/luci,jlopenwrtluci/luci,ollie27/openwrt_luci,shangjiyu/luci-with-extra,rogerpueyo/luci,oneru/luci,opentechinstitute/luci,slayerrensky/luci,palmettos/test,artynet/luci,maxrio/luci981213,Hostle/luci,zhaoxx063/luci,tcatm/luci,oneru/luci,slayerrensky/luci,fkooman/luci,Hostle/openwrt-luci-multi-user,MinFu/lu...
8bcd11faa79bdbc6b23a18b9540cb39b5aec2ba6
scripts/OvalePriest.lua
scripts/OvalePriest.lua
local _, Ovale = ... local OvaleScripts = Ovale.OvaleScripts do local name = "Ovale" local desc = "[5.2] Ovale: Shadow" local code = [[ Define(berserking 26297) SpellInfo(berserking duration=10 cd=180 ) SpellAddBuff(berserking berserking=1) Define(cascade 120785) SpellInfo(cascade duration=0.1 ) Define(devour...
local _, Ovale = ... local OvaleScripts = Ovale.OvaleScripts do local name = "Ovale" local desc = "[5.2] Ovale: Shadow" local code = [[ Define(berserking 26297) SpellInfo(berserking duration=10 cd=180 ) SpellAddBuff(berserking berserking=1) Define(cascade 120785) SpellInfo(cascade duration=0.1 ) Define(devour...
Fix error with using Mind Blast in default priest script.
Fix error with using Mind Blast in default priest script. - Remove spurious "test" parameter to SpellInfo that shouldn't be there. - If a condition that returns a number is used as a boolean, then boolean evaluation rules dictate that non-zero is true and zero is false. Fix: if SpellCooldown(mind_blast) Spell...
Lua
mit
eXhausted/Ovale,ultijlam/ovale,eXhausted/Ovale,eXhausted/Ovale,ultijlam/ovale,Xeltor/ovale,ultijlam/ovale
5da324dcf821676f02735e4df5caa805ad6d2f9a
build/LLVM.lua
build/LLVM.lua
-- Setup the LLVM dependency directories LLVMRootDir = depsdir .. "/llvm/" local LLVMDirPerConfiguration = false local LLVMRootDirDebug = "" local LLVMRootDirRelease = "" require "scripts/LLVM" function SearchLLVM() LLVMRootDirDebug = basedir .. "/scripts/" .. get_llvm_package_name(nil, "Debug") LLVMRootDirRel...
-- Setup the LLVM dependency directories LLVMRootDir = depsdir .. "/llvm/" local LLVMDirPerConfiguration = false local LLVMRootDirDebug = "" local LLVMRootDirRelease = "" require "scripts/LLVM" function SearchLLVM() LLVMRootDirDebug = basedir .. "/scripts/" .. get_llvm_package_name(nil, "Debug") LLVMRootDirRel...
Link LLVM's BinaryFormat library last to fix Linux symbol linkage.
Link LLVM's BinaryFormat library last to fix Linux symbol linkage.
Lua
mit
mono/CppSharp,u255436/CppSharp,zillemarco/CppSharp,mono/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,mohtamohit/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,mono/CppSharp,mohtamohit/CppSharp,ktopouzi/CppSharp,u255436/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,mono/CppSharp,mohtamohit/CppSharp,u2554...
9f52c61807232da93a1ff899c51be723de14642c
lgi/override/Gio.lua
lgi/override/Gio.lua
------------------------------------------------------------------------------ -- -- lgi Gio override module. -- -- Copyright (c) 2010, 2011, 2013 Pavel Holejsovsky -- Licensed under the MIT license: -- http://www.opensource.org/licenses/mit-license.php -- -----------------------------------------------------------...
------------------------------------------------------------------------------ -- -- lgi Gio override module. -- -- Copyright (c) 2010, 2011, 2013 Pavel Holejsovsky -- Licensed under the MIT license: -- http://www.opensource.org/licenses/mit-license.php -- -----------------------------------------------------------...
Fix for custom override of g_input_stream_async_read()
Fix for custom override of g_input_stream_async_read() This manual override did not follow previous changes in Gio.Async architecture.
Lua
mit
psychon/lgi,pavouk/lgi
6bff4b83a5c52eae0f13592744997a912d32b7d0
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 i...
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 i...
fix(test) fix config test after #563
fix(test) fix config test after #563
Lua
apache-2.0
Mashape/kong,Kong/kong,shiprabehera/kong,jebenexer/kong,icyxp/kong,salazar/kong,akh00/kong,Vermeille/kong,beauli/kong,ccyphers/kong,xvaara/kong,li-wl/kong,smanolache/kong,Kong/kong,ajayk/kong,jerizm/kong,Kong/kong
2e7c83ada8313257e1d5b80f71eaf2a76af12cb6
OvaleActionBar.lua
OvaleActionBar.lua
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2012 Sidoine Copyright (C) 2012, 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 LICE...
--[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2012 Sidoine Copyright (C) 2012, 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 LICE...
Fix ticket 208 - wrong key binding being displayed.
Fix ticket 208 - wrong key binding being displayed. Manage an additional mapping from slot number to action, and clear the mappings for a slot if an action is removed from that slot. git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@1206 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
ultijlam/ovale,eXhausted/Ovale,ultijlam/ovale,eXhausted/Ovale,ultijlam/ovale,eXhausted/Ovale,Xeltor/ovale
87a1b5e5d9d0c89a4011d5859155798cd782472c
regress/51-join-defunct-thread.lua
regress/51-join-defunct-thread.lua
#!/bin/sh _=[[ . "${0%%/*}/regress.sh" exec runlua -t -j- "$0" "$@" ]] require"regress".export".*" check(jit, "LuaJIT required") check(errno.EOWNERDEAD, "EOWNERDEAD not defined") local thr = assert(thread.start(function () local errno = require"cqueues.errno" local ffi = require"ffi" require"regress".export"....
#!/bin/sh _=[[ . "${0%%/*}/regress.sh" exec runlua -t -j- "$0" "$@" ]] require"regress".export".*" check(jit, "LuaJIT required") check(errno.EOWNERDEAD, "EOWNERDEAD not defined") local thr, con = assert(thread.start(function (con) local errno = require"cqueues.errno" local ffi = require"ffi" require"regress"....
fix defunct thread regression test to avoid musl-libc flockfile deadlock which hangs the entire process
fix defunct thread regression test to avoid musl-libc flockfile deadlock which hangs the entire process
Lua
mit
bigcrush/cqueues,daurnimator/cqueues,daurnimator/cqueues,wahern/cqueues,bigcrush/cqueues,wahern/cqueues
7e0b49edd14b4822a26af7a66d041aa1ffa43b13
frontend/dump.lua
frontend/dump.lua
--[[ simple serialization function, won't do uservalues, functions, loops ]] local insert = table.insert local function _serialize(what, outt, indent, max_lv, history) if not max_lv then max_lv = math.huge end if indent > max_lv then return end history = history or {} for up,...
--[[ simple serialization function, won't do uservalues, functions, loops ]] local insert = table.insert local function _serialize(what, outt, indent, max_lv, history) if not max_lv then max_lv = math.huge end if indent > max_lv then return end if type(what) == "table" then ...
fix dump() recursion detection
fix dump() recursion detection only detect recursions for table values.
Lua
agpl-3.0
ashhher3/koreader,chrox/koreader,ashang/koreader,NiLuJe/koreader,poire-z/koreader,chihyang/koreader,mihailim/koreader,NickSavage/koreader,noname007/koreader,koreader/koreader,poire-z/koreader,frankyifei/koreader,lgeek/koreader,koreader/koreader,Frenzie/koreader,Markismus/koreader,pazos/koreader,mwoz123/koreader,robert0...
34e98ccdc38866223dc7e66bfd50f1ee6b9fb98a
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 configuration test
Fixing configuration test
Lua
apache-2.0
sbuettner/kong,AnsonSmith/kong,peterayeni/kong,paritoshmmmec/kong,vmercierfr/kong,bbalu/kong,wakermahmud/kong,puug/kong,ChristopherBiscardi/kong,skynet/kong,chourobin/kong,Skyscanner/kong
51a7f96877d8c5bf70217073ed8aa7ab6a196d20
modules/luci-base/luasrc/tools/status.lua
modules/luci-base/luasrc/tools/status.lua
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.status", package.seeall) local uci = require "luci.model.uci".cursor() local function dhcp_leases_common(family) local rv = { } local nfs = require "nixio.fs" local leasefile = "/tmp/dhcp...
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.status", package.seeall) local uci = require "luci.model.uci".cursor() local function dhcp_leases_common(family) local rv = { } local nfs = require "nixio.fs" local leasefile = "/tmp/dhcp...
luci-base: read odhcpd leasefile location via uci
luci-base: read odhcpd leasefile location via uci Check the location of the odhcpd leasefile from /etc/config/dhcp via uci. Fallback to the default location. This fixes #702 Signed-off-by: Hannu Nyman <ab53a3387de93e31696058c104e6f769cd83fd1b@iki.fi>
Lua
apache-2.0
LuttyYang/luci,bittorf/luci,bittorf/luci,shangjiyu/luci-with-extra,bittorf/luci,bittorf/luci,wongsyrone/luci-1,remakeelectric/luci,shangjiyu/luci-with-extra,shangjiyu/luci-with-extra,mumuqz/luci,artynet/luci,981213/luci-1,hnyman/luci,mumuqz/luci,kuoruan/luci,hnyman/luci,981213/luci-1,openwrt/luci,teslamint/luci,Noltari...
88e0b1760069b42cf006237d740e798657399f5e
modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua
modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.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$ ]]-- m = ...
--[[ 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$ ]]-- m = ...
modules/admin-full: fix dnsmasq page
modules/admin-full: fix dnsmasq page git-svn-id: f7818b41aa164576329f806d7c3827e8a55298bb@5462 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
Lua
apache-2.0
projectbismark/luci-bismark,vhpham80/luci,phi-psi/luci,Flexibity/luci,ReclaimYourPrivacy/cloak-luci,Canaan-Creative/luci,eugenesan/openwrt-luci,freifunk-gluon/luci,ch3n2k/luci,freifunk-gluon/luci,freifunk-gluon/luci,gwlim/luci,yeewang/openwrt-luci,ReclaimYourPrivacy/cloak-luci,dtaht/cerowrt-luci-3.3,phi-psi/luci,projec...
281df50da5e782d6410a07056f44975c704e4350
frontend/cache.lua
frontend/cache.lua
--[[ A global LRU cache ]]-- 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, cached, n ...
--[[ A global LRU cache ]]-- 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, cached, n ...
fix #1028
fix #1028
Lua
agpl-3.0
NickSavage/koreader,poire-z/koreader,ashhher3/koreader,mihailim/koreader,koreader/koreader,pazos/koreader,lgeek/koreader,apletnev/koreader,houqp/koreader,Frenzie/koreader,koreader/koreader,Frenzie/koreader,NiLuJe/koreader,Markismus/koreader,NiLuJe/koreader,frankyifei/koreader,poire-z/koreader,mwoz123/koreader,robert00s...
362ab0e1c675c8788a186ee25af2a6f7aaec248f
modules/game_healthbar/healthbar.lua
modules/game_healthbar/healthbar.lua
HealthBar = {} -- constants local Icons = {} Icons[1] = { tooltip = tr('You are poisoned'), path = '/game_healthbar/icons/poisoned.png', id = 'condition_poisoned' } Icons[2] = { tooltip = tr('You are burning'), path = '/game_healthbar/icons/burning.png', id = 'condition_burning' } Icons[4] = { tooltip = tr('You are el...
HealthBar = {} -- constants local Icons = {} Icons[1] = { tooltip = tr('You are poisoned'), path = '/game_healthbar/icons/poisoned.png', id = 'condition_poisoned' } Icons[2] = { tooltip = tr('You are burning'), path = '/game_healthbar/icons/burning.png', id = 'condition_burning' } Icons[4] = { tooltip = tr('You are el...
fix conditions on reload
fix conditions on reload
Lua
mit
dreamsxin/otclient,dreamsxin/otclient,dreamsxin/otclient,gpedro/otclient,Radseq/otclient,Cavitt/otclient_mapgen,gpedro/otclient,kwketh/otclient,EvilHero90/otclient,EvilHero90/otclient,Radseq/otclient,kwketh/otclient,gpedro/otclient,Cavitt/otclient_mapgen
eacdb3fce4c723c44c512b4c8bdd961defbbcd06
defaut/Guerrier.lua
defaut/Guerrier.lua
Ovale.defaut["WARRIOR"] = [[ Define(THUNDERCLAP 6343) Define(SHOCKWAVE 46968) Define(DEMOSHOUT 1160) Define(COMMANDSHOUT 469) Define(BATTLESHOUT 2048) Define(REVENGE 6572) Define(SHIELDSLAM 23922) Define(DEVASTATE 20243) Define(VICTORY 34428) Define(EXECUTE 5308) Define(BLOODTHIRST 23881) Define(WHIRLWIND 1680) Define(...
Ovale.defaut["WARRIOR"] = [[ Define(THUNDERCLAP 6343) Define(SHOCKWAVE 46968) Define(DEMOSHOUT 1160) Define(COMMANDSHOUT 469) Define(BATTLESHOUT 2048) Define(REVENGE 6572) Define(SHIELDSLAM 23922) Define(DEVASTATE 20243) Define(VICTORY 34428) Define(EXECUTE 5308) Define(BLOODTHIRST 23881) Define(WHIRLWIND 1680) Define(...
- fixed arm warrior default script, which was VERY bad
- fixed arm warrior default script, which was VERY bad git-svn-id: b2bb544abab4b09d60f88077ac82407cb244c9c9@45 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Lua
mit
ultijlam/ovale,eXhausted/Ovale,eXhausted/Ovale,ultijlam/ovale,ultijlam/ovale,eXhausted/Ovale,Xeltor/ovale
eb7ae363ce8e3de4c6ab7428edf3fe7f15a59396
share/lua/playlist/youtube.lua
share/lua/playlist/youtube.lua
--[[ $Id$ Copyright © 2007-2011 the VideoLAN team 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 option) any later version. This program is dist...
--[[ $Id$ Copyright © 2007-2011 the VideoLAN team 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 option) any later version. This program is dist...
youtube.lua: fix fetching of uploader's name
youtube.lua: fix fetching of uploader's name
Lua
lgpl-2.1
shyamalschandra/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,krichter722/vlc,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,krichter722/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.2,xkfz007/vlc,jomanmuk/vlc-2.1,xkfz007/vlc,xkfz007/vlc,j...
9da2b344ed926a98e92d4a6fa0e43322fd13614c
src/cosy/connexion/js.lua
src/cosy/connexion/js.lua
require "cosy.lang.cosy" js.global.cosy = cosy local observed = require "cosy.lang.view.observed" observed [#observed + 1] = require "cosy.lang.view.update" cosy = observed (cosy) local sha1 = require "sha1" local json = require "dkjson" local seq = require "cosy.lang.iterators" . seq local set = req...
require "cosy.lang.cosy" js.global.cosy = cosy local observed = require "cosy.lang.view.observed" observed [#observed + 1] = require "cosy.lang.view.update" cosy = observed (cosy) local sha1 = require "sha1" local json = require "dkjson" local seq = require "cosy.lang.iterators" . seq local set = req...
Fix elements function.
Fix elements function.
Lua
mit
CosyVerif/library,CosyVerif/library,CosyVerif/library