Browse Source

Rebased The repo with james and Updated GUI

release/v0.1
vineetbhargav86 9 years ago
parent
commit
c601ff6988
  1. 305
      iguana/app/coin_mgmt.js
  2. 536
      iguana/app/common.js
  3. 24
      iguana/app/startup.js
  4. 40
      iguana/background.js
  5. 24
      iguana/css/googleFonts.css
  6. 22
      iguana/css/googleIcons.css
  7. 2
      iguana/css/googleTheme.css
  8. 97
      iguana/css/jquery.dropdown.css
  9. 47
      iguana/css/ripples.css
  10. 145
      iguana/js/api.js
  11. 10
      iguana/js/form.js
  12. 2
      iguana/js/googleTheme.min.js
  13. 0
      iguana/js/jquery-2.1.4.min.js
  14. 378
      iguana/js/jquery.dropdown.js
  15. 122
      iguana/js/methods.js
  16. 389
      iguana/js/peerlist.js
  17. 2
      iguana/js/ripples.min.js
  18. 442
      iguana/js/settings.js
  19. 192
      iguana/js/sites.js
  20. 166
      iguana/js/test.js
  21. 340
      iguana/js/util.js
  22. 23
      iguana/js/widget.js
  23. 53
      iguana/pnacl/Release/SuperNET.deps
  24. 1
      iguana/pnacl/Release/dir.stamp
  25. 12
      iguana/pnacl/Release/iguana.nmf
  26. BIN
      iguana/pnacl/Release/iguana.pexe
  27. 54
      iguana/pnacl/Release/iguana777.deps
  28. 54
      iguana/pnacl/Release/iguana_accept.deps
  29. 59
      iguana/pnacl/Release/iguana_bitmap.deps
  30. 54
      iguana/pnacl/Release/iguana_blocks.deps
  31. 54
      iguana/pnacl/Release/iguana_bundles.deps
  32. 54
      iguana/pnacl/Release/iguana_chains.deps
  33. 54
      iguana/pnacl/Release/iguana_html.deps
  34. 54
      iguana/pnacl/Release/iguana_init.deps
  35. 59
      iguana/pnacl/Release/iguana_json.deps
  36. 54
      iguana/pnacl/Release/iguana_msg.deps
  37. 54
      iguana/pnacl/Release/iguana_peers.deps
  38. 75
      iguana/pnacl/Release/iguana_pubkeys.deps
  39. 54
      iguana/pnacl/Release/iguana_ramchain.deps
  40. 54
      iguana/pnacl/Release/iguana_recv.deps
  41. 54
      iguana/pnacl/Release/iguana_rpc.deps
  42. 54
      iguana/pnacl/Release/iguana_tx.deps
  43. BIN
      iguana/pnacl/Release/iguana_unstripped.bc
  44. BIN
      iguana/pnacl/Release/iguana_unstripped.pexe
  45. 54
      iguana/pnacl/Release/iguana_wallet.deps
  46. 93
      iguana/pnacl/Release/main.deps
  47. 1
      iguana/pnacl/Release/nacl_io.stamp
  48. 57
      iguana/pnacl/Release/ramchain_api.deps
  49. 7
      iguana/widget-demo.html

305
iguana/app/coin_mgmt.js

@ -0,0 +1,305 @@
var coinManagement = {};
// Classes
coinManagement.Coin = function (_id, _symbol, _description, _statusId) {
this.Id = _id;
this.Symbol = _symbol;
this.Description = _description;
this.StatusId = _statusId;
};
coinManagement.CoinStatus = function (_id, _name) {
this.Id = _id;
this.Name = _name;
};
// Initialization
coinManagement.loggingEnabled = true;
coinManagement.Coins = [];
coinManagement.CoinStatuses = [
new coinManagement.CoinStatus(1, 'Dormant'),
new coinManagement.CoinStatus(2, 'Launched'),
new coinManagement.CoinStatus(3, 'Started'),
new coinManagement.CoinStatus(4, 'Paused')
];
coinManagement.Initialize = function () {
coinManagement.Coins = [
new coinManagement.Coin(6, 'USD', 'US Dollar', 1),
new coinManagement.Coin(2, 'EUR', 'EURO', 2),
new coinManagement.Coin(3, 'GBP', 'British Pound', 3),
new coinManagement.Coin(4, 'INR', 'Indian Rupee', 4),
new coinManagement.Coin(5, 'YEN', 'Japanese Yen', 3)
];
}
coinManagement.GetCoinIndex = function (id) {
if (coinManagement.Coins == null || coinManagement.Coins == undefined) {
return -1;
}
for (var index = 0; index < coinManagement.Coins.length; index++) {
if (coinManagement.Coins[index].Id == id) {
console.log('# coin ID:' + id.toString() + 'is @' + index);
return index;
}
}
};
coinManagement.Post = function (coin) {
if (coin === null || coin === undefined) {
console.log('# can not add coin, invalid record');
return false;
}
console.log('# posting coin', coin);
coinManagement.Coins.push(coin);
};
coinManagement.Get = function () {
console.log('# getting coins');
return coinManagement.Coins;
};
coinManagement.Delete = function (id) {
if (id == null || id == undefined) {
console.log('# invalid Coin Id');
return false;
}
var index = coinManagement.GetCoinIndex(id);
if (index == null || index == undefined || index < 0) {
console.log('# the coin index is invalid');
}
console.log('# coin deleted with id:', id, '@ index', index);
coinManagement.Coins.splice(index, 1);
};
coinManagement.getNewCoinId = function () {
console.log('# getting new id');
var newId = -1;
// Get an array of ids
var ids = coinManagement.Coins.map(function (elem, index) {
return elem.Id;
});
// sort ids
ids.sort(function (x, y) {
return (x - y);
});
// get the next id
for (var i = 0; i < ids.length; i++) {
if (ids.indexOf(i) == -1) {
newId = i;
break;
}
};
// worst case scenario
if (newId == -1) {
newId = ids.length;
}
console.log('# new id: ', newId);
return newId;
};
// Helper functions
// Genric Functions to read a key from local storage : for Chrome Browser and Chrome Extension App
var readCache = function (key) {
// Check if this is a chrome extension App
if (chrome != null && chrome != undefined && chrome.storage != null && chrome.storage != undefined) {
}
// Else it should be a browser, which supports HTML 5 localStorage API
else {
}
};
// Genric Functions to add/update key value pair in lcoal storage : for Chrome Browser and Chrome Extension App
var updateCache = function (key, value) {
// Check if this is a chrome extension App
if (chrome != null && chrome != undefined && chrome.storage != null && chrome.storage != undefined) {
}
// Else it should be a browser, which supports HTML 5 localStorage API
else {
}
};
var populateCoinStatusDropDown = function () {
console.log('# populating coin status dropdown');
var select = document.getElementById('ddStatus');
for (var i = 0; i < coinManagement.CoinStatuses.length; i++) {
var option = document.createElement('option');
option.value = coinManagement.CoinStatuses[i].Id
option.textContent = coinManagement.CoinStatuses[i].Name;
select.appendChild(option);
};
console.log('# populated coin status dropdown');
};
var coinEditFormIsValid = function () {
var txt_symbol = document.getElementById('txtSymbol').value;
var txt_description = document.getElementById('txtDescription').value;
var dd_Status = document.getElementById('ddStatus').value;
var symbol_group = document.getElementById('txtSymbolGroup');
var description_group = document.getElementById('txtDescriptionGroup');
var status_group = document.getElementById('ddCoinStatus');
symbol_group.removeAttribute('class');
symbol_group.setAttribute('class', 'form-group');
description_group.removeAttribute('class');
description_group.setAttribute('class', 'form-group');
status_group.removeAttribute('class');
status_group.setAttribute('class', 'form-group');
if (txt_symbol == null || txt_symbol == undefined || txt_symbol.length == 0) {
symbol_group.removeAttribute('class');
symbol_group.setAttribute('class', 'has-error form-group');
return false;
} else if (txt_description == null || txt_description == undefined || txt_description.length == 0) {
description_group.removeAttribute('class');
description_group.setAttribute('class', 'has-error form-group');
return false;
} else if (dd_Status == null || dd_Status == undefined || dd_Status.length == 0) {
status_group.removeAttribute('class');
status_group.setAttribute('class', 'has-error form-group');
return false;
}
};
var GetStatusName = function (id) {
for (var index = 0; index < coinManagement.CoinStatuses.length; index++) {
if (coinManagement.CoinStatuses[index].Id == id) {
return coinManagement.CoinStatuses[index].Name;
}
}
};
var GetStatusNameHtml = function (id) {
var result = GetStatusName(id);
switch (parseInt(id)) {
case 1:
return '<span class="label label-info">' + result + '</span>';
break;
case 2:
return '<span class="label label-primary">' + result + '</span>';
break;
case 3:
return '<span class="label label-success">' + result + '</span>';
break;
case 4:
return '<span class="label label-danger">' + result + '</span>';
break;
default:
coinManagement.log('Invalid Status ID : ' + id);
return '<span class="label label-default">#Invalid</span>';
break;
}
};
var getActionButton = function (id) {
return '<button class="btn btn-raised btn-danger btn-xs coinMgmtActionButton" data-id=' + id + '>Delete</button>';
};
var objToHtml = function (objCoin) {
if (objCoin == null || objCoin == undefined) {
return '';
}
return '<tr><td>' + objCoin.Symbol + '</td><td>' + objCoin.Description + '</td><td>' + GetStatusNameHtml(objCoin.StatusId) + '</td><td>' + getActionButton(objCoin.Id) + '</td></tr>';
};
var addCoin = function (e) {
console.log('# add coin called');
e.target.removeAttribute('data-dismiss');
if (coinEditFormIsValid() == false) {
console.log('# add coin form is invalid');
return;
}
e.target.setAttribute('data-dismiss', 'modal');
var id = coinManagement.getNewCoinId();
var txt_symbol = document.getElementById('txtSymbol').value;
var txt_description = document.getElementById('txtDescription').value;
var dd_Status = document.getElementById('ddStatus').value;
var objNewCoin = new coinManagement.Coin(id, txt_symbol, txt_description, dd_Status);
coinManagement.Post(objNewCoin);
console.log('# coin added');
renderGrid();
coinEditFormReset();
};
var renderGrid = function () {
console.log('# refreshing coin grid');
var coinsTableBody = document.getElementById('Coins_table').getElementsByTagName('tbody')[0];
coinsTableBody.innerHTML = '';
coinManagement.Coins.forEach(function (element) {
var htmlCoin = objToHtml(element);
coinsTableBody.innerHTML += htmlCoin;
});
};
var deleteCoin = function (id) {
console.log('# coin delete called');
coinManagement.Delete(id);
renderGrid();
};
var coinEditFormReset = function () {
document.getElementById('txtSymbol').value = '';
document.getElementById('txtDescription').value = '';
document.getElementById('ddStatus').value = 1;
}
// Event Handlers
var startCoinManagement = function () {
coinManagement.Initialize();
document.getElementById('btnSaveCoinForm').onclick = addCoin;
document.getElementById('btnClearCoinForm').onclick = coinEditFormReset;
document.getElementById('Coins_refresh').onclick = renderGrid;
document.getElementById('Coins_reset').addEventListener('click', coinManagement.Initialize);
document.getElementById('Coins_reset').addEventListener('click', renderGrid);
renderGrid();
populateCoinStatusDropDown();
}

536
iguana/app/common.js

