1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-15 20:19:39 +02:00

Commit graph

  • 998245be26 SMACK-412 Fixed merge error. rcollier 2013-03-23 22:23:19 +00:00
  • d1fdd497d9 SMACK-415 Applied patch to fix improper use of parser. rcollier 2013-03-23 22:18:38 +00:00
  • b0bdd56b20 SMACK-412 Fixed merge error. rcollier 2013-03-23 13:27:55 +00:00
  • a14178990b SMACK-412 Added the pingMyServer back in, cleaned up unneeded synchronization and removed minimum ping interval. rcollier 2013-03-23 11:59:08 +00:00
  • 999c86ef4c SMACK-225 Modified DNSUtils to return a default HostAddress when no DNS resolver is available. This restores the previous default behaviour. rcollier 2013-03-23 11:55:43 +00:00
  • 07a0b8f722 SMACK-413 fixed vCard parsing regarding the PHOTO element. Moved vCard test cases to unit-test where appropriate. Added testcases for vCard PHOTO parsing. Florian Schmaus 2013-03-23 00:30:59 +00:00
  • 374a12b73a Document how an Avatar can be removed from a vCard. Add a convenience method. Florian Schmaus 2013-03-23 00:30:44 +00:00
  • 638d34fd06 SMACK-413 fixed vCard parsing regarding the PHOTO element. Moved vCard test cases to unit-test where appropriate. Added testcases for vCard PHOTO parsing. Florian Schmaus 2013-03-23 00:27:14 +00:00
  • ca2f8efe60 Document how an Avatar can be removed from a vCard. Add a convenience method. Florian Schmaus 2013-03-23 00:26:42 +00:00
  • 6aa195eb88 SMACK-382 Prevent memory leak in AdHocCommandManager by only creating the Thread if it's actually needed Florian Schmaus 2013-03-22 18:15:21 +00:00
  • bd70a95f8c SMACK-384 Don't use a semaphore while waiting for PacketReader to be started. Florian Schmaus 2013-03-22 18:15:13 +00:00
  • a7d73993b0 SMACK-430 Re-activated code that throws an exception if createOutgoingFileTransfer() was called with a bare JID Florian Schmaus 2013-03-22 18:15:06 +00:00
  • 3891c738ad Added isFullJID() helper in StringUtils Florian Schmaus 2013-03-22 18:14:58 +00:00
  • ebfe3e69ed SMACK-382 Prevent memory leak in AdHocCommandManager by only creating the Thread if it's actually needed Florian Schmaus 2013-03-22 18:14:15 +00:00
  • 57a5f88ead SMACK-384 Don't use a semaphore while waiting for PacketReader to be started. Florian Schmaus 2013-03-22 18:14:08 +00:00
  • b091f6161e SMACK-430 Re-activated code that throws an exception if createOutgoingFileTransfer() was called with a bare JID Florian Schmaus 2013-03-22 18:14:01 +00:00
  • ff64c57b4d Added isFullJID() helper in StringUtils Florian Schmaus 2013-03-22 18:13:53 +00:00
  • e3f842da8c SMACK-361 Updated test case to fix create temp directory on Windows rcollier 2013-03-19 22:42:43 +00:00
  • aab1dcdabe SMACK-412 Split the ping implementation to a server ping to replace keepalive and a simplified ping manager for manual pings of other entities. rcollier 2013-03-19 02:37:36 +00:00
  • a55b54f20b SMACK-417 If both PacketReader and PacketWriter fail at the same time, connectionClosedonError() is called two times Florian Schmaus 2013-03-18 19:58:48 +00:00
  • 6dcf8e0123 SMACK-419 PacketWriter: Only flush if queue is empty Florian Schmaus 2013-03-18 19:58:14 +00:00
  • 26338a2754 SMACK-417 If both PacketReader and PacketWriter fail at the same time, connectionClosedonError() is called two times Florian Schmaus 2013-03-18 19:57:28 +00:00
  • cb44042d3c SMACK-419 PacketWriter: Only flush if queue is empty Florian Schmaus 2013-03-18 19:56:58 +00:00
  • 2eb13f48d2 SMACK-225 Fixed DNS SRV handling, as per RFC 2782. Added support for multiple DNS SRV resolvers namely javax and org.xbill.dns (aka dnsjava). Florian Schmaus 2013-03-18 08:53:11 +00:00
  • 21be8c55ee SMACK-361 Added support for Entity Capabilities. Florian Schmaus 2013-03-18 08:50:48 +00:00
  • 848d393b73 SMACK-225 Fixed DNS SRV handling, as per RFC 2782. Added support for multiple DNS SRV resolvers namely javax and org.xbill.dns (aka dnsjava). Florian Schmaus 2013-03-18 08:42:26 +00:00
  • 9123578ea5 SMACK-361 Added support for Entity Capabilities. Florian Schmaus 2013-03-18 08:40:35 +00:00
  • 1cdb86989a SMACK-423 Parse unhandled IQ stanzas of type 'request' to dummy IQ class, so that the contents can be examined later on. Florian Schmaus 2013-03-05 10:35:04 +00:00
  • 1167523c4f SMACK-423 Parse unhandled IQ stanzas of type 'request' to dummy IQ class, so that the contents can be examined later on. Florian Schmaus 2013-03-05 10:32:23 +00:00
  • a5431f2ee8 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13534 b35dd754-fafc-0310-a699-88a17e54d16e rcollier 2013-02-28 12:22:59 +00:00
  • 2bb4f5dffb git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3@13533 b35dd754-fafc-0310-a699-88a17e54d16e rcollier 2013-02-28 12:22:38 +00:00
  • 910b012119 Branch for finishing up the remaining tasks for 3.3. Allowing development to continue on trunk. rcollier 2013-02-28 12:18:23 +00:00
  • 5c6f257027 SMACK-388 Use ScheduledExecutorService. Set ping received when pinging another entity. Refactored PacketListener and ConnectionListeners as anonymous inner-classes Florian Schmaus 2013-02-27 22:49:04 +00:00
  • c6248ec000 SMACK-389 Plugable compression framework Florian Schmaus 2013-02-26 09:26:41 +00:00
  • 5dea9d3ee1 SMACK-379 Removed mandatory session establishment, since it was dropped from the newer XMPP-IM RFC (a.k.a. RFC 6121) Florian Schmaus 2013-02-26 08:44:32 +00:00
  • da1987a98b SMACK-376 Allow supplying a custom SSLContext for encrypted connections. Florian Schmaus 2013-02-26 08:44:17 +00:00
  • c57843eeee Aligned integration test config file 'test-case.xml' settings to reflect the defaults in SmackTestCase. Renamed the file to test-case.example.xml and added remark about the usage of the file Florian Schmaus 2013-02-14 11:43:53 +00:00
  • 091015aa4b SMACK-358: Support account creation parameters for LoginTest.testLoginWithNoResource() Florian Schmaus 2013-02-14 11:43:41 +00:00
  • b2a0a2154b Updated eclipse settings: if else, javadoc line length Florian Schmaus 2013-02-14 11:43:24 +00:00
  • 4060a97b65 SMACK-345: Improved detection of last activity. Properly synchronized access to lastMessageSent and registerd last activity namespace with ServiceDiscoveryManager. Improved LastActivity Provider Florian Schmaus 2013-02-14 00:00:54 +00:00
  • ddabe436b4 PingManager: Fixed imports Florian Schmaus 2013-02-14 00:00:26 +00:00
  • 577fda6e62 Makefile: added javadoc target Florian Schmaus 2013-02-14 00:00:02 +00:00
  • 1a170c1561 ServiceDiscoveryManager: Use 'Set' as data structure for features to prevent reporting duplicate features Florian Schmaus 2013-02-11 17:22:42 +00:00
  • 7723b9fcfd ServiceDiscoveryManager: Anounce 'disco#info' and 'disco#items' on service discovery queries in accordance with XEP-0030 Florian Schmaus 2013-02-11 17:22:31 +00:00
  • c309e27853 Fix NPE in Testcases where 'createOfflineConnections() == true'. The change 13453 created the username and password array, which needs to be initilized even if the connection and the login is done manually Florian Schmaus 2013-02-07 19:10:32 +00:00
  • b907d606d9 SMACK-352 removed duplicated headers, fixed svn keywords Florian Schmaus 2013-02-07 19:10:22 +00:00
  • a686b4c092 Update MultiUserChat to use the correct namespace according to the latest version of XEP-0045. Newer versions for XEP-0045 (MUC) use muc#admin for all onwer related operations. Fixes SMACK-371. Credits and thanks go to Colby White for reporting this. Florian Schmaus 2013-02-07 19:08:05 +00:00
  • 6bbf425157 SMACK-352 - fixed wrong header - replaced old Jive license with Apache 2.0 license - added license header to files without Florian Schmaus 2013-02-07 14:19:47 +00:00
  • 14f139f642 Fixed small problem in one field and removed possible NPE on get from any field. rcollier 2013-02-07 03:57:38 +00:00
  • 8c0b062629 Updates to SmackTestCase to properly provide the username and password for each connection. Test cases manually logging in now use these methods instead of wrongly assuming the username/password pattern. rcollier 2013-02-07 03:47:49 +00:00
  • d1e9d81769 SMACK-341 Updated collectors to use concurrent classes. rcollier 2013-02-07 03:42:33 +00:00
  • e0e92eca76 SMACK-407 Time zones now parse correctly. rcollier 2013-02-06 03:38:11 +00:00
  • 04cea9e28c SMACK-395 Forgot to actually add the discovered proxies Florian Schmaus 2013-02-04 21:59:07 +00:00
  • 592135c0e9 SMACK-395 Socks5BytestreamManager.establishConnection(): Don't bail out with an Exception uf the local XMPP service does not support Service Discovery (e.g. talk.google.com). Instead remember the Exception and give the local proxy (if enabled) a chance. Also compute the digest only if it's really needed, that is when streamHosts is not empty. Florian Schmaus 2013-02-04 21:36:39 +00:00
  • 55893400c7 Makefile: Added integration-est target and JAVA_TOOL_OPTIONS to set the correct file encoding Florian Schmaus 2013-02-04 21:36:32 +00:00
  • 4402b8c7db SMACK-391 Forgot to check in new file. rcollier 2013-02-04 15:57:01 +00:00
  • 010ab0d07a VCardTest: Use VCard.equal() in order to test equality and not the String representation, since the elements within the vcard could be in a different order Florian Schmaus 2013-02-04 13:33:28 +00:00
  • 0ca8b726bd PubSub SubcribeForm: Use new StringUtils.formatXEP0082Date to get the correct date string. Note that the previous used SimpleDateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" did not produce XEP-0082 conforming strings, since Z is replace with e.g. '+0100' whereas it should be '+01:00'. Florian Schmaus 2013-02-04 13:33:15 +00:00
  • d1893d541e eclipse: removed old junit from classpath. Smack testcases need junit 3.8.2 or higher in order to run correct Florian Schmaus 2013-02-04 13:32:57 +00:00
  • ca78c5be49 String.isEmpty() only comes with Android API level 9 (or higher). Switching back to old isEmptyString check, making Smack Android compatible again Florian Schmaus 2013-02-04 11:04:00 +00:00
  • bfefbdb777 Implement XEP-0184 delivery notifications Florian Schmaus 2013-02-04 09:53:56 +00:00
  • f0cd048635 Added check for missing field type for multi list in data forms. rcollier 2013-02-04 03:53:53 +00:00
  • 457959bc88 SMACK-391 New enum to define date formats and profiles. rcollier 2013-02-04 03:52:08 +00:00
  • 1d36ae8db4 SMACK-391 Moved all date parsing into StringUtils and made it much more robust in handling multiple valid and invalid formats. rcollier 2013-02-04 03:45:37 +00:00
  • 2afd3bdfa3 Remove .settings from the 'all' target in Makefile Florian Schmaus 2013-02-01 17:20:38 +00:00
  • 43619de7aa SMACK-377 Avoid an unnecessary DNS request by using directly the, at this point known IP, instead of using the hostname as argument for the new socket. Florian Schmaus 2013-01-31 22:31:31 +00:00
  • c76ed51541 SMACK-385 Reuse the KeyStore in order to reduce memory usage. Extended ServerTrustManager with a 'stores' (Hash)Map that allows the reuse of an existing KeyStore. Before that, every call of KeyStore.getInstance() created a new instance which consumes about 250KiB. Florian Schmaus 2013-01-31 22:31:04 +00:00
  • e75f45082b SMACK-270 MultiUserChat relied on finalize() being called in order to remove packet listeners and the association with RoomListenerMultiplexor. The PacketListeners are referenced by Connection, which meant that MultiUserChat is always strongly reachable until the connection dies. This patch introduces an new MultiUserChat.cleanup() method that is called when userHashLeft() is triggered. Florian Schmaus 2013-01-31 22:30:49 +00:00
  • a75d2d7d0d SMACK-375 Properly escape Strings in DiscoverInfo and DiscoverItems for XML. Florian Schmaus 2013-01-31 22:30:36 +00:00
  • 401c37bd28 SMACK-404 Changed StringUtils.decodeBase64(String) behavior so that the method does not try to detect and decompress a gzip-compressed input. Refactored every use of the Base64.(de|en)code* methods to use the StringUtils (de|en)codeBase64 methods instead. Florian Schmaus 2013-01-29 22:49:20 +00:00
  • e3f84cdbe6 Eclipse config: Disable 'save actions' Florian Schmaus 2013-01-29 22:49:07 +00:00
  • 054656c771 Add eclipse configuration and Makefile. The eclipse configuration can be activated with the 'eclipse' make target ('make eclipse'). Florian Schmaus 2013-01-29 22:04:09 +00:00
  • d8f11a0b71 SMACK-388 register PingProvider with smack.providers. The static register code was removed with 13406 (http://fisheye.igniterealtime.org/changelog/smack?cs=13406) Florian Schmaus 2013-01-28 09:57:09 +00:00
  • 7fa65f74ed SMACK-403 Correct location of the Forwarded Provider Florian Schmaus 2013-01-28 09:49:13 +00:00
  • 2a1f4e8376 SMACK-403 add support for Florian Schmaus 2013-01-28 09:38:02 +00:00
  • b9fe598129 fix typo in PingManager.getInstanceFor() function name Florian Schmaus 2013-01-26 09:47:39 +00:00
  • 704ef1f9dc PingManager: Don't register IQProvider since this is done by smack.providers already. This line was actually a leftover from aSmack development. Florian Schmaus 2013-01-25 00:13:40 +00:00
  • 63ba2be8c9 build.xml: Added jar-test-smackx target and let test-unit depend on that, so that clean calls of 'ant test-unit' won't fail. Florian Schmaus 2013-01-21 11:35:56 +00:00
  • d88f82f92d build.xml: Fixed accidentially deleted 'junit-' at target test-unit Florian Schmaus 2013-01-21 11:35:37 +00:00
  • 5b7b13c43f Whitespace fixes in build.xml Florian Schmaus 2013-01-21 10:35:20 +00:00
  • 767d93894e Enabled smackx unit tests for 'test-unit' target Florian Schmaus 2013-01-21 10:34:54 +00:00
  • 4018fa3c7b SMACK-388 Moved PingProvider, Ping and Pong under ../smackx/ping package Florian Schmaus 2013-01-15 19:56:25 +00:00
  • 6e141eeb68 PingManager: removed debug message that claims to be a error message Florian Schmaus 2013-01-11 10:30:52 +00:00
  • e1bb5a6123 SMACK-278: Call socket.close() in XMPPConnection.shutdown() before closing the reader and writer streams. This basically prevents the deadlock reported in SMACK-278. Florian Schmaus 2013-01-06 14:02:44 +00:00
  • 3c2eaba840 KeepAliveTask: Increased the initial heartbeat dealy in order to prevent a heartbeat timeout in high latency situations (mobile environments)" Florian Schmaus 2013-01-06 14:02:35 +00:00
  • 7770511111 Fixed typo Florian Schmaus 2013-01-06 14:01:52 +00:00
  • cd15d7499d Fix erroneous cast from byte to int in IBBInputStream's read() method. The casted value needs to be masked with 0xff, because bytes in java are signed (two's complement) Florian Schmaus 2013-01-05 12:53:45 +00:00
  • e4621df621 test-case.xml: Whitespace fixes, changed serverhost to localhost to reflect the settings in source code. This also makes it easier for new Smack developers to run the tests. Florian Schmaus 2013-01-04 11:47:59 +00:00
  • efacd34b2e Fix issue with Socks5ProxyTest: The read() method throws an Exception if the socket is closed. Catch this Exception and report the testcase as successful. Florian Schmaus 2013-01-04 11:47:53 +00:00
  • 8c14f0cb55 Added XEP-199 aka. "XMPP Ping" support to smack. Fixes SMACK-388. Florian Schmaus 2013-01-04 11:43:35 +00:00
  • 9cd16fe3dd SMACK-374 Added patch to fix memory leak. rcollier 2012-11-22 02:51:51 +00:00
  • 012e1252e2 SMACK-392 Updated test targets in ant build. Fix integration tests and added target for unit tests. rcollier 2012-11-22 02:05:04 +00:00
  • fc3ec2ab8a SMACK-390 Log exception in parsing extensions of Presence. Valid Presence will still be returned with extensions missing. rcollier 2012-10-30 01:53:44 +00:00
  • e08c8afe44 SMACK-363 Applied code cleanup patches for many generics related issues. rcollier 2012-10-26 10:47:55 +00:00
  • 6dc64671e2 Merge of 3.2 stream back into trunk rcollier 2012-02-07 04:32:59 +00:00
  • bd60bcbc97 Build fix for release rcollier 2012-02-05 01:51:29 +00:00
  • a92d37a32b SMACK-349 Couple of fixes to test cases based on changes in base64 encoding buffer sizes. 3.2.2 rcollier 2012-01-27 21:30:09 +00:00
  • 62ce8e85dd SMACK-362 Added check for no values on form. rcollier 2011-12-21 14:58:48 +00:00
  • c60184f852 SMACK-343 Added bnd wrap task to build to generate OSGi attributes in the manifest files. rcollier 2011-12-21 14:27:06 +00:00
  • 2115a6b545 Moved the EmbeddedExtensionProvider from smackx to smack, since it is not tied to extensions but is a simple utility for aiding in parsing of custom cabinets. rcollier 2011-12-19 17:28:57 +00:00