repo string | commit string | message string | diff string |
|---|---|---|---|
jaxl/JAXL | 8fa71ae7d68779b61f21487db00587230c22a712 | Join in room id can be changed in xep_0045 | diff --git a/xep/xep_0045.php b/xep/xep_0045.php
index 0fe8592..40b3a4d 100644
--- a/xep/xep_0045.php
+++ b/xep/xep_0045.php
@@ -1,121 +1,122 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sou... |
jaxl/JAXL | f173c3f07a94013355961bbb20fe130fcdd57914 | Fix Generic.Files.LineLength | diff --git a/core/jaxl_clock.php b/core/jaxl_clock.php
index 92e63c4..b03eba2 100644
--- a/core/jaxl_clock.php
+++ b/core/jaxl_clock.php
@@ -1,128 +1,129 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution an... |
jaxl/JAXL | cadcaaaf31ad000071b188d5b7d51c0ada50d7ff | Fix Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword | diff --git a/core/jaxl_xml.php b/core/jaxl_xml.php
index 304c536..8e5d181 100644
--- a/core/jaxl_xml.php
+++ b/core/jaxl_xml.php
@@ -1,217 +1,217 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sourc... |
jaxl/JAXL | 0be4536dbc3dbd807c4b272e24e44f9bae5c2358 | Fix PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose | diff --git a/core/jaxl_clock.php b/core/jaxl_clock.php
index bd6a470..ea694d6 100644
--- a/core/jaxl_clock.php
+++ b/core/jaxl_clock.php
@@ -1,129 +1,128 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution an... |
jaxl/JAXL | 41fd513844b6bc6757719b47c0f7d67d44c76a46 | Show NULL on error | diff --git a/core/jaxl_socket_client.php b/core/jaxl_socket_client.php
index 801291e..dc0c6e9 100644
--- a/core/jaxl_socket_client.php
+++ b/core/jaxl_socket_client.php
@@ -1,238 +1,243 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserve... |
jaxl/JAXL | b30f6456624f3450ac145e8311cbdccafaed67b4 | Check the resource before close it | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 75114c2..51e5517 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,105 +1,107 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in... |
jaxl/JAXL | a156e3749b0eb0ccdd3de366897c07381c72ecbf | Skip the test until XEP-0029 isn't implemented | diff --git a/tests/test_xmpp_jid.php b/tests/test_xmpp_jid.php
index 211d201..c30c75f 100644
--- a/tests/test_xmpp_jid.php
+++ b/tests/test_xmpp_jid.php
@@ -1,100 +1,101 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* R... |
jaxl/JAXL | 00262880cc8b89e2f2eeeee20613a5b863797094 | Add some tags | diff --git a/jaxl.php b/jaxl.php
index 6e99d78..eb1cee6 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,765 +1,785 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | e953cc87971363981c838ba26dd28d746cb438e2 | Logging customizations | diff --git a/core/jaxl_xml.php b/core/jaxl_xml.php
index fa836d6..77905b4 100644
--- a/core/jaxl_xml.php
+++ b/core/jaxl_xml.php
@@ -1,199 +1,206 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sourc... |
jaxl/JAXL | 61cdb7481bd6e804e783541604dc8d7f3133bfc3 | Setup CLI app. Fixes #66 | diff --git a/jaxlctl b/jaxlctl
index a1f1b95..1b1f67a 100755
--- a/jaxlctl
+++ b/jaxlctl
@@ -1,190 +1,193 @@
#!/usr/bin/env php
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary ... |
jaxl/JAXL | 433fae7113be6d7b7659becb776b5cb755f51f3a | Add notes for contributors | diff --git a/README.md b/README.md
index 58de1de..4a8fbe9 100644
--- a/README.md
+++ b/README.md
@@ -1,40 +1,46 @@
Jaxl v3.0.1
-----------
Jaxl v3.x is a successor of v2.x (and is NOT backward compatible),
carrying a lot of code from v2.x while throwing away the ugly parts.
A lot of components have been re-writ... |
jaxl/JAXL | 8469582030c5281a48dfd8d03269afa3e1142537 | Adding JAXLXml->x() for raw XML children This makes things like XEP-0071 possible | diff --git a/core/jaxl_xml.php b/core/jaxl_xml.php
index fa836d6..d0ff4c0 100644
--- a/core/jaxl_xml.php
+++ b/core/jaxl_xml.php
@@ -1,199 +1,214 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sourc... |
jaxl/JAXL | 0c53be732064c8d99e80ec7b14828847f44d14ec | УбÑал деÑолÑнÑÑ ÑÑÑÐ°Ð½Ð¾Ð²ÐºÑ Ñайм зон | diff --git a/jaxl.php b/jaxl.php
index f529a07..6e99d78 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,644 +1,643 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | 21a632e3c0688422b5429ad41b39fc4e3fa85231 | Allow log colorization to be disabled | diff --git a/core/jaxl_logger.php b/core/jaxl_logger.php
index a0f039c..88843e5 100644
--- a/core/jaxl_logger.php
+++ b/core/jaxl_logger.php
@@ -1,92 +1,97 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution ... |
jaxl/JAXL | 42fde6466830544c644e38d07c51156df681638c | Fix some PHP notices | diff --git a/jaxl.php b/jaxl.php
index f529a07..9a8367e 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,812 +1,812 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | 61284621eba1d38a5430bfdd7906fd77579c83cf | Change the visibility of `JAXLLoop::select` | diff --git a/core/jaxl_loop.php b/core/jaxl_loop.php
index a53a14b..1bc45a3 100644
--- a/core/jaxl_loop.php
+++ b/core/jaxl_loop.php
@@ -1,159 +1,159 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and u... |
jaxl/JAXL | 9d97c9036bfdd9a803e0fa92491dca4f4efee425 | Change lib name | diff --git a/composer.json b/composer.json
index 78c3829..1f2b736 100644
--- a/composer.json
+++ b/composer.json
@@ -1,24 +1,24 @@
{
- "name": "abhinavsingh/jaxl",
+ "name": "ngsru/jaxl",
"type": "library",
"description": "Jaxl - Async, Non-Blocking, Event based Networking Library ... |
jaxl/JAXL | 4dd747df579b990b78b4ac3a9a201e0ea40b9741 | Remove error reporting strict lvl | diff --git a/core/jaxl_exception.php b/core/jaxl_exception.php
index 200ae46..45dd39f 100644
--- a/core/jaxl_exception.php
+++ b/core/jaxl_exception.php
@@ -1,94 +1,92 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Re... |
jaxl/JAXL | 7301a623d989ea2d689cde833d332d4bc555bde7 | Working MUC password support. | diff --git a/xep/xep_0045.php b/xep/xep_0045.php
index 777c682..7120a46 100644
--- a/xep/xep_0045.php
+++ b/xep/xep_0045.php
@@ -1,117 +1,117 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sou... |
jaxl/JAXL | d12098991b3bdcbeb5db9a6ece43e063466e1fe3 | Adding password support to MUC | diff --git a/xep/xep_0045.php b/xep/xep_0045.php
index 90cd013..777c682 100644
--- a/xep/xep_0045.php
+++ b/xep/xep_0045.php
@@ -1,114 +1,117 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sou... |
jaxl/JAXL | e06315a61eb126c8688f33d94acb0321bfc0b1b6 | Bumped version number to 3.0.1 | diff --git a/README.md b/README.md
index 5ad0c81..ebe7c28 100644
--- a/README.md
+++ b/README.md
@@ -1,30 +1,31 @@
-Jaxl v3.x:
+Jaxl v3.0.1
-----------
+
Jaxl v3.x is a successor of v2.x (and is NOT backward compatible),
carrying a lot of code from v2.x while throwing away the ugly parts.
A lot of components have ... |
jaxl/JAXL | 1ad3a19efa219e8e4494afd3d43ed22a23a96631 | Add dev requirements to composer | diff --git a/.gitignore b/.gitignore
index 6654fa5..bb19d8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
-.buildpath
-.project
-.jaxl
-.pydevproject
-.settings/
-docs/_build
+/.buildpath
+/.project
+/.jaxl
+/.pydevproject
+/.settings/
+/docs/_build
+/vendor/
\ No newline at end of file
diff --git a/composer... |
jaxl/JAXL | 935c266f2f6c2c546a0d4964299187e6aebd98ea | Fix tests | diff --git a/tests/test_jaxl_event.php b/tests/test_jaxl_event.php
index 9ccca64..708752b 100644
--- a/tests/test_jaxl_event.php
+++ b/tests/test_jaxl_event.php
@@ -1,73 +1,73 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*... |
jaxl/JAXL | 990e0caaa2c16219ba166ffdc827de138f5fd7ad | Add phpunit settings to run the whole testsuite | diff --git a/phpunit.xml.dist b/phpunit.xml.dist
new file mode 100644
index 0000000..ac6bdf3
--- /dev/null
+++ b/phpunit.xml.dist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit
+ backupGlobals="false"
+ backupStaticAttributes="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoti... |
jaxl/JAXL | 0014d1cde7fe224f5357f508c213b8b7255569fc | Fix undefined index notice. | diff --git a/jaxl.php b/jaxl.php
index 9d38f7d..c169603 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,876 +1,878 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | 68ebbae5c69c0df980b3e844556a9b7a46447267 | Add check for protocol option. Refs abhinavsingh/JAXL#47 | diff --git a/tests/tests.php b/tests/tests.php
index 8d467a8..4c33446 100644
--- a/tests/tests.php
+++ b/tests/tests.php
@@ -1,51 +1,60 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source an... |
jaxl/JAXL | 7a7363663a60197fe04dedc64fa16234b3033b01 | Add extra checks for negative node values according to XEP-0029 | diff --git a/tests/test_xmpp_jid.php b/tests/test_xmpp_jid.php
index 4712dfd..6e5e753 100644
--- a/tests/test_xmpp_jid.php
+++ b/tests/test_xmpp_jid.php
@@ -1,76 +1,102 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Re... |
jaxl/JAXL | 25b31b4e996c33909bbee5a06f5cfad49978f87f | Add extra checks. Refs abhinavsingh/JAXL#39 | diff --git a/tests/test_xmpp_jid.php b/tests/test_xmpp_jid.php
index 8be52f0..4712dfd 100644
--- a/tests/test_xmpp_jid.php
+++ b/tests/test_xmpp_jid.php
@@ -1,68 +1,76 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Red... |
jaxl/JAXL | 96387731f0f30b0a1e3b6461529b5f866b0d465d | Fix PSR: Expected 1 space after comma in function call | diff --git a/xmpp/xmpp_nss.php b/xmpp/xmpp_nss.php
index cbebab2..7a0cad0 100644
--- a/xmpp/xmpp_nss.php
+++ b/xmpp/xmpp_nss.php
@@ -1,60 +1,60 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source ... |
jaxl/JAXL | 62c467f5fc77a51f030ed1692f18054991bf5608 | Fix PSR: Visibility must be declared on method | diff --git a/tests/test_jaxl_event.php b/tests/test_jaxl_event.php
index dd74261..9ccca64 100644
--- a/tests/test_jaxl_event.php
+++ b/tests/test_jaxl_event.php
@@ -1,73 +1,73 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*... |
jaxl/JAXL | 7c478d7d24d2abdeacb067944624f9ce94058953 | Fix PSR: Expected "} catch (" | diff --git a/core/jaxl_exception.php b/core/jaxl_exception.php
index bc1b26d..878bb44 100644
--- a/core/jaxl_exception.php
+++ b/core/jaxl_exception.php
@@ -1,96 +1,95 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Red... |
jaxl/JAXL | a033dde98f0a539e4c8b97298f8bcc3a82e34980 | Fix PSR: move comments into "else" block | diff --git a/core/jaxl_socket_server.php b/core/jaxl_socket_server.php
index 36d1590..e06e23f 100644
--- a/core/jaxl_socket_server.php
+++ b/core/jaxl_socket_server.php
@@ -1,268 +1,268 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights res... |
jaxl/JAXL | 4941ff946cdf186edc92c7dc540477b758ce2a59 | Fix PSR: Multi-line functions and arguments | diff --git a/examples/http_rest_server.php b/examples/http_rest_server.php
index caa5296..a48e947 100644
--- a/examples/http_rest_server.php
+++ b/examples/http_rest_server.php
@@ -1,121 +1,122 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All ri... |
jaxl/JAXL | 75c6874fe630b32bbf3645c20a8f8e7d15a6dc6b | Fix PSR: Line indented incorrectly | diff --git a/examples/register_user.php b/examples/register_user.php
index 604bc49..179de31 100644
--- a/examples/register_user.php
+++ b/examples/register_user.php
@@ -1,166 +1,164 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserve... |
jaxl/JAXL | 4e7b8735a5c1d48a9665557696c53c8d94a900f7 | Fix PSR: Expected 1 space after FUNCTION keyword | diff --git a/docs/users/xmpp_examples.rst b/docs/users/xmpp_examples.rst
index bb2e78e..5ca0598 100644
--- a/docs/users/xmpp_examples.rst
+++ b/docs/users/xmpp_examples.rst
@@ -1,120 +1,120 @@
XMPP Examples
=============
Echo Bot Client
---------------
include ``jaxl.php`` and initialize a new ``JAXL`` instance:... |
jaxl/JAXL | dbcfa2c5b9f7db95dbc0f842208de9fb4d983877 | Fix PSR: No space found after comma in function call | diff --git a/core/jaxl_clock.php b/core/jaxl_clock.php
index 324ad78..bd6a470 100644
--- a/core/jaxl_clock.php
+++ b/core/jaxl_clock.php
@@ -1,129 +1,129 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution an... |
jaxl/JAXL | 60b1aa8a815c5e63d0de64e70df0bc4a9a2a25a6 | Fix PSR: One line per statement | diff --git a/core/jaxl_logger.php b/core/jaxl_logger.php
index 2883156..3a110f7 100644
--- a/core/jaxl_logger.php
+++ b/core/jaxl_logger.php
@@ -1,115 +1,117 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistributio... |
jaxl/JAXL | fe57f81371c595ed70119e55abc280cbd4992ab0 | Fix PSR: Inline control structures 2 | diff --git a/core/jaxl_loop.php b/core/jaxl_loop.php
index ce8ed1c..3601cf5 100644
--- a/core/jaxl_loop.php
+++ b/core/jaxl_loop.php
@@ -1,167 +1,168 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and us... |
jaxl/JAXL | 3528681a50aa9d64a27cdbf4bd00abd0d0108edd | Fix PSR: Inline control strictures | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 946466e..75114c2 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,99 +1,105 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in ... |
jaxl/JAXL | b2062cf99c3054655cc1a4acaf4424e9c4603156 | Fix PSR: ELSE IF is discouraged; use ELSEIF instead | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 3621b64..946466e 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,99 +1,99 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | 6a8caf05d7ace4fda277c63594c159e08b1bdbe2 | Fix PSR: TRUE, FALSE and NULL must be lowercase | diff --git a/core/jaxl_socket_client.php b/core/jaxl_socket_client.php
index 6a45cba..c0de786 100644
--- a/core/jaxl_socket_client.php
+++ b/core/jaxl_socket_client.php
@@ -1,225 +1,225 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserve... |
jaxl/JAXL | 762e7c803ad9b6af95a0fd8eeeae9c6b567108a9 | Fix PSR: Opening brace after the definition | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 3f539fb..3621b64 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,98 +1,99 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | d2796e919b9f8e16848130b49e62bcaffdee42a2 | Fix PSR: Opening brace should be on a new line | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 1f6f259..3f539fb 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,93 +1,98 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | 6e17f076ea8c37380b328ea00cc9cfa97a86a06e | Fix PSR: Incorrect spacing | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 8c1ab01..1f6f259 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,93 +1,93 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | 86db1d7f354f7d10f91c7a5da7b7850671e69adb | Fix PSR: File has mixed line endings | diff --git a/jaxl.php b/jaxl.php
index b35ce90..e8a37af 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,644 +1,644 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | c92735f02311e3dcad918a5ffaf6e8ebceef4b36 | Fix PSR: Expected "} else"; found "}\n else" | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index c49d063..8c1ab01 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,94 +1,93 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | c5e24d81186656a19f3af6ac74a4a09ab0572106 | Fix PSR: Expected 1 space before and after "=>" | diff --git a/core/jaxl_clock.php b/core/jaxl_clock.php
index 97b2c45..d2b380e 100644
--- a/core/jaxl_clock.php
+++ b/core/jaxl_clock.php
@@ -1,123 +1,123 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution an... |
jaxl/JAXL | ba41df70ca034c0739a7e1b524eec0438c92d7a3 | Fix PSR: Expected "foreach ("; found "foreach(" | diff --git a/core/jaxl_clock.php b/core/jaxl_clock.php
index 6ecdc11..97b2c45 100644
--- a/core/jaxl_clock.php
+++ b/core/jaxl_clock.php
@@ -1,123 +1,123 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution an... |
jaxl/JAXL | fa01b37b08a4c7e542e1fee69f23b9334ba08ce0 | Fix PSR: Expected "if ("; found "if(" | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index ad763bd..c49d063 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,94 +1,94 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | 99cf4ce04dd6c8a420fd6173d95f47fcfe77fa0c | Fix PSR: Proper class and file endings | diff --git a/core/jaxl_cli.php b/core/jaxl_cli.php
index 4b48d1a..ad763bd 100644
--- a/core/jaxl_cli.php
+++ b/core/jaxl_cli.php
@@ -1,97 +1,94 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in s... |
jaxl/JAXL | c2c83fc2740cc490245e6ae43f3166b47a50863b | Add specific JAXL ruleset for PHP_CodeSniffer | diff --git a/phpcs/README.md b/phpcs/README.md
new file mode 100644
index 0000000..79d998d
--- /dev/null
+++ b/phpcs/README.md
@@ -0,0 +1,6 @@
+PHP_CodeSniffer
+---------------
+
+Install [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) and run it from the project base folder:
+
+ phpcs --standard=php... |
jaxl/JAXL | 07d39634721a89c1b11e519b5b24242ac3453016 | Fix examples to conform to requirements for PHP 5.2.4 | diff --git a/docs/users/xmpp_examples.rst b/docs/users/xmpp_examples.rst
index bb2e78e..5c9f931 100644
--- a/docs/users/xmpp_examples.rst
+++ b/docs/users/xmpp_examples.rst
@@ -1,120 +1,123 @@
XMPP Examples
=============
Echo Bot Client
---------------
include ``jaxl.php`` and initialize a new ``JAXL`` instance:... |
jaxl/JAXL | 6137802b8d6300d9235e3660c003b3253369a220 | Add protocol configuration to use it | diff --git a/jaxl.php b/jaxl.php
index 81748e0..f529a07 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,809 +1,812 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | 37742270015a563e7035f49dbf8c5a9adf69461f | allow / and @ characters in jid resource | diff --git a/xmpp/xmpp_jid.php b/xmpp/xmpp_jid.php
index 806499f..1a92af3 100644
--- a/xmpp/xmpp_jid.php
+++ b/xmpp/xmpp_jid.php
@@ -1,83 +1,83 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source ... |
jaxl/JAXL | 0f857529627ad4761910e8332a48fe6b9e36f4fd | Composer bin support | diff --git a/composer.json b/composer.json
index aa3aa45..78c3829 100644
--- a/composer.json
+++ b/composer.json
@@ -1,23 +1,24 @@
{
"name": "abhinavsingh/jaxl",
"type": "library",
"description": "Jaxl - Async, Non-Blocking, Event based Networking Library in PHP.",
"keywords": ["xm... |
jaxl/JAXL | b6b1dde10cd3fe11520023dc11ab54776ca282c4 | fix Call-time pass-by-reference | diff --git a/jaxlctl b/jaxlctl
index b7415a3..a1f1b95 100755
--- a/jaxlctl
+++ b/jaxlctl
@@ -1,190 +1,190 @@
#!/usr/bin/env php
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary ... |
jaxl/JAXL | e1b0f5ef69e2bd49417e3dba289269b57e59616e | Fix usage of curl_multi_* | diff --git a/xep/xep_0206.php b/xep/xep_0206.php
index 8f0e79e..6d0a1da 100644
--- a/xep/xep_0206.php
+++ b/xep/xep_0206.php
@@ -1,236 +1,242 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sou... |
jaxl/JAXL | f8e6f0d825f927133e05fde7b7b6ee94e3836f3e | Fixed unwrap funciton in BOSH module (XEP 0206) | diff --git a/xep/xep_0206.php b/xep/xep_0206.php
index e5f61c1..8f0e79e 100644
--- a/xep/xep_0206.php
+++ b/xep/xep_0206.php
@@ -1,236 +1,236 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sou... |
jaxl/JAXL | e5b53b42fb524dd3a34dfbb139f0497c93d35eaf | fixes #26 | diff --git a/jaxl.php b/jaxl.php
index 764c5d9..81748e0 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,703 +1,706 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | 5b848a25f7a68e9bef98d0bdee3a7c802c0cb543 | Fixed examples/muc_log_bot.php - setting host in a script argument | diff --git a/examples/muc_log_bot.php b/examples/muc_log_bot.php
index 25f8e66..1c0ec3f 100644
--- a/examples/muc_log_bot.php
+++ b/examples/muc_log_bot.php
@@ -1,145 +1,146 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
... |
jaxl/JAXL | da995658281f9527caa1616644203659246a93b3 | Joining MUC without receiving discussion history | diff --git a/xep/xep_0045.php b/xep/xep_0045.php
index 32aea4e..90cd013 100644
--- a/xep/xep_0045.php
+++ b/xep/xep_0045.php
@@ -1,110 +1,114 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sou... |
jaxl/JAXL | 254518a06883203b7a61312657db6428c46de134 | restored composer.json SHA-4e8fd3e | diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..aa3aa45
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,23 @@
+{
+ "name": "abhinavsingh/jaxl",
+ "type": "library",
+ "description": "Jaxl - Async, Non-Blocking, Event based Networking Library in PHP.",
+ "keywords": ... |
jaxl/JAXL | af93d9ade9e9b68ce9b73628718ca4ba0b91b90b | fixes #22 | diff --git a/examples/multi_client.php b/examples/multi_client.php
new file mode 100644
index 0000000..a7bb1f4
--- /dev/null
+++ b/examples/multi_client.php
@@ -0,0 +1,129 @@
+<?php
+/**
+ * Jaxl (Jabber XMPP Library)
+ *
+ * Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
+ * All rights reserved.
+ *
+ ... |
jaxl/JAXL | 4cc203ea62887eededf43276296265fd5658d2c0 | fixes #23 | diff --git a/examples/register_user.php b/examples/register_user.php
index 4fbc950..dc716d9 100644
--- a/examples/register_user.php
+++ b/examples/register_user.php
@@ -1,138 +1,169 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserv... |
jaxl/JAXL | b626cd8d545bc03ad4f8b1ec959a150fdd24ea4e | fixes #21 | diff --git a/jaxl.php b/jaxl.php
index 6bdd440..764c5d9 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -250,556 +250,557 @@ class JAXL extends XMPPStream {
}
public function add_cb($ev, $cb, $pri=1) {
return $this->ev->add($ev, $cb, $pri);
}
public function del_cb($ref) {
$this->ev->del($ref);
}
pub... |
jaxl/JAXL | 4e8fd3e65f38b4a4f7d91c76f670d7d5bb057fe8 | checkin for XMPPRosterItem and other cleanups (use composer.json from here http://bit.ly/PX4hkT) | diff --git a/composer.json b/composer.json
deleted file mode 100644
index bd116ba..0000000
--- a/composer.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "name": "abhinavsingh/jaxl",
- "type": "library",
- "description": "jaxl - Jabber XMPP Client Library in PHP.",
- "keywords": ["xmpp", "jabber",... |
jaxl/JAXL | 900019af99207446fc63379f9c9658f96a75df00 | fixes #20 added provision for common callback parameters inside JAXLEvent, used by JAXL if JAXL_MULTI_CLIENT constant is set | diff --git a/core/jaxl_event.php b/core/jaxl_event.php
index 4b02d5a..1324b36 100644
--- a/core/jaxl_event.php
+++ b/core/jaxl_event.php
@@ -1,119 +1,121 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use ... |
jaxl/JAXL | 7e1f1d8841e6214f73492a5693f97fb7424ad9f6 | moved retry connection logic into a public method | diff --git a/jaxl.php b/jaxl.php
index 46730c5..bc8051b 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,816 +1,824 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | a6625c5224979dd9a7e8ff1b6759569cfa8e9082 | XMPPStream can reconnect once they have reached disconnected or logged_out states | diff --git a/xmpp/xmpp_stream.php b/xmpp/xmpp_stream.php
index 491d415..e6299af 100644
--- a/xmpp/xmpp_stream.php
+++ b/xmpp/xmpp_stream.php
@@ -1,670 +1,672 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and ... |
jaxl/JAXL | 163f1ea8e55f291dd4a0024a801253c2379034fb | make a check if callback are still active before calling them | diff --git a/core/jaxl_loop.php b/core/jaxl_loop.php
index 43e388f..a53a14b 100644
--- a/core/jaxl_loop.php
+++ b/core/jaxl_loop.php
@@ -1,157 +1,159 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and u... |
jaxl/JAXL | b699285450908b015ac256126e42c3c6ce128a1a | on socket client disconnect remove write watch, added session_env method to xep-0206 | diff --git a/core/jaxl_exception.php b/core/jaxl_exception.php
index 23b7e15..200ae46 100644
--- a/core/jaxl_exception.php
+++ b/core/jaxl_exception.php
@@ -1,93 +1,94 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Re... |
jaxl/JAXL | 9df85416f3b1d83213470306d62242afa6cb48ae | emit on_auth_failure upon tls negotiation failure | diff --git a/xmpp/xmpp_stream.php b/xmpp/xmpp_stream.php
index a19d056..491d415 100644
--- a/xmpp/xmpp_stream.php
+++ b/xmpp/xmpp_stream.php
@@ -1,665 +1,670 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and ... |
jaxl/JAXL | cdc3f1711bcf0d2d07ea920f066f90bbe2cfca87 | unwatching file descriptor for read upon disconnect | diff --git a/core/jaxl_socket_client.php b/core/jaxl_socket_client.php
index edce7a7..6668948 100644
--- a/core/jaxl_socket_client.php
+++ b/core/jaxl_socket_client.php
@@ -1,214 +1,218 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserve... |
jaxl/JAXL | 8342f47bae82d26e73d1873e000fc75007fc4b30 | JAXLLoop::unwatch can be called repeatedly, method will take care of it. Also switching is_running flag after no more active fd | diff --git a/core/jaxl_loop.php b/core/jaxl_loop.php
index 59f2361..43e388f 100644
--- a/core/jaxl_loop.php
+++ b/core/jaxl_loop.php
@@ -1,152 +1,157 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and u... |
jaxl/JAXL | e62dd30f263e8a1b5a3631352df4b25a06712c4a | using _info inside examples for visibility to developers on whats happening | diff --git a/examples/http_rest_server.php b/examples/http_rest_server.php
index c89f66b..cfbc116 100644
--- a/examples/http_rest_server.php
+++ b/examples/http_rest_server.php
@@ -1,117 +1,117 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All r... |
jaxl/JAXL | 2518a44b9dfeb9ec947922f078cf4f8663497712 | ensuring ./.jaxl/pipes folder | diff --git a/core/jaxl_pipe.php b/core/jaxl_pipe.php
index 01ba80a..8fe1395 100644
--- a/core/jaxl_pipe.php
+++ b/core/jaxl_pipe.php
@@ -1,112 +1,115 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and u... |
jaxl/JAXL | da18babb95312ccd886e7084bcf43096a4ef86c3 | removed setting up to attribute inside opening stream packet (for oauth mech where an input jid is not mandatory, this breaks the flow, need better fix later, disabled as of now) | diff --git a/xmpp/xmpp_stream.php b/xmpp/xmpp_stream.php
index 15541e3..a19d056 100644
--- a/xmpp/xmpp_stream.php
+++ b/xmpp/xmpp_stream.php
@@ -1,644 +1,644 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and ... |
jaxl/JAXL | eb6a4e141f1bdd27ee7279ad91c8070d6ea8c4ba | working example of http_bind.php | diff --git a/examples/http_bind.php b/examples/http_bind.php
index b9cc2fa..edfcffa 100644
--- a/examples/http_bind.php
+++ b/examples/http_bind.php
@@ -1,56 +1,66 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistr... |
jaxl/JAXL | 34a6c5aa4aaec7d6196256b1ca7e61400404b624 | checking in a working example of http_pre_bind.php with related tweaks in stack files | diff --git a/examples/echo_bot.php b/examples/echo_bot.php
index 36e1c63..6d51476 100644
--- a/examples/echo_bot.php
+++ b/examples/echo_bot.php
@@ -1,145 +1,149 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistrib... |
jaxl/JAXL | 9fa38c1c389e78d24c5dfa145b1c2e34e19bbbd6 | moved exception handlers from JAXLException to inside of JAXL class, a constructor config option strict=>FALSE can be used to disable these handlers | diff --git a/core/jaxl_exception.php b/core/jaxl_exception.php
index 1f3e274..23b7e15 100644
--- a/core/jaxl_exception.php
+++ b/core/jaxl_exception.php
@@ -1,97 +1,93 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Re... |
jaxl/JAXL | 3a3fc78c0460530fc796a1802590ca12cb504a13 | added get_socket_path util method and fixed unix socket server example to accomodate changes done in socket server class contructor | diff --git a/examples/echo_unix_sock_server.php b/examples/echo_unix_sock_server.php
index 35c33a7..e8be394 100644
--- a/examples/echo_unix_sock_server.php
+++ b/examples/echo_unix_sock_server.php
@@ -1,61 +1,61 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsin... |
jaxl/JAXL | 2abb54b743fd299bdd862a6b14d7d1175fd39538 | logger will now truncate msg to 1000 max length due to error_log 1024 max size limit (log_errors_max_len ini setting need to be checked as an alternative) | diff --git a/core/jaxl_logger.php b/core/jaxl_logger.php
index cfd647d..a0f039c 100644
--- a/core/jaxl_logger.php
+++ b/core/jaxl_logger.php
@@ -1,93 +1,92 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution ... |
jaxl/JAXL | 95f9cc52fc3fc39acb6adf36ca26bb7b8eb8f0c2 | fixes #17 | diff --git a/core/jaxl_socket_client.php b/core/jaxl_socket_client.php
index c2aca87..1807cca 100644
--- a/core/jaxl_socket_client.php
+++ b/core/jaxl_socket_client.php
@@ -1,206 +1,206 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserve... |
jaxl/JAXL | 8510b16480fa7c240ce8113dcbbff13951a71e76 | .gitignore update | diff --git a/.gitignore b/.gitignore
index 5156d6d..6654fa5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
.buildpath
.project
.jaxl
+.pydevproject
+.settings/
docs/_build
|
jaxl/JAXL | eb7933fb25b7491d888eb86fd51112fcf3fa3dd5 | right ordering for roster list retrieval and then presence update inside echo bot example, fixed a typo inside http dispatcher which will allow GET as default method if not specified in dispatch rule specs | diff --git a/examples/echo_bot.php b/examples/echo_bot.php
index df7045d..36e1c63 100644
--- a/examples/echo_bot.php
+++ b/examples/echo_bot.php
@@ -1,145 +1,145 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistrib... |
jaxl/JAXL | f228d6209d8363a20fd636a18234300e8f8e8490 | SOCK5 checkin and few updates to HTTPClient class | diff --git a/core/jaxl_sock5.php b/core/jaxl_sock5.php
new file mode 100644
index 0000000..05ef906
--- /dev/null
+++ b/core/jaxl_sock5.php
@@ -0,0 +1,128 @@
+<?php
+/**
+ * Jaxl (Jabber XMPP Library)
+ *
+ * Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
+ * All rights reserved.
+ *
+ * Redistribution an... |
jaxl/JAXL | f42e0505b0f3374beea06de559b6574e793e8aff | added Google X-OAUTH2 support with an example to demonstrate the same | diff --git a/examples/echo_facebook_client.php b/examples/xfacebook_platform_client.php
similarity index 100%
rename from examples/echo_facebook_client.php
rename to examples/xfacebook_platform_client.php
diff --git a/examples/xoauth2_gtalk_client.php b/examples/xoauth2_gtalk_client.php
new file mode 100644
index 00000... |
jaxl/JAXL | 54461065900a2108bb6dfc502845996ec352a5a5 | added pongs for pings received from the server inside XEP-0199 (XMPP Ping) | diff --git a/examples/muc_log_bot.php b/examples/muc_log_bot.php
index c7445d8..25f8e66 100644
--- a/examples/muc_log_bot.php
+++ b/examples/muc_log_bot.php
@@ -1,144 +1,145 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
... |
jaxl/JAXL | 93d190e8fdfccb1fab9859f2b7cee3d3f6bb2602 | refix for last temporary fix, need some thoughts on JAXLEvent class when callee expects a return value from callbacks | diff --git a/core/jaxl_event.php b/core/jaxl_event.php
index b6c0233..4b02d5a 100644
--- a/core/jaxl_event.php
+++ b/core/jaxl_event.php
@@ -1,115 +1,119 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use ... |
jaxl/JAXL | 900c310583f89b4991db428782a4e552e265dc5c | added manage_subscribe constructor option which will automate stuff for received subscription requests, allowed values are "accept" and "mutual", while it defaults to "none" | diff --git a/jaxl.php b/jaxl.php
index 73b910a..0537089 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,788 +1,796 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | c51347268556b42ef1cc3175b2be21da70c0422e | added subscription related methods inside JAXL class | diff --git a/examples/register_user.php b/examples/register_user.php
index 9fc655f..4fbc950 100644
--- a/examples/register_user.php
+++ b/examples/register_user.php
@@ -1,138 +1,138 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserv... |
jaxl/JAXL | 07b6d0b6a5ee75acdbe4ba2fe55e99082cba1161 | fixed typo inside xep-0030 | diff --git a/xep/xep_0030.php b/xep/xep_0030.php
index 1f9df48..2a9c7f8 100644
--- a/xep/xep_0030.php
+++ b/xep/xep_0030.php
@@ -1,92 +1,92 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sourc... |
jaxl/JAXL | 3c08c30e639b403244c2b01af8dbd5d0118f0d0c | added default values for show and priority inside set_status method | diff --git a/jaxl.php b/jaxl.php
index 6d314ff..ebcb5d4 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -1,764 +1,764 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
jaxl/JAXL | 4e54b0b7019ec7d38198f3f9e9780e1ec9efdba4 | fixes #13 | diff --git a/core/jaxl_xml.php b/core/jaxl_xml.php
index 36b0d8f..a3e8b03 100644
--- a/core/jaxl_xml.php
+++ b/core/jaxl_xml.php
@@ -1,221 +1,221 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in sourc... |
jaxl/JAXL | 0faa8951acd5e75ddf3a271b93696c4358b64a3e | linking examples inside readme | diff --git a/README.md b/README.md
index b5572b9..72a393d 100644
--- a/README.md
+++ b/README.md
@@ -1,27 +1,29 @@
Jaxl v3.x:
-----------
Jaxl v3.x is a successor of v2.x (and is NOT backward compatible),
carrying a lot of code from v2.x while throwing away the ugly parts.
A lot of components have been re-written... |
jaxl/JAXL | 775b738735a1b1880dab32127f2201ba0ffe5d7c | added link to xmpp rest example explanation | diff --git a/examples/xmpp_rest.php b/examples/xmpp_rest.php
index f1a2329..2504734 100644
--- a/examples/xmpp_rest.php
+++ b/examples/xmpp_rest.php
@@ -1,74 +1,76 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redist... |
jaxl/JAXL | f92670a1d739ce6243bf05ea746e9b4f0c68c6a1 | in 7 lines of code, demonstrating how you can control your background XMPP daemons via a HTTP interface | diff --git a/examples/xmpp_rest.php b/examples/xmpp_rest.php
new file mode 100644
index 0000000..f1a2329
--- /dev/null
+++ b/examples/xmpp_rest.php
@@ -0,0 +1,74 @@
+<?php
+/**
+ * Jaxl (Jabber XMPP Library)
+ *
+ * Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
+ * All rights reserved.
+ *
+ * Redistri... |
jaxl/JAXL | a4b76e7ff9d474274f0eff9f596feaa1bdb62151 | this is how JAXLPipe will be when complete | diff --git a/core/jaxl_pipe.php b/core/jaxl_pipe.php
index 07e25c0..07880db 100644
--- a/core/jaxl_pipe.php
+++ b/core/jaxl_pipe.php
@@ -1,92 +1,99 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use... |
jaxl/JAXL | 4bd4380a6a0c13df7987a3f73c53c6fdc3e618df | fixes #12 | diff --git a/jaxl.php b/jaxl.php
index 0a88e16..6d314ff 100644
--- a/jaxl.php
+++ b/jaxl.php
@@ -160,605 +160,605 @@ class JAXL extends XMPPStream {
pcntl_signal(SIGTERM, array($this, 'signal_handler'));
}
// create .jaxl directory in JAXL_CWD
// for our /tmp, /run and /log folders
// overwrite thes... |
jaxl/JAXL | 986d48622a239b656769f2d693f3f207597b503f | first checkin of XMPP Ping XEP-0199, enabled by default inside echobot.php | diff --git a/examples/echo_bot.php b/examples/echo_bot.php
index 3a7e94f..df7045d 100644
--- a/examples/echo_bot.php
+++ b/examples/echo_bot.php
@@ -1,138 +1,145 @@
<?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistrib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.