@ -0,0 +1,536 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Set to true when the Document is loaded IFF "test=true" is in the query
// string.
var isTest = false;
// Set to true when loading a "Release" NaCl module, false when loading a
// "Debug" NaCl module.
var isRelease = true;
// Javascript module pattern:
// see http://en.wikipedia.org/wiki/Unobtrusive_JavaScript#Namespaces
// In essence, we define an anonymous function which is immediately called and
// returns a new object. The new object contains only the exported definitions;
// all other definitions in the anonymous function are inaccessible to external
// code.
var common = (function() {
function isHostToolchain(tool) {
return tool == 'win' || tool == 'linux' || tool == 'mac';
}
/**
* Return the mime type for NaCl plugin.
*
* @param {string} tool The name of the toolchain, e.g. "glibc", "newlib" etc.
* @return {string} The mime-type for the kind of NaCl plugin matching
* the given toolchain.
*/
function mimeTypeForTool(tool) {
// For NaCl modules use application/x-nacl.
var mimetype = 'application/x-nacl';
if (isHostToolchain(tool)) {
// For non-NaCl PPAPI plugins use the x-ppapi-debug/release
// mime type.
if (isRelease)
mimetype = 'application/x-ppapi-release';
else
mimetype = 'application/x-ppapi-debug';
} else if (tool == 'pnacl') {
mimetype = 'application/x-pnacl';
}
return mimetype;
}
/**
* Check if the browser supports NaCl plugins.
*
* @param {string} tool The name of the toolchain, e.g. "glibc", "newlib" etc.
* @return {bool} True if the browser supports the type of NaCl plugin
* produced by the given toolchain.
*/
function browserSupportsNaCl(tool) {
// Assume host toolchains always work with the given browser.
// The below mime-type checking might not work with
// --register-pepper-plugins.
if (isHostToolchain(tool)) {
return true;
}
var mimetype = mimeTypeForTool(tool);
return navigator.mimeTypes[mimetype] !== undefined;
}
/**
* Inject a script into the DOM, and call a callback when it is loaded.
*
* @param {string} url The url of the script to load.
* @param {Function} onload The callback to call when the script is loaded.
* @param {Function} onerror The callback to call if the script fails to load.
*/
function injectScript(url, onload, onerror) {
var scriptEl = document.createElement('script');
scriptEl.type = 'text/javascript';
scriptEl.src = url;
scriptEl.onload = onload;
if (onerror) {
scriptEl.addEventListener('error', onerror, false);
}
document.head.appendChild(scriptEl);
}
/**
* Run all tests for this example.
*
* @param {Object} moduleEl The module DOM element.
*/
function runTests(moduleEl) {
console.log('runTests()');
common.tester = new Tester();
// All NaCl SDK examples are OK if the example exits cleanly; (i.e. the
// NaCl module returns 0 or calls exit(0)).
//
// Without this exception, the browser_tester thinks that the module has crashed.
common.tester.exitCleanlyIsOK();
common.tester.addAsyncTest('loaded', function(test) {
test.pass();
});
if (typeof window.addTests !== 'undefined') {
window.addTests();
}
common.tester.waitFor(moduleEl);
common.tester.run();
}
/**
* Create the Native Client <embed> element as a child of the DOM element
* named "listener".
*
* @param {string} name The name of the example.
* @param {string} tool The name of the toolchain, e.g. "glibc", "newlib" etc.
* @param {string} path Directory name where .nmf file can be found.
* @param {number} width The width to create the plugin.
* @param {number} height The height to create the plugin.
* @param {Object} attrs Dictionary of attributes to set on the module.
*/
function createNaClModule(name, tool, path, width, height, attrs) {
var moduleEl = document.createElement('embed');
moduleEl.setAttribute('name', 'nacl_module');
moduleEl.setAttribute('id', 'nacl_module');
moduleEl.setAttribute('width', width);
moduleEl.setAttribute('height', height);
moduleEl.setAttribute('path', path);
moduleEl.setAttribute('src', path + '/' + name + '.nmf');
// Add any optional arguments
if (attrs) {
for (var key in attrs) {
moduleEl.setAttribute(key, attrs[key]);
}
}
var mimetype = mimeTypeForTool(tool);
moduleEl.setAttribute('type', mimetype);
// The <EMBED> element is wrapped inside a <DIV>, which has both a 'load'
// and a 'message' event listener attached. This wrapping method is used
// instead of attaching the event listeners directly to the <EMBED> element
// to ensure that the listeners are active before the NaCl module 'load'
// event fires.
var listenerDiv = document.getElementById('listener');
listenerDiv.appendChild(moduleEl);
// Request the offsetTop property to force a relayout. As of Apr 10, 2014
// this is needed if the module is being loaded on a Chrome App's
// background page (see crbug.com/350445).
moduleEl.offsetTop;
// Host plugins don't send a moduleDidLoad message. We'll fake it here.
var isHost = isHostToolchain(tool);
if (isHost) {
window.setTimeout(function() {
moduleEl.readyState = 1;
moduleEl.dispatchEvent(new CustomEvent('loadstart'));
moduleEl.readyState = 4;
moduleEl.dispatchEvent(new CustomEvent('load'));
moduleEl.dispatchEvent(new CustomEvent('loadend'));
}, 100); // 100 ms
}
// This is code that is only used to test the SDK.
if (isTest) {
var loadNaClTest = function() {
injectScript('nacltest.js', function() {
runTests(moduleEl);
});
};
// Try to load test.js for the example. Whether or not it exists, load
// nacltest.js.
injectScript('test.js', loadNaClTest, loadNaClTest);
}
}
/**
* Add the default "load" and "message" event listeners to the element with
* id "listener".
*
* The "load" event is sent when the module is successfully loaded. The
* "message" event is sent when the naclModule posts a message using
* PPB_Messaging.PostMessage() (in C) or pp::Instance().PostMessage() (in
* C++).
*/
function attachDefaultListeners() {
var listenerDiv = document.getElementById('listener');
listenerDiv.addEventListener('load', moduleDidLoad, true);
listenerDiv.addEventListener('message', handleMessage, true);
listenerDiv.addEventListener('error', handleError, true);
listenerDiv.addEventListener('crash', handleCrash, true);
if (typeof window.attachListeners !== 'undefined') {
window.attachListeners();
}
}
/**
* Called when the NaCl module fails to load.
*
* This event listener is registered in createNaClModule above.
*/
function handleError(event) {
// We can't use common.naclModule yet because the module has not been
// loaded.
var moduleEl = document.getElementById('nacl_module');
updateStatus('ERROR [' + moduleEl.lastError + ']');
}
/**
* Called when the Browser can not communicate with the Module
*
* This event listener is registered in attachDefaultListeners above.
*/
function handleCrash(event) {
if (common.naclModule.exitStatus != 0) {
updateStatus('ABORTED [' + common.naclModule.exitStatus + ']');
} else {
updateStatus('EXITED [' + common.naclModule.exitStatus + ']');
}
if (typeof window.handleCrash !== 'undefined') {
window.handleCrash(common.naclModule.lastError);
}
}
/**
* Called when the NaCl module is loaded.
*
* This event listener is registered in attachDefaultListeners above.
*/
function moduleDidLoad() {
common.naclModule = document.getElementById('nacl_module');
updateStatus('RUNNING');
if (typeof window.moduleDidLoad !== 'undefined') {
window.moduleDidLoad();
}
}
/**
* Hide the NaCl module's embed element.
*
* We don't want to hide by default; if we do, it is harder to determine that
* a plugin failed to load. Instead, call this function inside the example's
* "moduleDidLoad" function.
*
*/
function hideModule() {
// Setting common.naclModule.style.display = "None" doesn't work; the
// module will no longer be able to receive postMessages.
common.naclModule.style.height = '0';
}
/**
* Remove the NaCl module from the page.
*/
function removeModule() {
common.naclModule.parentNode.removeChild(common.naclModule);
common.naclModule = null;
}
/**
* Return true when |s| starts with the string |prefix|.
*
* @param {string} s The string to search.
* @param {string} prefix The prefix to search for in |s|.
*/
function startsWith(s, prefix) {
// indexOf would search the entire string, lastIndexOf(p, 0) only checks at
// the first index. See: http://stackoverflow.com/a/4579228
return s.lastIndexOf(prefix, 0) === 0;
}
/** Maximum length of logMessageArray. */
var kMaxLogMessageLength = 7;
/** An array of messages to display in the element with id "log". */
var logMessageArray = [];
/**
* Add a message to an element with id "log".
*
* This function is used by the default "log:" message handler.
*
* @param {string} message The message to log.
*/
function logMessage(message) {
logMessageArray.push(message);
if ( logMessageArray.length > kMaxLogMessageLength )
logMessageArray.shift();
var node = document.createElement("div"); // Create a node
var dt = new DateTime();
var date = dt.formats.pretty.c;
var textnode = document.createTextNode(date + ': ' +message); // Create a text node
node.appendChild(textnode); // Append the text to <li>
document.getElementById("log").appendChild(node);
//document.getElementById('log').appendChild(message);
console.log(message);
}
/**
*/
var defaultMessageTypes = {
'alert': alert,
'log': logMessage
};
/**
* Called when the NaCl module sends a message to JavaScript (via
* PPB_Messaging.PostMessage())
*
* This event listener is registered in createNaClModule above.
*
* @param {Event} message_event A message event. message_event.data contains
* the data sent from the NaCl module.
*/
function isJson(str) {
try {
JSON.parse(str);
} catch (e) {
return false;
}
return true;
}
function retmsg(msg)
{
common.naclModule.postMessage(msg);
console.log("sent: "+msg);
}
function handleMessage(message_event)
{
if(isJson(message_event.data))
{
console.log("AAAA");
var request = JSON.parse(message_event.data);
console.log(request);
if(request.method == "NxtAPI")
{
console.log(request.requestType);
Jay.request(request.requestType, JSON.parse(request.params), function(ans) {
retmsg(ans);
})
}
else if(request.method == "status")
{
retmsg("{'status':'doing alright'}");
}
else if(request.method == "signBytes")
{
var out = converters.byteArrayToHexString(signBytes(converters.hexStringToByteArray(request.bytes), request.secretPhrase));
var ret = {};
ret.signature = out;
retmsg(JSON.stringify(ret));
}
else if(request.method == "createToken")
{
var out = createToken(request.data, request.secretPhrase);
var ret = {};
ret.token = out;
retmsg(JSON.stringify(ret));
}
else if(request.method == "parseToken")
{
var out = parseToken(request.token, request.data);
retmsg(JSON.stringify(out));
}
console.log(request);
}
if (typeof message_event.data === 'string') {
for (var type in defaultMessageTypes) {
if (defaultMessageTypes.hasOwnProperty(type)) {
if (startsWith(message_event.data, type + ':')) {
func = defaultMessageTypes[type];
func(message_event.data.slice(type.length + 1));
return;
}
}
}
}
if (typeof window.handleMessage !== 'undefined') {
window.handleMessage(message_event);
return;
}
logMessage('Unhandled message: ' + message_event.data);
}
/**
* Called when the DOM content has loaded; i.e. the page's document is fully
* parsed. At this point, we can safely query any elements in the document via
* document.querySelector, document.getElementById, etc.
*
* @param {string} name The name of the example.
* @param {string} tool The name of the toolchain, e.g. "glibc", "newlib" etc.
* @param {string} path Directory name where .nmf file can be found.
* @param {number} width The width to create the plugin.
* @param {number} height The height to create the plugin.
* @param {Object} attrs Optional dictionary of additional attributes.
*/
function domContentLoaded(name, tool, path, width, height, attrs) {
// If the page loads before the Native Client module loads, then set the
// status message indicating that the module is still loading. Otherwise,
// do not change the status message.
updateStatus('Page loaded.');
if (!browserSupportsNaCl(tool)) {
updateStatus(
'Browser does not support NaCl (' + tool + '), or NaCl is disabled');
} else if (common.naclModule == null) {
updateStatus('Creating embed: ' + tool);
// We use a non-zero sized embed to give Chrome space to place the bad
// plug-in graphic, if there is a problem.
width = typeof width !== 'undefined' ? width : 200;
height = typeof height !== 'undefined' ? height : 200;
attachDefaultListeners();
createNaClModule(name, tool, path, width, height, attrs);
} else {
// It's possible that the Native Client module onload event fired
// before the page's onload event. In this case, the status message
// will reflect 'SUCCESS', but won't be displayed. This call will
// display the current message.
updateStatus('Waiting.');
}
}
/** Saved text to display in the element with id 'statusField'. */
var statusText = 'NO-STATUSES';
/**
* Set the global status message. If the element with id 'statusField'
* exists, then set its HTML to the status message as well.
*
* @param {string} opt_message The message to set. If null or undefined, then
* set element 'statusField' to the message from the last call to
* updateStatus.
*/
function updateStatus(opt_message) {
if (opt_message) {
statusText = opt_message;
}
var statusField = document.getElementById('statusField');
if (statusField) {
statusField.innerHTML = statusText;
}
}
// The symbols to export.
return {
/** A reference to the NaCl module, once it is loaded. */
naclModule: null,
attachDefaultListeners: attachDefaultListeners,
domContentLoaded: domContentLoaded,
createNaClModule: createNaClModule,
hideModule: hideModule,
removeModule: removeModule,
logMessage: logMessage,
updateStatus: updateStatus
};
}());
// Listen for the DOM content to be loaded. This event is fired when parsing of
// the page's document has finished.
document.addEventListener('DOMContentLoaded', function() {
var body = document.body;
// The data-* attributes on the body can be referenced via body.dataset.
if (body.dataset) {
var loadFunction;
if (!body.dataset.customLoad) {
loadFunction = common.domContentLoaded;
} else if (typeof window.domContentLoaded !== 'undefined') {
loadFunction = window.domContentLoaded;
}
// From https://developer.mozilla.org/en-US/docs/DOM/window.location
var searchVars = {};
if (window.location.search.length > 1) {
var pairs = window.location.search.substr(1).split('&');
for (var key_ix = 0; key_ix < pairs.length; key_ix++) {
var keyValue = pairs[key_ix].split('=');
searchVars[unescape(keyValue[0])] =
keyValue.length > 1 ? unescape(keyValue[1]) : '';
}
}
if (loadFunction) {
var toolchains = body.dataset.tools.split(' ');
var configs = body.dataset.configs.split(' ');
var attrs = {};
if (body.dataset.attrs) {
var attr_list = body.dataset.attrs.split(' ');
for (var key in attr_list) {
var attr = attr_list[key].split('=');
var key = attr[0];
var value = attr[1];
attrs[key] = value;
}
}
var tc = toolchains.indexOf(searchVars.tc) !== -1 ?
searchVars.tc : toolchains[0];
// If the config value is included in the search vars, use that.
// Otherwise default to Release if it is valid, or the first value if
// Release is not valid.
if (configs.indexOf(searchVars.config) !== -1)
var config = searchVars.config;
else if (configs.indexOf('Release') !== -1)
var config = 'Release';
else
var config = configs[0];
var pathFormat = body.dataset.path;
var path = pathFormat.replace('{tc}', tc).replace('{config}', config);
isTest = searchVars.test === 'true';
isRelease = path.toLowerCase().indexOf('release') != -1;
loadFunction(body.dataset.name, tc, path, body.dataset.width,
body.dataset.height, attrs);
}
}
});

