Skip to content

Instantly share code, notes, and snippets.

@fzzzy
fzzzy / wip-0.12.2.patch
Created August 3, 2012 23:37
tcpsocket 0.12.2
diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -388,16 +388,19 @@
// WebSettings
pref("dom.mozSettings.enabled", true);
// controls if we want camera support
pref("device.camera.enabled", true);
@fzzzy
fzzzy / wip-0.12.1.patch
Created August 3, 2012 22:48
tcpsocket 0.12.1
diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -388,16 +388,19 @@
// WebSettings
pref("dom.mozSettings.enabled", true);
// controls if we want camera support
pref("device.camera.enabled", true);
@fzzzy
fzzzy / wip-0.12.patch
Created August 3, 2012 22:18
tcpsocket 0.12
diff --git a/b2g/chrome/content/shell.js b/b2g/chrome/content/shell.js
--- a/b2g/chrome/content/shell.js
+++ b/b2g/chrome/content/shell.js
@@ -51,17 +51,17 @@
// FIXME Bug 707625
// Please don't add more permissions here.
// XXX never grant 'content-camera' to non-gaia apps
function addPermissions(urls) {
let permissions = [
'indexedDB-unlimited', 'webapps-manage', 'offline-app', 'pin-app',
@fzzzy
fzzzy / wip-0.11.1.patch
Created July 26, 2012 22:54
tcpsocket 0.11 candidate (not done yet)
diff --git a/b2g/Makefile.in b/b2g/Makefile.in
--- a/b2g/Makefile.in
+++ b/b2g/Makefile.in
@@ -12,10 +12,12 @@
DIRS = chrome components locales
ifeq ($(OS_ARCH),WINNT)
DIRS += $(DEPTH)/xulrunner/tools/redit
endif
component {f29a577b-e831-431e-a540-1c4856721c82} TCPSocket.js
contract @mozilla.org/tcp-socket-event;1 {f29a577b-e831-431e-a540-1c4856721c82}
category JavaScript-global-property MozTCPSocketEvent @mozilla.org/tcp-socket-event;1
@fzzzy
fzzzy / wip-0.10.diff
Created July 17, 2012 18:56
next tcpsocket
diff --git a/b2g/Makefile.in b/b2g/Makefile.in
--- a/b2g/Makefile.in
+++ b/b2g/Makefile.in
@@ -12,10 +12,12 @@
DIRS = chrome components locales
ifeq ($(OS_ARCH),WINNT)
DIRS += $(DEPTH)/xulrunner/tools/redit
endif
@fzzzy
fzzzy / wip-0.9.1.diff
Created June 20, 2012 20:33
next version
diff --git a/b2g/Makefile.in b/b2g/Makefile.in
--- a/b2g/Makefile.in
+++ b/b2g/Makefile.in
@@ -6,14 +6,16 @@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
@fzzzy
fzzzy / wip-0.9.diff
Created June 20, 2012 02:16
tcpsocket reinterpreted through the lens of MultiplexStream.
diff --git a/b2g/Makefile.in b/b2g/Makefile.in
--- a/b2g/Makefile.in
+++ b/b2g/Makefile.in
@@ -6,14 +6,16 @@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
@fzzzy
fzzzy / wip-0.8.1
Created June 18, 2012 21:15
tcpsocket updated to apply cleanly on head
diff --git a/b2g/Makefile.in b/b2g/Makefile.in
--- a/b2g/Makefile.in
+++ b/b2g/Makefile.in
@@ -6,14 +6,16 @@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
@fzzzy
fzzzy / irc.html
Created June 12, 2012 19:07
js irc client again
<!DOCTYPE html>
<html>
<head><title>Test</title></head>
<style type="text/css">
dd {
margin-left: 0px;
margin-bottom: 1em;
}