1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-14 16:22:07 +01:00
Commit graph

290 commits

Author SHA1 Message Date
Gaston Dombiak
0b26452666 1. The packet id is parsed while parsing Messages
2. Parsed Messages and Presences could now have EMPTY ids


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2224 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:39:36 +00:00
Gaston Dombiak
627b38fe5b Handles packets with no (explicit) id
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2223 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:36:57 +00:00
Gaston Dombiak
15c6d3d49b Do not print the packet id in #toXML when the id is null
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2222 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:36:05 +00:00
Gaston Dombiak
5168a66d71 Answers a "not implemented" error when the IQ is not understood
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2220 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-29 22:02:50 +00:00
Matt Tucker
14896e4d31 Implemented keep-alives.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2219 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-28 21:30:37 +00:00
Matt Tucker
37b56c9370 Small fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2218 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-28 21:30:13 +00:00
Gaston Dombiak
37a3f14d3b 1. Stops collecting data when the debugger gets closed (uses ObservableReader/Writer)
2. Adds a new packetID column to the table


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2217 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:24:16 +00:00
Gaston Dombiak
465100fdc6 Stops collecting data when the debugger gets closed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2216 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:22:53 +00:00
Gaston Dombiak
b1c2865ecd Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2215 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:15:06 +00:00
Gaston Dombiak
70ec10065f Prevents a NPE if DEBUG_ENABLED was set to true AFTER the connection was created
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2214 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-24 18:39:39 +00:00
Gaston Dombiak
e718ed796f Fixed bad "defaulSubscriptionMode" spelling
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2213 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-19 18:52:43 +00:00
Gaston Dombiak
cd1abe75c0 1. UNDO: Protects the access for certain methods by waiting a few seconds when the roster has not been initialized yet
2. Provides a static method to set default subscription mode
3. Modifies RosterPacketListener to remove empty groups caused by local entry removals


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2212 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 14:17:13 +00:00
Gaston Dombiak
0264b3987c Modifies #removeEntry to remove the entry immediately (locally)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2210 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 13:04:49 +00:00
Gaston Dombiak
72af76ba39 UNDO: The connection's roster can be accessed before the user actually logs in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2209 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 12:58:36 +00:00
Gaston Dombiak
ba65acf8c5 Makes the "Smack Info" tab prettier
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2208 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-15 13:13:27 +00:00
Gaston Dombiak
3abb8b109c Fixes a problem that prevented to remove listeners
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2207 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-15 13:05:44 +00:00
Gaston Dombiak
d25d36448e Stops printing exceptions to the console when a class to load at start-up is not found
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2206 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-13 18:20:18 +00:00
Gaston Dombiak
4dfb2b08fa Fixes a problem that didn't allow to terminate daemon threads
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2205 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-13 18:13:23 +00:00
Gaston Dombiak
4f8f6b4c17 Stops debugging the connections when the windows is closed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2204 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:09:07 +00:00
Gaston Dombiak
878aee9043 Makes UI prettier and also allows to stop debugging a connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2203 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:08:03 +00:00
Gaston Dombiak
1fa6a8e9fb Fixes problems when waiting a few seconds when the roster has not been initialized yet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2202 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:04:23 +00:00
Gaston Dombiak
d78e1d3e59 Modifies #getPresences(String) to return an iterator on Presences instead of an iterator on Map.Entries
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2201 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-05 18:26:13 +00:00
Gaston Dombiak
3db7e3fe4d Fixes resources not found problem using Smack under an AppServer
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2200 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-04 23:31:54 +00:00
Gaston Dombiak
29903213a3 Adds icon representations
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2199 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 15:13:55 +00:00
Gaston Dombiak
bb597cf3ca Protects the access for certain methods by waiting a few seconds when the roster has not been initialized yet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2196 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:32:40 +00:00
Gaston Dombiak
15df277ced The connection's roster can be accessed before the user actually logs in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2195 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:31:16 +00:00
Gaston Dombiak
b6f3741854 Answers a default timeout value if timeout value has not been initialized yet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2194 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:29:41 +00:00
Gaston Dombiak
76c0e90f18 Throws an exception when trying to create entries using a non-initialized roster.
The packet-reply-timeout is obtained from SmackConfiguration


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2192 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:27:56 +00:00
Gaston Dombiak
f7de4be1f9 The packet-reply-timeout is obtained from SmackConfiguration
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2191 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:21:49 +00:00
Gaston Dombiak
36cb521334 Packet-reply-timeout is unique in the environment and the configuration filename was renamed to smack-config.xml
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2190 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:19:37 +00:00
Gaston Dombiak
41dad8658a Allows reply timeout to be set
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2189 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-20 12:20:30 +00:00
Gaston Dombiak
129f0a0bd2 *** empty log message ***
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2188 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:30:58 +00:00
Gaston Dombiak
4f4fff1772 Gets Smack version from the SmackConfiguration class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2186 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:21:16 +00:00
Gaston Dombiak
f77ad32537 Initializes Smack when the class is loaded
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2185 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:19:29 +00:00
Gaston Dombiak
f462850768 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2184 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:17:36 +00:00
Gaston Dombiak
b3a4c76f1f Adds static init - Makes the XHTMLfeature available by default on every connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2183 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:00:16 +00:00
Gaston Dombiak
7eba4a484b Adds static init - Makes the disco feature available by default on every connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2182 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 17:59:55 +00:00
Gaston Dombiak
a42e3c2742 Adds notifications of new established connections
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2181 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 17:54:38 +00:00
Gaston Dombiak
7f25821f8b Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2180 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 17:46:48 +00:00
Gaston Dombiak
554f4fb1ec Fixes bug parsing server name
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2179 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-17 13:59:20 +00:00
Gaston Dombiak
b194d99054 Fixes a problem renaming a RosterGroup
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2176 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-02 01:53:39 +00:00
Gaston Dombiak
b73060d000 Adds the ability to handle multiple presences of a user
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2175 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-28 21:49:25 +00:00
Matt Tucker
414f9faef1 A null type is equivalent to GET.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2173 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-19 16:51:19 +00:00
Gaston Dombiak
7d7c02b750 References to PacketWriterListener changed to PacketListener
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2172 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-18 17:06:47 +00:00
Gaston Dombiak
4a8060c209 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2171 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 20:30:48 +00:00
Gaston Dombiak
b17a47a385 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2169 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 20:24:42 +00:00
Gaston Dombiak
9757607447 Refactors debugger code and adds listeners for sent packets
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2168 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 20:23:20 +00:00
Gaston Dombiak
24f965ead7 Adds notification for sent packets
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2167 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 19:24:00 +00:00
Gaston Dombiak
da49a174c3 Refactors existing debugger code
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2166 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 19:21:15 +00:00
Gaston Dombiak
870eb08da3 Removes the track of the number of packets read.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2165 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-12 17:49:07 +00:00