24
iguana/app/startup.js

@ -0,0 +1,24 @@
$(function () {
console.log('jquery loaded');
$.material.init();
$(".select ").dropdown({ "autoinit ": ".select " });
startCoinManagement();
startPeerManagement();
// Event Handlers
// $('.coinMgmtActionButton').click equivelant w/o jQuery
document.body.onclick = function (e) {
e = window.event ? event.srcElement : e.target;
if (e.className && e.className.indexOf('coinMgmtActionButton') != -1) {
deleteCoin(e.getAttribute('data-id'));
}
else if (e.className && e.className.indexOf('addPeerToFav') != -1) {
addPeerToFav(e.getAttribute('data-id'));
}
else if (e.className && e.className.indexOf('removePeerFromFav') != -1) {
removePeerFromFav(e.getAttribute('data-id'));
}
};
});

40
iguana/background.js

@ -0,0 +1,40 @@
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function makeURL(toolchain, config) {
return 'index.html?tc=' + toolchain + '&config=' + config;
}
function createWindow(url) {
console.log('loading ' + url);
chrome.app.window.create(url, {
width: 1024,
height: 800,
frame: 'none'
});
}
function onLaunched(launchData) {
// Send and XHR to get the URL to load from a configuration file.
// Normally you won't need to do this; just call:
//
// chrome.app.window.create('<your url>', {...});
//
// In the SDK we want to be able to load different URLs (for different
// toolchain/config combinations) from the commandline, so we to read
// this information from the file "run_package_config".
var xhr = new XMLHttpRequest();
xhr.open('GET', 'run_package_config', true);
xhr.onload = function() {
var toolchain_config = this.responseText.split(' ');
createWindow(makeURL.apply(null, toolchain_config));
};
xhr.onerror = function() {
// Can't find the config file, just load the default.
createWindow('index.html');
};
xhr.send();
}
chrome.app.runtime.onLaunched.addListener(onLaunched);

24
iguana/css/googleFonts.css

@ -0,0 +1,24 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: url("../fonts/Roboto-Light.woff2") format("woff2");
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url("../fonts/Roboto-Regular.woff2") format("woff2");
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url("../fonts/Roboto-Medium.woff2") format("woff2");
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url("../fonts/Roboto-Bold.woff2") format("woff2");
}

22
iguana/css/googleIcons.css

@ -0,0 +1,22 @@
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url("../fonts/MaterialIcons-Regular.woff2"), format("woff2");
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-moz-font-feature-settings: 'liga';
-moz-osx-font-smoothing: grayscale;
}

2
iguana/css/googleTheme.css

File diff suppressed because one or more lines are too long

97
iguana/css/jquery.dropdown.css

@ -0,0 +1,97 @@
.dropdownjs {
position: relative;
}
.dropdownjs * {
box-sizing: border-box;
}
.dropdownjs > input {
width: 100%;
padding-right: 30px;
text-overflow: ellipsis;
}
.dropdownjs > input.focus ~ ul {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.dropdownjs > ul {
position: absolute;
padding: 0;
margin: 0;
min-width: 200px;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
z-index: 10000;
}
.dropdownjs > ul[placement=top-left] {
-webkit-transform-origin: bottom left;
-ms-transform-origin: bottom left;
transform-origin: bottom left;
bottom: 0;
left: 0;
}
.dropdownjs > ul[placement=bottom-left] {
-webkit-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
top: 0;
left: 0;
}
.dropdownjs > ul > li {
list-style: none;
padding: 10px 20px;
}
.dropdownjs > ul > li.dropdownjs-add {
padding: 0;
}
.dropdownjs > ul > li.dropdownjs-add > input {
border: 0;
padding: 10px 20px;
width: 100%;
}
/* Theme */
.dropdownjs > input[readonly] {
cursor: pointer;
}
select[data-dropdownjs][disabled] + .dropdownjs > input[readonly] {
cursor: default;
}
.dropdownjs > ul {
background: #FFF;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 6px rgba(0, 0, 0, 0.12);
-webkit-transition: -webkit-transform 0.2s ease-out;
transition: transform 0.2s ease-out;
padding: 10px;
overflow: auto;
max-width: 500px;
}
.dropdownjs > ul > li {
cursor: pointer;
word-wrap: break-word;
}
.dropdownjs > ul > li.selected,
.dropdownjs > ul > li:active {
background-color: #eaeaea;
}
.dropdownjs > ul > li:focus {
outline: 0;
outline: 1px solid #d4d4d4;
}
.dropdownjs > ul > li > .close:before {
content: "\00d7";
display: block;
position: absolute;
right: 15px;
float: right;
font-size: 21px;
font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
opacity: .6;
}
.dropdownjs > ul > li:h > .close:hover:before {
opacity: .9;
}

47
iguana/css/ripples.css

@ -0,0 +1,47 @@
.withripple {
position: relative;
}
.ripple-container {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: 100%;
overflow: hidden;
border-radius: inherit;
pointer-events: none;
}
.ripple {
position: absolute;
width: 20px;
height: 20px;
margin-left: -10px;
margin-top: -10px;
border-radius: 100%;
background-color: #000;
background-color: rgba(0, 0, 0, 0.05);
-webkit-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transform-origin: 50%;
-ms-transform-origin: 50%;
-o-transform-origin: 50%;
transform-origin: 50%;
opacity: 0;
pointer-events: none;
}
.ripple.ripple-on {
-webkit-transition: opacity 0.15s ease-in 0s, -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
-o-transition: opacity 0.15s ease-in 0s, -o-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
opacity: 0.1;
}
.ripple.ripple-out {
-webkit-transition: opacity 0.1s linear 0s !important;
-o-transition: opacity 0.1s linear 0s !important;
transition: opacity 0.1s linear 0s !important;
opacity: 0;
}
/*# sourceMappingURL=ripples.css.map */

145
iguana/js/api.js

@ -1,67 +1,78 @@
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.methods = {};
SPNAPI.pages = ["Settings", "eyedea", "iguana","Debug","Wallet"];
SPNAPI.pageContent = {};
SPNAPI.page = "welcome";
$(document).ready(function() {
//load Pages into the navbar
$.each(SPNAPI.pages, function( index, value ) {
$("#welcome").after('<li class="navigation" data-page="'+value+'"><a href="#">'+value+'</a></li>');
});
$(".navigation").on("click", function () {
var page = $(this).data("page");
$(".navigation").removeClass("active");
$(".hljs").html("JSON response");
SPNAPI.loadSite(page);
});
$(".page").hide();
$("#welcome_page").show();
$(".submit_api_request").on("click", function () {
SPNAPI.submitRequest();
});
$(".clear-response").on("click", function () {
$(".hljs").html("JSON response");
});
});
SPNAPI.submitRequest = function(e) {
//code added in order to be able to receive input from <input> or <textarea> fields
//original code: var request = $(".json_submit_url").html();
//CODE CHANGED START
// val() will not work with multiple textareas with same class
// when there will be one tab for talking with api - this if-else can be deleted
if ($("#json_submit_url").val()) {
var request = $("#json_submit_url").val();
}
else if ($(".json_src").val()) {
var request = $(".json_src").val();
}
//CODE CHANGED STOP
// add new item in history table
historyTable.addItem(request);
postCall('iguana', request, function(jsonstr)
{
$(".debuglogdebuglog").append(jsonstr);
common.logMessage(jsonstr + '\n');
$(".hljs").html(jsonstr);
});
};
return SPNAPI;
}(SPNAPI || {}, jQuery));
// tag string generator
function tagGen(len)
{
var text = "";
var charset = "0123456789";
for( var i=0; i < len; i++ )
text += charset.charAt(Math.floor(Math.random() * charset.length));
return text;
}
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.methods = {};
SPNAPI.pages = ["Settings", "eyedea", "Peers","Debug", "Coins", "Blockexplorer"];
SPNAPI.pageContent = {};
SPNAPI.page = "welcome";
$(document).ready(function() {
//load Pages into the navbar
$.each(SPNAPI.pages, function( index, value ) {
$("#welcome").after('<li class="navigation" data-page="'+value+'"><a href="#">'+value+'</a></li>');
});
$(".navigation").on("click", function () {
var page = $(this).data("page");
$(".navigation").removeClass("active");
SPNAPI.loadSite(page);
});
$(".page").hide();
$("#welcome_page").show();
$(".submit_api_request").on("click", function () {
SPNAPI.submitRequest();
});
$(".clear-response").on("click", function () {
$(".hljs").html("JSON response");
});
});
// this function handles form in "eyedea" tab
// you can use it as example for writing your own
SPNAPI.submitRequest = function(e) {
if ($("#json_src").val()) {
var request = $("#json_src").val();
} else {
console.log('request is empty');
return;
}
SPNAPI.makeRequest(request, function(json_req, json_resp) {
$(".result").text(json_resp);
historyTable.addItem(json_req);
});
};
// makeRequest is wrapper-function for performing postCall requests.
// argument is your json request, tag is generated and added autmatically
// two options are passed to callback, request and response
SPNAPI.makeRequest = function( request, callback ) {
// check if tag is already included in request
request = JSON.parse( request );
if ( request.tag == undefined ) {
request = JSON.stringify( request );
var tag = tagGen(18);
request = request.substr(0, request.length - 1);
request = request + ',"tag":"' + tag.toString() + '"}';
} else {
request = JSON.stringify( request );
}
console.log('Requesting: ' + request);
postCall('iguana', request, function(response){
console.log('Response is ' + response);
callback(request, response);
});
}
return SPNAPI;
}(SPNAPI || {}, jQuery));

10
iguana/js/form.js

