Alexei Sorokin
7cbdc99d08
Allow XMLStream handlers to accept all proper callables
...
Additionally, change the type of XMLStream::getId() to string as ids in XMPP
can take all shapes and sizes.
To override the compatible behaviour and pass a simple procedure as a callable
either use an anonymous function or pass "false" as $obj.
2020-09-13 22:19:15 +03:00
Swappp
a5346a47dc
Fix XPath parser
2020-09-13 18:21:49 +03:00
Alexei Sorokin
d95381f8fb
Fix types related issues introduced with 57f33b4
2019-11-16 16:09:18 +00:00
Diogo Cordeiro
57f33b4328
Introduce PHP7 strict typing
2019-11-03 00:18:51 +00:00
Diogo Cordeiro
c7cdcc588a
Modern version of XMPPHP extlib
...
Original XMPPHP is no longer maintained
Therefore I've done some optimizations and imported some commits from birkner and zorn-v forks.
None of the forks really looked ready to be adopted...
2019-06-19 03:32:32 +01:00
Christian Weiske
07a9b7ea23
Merge
...
Merge remote branch 'github-ivan1986/master'
2010-05-30 21:01:17 +02:00
Ivan Borzenkov
eb08b045c3
Return stream_blocking and add false check
2010-03-10 00:01:19 +03:00
Ivan Borzenkov
7d2ef0ee95
remove stream non-blocking - any micro timeout break connection
2010-03-08 00:49:54 +03:00
Ivan Borzenkov
43b4bc94ab
reverting "use XMPPHP/ folder instead of dirname(__FILE__) which is inefficient"
...
method whis relative path not work for lib - random current dir
dirname faster and not need change include_path
more info on
http://stackoverflow.com/questions/2220443/whats-better-of-requiredirname-file-myparent-php-than-just-require
2010-03-07 22:38:11 +03:00
Christian Weiske
c74544c0cd
fix issue #2 : tls does not work anymore with 4k fix. the magic solution is to set the stream non-blocking after the first part of the packet has been received, and setting it back afterwards
2010-02-28 14:32:56 +01:00
Christian Weiske
2e8149f242
also detect end of <stream:features>
2010-02-25 20:02:27 +01:00
Christian Weiske
efb71fa7f3
use XMPPHP/ folder instead of dirname(__FILE__) which is inefficient
2010-02-25 19:33:00 +01:00
Christian Weiske
eefdf7d86d
fix timeout in processUntil() and docblock for __process
2010-02-25 18:47:44 +01:00
Mat Gadd
fe80cd6f48
Replace usage of deprecated split() function with explode().
2010-02-25 15:51:04 +00:00
Christian Weiske
b9a9fb85d7
we can receive messages of any length now, even > 4096 bytes
2010-02-25 20:25:02 +08:00
Christian Weiske
582b0a0770
Fix that damn cpu-hogging bug
2010-02-25 20:25:01 +08:00
fritzy
b576ef97bd
Set reasonable select timeout
...
git-svn-id: svn://netflint.net/xmpphp@76 ef36c318-a008-4979-b6e8-6b496270793b
2009-03-16 14:04:15 +00:00
temp
b968882a7e
fixed include paths
...
git-svn-id: svn://netflint.net/xmpphp@75 ef36c318-a008-4979-b6e8-6b496270793b
2009-01-30 09:28:35 +00:00
fritzy
b13761eb26
* Fixed PHP notice
...
git-svn-id: svn://netflint.net/xmpphp@70 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:56:47 +00:00
fritzy
6cd2e281c7
* applied Evan's XMLStream select() patches
...
* made roster presence tracking optional
git-svn-id: svn://netflint.net/xmpphp@69 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:49:47 +00:00
fritzy
fa46343378
* fixed small bugs
...
git-svn-id: svn://netflint.net/xmpphp@67 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:16:33 +00:00
gar
f1088f8174
fixed xpath parsing to allow for / character in namespace (for instance: '{ http://etherx.jabber.org/streams }features' )
...
git-svn-id: svn://netflint.net/xmpphp@62 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-11 23:06:00 +00:00
gar
6860070b7e
added namespace awareness to xmlobj->hasSub and ->sub
...
added addXPathHandler to XMLStream
fixed a few typos in comments
added myself to @author
git-svn-id: svn://netflint.net/xmpphp@61 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-11 09:56:16 +00:00
fritzy
02a3f3dc5d
* BOSH and Stream Handling Fixes
...
git-svn-id: svn://netflint.net/xmpphp@57 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-21 21:30:00 +00:00
fritzy
34048957e0
* added BOSH support
...
git-svn-id: svn://netflint.net/xmpphp@55 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-19 10:35:37 +00:00
fritzy
1c9fe127e6
* fixed bug #29
...
git-svn-id: svn://netflint.net/xmpphp@52 ef36c318-a008-4979-b6e8-6b496270793b
2008-08-26 20:20:43 +00:00
fritzy
f7bb8d8f76
* added SSL and fixed XMPP_Old
...
git-svn-id: svn://netflint.net/xmpphp@51 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-25 21:39:09 +00:00
fritzy
1b39cfe6de
* bug fixes noticed after releasing r49 on google code
...
git-svn-id: svn://netflint.net/xmpphp@50 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-18 17:54:50 +00:00
fritzy
513a274ea8
* updated send to deal with large data and lots of sends
...
git-svn-id: svn://netflint.net/xmpphp@48 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-16 19:53:24 +00:00
fritzy
895021132c
* added payload option to messages
...
git-svn-id: svn://netflint.net/xmpphp@47 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-11 23:25:36 +00:00
fritzy
9bfd715564
* changed indents back to tabs (ung)
...
* fixed several bugs in the issue list
git-svn-id: svn://netflint.net/xmpphp@45 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-07 02:33:57 +00:00
temp
b5aa1b77b0
space fixes, added timeout to connect(), general fixes
...
git-svn-id: svn://netflint.net/xmpphp@39 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-05 21:14:43 +00:00
temp
1a4d1756c1
phpdocs fixes
...
git-svn-id: svn://netflint.net/xmpphp@38 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-05 20:08:45 +00:00
temp
3e41565343
phpdocs fixes
...
git-svn-id: svn://netflint.net/xmpphp@36 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-05 20:05:23 +00:00
temp
6a22b7b14c
phpdocs fixes
...
git-svn-id: svn://netflint.net/xmpphp@35 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-05 20:00:25 +00:00
temp
b440b4d30e
added proper phpdoc, added exceptions, added useEncryption() method
...
git-svn-id: svn://netflint.net/xmpphp@34 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-05 19:50:02 +00:00
temp
6dae72dd78
added a class prefix, refactored log-class, finished scopes for methods in xmlstream and xmpp
...
git-svn-id: svn://netflint.net/xmpphp@29 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-01 14:29:33 +00:00