about summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
* Added autocomplete for boolean settingsJames Booth2012-10-223-11/+48
* Removed scripts from root folderJames Booth2012-10-222-9/+0
* Removed cygwin notes from root folderJames Booth2012-10-221-40/+0
* Fixed possible segfault when no type attribute on incoming messagesJames Booth2012-10-221-16/+18
* Free autocompleters on quitJames Booth2012-10-224-6/+17
* Refactored parameter autocompletersJames Booth2012-10-222-66/+56
* Renamed other autocompletersJames Booth2012-10-216-15/+15
* Renamed help autocompleterJames Booth2012-10-213-6/+6
* Added /help parameter autocompleteJames Booth2012-10-213-3/+37
* Added Dmitry to contributors list in man pageJames Booth2012-10-211-0/+2
* Removed trailing whitespace from src and testsJames Booth2012-10-2135-446/+446
* Merge pull request #46 from pasis/masterJames Booth2012-10-215-29/+96
|\
| * jabber: rewrite error handlingDmitry Podgorny2012-10-201-52/+26
| * windows: set dirty in win_show_error_msgDmitry Podgorny2012-10-181-0/+3
| * handle error messages from serverDmitry Podgorny2012-10-185-1/+94
| * windows: dont print wether contact exists in rosterDmitry Podgorny2012-10-181-4/+1
| * windows: print outgoing messages for all contactsDmitry Podgorny2012-10-171-23/+23
|/
* Fixed indentationJames Booth2012-10-161-3/+3
* Moved jabber_free_resources callJames Booth2012-10-163-14/+1
* Merge branch 'master' of https://github.com/pasis/profanityJames Booth2012-10-163-0/+10
|\
| * jabber: fix crash when disconnection timeout is reachedDmitry Podgorny2012-10-173-7/+10
* | Attempted fix at causing segfault by freeing connectionJames Booth2012-10-163-7/+13
|/
* Removed "Log" from history outputJames Booth2012-10-151-1/+1
* Refactored show history, free'd memoryJames Booth2012-10-141-18/+20
* Updated man pageJames Booth2012-10-141-0/+2
* Added history optionJames Booth2012-10-144-2/+42
* Do not create directories when looking for logsJames Booth2012-10-141-7/+13
* Fixed compiler warningJames Booth2012-10-142-5/+6
* Shows log date when viewing historyJames Booth2012-10-141-0/+9
* Chaged padsize to 1000James Booth2012-10-141-1/+1
* Show history from day that session startedJames Booth2012-10-141-23/+31
* Show log if session started todayJames Booth2012-10-141-24/+35
* Refactored chat_log.cJames Booth2012-10-141-47/+31
* Chat log get filename now takes datetimeJames Booth2012-10-141-5/+10
* Fixed history when no logJames Booth2012-10-141-10/+12
* Showing history from current log in chat windowsJames Booth2012-10-146-18/+127
* Recipient logs now in own subdirectoriesJames Booth2012-10-091-38/+38
* Refactored creating new logsJames Booth2012-10-091-66/+54
* Roll log if day changes whilst runningJames Booth2012-10-081-5/+62
* Removed time date from dated logsJames Booth2012-10-082-4/+4
* Added datestamped logsJames Booth2012-10-081-4/+10
* Added comments to new window openJames Booth2012-10-081-0/+3
* Decreased non blocking delayJames Booth2012-10-061-1/+1
* Fixed memory leakJames Booth2012-10-061-1/+2
* Set no blocking delay to 100msJames Booth2012-10-052-3/+5
* Decreased non blocking input delayJames Booth2012-10-051-1/+1
* Only show offline warning onceJames Booth2012-10-041-7/+10
* Use colour prefs for offline message warningJames Booth2012-10-041-0/+8
* Show warning when sending message to offline contactJames Booth2012-10-041-3/+10
* Now checks for exitence of contact before sending messageJames Booth2012-10-044-12/+44
n class="se">\"I'm here\"")); stbbr_for_query("jabber:iq:version", "<iq id='*' lang='en' type='error' to='stabber@localhost/profanity' from='buddy1@localhost/laptop'>" "<query xmlns='jabber:iq:version'/>" "<error code='503' type='cancel'>" "<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>" "</error>" "</iq>" ); prof_input("/software buddy1@localhost/laptop"); assert_true(prof_output_exact("Could not get software version: service-unavailable")); } // Typical use case for gateways that don't support resources void display_software_version_result_when_from_domainpart(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 is online, \"I'm here\"")); stbbr_for_query("jabber:iq:version", "<iq id='*' type='result' lang='en' to='stabber@localhost/profanity' from='localhost'>" "<query xmlns='jabber:iq:version'>" "<name>Some Gateway</name>" "<version>1.0</version>" "</query>" "</iq>" ); prof_input("/software buddy1@localhost/__prof_default"); // assert_true(prof_output_exact("buddy1@localhost/__prof_default:")); // assert_true(prof_output_exact("Name : Some Gateway")); assert_true(prof_output_exact("Version : 1.0")); } void show_message_in_chat_window_when_no_resource(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\"")); prof_input("/msg Buddy1"); prof_input("/software"); assert_true(prof_output_exact("Unknown resource for /software command.")); } void display_software_version_result_in_chat(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\"")); prof_input("/msg Buddy1"); stbbr_send( "<message id='message1' to='stabber@localhost' from='buddy1@localhost/mobile' type='chat'>" "<body>Here's a message</body>" "</message>" ); assert_true(prof_output_exact("Here's a message")); stbbr_for_query("jabber:iq:version", "<iq id='*' type='result' lang='en' to='stabber@localhost/profanity' from='buddy1@localhost/mobile'>" "<query xmlns='jabber:iq:version'>" "<name>Profanity</name>" "<version>0.4.7dev.master.2cb2f83</version>" "</query>" "</iq>" ); prof_input("/software"); // assert_true(prof_output_exact("buddy1@localhost/mobile:")); // assert_true(prof_output_exact("Name : Profanity")); assert_true(prof_output_exact("Version : 0.4.7dev.master.2cb2f83")); }