@ -12,7 +12,6 @@ var historyTable = (function(historyTable, $, undefined) {
//adding first item
items.push(json);
$('#submit_history tbody').append(newTab);
localStorage['submit_history'] = JSON.stringify(items);
} else {
//check for duplicates
var jsonExist = false;
@ -24,7 +23,6 @@ var historyTable = (function(historyTable, $, undefined) {
if ( jsonExist == false ) {
items.push(json);
$('#submit_history tbody').append(newTab);
localStorage['submit_history'] = JSON.stringify(items);
} else {
console.log('this json already exist');
}
@ -36,18 +34,12 @@ var historyTable = (function(historyTable, $, undefined) {
$(document).ready(function() {
// loading previously submitted jsons from local storage
if ( localStorage['submit_history'] ) {
var submit_history = JSON.parse(localStorage['submit_history']);
for ( i=0; i < submit_history.length; i++ ) {
historyTable.addItem(submit_history[i]);
}
}
// handling clear history button
$('#clearHistory').click(function() {
$('#submit_history tbody').empty();
items = [];
localStorage.removeItem('submit_history');
});
// bind handler to resubmit buttons

2
iguana/js/googleTheme.min.js

File diff suppressed because one or more lines are too long

0
iguana/js/jquery-2.1.4.min.js

378
iguana/js/jquery.dropdown.js

@ -0,0 +1,378 @@
/* globals jQuery, window, document */
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
}
}(function($) {
var methods = {
options : {
"optionClass": "",
"dropdownClass": "",
"autoinit": false,
"callback": false,
"onSelected": false,
"dynamicOptLabel": "Add a new option..."
},
init: function(options) {
// Apply user options if user has defined some
if (options) {
options = $.extend(methods.options, options);
} else {
options = methods.options;
}
function initElement($select) {
// Don't do anything if this is not a select or if this select was already initialized
if ($select.data("dropdownjs") || !$select.is("select")) {
return;
}
// Is it a multi select?
var multi = $select.attr("multiple");
// Does it allow to create new options dynamically?
var dynamicOptions = $select.attr("data-dynamic-opts"),
$dynamicInput = $();
// Create the dropdown wrapper
var $dropdown = $("<div></div>");
$dropdown.addClass("dropdownjs").addClass(options.dropdownStyle);
$dropdown.data("select", $select);
// Create the fake input used as "select" element and cache it as $input
var $input = $("<input type=text readonly class=fakeinput>");
if ($.material) { $input.data("mdproc", true); }
// Append it to the dropdown wrapper
$dropdown.append($input);
// Create the UL that will be used as dropdown and cache it AS $ul
var $ul = $("<ul></ul>");
$ul.data("select", $select);
// Append it to the dropdown
$dropdown.append($ul);
// Transfer the placeholder attribute
$input.attr("placeholder", $select.attr("placeholder"));
// Loop trough options and transfer them to the dropdown menu
$select.find("option").each(function() {
// Cache $(this)
var $this = $(this);
methods._addOption($ul, $this);
});
// If this select allows dynamic options add the widget
if (dynamicOptions) {
$dynamicInput = $("<li class=dropdownjs-add></li>");
$dynamicInput.append("<input>");
$dynamicInput.find("input").attr("placeholder", options.dynamicOptLabel);
$ul.append($dynamicInput);
}
// Cache the dropdown options
var selectOptions = $dropdown.find("li");
// If is a single select, selected the first one or the last with selected attribute
if (!multi) {
var $selected;
if ($select.find(":selected").length) {
$selected = $select.find(":selected").last();
}
else {
$selected = $select.find("option, li").first();
// $selected = $select.find("option").first();
}
methods._select($dropdown, $selected);
} else {
var selectors = [], val = $select.val()
for (var i in val) {
selectors.push('li[value=' + val[i] + ']')
}
if (selectors.length > 0) {
methods._select($dropdown, $dropdown.find(selectors.join(',')));
}
}
// Transfer the classes of the select to the input dropdown
$input.addClass($select[0].className);
// Hide the old and ugly select
$select.hide().attr("data-dropdownjs", true);
// Bring to life our awesome dropdownjs
$select.after($dropdown);
// Call the callback
if (options.callback) {
options.callback($dropdown);
}
//---------------------------------------//
// DROPDOWN EVENTS //
//---------------------------------------//
// On click, set the clicked one as selected
$ul.on("click", "li:not(.dropdownjs-add)", function(e) {
methods._select($dropdown, $(this));
// trigger change event, if declared on the original selector
$select.change();
});
$ul.on("keydown", "li:not(.dropdownjs-add)", function(e) {
if (e.which === 27) {
$(".dropdownjs > ul > li").attr("tabindex", -1);
return $input.removeClass("focus").blur();
}
if (e.which === 32 && !$(e.target).is("input")) {
methods._select($dropdown, $(this));
return false;
}
});
$ul.on("focus", "li:not(.dropdownjs-add)", function() {
if ($select.is(":disabled")) {
return;
}
$input.addClass("focus");
});
// Add new options when the widget is used
if (dynamicOptions && dynamicOptions.length) {
$dynamicInput.on("keydown", function(e) {
if(e.which !== 13) return;
var $option = $("<option>"),
val = $dynamicInput.find("input").val();
$dynamicInput.find("input").val("");
$option.attr("value", val);
$option.text(val);
$select.append($option);
});
}
// Listen for new added options and update dropdown if needed
$select.on("DOMNodeInserted", function(e) {
var $this = $(e.target);
if (!$this.val().length) return;
methods._addOption($ul, $this);
$ul.find("li").not(".dropdownjs-add").attr("tabindex", 0);
});
// Update dropdown when using val, need to use .val("value").trigger("change");
$select.on("change", function(e) {
var $this = $(e.target);
if (!$this.val().length) return;
if (!multi) {
var $selected;
if ($select.find(":selected").length) {
$selected = $select.find(":selected").last();
}
else {
$selected = $select.find("option, li").first();
}
methods._select($dropdown, $selected);
} else {
methods._select($dropdown, $select.find(":selected"));
}
});
// Used to make the dropdown menu more dropdown-ish
$input.on("click focus", function(e) {
e.stopPropagation();
if ($select.is(":disabled")) {
return;
}
$(".dropdownjs > ul > li").attr("tabindex", -1);
$(".dropdownjs > input").not($(this)).removeClass("focus").blur();
$(".dropdownjs > ul > li").not(".dropdownjs-add").attr("tabindex", 0);
// Set height of the dropdown
var coords = {
top: $(this).offset().top - $(document).scrollTop(),
left: $(this).offset().left - $(document).scrollLeft(),
bottom: $(window).height() - ($(this).offset().top - $(document).scrollTop()),
right: $(window).width() - ($(this).offset().left - $(document).scrollLeft())
};
var height = coords.bottom;
// Decide if place the dropdown below or above the input
if (height < 200 && coords.top > coords.bottom) {
height = coords.top;
$ul.attr("placement", "top-left");
} else {
$ul.attr("placement", "bottom-left");
}
$(this).next("ul").css("max-height", height - 20);
$(this).addClass("focus");
});
// Close every dropdown on click outside
$(document).on("click", function(e) {
// Don't close the multi dropdown if user is clicking inside it
if (multi && $(e.target).parents(".dropdownjs").length) return;
// Don't close the dropdown if user is clicking inside the dynamic-opts widget
if ($(e.target).parents(".dropdownjs-add").length || $(e.target).is(".dropdownjs-add")) return;
// Close opened dropdowns
$(".dropdownjs > ul > li").attr("tabindex", -1);
$input.removeClass("focus");
});
}
if (options.autoinit) {
$(document).on("DOMNodeInserted", function(e) {
var $this = $(e.target);
if (!$this.is("select")) {
$this = $this.find('select');
}
if ($this.is(options.autoinit)) {
$this.each(function() {
initElement($(this));
});
}
});
}
// Loop trough elements
$(this).each(function() {
initElement($(this));
});
},
select: function(target) {
var $target = $(this).find("[value=\"" + target + "\"]");
methods._select($(this), $target);
},
_select: function($dropdown, $target) {
if ($target.is(".dropdownjs-add")) return;
// Get dropdown's elements
var $select = $dropdown.data("select"),
$input = $dropdown.find("input.fakeinput");
// Is it a multi select?
var multi = $select.attr("multiple");
// Cache the dropdown options
var selectOptions = $dropdown.find("li");
// Behavior for multiple select
if (multi) {
// Toggle option state
$target.toggleClass("selected");
// Toggle selection of the clicked option in native select
$target.each(function(){
var $selected = $select.find("[value=\"" + $(this).attr("value") + "\"]");
$selected.prop("selected", $(this).hasClass("selected"));
})
// Add or remove the value from the input
var text = [];
selectOptions.each(function() {
if ($(this).hasClass("selected")) {
text.push($(this).text());
}
});
$input.val(text.join(", "));
}
// Behavior for single select
if (!multi) {
// Unselect options except the one that will be selected
if ($target.is("li")) {
selectOptions.not($target).removeClass("selected");
}
// Select the selected option
$target.addClass("selected");
// Set the value to the native select
$select.val($target.attr("value"));
// Set the value to the input
$input.val($target.text().trim());
}
// This is used only if Material Design for Bootstrap is selected
if ($.material) {
if ($input.val().trim()) {
$select.removeClass("empty");
} else {
$select.addClass("empty");
}
}
// Call the callback
if (this.options.onSelected) {
this.options.onSelected($target.attr("value"));
}
},
_addOption: function($ul, $this) {
// Create the option
var $option = $("<li></li>");
// Style the option
$option.addClass(this.options.optionStyle);
// If the option has some text then transfer it
if ($this.text()) {
$option.text($this.text());
}
// Otherwise set the empty label and set it as an empty option
else {
$option.html("&nbsp;");
}
// Set the value of the option
$option.attr("value", $this.val());
// Will user be able to remove this option?
if ($ul.data("select").attr("data-dynamic-opts")) {
$option.append("<span class=close></span>");
$option.find(".close").on("click", function() {
$option.remove();
$this.remove();
});
}
// Ss it selected?
if ($this.prop("selected")) {
$option.attr("selected", true);
$option.addClass("selected");
}
// Append option to our dropdown
if ($ul.find(".dropdownjs-add").length) {
$ul.find(".dropdownjs-add").before($option);
} else {
$ul.append($option);
}
}
};
$.fn.dropdown = function(params) {
if (methods[params]) {
return methods[params].apply(this, Array.prototype.slice.call(arguments,1));
} else if (typeof params === "object" | !params) {
return methods.init.apply(this, arguments);
} else {
$.error("Method " + params + " does not exists on jQuery.dropdown");
}
};
}));

122
iguana/js/methods.js

@ -1,62 +1,62 @@
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.methods.iguana = [
{"id":1,"method":"wallet","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.methods.Wallet = [
{"id":1,"method":"wallet","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.loadApiBox = function (agent,methods) {
methods = methods[0];
$(".api-panel-title").html(methods.method);
var json = { "agent" : agent, "method" : methods.method };
var rows = '';
rows += '<input type="hidden" name="agent" value="'+agent+'">';
rows += '<input type="hidden" name="method" value="'+methods.method+'">';
rows += '<table class="table">' +
'<thead>' +
'<tr><th>Agent</th><th>'+agent+'</th></tr>' +
'<tr><td>Method</th><td>'+methods.method+'</td></tr>';
$.each(methods, function (index, value) {
if(index !== "id") {
if( index !== "method") {
var required = '';
if(value > '') {
required = 'has-success';
}
rows += '<tr><td>' + index + '</td><td><div class="form-group '+required+'"><input type="text" class="api_control form-control" class="form-control" name="' + index + '" style="width:100%;min-width:200px;"></div></td></tr>';
json[index] = value;
}
}
});
rows += '</table><hr>';
json = JSON.stringify(json);
$(".json_submit_url").html(json);
$(".api_formfill").html(rows);
};
return SPNAPI;
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.methods.iguana = [
{"id":1,"method":"wallet","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.methods.Wallet = [
{"id":1,"method":"wallet","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.loadApiBox = function (agent,methods) {
methods = methods[0];
$(".api-panel-title").html(methods.method);
var json = { "agent" : agent, "method" : methods.method };
var rows = '';
rows += '<input type="hidden" name="agent" value="'+agent+'">';
rows += '<input type="hidden" name="method" value="'+methods.method+'">';
rows += '<table class="table">' +
'<thead>' +
'<tr><th>Agent</th><th>'+agent+'</th></tr>' +
'<tr><td>Method</th><td>'+methods.method+'</td></tr>';
$.each(methods, function (index, value) {
if(index !== "id") {
if( index !== "method") {
var required = '';
if(value > '') {
required = 'has-success';
}
rows += '<tr><td>' + index + '</td><td><div class="form-group '+required+'"><input type="text" class="api_control form-control" class="form-control" name="' + index + '" style="width:100%;min-width:200px;"></div></td></tr>';
json[index] = value;
}
}
});
rows += '</table><hr>';
json = JSON.stringify(json);
$(".json_submit_url").html(json);
$(".api_formfill").html(rows);
};
return SPNAPI;
}(SPNAPI || {}, jQuery));

389
iguana/js/peerlist.js

@ -0,0 +1,389 @@
// placeholder of API peers response
var coin_types = ['BTC', 'BTCD'];
var response = {
"peers": [
{
"ipaddr": "127.0.0.1",
"protover": 60013,
"relay": 1,
"height": 854849,
"rank": 0,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "234.0.0.1",
"protover": 50013,
"relay": 1,
"height": 584849,
"rank": 1,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "345.0.0.1",
"protover": 62013,
"relay": 1,
"height": 354849,
"rank": 1,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "567.0.0.1",
"protover": 30013,
"relay": 1,
"height": 454849,
"rank": 0,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "321.0.0.1",
"protover": 55013,
"relay": 1,
"height": 444849,
"rank": 2,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "764.0.0.1",
"protover": 60013,
"relay": 1,
"height": 134849,
"rank": 2,
"usock": 4,
"ready": 3249777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "327.0.0.1",
"protover": 60013,
"relay": 1,
"height": 854849,
"rank": 3,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "765.0.0.1",
"protover": 60013,
"relay": 1,
"height": 854849,
"rank": 0,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
},
{
"ipaddr": "255.0.0.1",
"protover": 60013,
"relay": 1,
"height": 854849,
"rank": 2,
"usock": 4,
"ready": 1449777119,
"msgcounts": {
"version": 1,
"verack": 1,
"getaddr": 0,
"addr": 2,
"inv": 0,
"getdata": 0,
"notfound": 0,
"getblocks": 0,
"getheaders": 0,
"headers": 0,
"tx": 0,
"block": 0,
"mempool": 0,
"ping": 0,
"pong": 0,
"reject": 0,
"filterload": 0,
"filteradd": 0,
"filterclear": 0,
"merkleblock": 0,
"alert": 0
}
}
],
"maxpeers": 32,
"coin": "BTCD",
"tag": "12697016274367621769"
};
var favPeers = [];
var getHtmlRow = function (id, peer) {
var row = '';
row = '<tr data-id="' + id.toString() + '">';
row += '<td>' + peer.ipaddr + '</td>';
row += '<td>' + peer.cointype + '</td>';
row += '<td>' + peer.height + '</td>';
row += '<td>' + peer.rank + '</td>';
if ($.inArray(id, favPeers) == -1) {
row += '<td><button class="btn btn-xs btn-success btn-raised addPeerToFav" data-id="' + id.toString() + '"> + Favorite</button></td>';
// row += '<td><i class="material-icons addPeerToFav" data-id="' + id.toString() + '">bookmark_border</i></td>';
}
else {
row += '<td><button class="btn btn-xs btn-danger btn-raised removePeerFromFav" data-id="' + id.toString() + '"> - Unfavorite</button></td>';
// row += '<td><i class="material-icons removePeerFromFav" data-id="' + id.toString() + '">bookmark</i></td>'
}
row += '</tr>';
return row;
};
var addPeerToFav = function (id) {
if ($.inArray(id, favPeers) == -1) {
favPeers.push(parseInt(id));
console.log('@ peer faved', favPeers);
}
// refresh grid
renderPeersGrid(false);
};
var removePeerFromFav = function (id) {
for (var index = 0; index < favPeers.length; index++) {
if (id == favPeers[index]) {
favPeers.splice(index, 1);
console.log('@ peer unfaved', favPeers);
break;
}
}
// refresh grid
renderPeersGrid(document.getElementById('cbShowFavoritePeers').checked);
};
var renderPeersGrid = function (favoritesOnly = false) {
console.log('@ peer print grid')
var peersTableAllHtml = '';
for (var i = 0; i < response.peers.length; i++) {
if (favoritesOnly == true && $.inArray(i, favPeers) == -1) {
continue;
}
response.peers[i].cointype = response.coin
peersTableAllHtml += getHtmlRow(i, response.peers[i]);
}
document.getElementById('peersTableBody').innerHTML = peersTableAllHtml;
};
document.getElementById('cbShowFavoritePeers').onclick = function () {
// if (document.getElementById('cbShowFavoritePeers').checked == true) {
// // document.getElementById('peersTableBody').style.display = 'none';
// // document.getElementById('peersTable_fav').style.display = 'block';
// $('#peersTableBody').hide();
// $('#peersTable_fav').show();
// }
// else {
// // document.getElementById('peersTableBody').style.display = 'block';
// // document.getElementById('peersTable_fav').style.display = 'none';
// $('#peersTableBody').show();
// $('#peersTable_fav').hide();
// }
renderPeersGrid(document.getElementById('cbShowFavoritePeers').checked);
};
var startPeerManagement = function () {
renderPeersGrid();
};

2
iguana/js/ripples.min.js

@ -0,0 +1,2 @@
!function(a,b,c,d){"use strict";function e(b,c){g=this,this.element=a(b),this.options=a.extend({},h,c),this._defaults=h,this._name=f,this.init()}var f="ripples",g=null,h={};e.prototype.init=function(){var c=this.element;c.on("mousedown touchstart",function(d){if(!g.isTouch()||"mousedown"!==d.type){c.find(".ripple-container").length||c.append('<div class="ripple-container"></div>');var e=c.children(".ripple-container"),f=g.getRelY(e,d),h=g.getRelX(e,d);if(f||h){var i=g.getRipplesColor(c),j=a("<div></div>");j.addClass("ripple").css({left:h,top:f,"background-color":i}),e.append(j),function(){return b.getComputedStyle(j[0]).opacity}(),g.rippleOn(c,j),setTimeout(function(){g.rippleEnd(j)},500),c.on("mouseup mouseleave touchend",function(){j.data("mousedown","off"),"off"===j.data("animating")&&g.rippleOut(j)})}}})},e.prototype.getNewSize=function(a,b){return Math.max(a.outerWidth(),a.outerHeight())/b.outerWidth()*2.5},e.prototype.getRelX=function(a,b){var c=a.offset();return g.isTouch()?(b=b.originalEvent,1===b.touches.length?b.touches[0].pageX-c.left:!1):b.pageX-c.left},e.prototype.getRelY=function(a,b){var c=a.offset();return g.isTouch()?(b=b.originalEvent,1===b.touches.length?b.touches[0].pageY-c.top:!1):b.pageY-c.top},e.prototype.getRipplesColor=function(a){var c=a.data("ripple-color")?a.data("ripple-color"):b.getComputedStyle(a[0]).color;return c},e.prototype.hasTransitionSupport=function(){var a=c.body||c.documentElement,b=a.style,e=b.transition!==d||b.WebkitTransition!==d||b.MozTransition!==d||b.MsTransition!==d||b.OTransition!==d;return e},e.prototype.isTouch=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},e.prototype.rippleEnd=function(a){a.data("animating","off"),"off"===a.data("mousedown")&&g.rippleOut(a)},e.prototype.rippleOut=function(a){a.off(),g.hasTransitionSupport()?a.addClass("ripple-out"):a.animate({opacity:0},100,function(){a.trigger("transitionend")}),a.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){a.remove()})},e.prototype.rippleOn=function(a,b){var c=g.getNewSize(a,b);g.hasTransitionSupport()?b.css({"-ms-transform":"scale("+c+")","-moz-transform":"scale("+c+")","-webkit-transform":"scale("+c+")",transform:"scale("+c+")"}).addClass("ripple-on").data("animating","on").data("mousedown","on"):b.animate({width:2*Math.max(a.outerWidth(),a.outerHeight()),height:2*Math.max(a.outerWidth(),a.outerHeight()),"margin-left":-1*Math.max(a.outerWidth(),a.outerHeight()),"margin-top":-1*Math.max(a.outerWidth(),a.outerHeight()),opacity:.2},500,function(){b.trigger("transitionend")})},a.fn.ripples=function(b){return this.each(function(){a.data(this,"plugin_"+f)||a.data(this,"plugin_"+f,new e(this,b))})}}(jQuery,window,document);
//# sourceMappingURL=ripples.min.js.map

442
iguana/js/settings.js

@ -1,221 +1,221 @@
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.settings = {};
SPNAPI.getCheckBoxDetails = function(agent) {
var extraInfo = '';
switch (agent) {
case 'InstantDEX':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'pangea':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Jumblr':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'MGW':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Atomic':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'PAX':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Tradebots':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Wallet':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Jay':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
}
return extraInfo;
}
SPNAPI.pageContent.Settings = function () {
var filehandle_map = {};
var dirhandle_map = {};
var rows = '<h3>Agents</h3>';
$.each(SPNAPI.methods, function (index, value) {
var this_state;
$.each(SPNAPI.settings, function (settings_index, settings_value) {
$.each(settings_value, function (this_setting_index, this_setting_value) {
if(this_setting_value.agent == index) {
this_state = this_setting_value.state;
}
})
});
var checkbox_text = "";
var checkbox_checked = "";
var extraDetails = SPNAPI.getCheckBoxDetails(index);
if(this_state == 'inactive') { checkbox_text = '<i>Disabled</i>'; checkbox_checked = ''; extraDetails = ""; }
else {
checkbox_text = 'Enabled'; checkbox_checked = 'checked="checked"';
}
rows += '' +
'<div class="panel panel-default">'+
'<div class="panel-body">'+
'<div class="col-xs-6 col-md-6 col-lg-6">'+index+'</div>'+
'<div class="col-xs-6 col-md-6 col-lg-6" style="text-align: right;">' +
'<div class="checkbox">'+
'<label>'+
'<input type="checkbox" id="'+index+'_checkbox" '+checkbox_checked+' class="agent_checkbox" value="'+index+'" aria-label="Activate/Deactivate Agent"> <span class="checkbox_'+index+'_text">'+checkbox_text+'</span>'+
'</label>'+
'</div>' +
'</div>' +
'<div class="row"><div class="'+index+'_extra_info col-xs-10 col-md-10 col-lg-10">'+extraDetails+'</div></div>'+
'</div>'+
'</div>';
});
var filename = "/persistent/SuperNET.conf";
var access = "w+";
postCall('fopen', filename, access, function(filename_return, filehandle) {
filehandle_map[filehandle] = filename_return;
common.logMessage('File ' + filename_return + ' opened successfully.');
console.log(filehandle + " and "+filename_return);
});
/*
var data = "SuperNETconfigurationsdaaaaa TES TEST TEST TEST";
postCall('fwrite', 0, data, function(filehandle, bytesWritten) {
var filename = filehandle_map[filehandle];
common.logMessage('Wrote ' + bytesWritten + ' bytes to file ' + filename +
'.');
});
var filesize = "";
postCall('stat', filename, function(filename, size) {
common.logMessage('File ' + filename + ' has size ' + size + '.');
filesize = size;
});
var filehandle = parseInt(filehandle_map, 10);
var numBytes = parseInt(filesize, 10);
postCall('fread', 0, 0, function(filehandle, data) {
var filename = filehandle_map[filehandle];
common.logMessage('Read "' + data + '" from file ' + filename + '.');
});
*/
$("#agent_settings").html(rows);
var config = '<h3>Config</h3>';
$("#config_settings").html(config);
var agent_checkbox = $('.agent_checkbox');
agent_checkbox.on("click", function () {
var checkbox_agent = $(this).val();
var thisCheck = $(this);
if (thisCheck.is (':checked'))
{
$('.checkbox_'+checkbox_agent+'_text').html("Enabled");
var extraDetails = SPNAPI.getCheckBoxDetails(checkbox_agent);
$("."+checkbox_agent+"_extra_info").html(extraDetails);
} else {
$("."+checkbox_agent+"_extra_info").html('');
$('.checkbox_'+checkbox_agent+'_text').html("<i>Disabled</i>");
}
});
$("#save_settings").on("click", function () {
var agent_checkbox = $('.agent_checkbox');
var settings = [];
$.each(agent_checkbox, function(index, value) {
var agent = value.value;
console.log(agent);
var thisCheck = $("#"+agent+"_checkbox");
var state;
if (thisCheck.is (':checked'))
{
state = "active";
} else {
state = 'inactive';
}
var json = { "agent" : "InstantDEX", "state" : "inactive" };
json.agent = agent;
json.state = state;
settings.push(json);
});
//console.log(settings);
var filename = "/persistent/SuperNET.conf";
var access = "w";
postCall('fopen', filename, access, function(filename_return, filehandle) {
filehandle_map[filehandle] = filename_return;
common.logMessage('File ' + filename_return + ' opened successfully.');
});
//var settings = { "agent" : "InstantDEX", "state" : "active" };
chrome.storage.sync.set({ "settings" : settings }, function() {
if (chrome.runtime.error) {
console.log("Runtime error.");
}
});
chrome.storage.sync.get("settings", function(items) {
if (!chrome.runtime.error) {
//console.log(items);
//document.getElementById("data").innerText = items.data;
SPNAPI.settings = items;
}
});
});
};
return SPNAPI;
}(SPNAPI || {}, jQuery));
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.settings = {};
SPNAPI.getCheckBoxDetails = function(agent) {
var extraInfo = '';
switch (agent) {
case 'InstantDEX':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'pangea':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Jumblr':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'MGW':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Atomic':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'PAX':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Tradebots':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Wallet':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
case 'Jay':
extraInfo = 'Extra Info on this '+agent+' Agent';
break;
}
return extraInfo;
}
SPNAPI.pageContent.Settings = function () {
var filehandle_map = {};
var dirhandle_map = {};
var rows = '<h3>Agents</h3>';
$.each(SPNAPI.methods, function (index, value) {
var this_state;
$.each(SPNAPI.settings, function (settings_index, settings_value) {
$.each(settings_value, function (this_setting_index, this_setting_value) {
if(this_setting_value.agent == index) {
this_state = this_setting_value.state;
}
})
});
var checkbox_text = "";
var checkbox_checked = "";
var extraDetails = SPNAPI.getCheckBoxDetails(index);
if(this_state == 'inactive') { checkbox_text = '<i>Disabled</i>'; checkbox_checked = ''; extraDetails = ""; }
else {
checkbox_text = 'Enabled'; checkbox_checked = 'checked="checked"';
}
rows += '' +
'<div class="panel panel-default">'+
'<div class="panel-body">'+
'<div class="col-xs-6 col-md-6 col-lg-6">'+index+'</div>'+
'<div class="col-xs-6 col-md-6 col-lg-6" style="text-align: right;">' +
'<div class="checkbox">'+
'<label>'+
'<input type="checkbox" id="'+index+'_checkbox" '+checkbox_checked+' class="agent_checkbox" value="'+index+'" aria-label="Activate/Deactivate Agent"> <span class="checkbox_'+index+'_text">'+checkbox_text+'</span>'+
'</label>'+
'</div>' +
'</div>' +
'<div class="row"><div class="'+index+'_extra_info col-xs-10 col-md-10 col-lg-10">'+extraDetails+'</div></div>'+
'</div>'+
'</div>';
});
var filename = "/persistent/SuperNET.conf";
var access = "w+";
postCall('fopen', filename, access, function(filename_return, filehandle) {
filehandle_map[filehandle] = filename_return;
common.logMessage('File ' + filename_return + ' opened successfully.');
console.log(filehandle + " and "+filename_return);
});
/*
var data = "SuperNETconfigurationsdaaaaa TES TEST TEST TEST";
postCall('fwrite', 0, data, function(filehandle, bytesWritten) {
var filename = filehandle_map[filehandle];
common.logMessage('Wrote ' + bytesWritten + ' bytes to file ' + filename +
'.');
});
var filesize = "";
postCall('stat', filename, function(filename, size) {
common.logMessage('File ' + filename + ' has size ' + size + '.');
filesize = size;
});
var filehandle = parseInt(filehandle_map, 10);
var numBytes = parseInt(filesize, 10);
postCall('fread', 0, 0, function(filehandle, data) {
var filename = filehandle_map[filehandle];
common.logMessage('Read "' + data + '" from file ' + filename + '.');
});
*/
$("#agent_settings").html(rows);
var config = '<h3>Config</h3>';
$("#config_settings").html(config);
var agent_checkbox = $('.agent_checkbox');
agent_checkbox.on("click", function () {
var checkbox_agent = $(this).val();
var thisCheck = $(this);
if (thisCheck.is (':checked'))
{
$('.checkbox_'+checkbox_agent+'_text').html("Enabled");
var extraDetails = SPNAPI.getCheckBoxDetails(checkbox_agent);
$("."+checkbox_agent+"_extra_info").html(extraDetails);
} else {
$("."+checkbox_agent+"_extra_info").html('');
$('.checkbox_'+checkbox_agent+'_text').html("<i>Disabled</i>");
}
});
$("#save_settings").on("click", function () {
var agent_checkbox = $('.agent_checkbox');
var settings = [];
$.each(agent_checkbox, function(index, value) {
var agent = value.value;
console.log(agent);
var thisCheck = $("#"+agent+"_checkbox");
var state;
if (thisCheck.is (':checked'))
{
state = "active";
} else {
state = 'inactive';
}
var json = { "agent" : "InstantDEX", "state" : "inactive" };
json.agent = agent;
json.state = state;
settings.push(json);
});
//console.log(settings);
var filename = "/persistent/SuperNET.conf";
var access = "w";
postCall('fopen', filename, access, function(filename_return, filehandle) {
filehandle_map[filehandle] = filename_return;
common.logMessage('File ' + filename_return + ' opened successfully.');
});
//var settings = { "agent" : "InstantDEX", "state" : "active" };
chrome.storage.sync.set({ "settings" : settings }, function() {
if (chrome.runtime.error) {
console.log("Runtime error.");
}
});
chrome.storage.sync.get("settings", function(items) {
if (!chrome.runtime.error) {
//console.log(items);
//document.getElementById("data").innerText = items.data;
SPNAPI.settings = items;
}
});
});
};
return SPNAPI;
}(SPNAPI || {}, jQuery));

