about summary refs log tree commit diff stats
path: root/src/xmpp/connection.c
Commit message (Expand)AuthorAgeFilesLines
...
* Added autoping timeout preferenceJames Booth2016-01-011-1/+1
* Added hardcoded autoping timeoutJames Booth2015-12-311-12/+51
* Free pref stringsJames Booth2015-11-211-0/+1
* Tidy connection.cJames Booth2015-11-111-28/+32
* Added extra fields to TLSCertificateJames Booth2015-11-101-4/+16
* Show current TLS certificateJames Booth2015-11-101-5/+23
* Added /tls cert to show current certificate fingerprintJames Booth2015-11-091-0/+16
* Applied coding style to src/xmpp/James Booth2015-10-261-29/+29
* Force tls on all connections, add tls policy account propertyJames Booth2015-10-181-7/+25
* Removed --disable-tls command line optionJames Booth2015-10-181-6/+1
* Renamed PREF_CERT_PATH -> PREF_TLS_CERTPATHJames Booth2015-10-181-1/+1
* Add ability to script commands after connectJames Booth2015-10-151-2/+2
* Title bar TLS indicatorJames Booth2015-10-141-2/+3
* Use libstrophe/libmesode uuid generatorJames Booth2015-10-121-0/+14
* Save last activity to account on disconnectJames Booth2015-09-251-0/+1
* Added HAVE_LIBMESODE check before setting cert pathJames Booth2015-09-241-0/+2
* Added TLS trusted certificate path preferenceJames Booth2015-09-231-0/+5
* Added conditionals for libmesode cert verificationJames Booth2015-09-221-0/+7
* Added TLS cert fail callbackJames Booth2015-09-221-1/+11
* Check for libmesode, fall back to libstropheJames Booth2015-09-211-0/+7
* Fixed various jid and account mem leaksJames Booth2015-06-241-0/+1
* Added initial stabber testJames Booth2015-05-171-4/+5
* Use null check convention in connection.cJames Booth2015-05-041-12/+12
* Renamed event functionsJames Booth2015-04-281-5/+5
* Renamed server event functionsJames Booth2015-04-191-5/+5
* Moved server_events to event/James Booth2015-04-191-2/+2
* Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280James Booth2015-03-081-0/+5
|\
| * Add XEP-0280 supportOlivier LE MOAL2015-02-101-0/+5
* | Updated copyrightJames Booth2015-02-101-1/+1
|/
* Removed function pointersJames Booth2014-12-221-42/+25
* Fixed various memory leaksJames Booth2014-11-011-3/+3
* Small spelling fixes in code and commentsDariusz Dwornikowski2014-08-271-1/+1
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
* Free jabber_conn.logJames Booth2014-06-151-0/+4
* Free saved account details before replacingJames Booth2014-06-151-0/+6
* Added connection details to jabber_shutdownJames Booth2014-06-151-0/+3
* Fixed cppcheck warningsJames Booth2014-04-261-2/+1
* Tidied jabber_process_eventsJames Booth2014-04-231-14/+20
* Added simple stanza logging to main consoleJames Booth2014-04-151-0/+3
* Revert "Commented bookmarks code for 0.4.0 release"James Booth2014-03-291-1/+1
* Commented bookmarks code for 0.4.0 releaseJames Booth2014-03-161-1/+1
* Updated copyrightJames Booth2014-03-091-1/+1
* Moved connection_error_handler to _presence_error_handlerJames Booth2014-01-271-43/+0
* Moved xmpp ping to iq moduleJames Booth2014-01-261-37/+0
* Add message and presence error handlers seperatelyJames Booth2014-01-251-11/+0
* Don't show error for initial bookmarks requestJames Booth2014-01-251-2/+11
* Fixed test compilationJames Booth2014-01-181-1/+1
* WIP - Adding port to account optionsJames Booth2014-01-181-8/+14
* Moved handle_lost_connection and handle_failed_login to server_eventsJames Booth2014-01-051-2/+2
* Moved handle_login_account_success to server_eventsJames Booth2014-01-051-2/+2
s="kt">int16_t result = next(); result |= (next()<<8); return result; } //:: jump if equal/zero :(before "End Initialize Op Names(name)") put(name_0f, 0x84, "jump disp16 bytes away if ZF is set"); :(scenario je_rel16_success) % ZF = true; == 0x1 # op ModR/M SIB displacement immediate 0f 84 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(before "End Two-Byte Opcodes Starting With 0f") case 0x84: { // jump rel16 if ZF int8_t offset = imm16(); if (ZF) { trace(2, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; } :(scenario je_rel16_fail) % ZF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 84 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: inst: 0x00000005 +run: inst: 0x0000000a -run: jump 5 //:: jump if not equal/not zero :(before "End Initialize Op Names(name)") put(name_0f, 0x85, "jump disp16 bytes away if ZF is not set"); :(scenario jne_rel16_success) % ZF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 85 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(before "End Two-Byte Opcodes Starting With 0f") case 0x85: { // jump rel16 unless ZF int8_t offset = imm16(); if (!ZF) { trace(2, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; } :(scenario jne_rel16_fail) % ZF = true; == 0x1 # op ModR/M SIB displacement immediate 0f 85 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: inst: 0x00000005 +run: inst: 0x0000000a -run: jump 5 //:: jump if greater :(before "End Initialize Op Names(name)") put(name_0f, 0x8f, "jump disp16 bytes away if greater (ZF is unset, SF == OF)"); :(scenario jg_rel16_success) % ZF = false; % SF = false; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8f 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(before "End Two-Byte Opcodes Starting With 0f") case 0x8f: { // jump rel16 if !SF and !ZF int8_t offset = imm16(); if (!ZF && SF == OF) { trace(2, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; } :(scenario jg_rel16_fail) % ZF = false; % SF = true; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8f 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: inst: 0x00000005 +run: inst: 0x0000000a -run: jump 5 //:: jump if greater or equal :(before "End Initialize Op Names(name)") put(name_0f, 0x8d, "jump disp16 bytes away if greater or equal (SF == OF)"); :(scenario jge_rel16_success) % SF = false; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8d 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(before "End Two-Byte Opcodes Starting With 0f") case 0x8d: { // jump rel16 if !SF int8_t offset = imm16(); if (SF == OF) { trace(2, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; } :(scenario jge_rel16_fail) % SF = true; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8d 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: inst: 0x00000005 +run: inst: 0x0000000a -run: jump 5 //:: jump if lesser :(before "End Initialize Op Names(name)") put(name_0f, 0x8c, "jump disp16 bytes away if lesser (SF != OF)"); :(scenario jl_rel16_success) % ZF = false; % SF = true; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8c 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(before "End Two-Byte Opcodes Starting With 0f") case 0x8c: { // jump rel16 if SF and !ZF int8_t offset = imm16(); if (SF != OF) { trace(2, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; } :(scenario jl_rel16_fail) % ZF = false; % SF = false; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8c 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: inst: 0x00000005 +run: inst: 0x0000000a -run: jump 5 //:: jump if lesser or equal :(before "End Initialize Op Names(name)") put(name_0f, 0x8e, "jump disp16 bytes away if lesser or equal (ZF is set or SF != OF)"); :(scenario jle_rel16_equal) % ZF = true; % SF = false; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8e 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(scenario jle_rel16_lesser) % ZF = false; % SF = true; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8e 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: jump 5 +run: inst: 0x0000000a -run: inst: 0x00000005 :(before "End Two-Byte Opcodes Starting With 0f") case 0x8e: { // jump rel16 if SF or ZF int8_t offset = imm16(); if (ZF || SF != OF) { trace(2, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; } :(scenario jle_rel16_greater) % ZF = false; % SF = false; % OF = false; == 0x1 # op ModR/M SIB displacement immediate 0f 8e 05 00 # skip 1 instruction 05 00 00 00 01 05 00 00 00 02 +run: inst: 0x00000001 +run: inst: 0x00000005 +run: inst: 0x0000000a -run: jump 5