192
iguana/js/sites.js

@ -1,96 +1,96 @@
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.pageContent.Tradebots = function () {
var site = "iguana";
SPNAPI.loadSiteAPI(site,"iguana");
};
SPNAPI.pageContent.Wallet = function () {
var site = "Wallet";
SPNAPI.loadSiteAPI(site,"Wallet");
};
SPNAPI.pageContent.Debug = function () {
$(".debuglog").show();
debug_on = 1;
$("html, body").animate({ scrollTop: $(document).height() }, 1000);
};
SPNAPI.loadSite = function (page, callback) {
$(".page").hide();
$("#"+page+'_page').show();
$(".json_submit_url").html("");
$(".api_formfill").html("");
$(".api-panel-title").html("Panel Title");
$('.navigation[data-page=' + page + ']').addClass('active');
if(SPNAPI.pageContent[page]) {
SPNAPI.pageContent[page](callback);
}
};
SPNAPI.loadSiteAPI = function (site,agent) {
$(".api-navpills").html('<ul class="nav nav-pills nav-stacked">'+
'<li class="active '+site+'_pills"><a href="#">ALL</a></li>'+
'</ul>');
$.each(SPNAPI.methods[site], function (index, value) {
$("."+site+"_pills").after('<li><a href="#" class="api_method" data-agent="'+site+'" data-method="'+value.method+'">'+value.method+'</a></li>');
});
$(".api_method").on("click", function (e) {
e.preventDefault();
//var agent = $(this).data("agent");
var method = $(this).data("method");
$('.nav-pills li.active').removeClass('active');
$(this).parent().addClass('active');
var method_obj = SPNAPI.methods[agent].reduce(function (obj, methods) {
if (methods.method == method) {
return obj.concat(methods);
} else {
return obj;
}
}, []);
SPNAPI.loadApiBox(agent, method_obj);
$(".hljs").html("JSON response");
$(".api_control").on("keypress change", function () {
var input_value = $(this).val();
var input_name = $(this).attr("name");
var submit_url = $(".json_submit_url");
//Change output JSON
var json = submit_url.html();
json = JSON.parse(json);
json[input_name] = input_value;
json = JSON.stringify(json);
submit_url.html(json);
});
});
};
return SPNAPI;
}(SPNAPI || {}, jQuery));
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.pageContent.Tradebots = function () {
var site = "iguana";
SPNAPI.loadSiteAPI(site,"iguana");
};
SPNAPI.pageContent.Wallet = function () {
var site = "Wallet";
SPNAPI.loadSiteAPI(site,"Wallet");
};
SPNAPI.pageContent.Debug = function () {
$(".debuglog").show();
debug_on = 1;
$("html, body").animate({ scrollTop: $(document).height() }, 1000);
};
SPNAPI.loadSite = function (page, callback) {
$(".page").hide();
$("#"+page+'_page').show();
$(".json_submit_url").html("");
$(".api_formfill").html("");
$(".api-panel-title").html("Panel Title");
$('.navigation[data-page=' + page + ']').addClass('active');
if(SPNAPI.pageContent[page]) {
SPNAPI.pageContent[page](callback);
}
};
SPNAPI.loadSiteAPI = function (site,agent) {
$(".api-navpills").html('<ul class="nav nav-pills nav-stacked">'+
'<li class="active '+site+'_pills"><a href="#">ALL</a></li>'+
'</ul>');
$.each(SPNAPI.methods[site], function (index, value) {
$("."+site+"_pills").after('<li><a href="#" class="api_method" data-agent="'+site+'" data-method="'+value.method+'">'+value.method+'</a></li>');
});
$(".api_method").on("click", function (e) {
e.preventDefault();
//var agent = $(this).data("agent");
var method = $(this).data("method");
$('.nav-pills li.active').removeClass('active');
$(this).parent().addClass('active');
var method_obj = SPNAPI.methods[agent].reduce(function (obj, methods) {
if (methods.method == method) {
return obj.concat(methods);
} else {
return obj;
}
}, []);
SPNAPI.loadApiBox(agent, method_obj);
$(".hljs").html("JSON response");
$(".api_control").on("keypress change", function () {
var input_value = $(this).val();
var input_name = $(this).attr("name");
var submit_url = $(".json_submit_url");
//Change output JSON
var json = submit_url.html();
json = JSON.parse(json);
json[input_name] = input_value;
json = JSON.stringify(json);
submit_url.html(json);
});
});
};
return SPNAPI;
}(SPNAPI || {}, jQuery));

166
iguana/js/test.js

@ -0,0 +1,166 @@
var pages = [
{value:"InstantDEX", width:100,"click":InstantDEX},
{ view:"button", value:"pangea", width:100,"click":Pangea },
{ view:"button", value:"Jumblr", width:100,"click":Jumblr },
{ view:"button", value:"Atomic", width:100,"click":Atomic },
{ view:"button", value:"MGW", width:100,"click":MGW },
{ view:"button", value:"PAX", width:100,"click":PAX },
{ view:"button", value:"Wallet", width:100,"click":Wallet },
{ view:"button", value:"Debug", width:100,"click":debuglog }
];
var SPNAPI = (function(SPNAPI, $, undefined) {
SPNAPI.methods.instantDEX = [
{"id":1,"method":"allorderbooks","base":"","rel":"","exchange":"","price":"","volume":""},
{"id":2,"method":"allexchanges","base":"","rel":"","exchange":"","price":"","volume":""},
{"id":2,"method":"openorders","base":"","rel":"","exchange":"","price":"","volume":""},
{"id":3,"method":"orderbook","base":"base","rel":"rel","exchange":"active","price":"","volume":""},
{"id":4,"method":"placeask","base":"base","rel":"rel","exchange":"active","price":"price","volume":"volume"},
{"id":5,"method":"placebid","base":"base","rel":"rel","exchange":"active","price":"price","volume":"volume"},
{"id":6,"method":"orderstatus","base":"","rel":"","exchange":"","price":"","volume":"","orderid":"orderid"},
{"id":7,"method":"cancelorder","base":"","rel":"","exchange":"","price":"","volume":"","orderid":"orderid"},
{"id":8,"method":"enablequotes","base":"base","rel":"rel","exchange":"exchange","price":"","volume":""},
{"id":9,"method":"disablequotes","base":"base","rel":"rel","exchange":"exchange","price":"","volume":""},
{"id":10,"method":"lottostats","base":"","rel":"","exchange":"","price":"","volume":""},
{"id":11,"method":"tradehistory","base":"","rel":"","exchange":"","price":"","volume":""},
{"id":12,"method":"balance","base":"","rel":"","exchange":"exchange","price":"","volume":""},
{"id":13,"method":"peggyrates","base":"base","rel":"","exchange":"","price":"","volume":""}
];
SPNAPI.methods.pangea = [
{"id":1,"method":"start","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante","hostrake":"hostrake"},
{"id":2,"method":"status","tableid":"tableid"},
{"id":3,"method":"turn","tableid":"tableid"},
{"id":4,"method":"mode"},
{"id":5,"method":"buyin","tableid":"tableid"},
{"id":6,"method":"history","tableid":"tableid","handid":"handid"},
{"id":7,"method":"rates","base":"base"},
{"id":8,"method":"lobby"},
{"id":9,"method":"tournaments"},
{"id":10,"method":"rosetta","base":"base"}
];
SPNAPI.methods.jumblr = [
{"id":1,"method":"jumblr","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.methods.mgw =[
{"id":1,"method":"MGW","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.methods.atomic = [
{"id":1,"method":"atomic","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.methods.pax = [
{"id":1,"method":"peggy","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
SPNAPI.methods.wallet = [
{"id":1,"method":"wallet","base":"base","maxplayers":"maxplayers","bigblind":"bigblind","ante":"ante"},
{"id":2,"method":"status","tableid":"tableid"}
];
return SPNAPI;
}(SPNAPI || {}, jQuery));
var api_request = function(agent)
{
var jsonstr = '';//$$("apirequest").getValues().jsonstr;
var base = $$("formA").getValues().base;
var rel = $$("formB").getValues().rel;
var exchange = $$("formC").getValues().exchange;
var price = $$("formD").getValues().price;
var volume = $$("formE").getValues().volume;
var orderid = $$("formF").getValues().orderid;
var method = $$("method").getValues().method;
var request = '{"agent":"' + agent + '","method":"' + method + '","base":"' + base + '","rel":"' + rel + '","exchange":"' + exchange + '","price":"' + price + '","volume":"' + volume + '","orderid":"' + orderid + '"' + jsonstr + '}';
return(request);
}
function submit_request(e)
{
var request = $$("apirequest").getValues().jsonstr;
postCall('SuperNET', request, function(jsonstr)
{
$$("debuglog").add({value:jsonstr},0);
common.logMessage(jsonstr + '\n');
});
}
function InstantDEX(e)
{
$$('list').data.sync(Idata);
request = api_request('InstantDEX');
$$("submitstr").setValue(request);
/*postCall('SuperNET', request, function(jsonstr)
{
$$("debuglog").add({value:jsonstr},0);
common.logMessage(jsonstr + '\n');
});*/
}
function Pangea(e)
{
$$('list').data.sync(Pdata);
request = api_request('pangea');
$$("submitstr").setValue(request);
}
function Jumblr(e)
{
$$('list').data.sync(Jdata);
request = api_request('jumblr');
$$("submitstr").setValue(request);
}
function MGW(e)
{
$$('list').data.sync(Mdata);
request = api_request('MGW');
$$("submitstr").setValue(request);
}
function Atomic(e)
{
$$('list').data.sync(Adata);
request = api_request('atomic');
$$("submitstr").setValue(request);
}
function PAX(e)
{
$$('list').data.sync(Xdata);
request = api_request('peggy');
$$("submitstr").setValue(request);
}
function Wallet(e)
{
$$('list').data.sync(Wdata);
request = api_request('wallet');
$$("submitstr").setValue(request);
}
var debug_on = 0;
function debuglog(e) {
if ( debug_on == 0 )
{
$(".debuglog").show();
debug_on = 1;
}
else
{
$(".debuglog").hide();
debug_on = 0;
}
}

340
iguana/js/util.js

@ -1,171 +1,171 @@
function DateTime() {
function getDaySuffix(a) {
var b = "" + a,
c = b.length,
d = parseInt(b.substring(c-2, c-1)),
e = parseInt(b.substring(c-1));
if (c == 2 && d == 1) return "th";
switch(e) {
case 1:
return "st";
break;
case 2:
return "nd";
break;
case 3:
return "rd";
break;
default:
return "th";
break;
};
};
this.getDoY = function(a) {
var b = new Date(a.getFullYear(),0,1);
return Math.ceil((a - b) / 86400000);
}
this.date = arguments.length == 0 ? new Date() : new Date(arguments);
this.weekdays = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
this.months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
this.daySuf = new Array( "st", "nd", "rd", "th" );
this.day = {
index: {
week: "0" + this.date.getDay(),
month: (this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate()
},
name: this.weekdays[this.date.getDay()],
of: {
week: ((this.date.getDay() < 10) ? "0" + this.date.getDay() : this.date.getDay()) + getDaySuffix(this.date.getDay()),
month: ((this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate()) + getDaySuffix(this.date.getDate())
}
}
this.month = {
index: (this.date.getMonth() + 1) < 10 ? "0" + (this.date.getMonth() + 1) : this.date.getMonth() + 1,
name: this.months[this.date.getMonth()]
};
this.year = this.date.getFullYear();
this.time = {
hour: {
meridiem: (this.date.getHours() > 12) ? (this.date.getHours() - 12) < 10 ? "0" + (this.date.getHours() - 12) : this.date.getHours() - 12 : (this.date.getHours() < 10) ? "0" + this.date.getHours() : this.date.getHours(),
military: (this.date.getHours() < 10) ? "0" + this.date.getHours() : this.date.getHours(),
noLeadZero: {
meridiem: (this.date.getHours() > 12) ? this.date.getHours() - 12 : this.date.getHours(),
military: this.date.getHours()
}
},
minute: (this.date.getMinutes() < 10) ? "0" + this.date.getMinutes() : this.date.getMinutes(),
seconds: (this.date.getSeconds() < 10) ? "0" + this.date.getSeconds() : this.date.getSeconds(),
milliseconds: (this.date.getMilliseconds() < 100) ? (this.date.getMilliseconds() < 10) ? "00" + this.date.getMilliseconds() : "0" + this.date.getMilliseconds() : this.date.getMilliseconds(),
meridiem: (this.date.getHours() > 12) ? "PM" : "AM"
};
this.sym = {
d: {
d: this.date.getDate(),
dd: (this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate(),
ddd: this.weekdays[this.date.getDay()].substring(0, 3),
dddd: this.weekdays[this.date.getDay()],
ddddd: ((this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate()) + getDaySuffix(this.date.getDate()),
m: this.date.getMonth() + 1,
mm: (this.date.getMonth() + 1) < 10 ? "0" + (this.date.getMonth() + 1) : this.date.getMonth() + 1,
mmm: this.months[this.date.getMonth()].substring(0, 3),
mmmm: this.months[this.date.getMonth()],
yy: (""+this.date.getFullYear()).substr(2, 2),
yyyy: this.date.getFullYear()
},
t: {
h: (this.date.getHours() > 12) ? this.date.getHours() - 12 : this.date.getHours(),
hh: (this.date.getHours() > 12) ? (this.date.getHours() - 12) < 10 ? "0" + (this.date.getHours() - 12) : this.date.getHours() - 12 : (this.date.getHours() < 10) ? "0" + this.date.getHours() : this.date.getHours(),
hhh: this.date.getHours(),
m: this.date.getMinutes(),
mm: (this.date.getMinutes() < 10) ? "0" + this.date.getMinutes() : this.date.getMinutes(),
s: this.date.getSeconds(),
ss: (this.date.getSeconds() < 10) ? "0" + this.date.getSeconds() : this.date.getSeconds(),
ms: this.date.getMilliseconds(),
mss: Math.round(this.date.getMilliseconds()/10) < 10 ? "0" + Math.round(this.date.getMilliseconds()/10) : Math.round(this.date.getMilliseconds()/10),
msss: (this.date.getMilliseconds() < 100) ? (this.date.getMilliseconds() < 10) ? "00" + this.date.getMilliseconds() : "0" + this.date.getMilliseconds() : this.date.getMilliseconds()
}
};
this.formats = {
compound: {
commonLogFormat: this.sym.d.dd + "/" + this.sym.d.mmm + "/" + this.sym.d.yyyy + ":" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
exif: this.sym.d.yyyy + ":" + this.sym.d.mm + ":" + this.sym.d.dd + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
/*iso1: "",
iso2: "",*/
mySQL: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
postgreSQL1: this.sym.d.yyyy + "." + this.getDoY(this.date),
postgreSQL2: this.sym.d.yyyy + "" + this.getDoY(this.date),
soap: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss + "." + this.sym.t.mss,
//unix: "",
xmlrpc: this.sym.d.yyyy + "" + this.sym.d.mm + "" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
xmlrpcCompact: this.sym.d.yyyy + "" + this.sym.d.mm + "" + this.sym.d.dd + "T" + this.sym.t.hhh + "" + this.sym.t.mm + "" + this.sym.t.ss,
wddx: this.sym.d.yyyy + "-" + this.sym.d.m + "-" + this.sym.d.d + "T" + this.sym.t.h + ":" + this.sym.t.m + ":" + this.sym.t.s
},
constants: {
atom: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
cookie: this.sym.d.dddd + ", " + this.sym.d.dd + "-" + this.sym.d.mmm + "-" + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
iso8601: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc822: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc850: this.sym.d.dddd + ", " + this.sym.d.dd + "-" + this.sym.d.mmm + "-" + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc1036: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc1123: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yyyy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc2822: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yyyy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc3339: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rss: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
w3c: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss
},
pretty: {
a: this.sym.t.hh + ":" + this.sym.t.mm + "." + this.sym.t.ss + this.time.meridiem + " " + this.sym.d.dddd + " " + this.sym.d.ddddd + " of " + this.sym.d.mmmm + ", " + this.sym.d.yyyy,
b: this.sym.t.hh + ":" + this.sym.t.mm + " " + this.sym.d.dddd + " " + this.sym.d.ddddd + " of " + this.sym.d.mmmm + ", " + this.sym.d.yyyy,
c: this.sym.d.ddddd + " " + this.sym.d.mmmm + ", " + this.sym.t.hh + ":" + this.sym.t.mm
}
};
};
document.getElementById('files').addEventListener('change', handleFileSelect, false);
function handleFileSelect(evt) {
var startByte = evt.target.getAttribute('data-startbyte');
var endByte = evt.target.getAttribute('data-endbyte');
readBlob(startByte, endByte);
}
function readBlob(opt_startByte, opt_stopByte) {
var files = document.getElementById('files').files;
if (!files.length) {
alert('Please select a file!');
return;
}
var file = files[0];
var start = parseInt(opt_startByte) || 0;
var stop = parseInt(opt_stopByte) || file.size - 1;
var reader = new FileReader();
// If we use onloadend, we need to check the readyState.
reader.onloadend = function(e) {
if (e.target.readyState == FileReader.DONE) { // DONE == 2
var confString = e.target.result;
postCall("SuperNET",confString, function(result){
console.log(result);
});
}
};
var blob = file.slice(start, stop + 1);
reader.readAsBinaryString(blob);
function DateTime() {
function getDaySuffix(a) {
var b = "" + a,
c = b.length,
d = parseInt(b.substring(c-2, c-1)),
e = parseInt(b.substring(c-1));
if (c == 2 && d == 1) return "th";
switch(e) {
case 1:
return "st";
break;
case 2:
return "nd";
break;
case 3:
return "rd";
break;
default:
return "th";
break;
};
};
this.getDoY = function(a) {
var b = new Date(a.getFullYear(),0,1);
return Math.ceil((a - b) / 86400000);
}
this.date = arguments.length == 0 ? new Date() : new Date(arguments);
this.weekdays = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
this.months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
this.daySuf = new Array( "st", "nd", "rd", "th" );
this.day = {
index: {
week: "0" + this.date.getDay(),
month: (this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate()
},
name: this.weekdays[this.date.getDay()],
of: {
week: ((this.date.getDay() < 10) ? "0" + this.date.getDay() : this.date.getDay()) + getDaySuffix(this.date.getDay()),
month: ((this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate()) + getDaySuffix(this.date.getDate())
}
}
this.month = {
index: (this.date.getMonth() + 1) < 10 ? "0" + (this.date.getMonth() + 1) : this.date.getMonth() + 1,
name: this.months[this.date.getMonth()]
};
this.year = this.date.getFullYear();
this.time = {
hour: {
meridiem: (this.date.getHours() > 12) ? (this.date.getHours() - 12) < 10 ? "0" + (this.date.getHours() - 12) : this.date.getHours() - 12 : (this.date.getHours() < 10) ? "0" + this.date.getHours() : this.date.getHours(),
military: (this.date.getHours() < 10) ? "0" + this.date.getHours() : this.date.getHours(),
noLeadZero: {
meridiem: (this.date.getHours() > 12) ? this.date.getHours() - 12 : this.date.getHours(),
military: this.date.getHours()
}
},
minute: (this.date.getMinutes() < 10) ? "0" + this.date.getMinutes() : this.date.getMinutes(),
seconds: (this.date.getSeconds() < 10) ? "0" + this.date.getSeconds() : this.date.getSeconds(),
milliseconds: (this.date.getMilliseconds() < 100) ? (this.date.getMilliseconds() < 10) ? "00" + this.date.getMilliseconds() : "0" + this.date.getMilliseconds() : this.date.getMilliseconds(),
meridiem: (this.date.getHours() > 12) ? "PM" : "AM"
};
this.sym = {
d: {
d: this.date.getDate(),
dd: (this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate(),
ddd: this.weekdays[this.date.getDay()].substring(0, 3),
dddd: this.weekdays[this.date.getDay()],
ddddd: ((this.date.getDate() < 10) ? "0" + this.date.getDate() : this.date.getDate()) + getDaySuffix(this.date.getDate()),
m: this.date.getMonth() + 1,
mm: (this.date.getMonth() + 1) < 10 ? "0" + (this.date.getMonth() + 1) : this.date.getMonth() + 1,
mmm: this.months[this.date.getMonth()].substring(0, 3),
mmmm: this.months[this.date.getMonth()],
yy: (""+this.date.getFullYear()).substr(2, 2),
yyyy: this.date.getFullYear()
},
t: {
h: (this.date.getHours() > 12) ? this.date.getHours() - 12 : this.date.getHours(),
hh: (this.date.getHours() > 12) ? (this.date.getHours() - 12) < 10 ? "0" + (this.date.getHours() - 12) : this.date.getHours() - 12 : (this.date.getHours() < 10) ? "0" + this.date.getHours() : this.date.getHours(),
hhh: this.date.getHours(),
m: this.date.getMinutes(),
mm: (this.date.getMinutes() < 10) ? "0" + this.date.getMinutes() : this.date.getMinutes(),
s: this.date.getSeconds(),
ss: (this.date.getSeconds() < 10) ? "0" + this.date.getSeconds() : this.date.getSeconds(),
ms: this.date.getMilliseconds(),
mss: Math.round(this.date.getMilliseconds()/10) < 10 ? "0" + Math.round(this.date.getMilliseconds()/10) : Math.round(this.date.getMilliseconds()/10),
msss: (this.date.getMilliseconds() < 100) ? (this.date.getMilliseconds() < 10) ? "00" + this.date.getMilliseconds() : "0" + this.date.getMilliseconds() : this.date.getMilliseconds()
}
};
this.formats = {
compound: {
commonLogFormat: this.sym.d.dd + "/" + this.sym.d.mmm + "/" + this.sym.d.yyyy + ":" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
exif: this.sym.d.yyyy + ":" + this.sym.d.mm + ":" + this.sym.d.dd + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
/*iso1: "",
iso2: "",*/
mySQL: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
postgreSQL1: this.sym.d.yyyy + "." + this.getDoY(this.date),
postgreSQL2: this.sym.d.yyyy + "" + this.getDoY(this.date),
soap: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss + "." + this.sym.t.mss,
//unix: "",
xmlrpc: this.sym.d.yyyy + "" + this.sym.d.mm + "" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
xmlrpcCompact: this.sym.d.yyyy + "" + this.sym.d.mm + "" + this.sym.d.dd + "T" + this.sym.t.hhh + "" + this.sym.t.mm + "" + this.sym.t.ss,
wddx: this.sym.d.yyyy + "-" + this.sym.d.m + "-" + this.sym.d.d + "T" + this.sym.t.h + ":" + this.sym.t.m + ":" + this.sym.t.s
},
constants: {
atom: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
cookie: this.sym.d.dddd + ", " + this.sym.d.dd + "-" + this.sym.d.mmm + "-" + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
iso8601: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc822: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc850: this.sym.d.dddd + ", " + this.sym.d.dd + "-" + this.sym.d.mmm + "-" + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc1036: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc1123: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yyyy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc2822: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yyyy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rfc3339: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
rss: this.sym.d.ddd + ", " + this.sym.d.dd + " " + this.sym.d.mmm + " " + this.sym.d.yy + " " + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss,
w3c: this.sym.d.yyyy + "-" + this.sym.d.mm + "-" + this.sym.d.dd + "T" + this.sym.t.hhh + ":" + this.sym.t.mm + ":" + this.sym.t.ss
},
pretty: {
a: this.sym.t.hh + ":" + this.sym.t.mm + "." + this.sym.t.ss + this.time.meridiem + " " + this.sym.d.dddd + " " + this.sym.d.ddddd + " of " + this.sym.d.mmmm + ", " + this.sym.d.yyyy,
b: this.sym.t.hh + ":" + this.sym.t.mm + " " + this.sym.d.dddd + " " + this.sym.d.ddddd + " of " + this.sym.d.mmmm + ", " + this.sym.d.yyyy,
c: this.sym.d.ddddd + " " + this.sym.d.mmmm + ", " + this.sym.t.hh + ":" + this.sym.t.mm
}
};
};
document.getElementById('files').addEventListener('change', handleFileSelect, false);
function handleFileSelect(evt) {
var startByte = evt.target.getAttribute('data-startbyte');
var endByte = evt.target.getAttribute('data-endbyte');
readBlob(startByte, endByte);
}
function readBlob(opt_startByte, opt_stopByte) {
var files = document.getElementById('files').files;
if (!files.length) {
alert('Please select a file!');
return;
}
var file = files[0];
var start = parseInt(opt_startByte) || 0;
var stop = parseInt(opt_stopByte) || file.size - 1;
var reader = new FileReader();
// If we use onloadend, we need to check the readyState.
reader.onloadend = function(e) {
if (e.target.readyState == FileReader.DONE) { // DONE == 2
var confString = e.target.result;
postCall("SuperNET",confString, function(result){
console.log(result);
});
}
};
var blob = file.slice(start, stop + 1);
reader.readAsBinaryString(blob);
}

23
iguana/js/widget.js

@ -0,0 +1,23 @@
var widgetsManagement={};
// Functions
widgetsManagement.createWidgets = function() {
var widgets = document.getElementsByClassName("iguana-widget");
for(var key in widgets) {
var iframeEL = document.createElement("iframe");
var widget = widgets[key];
widget.innerHTML="";
widget.appendChild(iframeEL);
iframeEL.src="//127.0.0.1:7777/widgets?id="+widget.getAttribute("data-ref");
iframeEL.style.width="100%";
iframeEL.style.height="100%";
iframeEL.style.border="0";
}
};
// Event Handlers
window.addEventListener('load', widgetsManagement.createWidgets);

53
iguana/pnacl/Release/SuperNET.deps

@ -0,0 +1,53 @@
# Updated by fix_deps.py
pnacl/Release/SuperNET.o: SuperNET.c ../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
iguana777.h ../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
SuperNET.c:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
iguana777.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

1
iguana/pnacl/Release/dir.stamp

@ -0,0 +1 @@
Directory Stamp

12
iguana/pnacl/Release/iguana.nmf

@ -0,0 +1,12 @@
{
"program": {
"portable": {
"pnacl-translate": {
"url": "iguana.pexe"
},
"pnacl-debug": {
"url": "iguana_unstripped.bc"
}
}
}
}

BIN
iguana/pnacl/Release/iguana.pexe

Binary file not shown.

54
iguana/pnacl/Release/iguana777.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana777.o: iguana777.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana777.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_accept.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_accept.o: iguana_accept.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_accept.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

59
iguana/pnacl/Release/iguana_bitmap.deps

@ -0,0 +1,59 @@
# Updated by fix_deps.py
pnacl/Release/iguana_bitmap.o: iguana_bitmap.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h \
../crypto777/jpeg/jpeglib.h ../crypto777/jpeg/jconfig.h \
../crypto777/jpeg/jmorecfg.h
iguana_bitmap.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:
../crypto777/jpeg/jpeglib.h:
../crypto777/jpeg/jconfig.h:
../crypto777/jpeg/jmorecfg.h:

54
iguana/pnacl/Release/iguana_blocks.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_blocks.o: iguana_blocks.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_blocks.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_bundles.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_bundles.o: iguana_bundles.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_bundles.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_chains.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_chains.o: iguana_chains.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_chains.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_html.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_html.o: iguana_html.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_html.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_init.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_init.o: iguana_init.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_init.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

59
iguana/pnacl/Release/iguana_json.deps

@ -0,0 +1,59 @@
# Updated by fix_deps.py
pnacl/Release/iguana_json.o: iguana_json.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h \
../includes/iguana_apideclares.h ../includes/iguana_apiundefs.h \
../includes/iguana_apidefs.h
iguana_json.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:
../includes/iguana_apideclares.h:
../includes/iguana_apiundefs.h:
../includes/iguana_apidefs.h:

54
iguana/pnacl/Release/iguana_msg.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_msg.o: iguana_msg.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_msg.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_peers.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_peers.o: iguana_peers.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_peers.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

75
iguana/pnacl/Release/iguana_pubkeys.deps

@ -0,0 +1,75 @@
# Updated by fix_deps.py
pnacl/Release/iguana_pubkeys.o: iguana_pubkeys.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h \
../includes/openssl/ec.h ../includes/openssl/opensslconf.h \
../includes/openssl/asn1.h ../includes/openssl/e_os2.h \
../includes/openssl/bio.h ../includes/openssl/crypto.h \
../includes/openssl/stack.h ../includes/openssl/safestack.h \
../includes/openssl/opensslv.h ../includes/openssl/ossl_typ.h \
../includes/openssl/symhacks.h ../includes/openssl/bn.h \
../includes/openssl/ecdsa.h ../includes/openssl/obj_mac.h
iguana_pubkeys.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:
../includes/openssl/ec.h:
../includes/openssl/opensslconf.h:
../includes/openssl/asn1.h:
../includes/openssl/e_os2.h:
../includes/openssl/bio.h:
../includes/openssl/crypto.h:
../includes/openssl/stack.h:
../includes/openssl/safestack.h:
../includes/openssl/opensslv.h:
../includes/openssl/ossl_typ.h:
../includes/openssl/symhacks.h:
../includes/openssl/bn.h:
../includes/openssl/ecdsa.h:
../includes/openssl/obj_mac.h:

54
iguana/pnacl/Release/iguana_ramchain.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_ramchain.o: iguana_ramchain.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_ramchain.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_recv.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_recv.o: iguana_recv.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_recv.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_rpc.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_rpc.o: iguana_rpc.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_rpc.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

54
iguana/pnacl/Release/iguana_tx.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_tx.o: iguana_tx.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_tx.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

BIN
iguana/pnacl/Release/iguana_unstripped.bc

Binary file not shown.

BIN
iguana/pnacl/Release/iguana_unstripped.pexe

Binary file not shown.

54
iguana/pnacl/Release/iguana_wallet.deps

@ -0,0 +1,54 @@
# Updated by fix_deps.py
pnacl/Release/iguana_wallet.o: iguana_wallet.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
iguana_wallet.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

93
iguana/pnacl/Release/main.deps

@ -0,0 +1,93 @@
# Updated by fix_deps.py
pnacl/Release/main.o: main.c ../pnacl_main.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/ioctl.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/mount.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/select.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
../includes/ppapi/c/ppb.h ../includes/ppapi/c/pp_macros.h \
../includes/ppapi/c/pp_stdint.h ../includes/ppapi/c/ppb_var.h \
../includes/ppapi/c/pp_bool.h ../includes/ppapi/c/pp_module.h \
../includes/ppapi/c/pp_resource.h ../includes/ppapi/c/pp_var.h \
../includes/ppapi/c/ppb_instance.h ../includes/ppapi/c/pp_instance.h \
../includes/ppapi/c/ppb_messaging.h \
../includes/ppapi/c/ppp_message_handler.h \
../includes/ppapi/c/ppb_var_array.h \
../includes/ppapi/c/ppb_var_dictionary.h \
../includes/ppapi/c/pp_errors.h ../includes/ppapi/c/ppp_messaging.h \
../includes/ppapi/c/ppp_instance.h ../includes/ppapi/c/pp_point.h \
../includes/ppapi/c/pp_rect.h ../includes/ppapi/c/pp_size.h \
iguana777.h ../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h
main.c:
../pnacl_main.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/ioctl.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/mount.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/select.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
../includes/ppapi/c/ppb.h:
../includes/ppapi/c/pp_macros.h:
../includes/ppapi/c/pp_stdint.h:
../includes/ppapi/c/ppb_var.h:
../includes/ppapi/c/pp_bool.h:
../includes/ppapi/c/pp_module.h:
../includes/ppapi/c/pp_resource.h:
../includes/ppapi/c/pp_var.h:
../includes/ppapi/c/ppb_instance.h:
../includes/ppapi/c/pp_instance.h:
../includes/ppapi/c/ppb_messaging.h:
../includes/ppapi/c/ppp_message_handler.h:
../includes/ppapi/c/ppb_var_array.h:
../includes/ppapi/c/ppb_var_dictionary.h:
../includes/ppapi/c/pp_errors.h:
../includes/ppapi/c/ppp_messaging.h:
../includes/ppapi/c/ppp_instance.h:
../includes/ppapi/c/pp_point.h:
../includes/ppapi/c/pp_rect.h:
../includes/ppapi/c/pp_size.h:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:

1
iguana/pnacl/Release/nacl_io.stamp

@ -0,0 +1 @@
TOUCHED /home/vikku/Desktop/iguana/work/vineet/SuperNET/iguana/pnacl/Release/nacl_io.stamp

57
iguana/pnacl/Release/ramchain_api.deps

@ -0,0 +1,57 @@
# Updated by fix_deps.py
pnacl/Release/ramchain_api.o: ramchain_api.c iguana777.h \
../crypto777/OS_portable.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h \
../crypto777/../includes/libgfshare.h \
../crypto777/../includes/utlist.h ../crypto777/../includes/uthash.h \
../crypto777/../includes/curve25519.h \
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h \
../crypto777/../includes/cJSON.h \
../crypto777/../includes/../crypto777/OS_portable.h SuperNET.h \
../includes/nanomsg/nn.h ../includes/nanomsg/nn_config.h \
../includes/nanomsg/pair.h ../includes/nanomsg/bus.h \
../includes/nanomsg/pubsub.h ../includes/nanomsg/reqrep.h \
../includes/nanomsg/survey.h ../includes/nanomsg/pipeline.h \
../includes/iguana_api.h \
../crypto777/../includes/../includes/iguana_apidefs.h \
../crypto777/../includes/../includes/iguana_apideclares.h \
../crypto777/../includes/../includes/iguana_apiundefs.h \
../includes/iguana_apidefs.h ../includes/iguana_apiundefs.h
ramchain_api.c:
iguana777.h:
../crypto777/OS_portable.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/time.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/poll.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netdb.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet/in.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/netinet6/in6.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/sys/socket.h:
../crypto777/../includes/libgfshare.h:
../crypto777/../includes/utlist.h:
../crypto777/../includes/uthash.h:
../crypto777/../includes/curve25519.h:
/home/vikku/Desktop/iguana/nacl_sdk/pepper_46/include/pnacl/memory.h:
../crypto777/../includes/cJSON.h:
../crypto777/../includes/../crypto777/OS_portable.h:
SuperNET.h:
../includes/nanomsg/nn.h:
../includes/nanomsg/nn_config.h:
../includes/nanomsg/pair.h:
../includes/nanomsg/bus.h:
../includes/nanomsg/pubsub.h:
../includes/nanomsg/reqrep.h:
../includes/nanomsg/survey.h:
../includes/nanomsg/pipeline.h:
../includes/iguana_api.h:
../crypto777/../includes/../includes/iguana_apidefs.h:
../crypto777/../includes/../includes/iguana_apideclares.h:
../crypto777/../includes/../includes/iguana_apiundefs.h:
../includes/iguana_apidefs.h:
../includes/iguana_apiundefs.h:

7
iguana/widget-demo.html

@ -0,0 +1,7 @@
<html>
<head><title>Widget Example</title></head>
<body>
<div class="iguana-widget" style="width: 1000px; height:1000px;" data-ref="123456">iguana widget is loading...</div>
<script type="text/javascript" src="http://127.0.0.1:7777/js/widget.js"></script>
</body>
</html>
Loading…
Cancel
Save