about summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Show resource in titlebar and on each messageJames Booth2015-01-101-1/+1
| | |
* | | Added tests for clearing chat sessions on lost connectionJames Booth2015-01-106-4/+32
| | |
* | | Added test to ensure chat sessions cleared on cmd_disconnectJames Booth2015-01-106-1/+46
| | |
* | | Fixed chat session testsJames Booth2015-01-104-188/+35
| | |
* | | Added offline handler for chat sessionsJames Booth2015-01-065-2/+73
| | |
* | | Fixed testsJames Booth2015-01-062-6/+2
| | |
* | | Added chat session testsJames Booth2015-01-065-0/+186
| | |
* | | Merge branch 'master' into chat-sessionsJames Booth2015-01-061-26/+78
|\ \ \ | | |/ | |/|
| * | Fixed assert fail messages in testsJames Booth2015-01-061-26/+78
| |/
* | Fixed chat sessions testJames Booth2015-01-051-3/+2
| |
* | Refactored chat session handling on sending messageJames Booth2015-01-043-9/+5
| |
* | Use resource in chat sessionsJames Booth2015-01-041-1/+2
|/
* Use events for chat sessionsJames Booth2014-12-292-3/+3
|
* Fixed chat state for non OTRJames Booth2014-12-281-1/+1
|
* Moved chat states out of xmpp module for message send chatJames Booth2014-12-272-1/+6
|
* Removed old mocksJames Booth2014-12-259-1652/+0
|
* Added server_event testsJames Booth2014-12-253-29/+47
|
* Added roster_list testsJames Booth2014-12-251-2/+1
|
* Added preferences testsJames Booth2014-12-251-1/+2
|
* Added parser testsJames Booth2014-12-251-1/+1
|
* Added muc testsJames Booth2014-12-251-2/+2
|
* Added jid testsJames Booth2014-12-251-1/+1
|
* Added history testsJames Booth2014-12-251-1/+2
|
* Added form testsJames Booth2014-12-253-114/+1
|
* Added contact testsJames Booth2014-12-251-2/+0
|
* Added common testsJames Booth2014-12-251-2/+1
|
* Added cmd_win testsJames Booth2014-12-253-5/+11
|
* Added cmd_sub testsJames Booth2014-12-252-7/+5
|
* Added cmd_statuses testsJames Booth2014-12-252-15/+3
|
* Added cmd_roster testsJames Booth2014-12-244-42/+67
|
* Added cmd_rooms testsJames Booth2014-12-243-17/+18
|
* Added cmd_otr testsJames Booth2014-12-246-98/+224
|
* Added cmd_join testsJames Booth2014-12-243-35/+45
|
* Added cmd_connect testsJames Booth2014-12-247-115/+131
|
* Added cmd_bookmark testsJames Booth2014-12-244-55/+94
|
* Added cmd_alias testsJames Booth2014-12-243-15/+10
|
* Added autocomplete testsJames Booth2014-12-241-2/+2
|
* Refactored all cmd_account testsJames Booth2014-12-245-338/+257
|
* Refactoring cmd_account testsJames Booth2014-12-243-51/+11
|
* Refactoring cmd_account testsJames Booth2014-12-244-43/+35
|
* Use will_return instead of mock valuesJames Booth2014-12-2310-122/+27
|
* cmd_account_shows_account_when_connected_and_no_argsJames Booth2014-12-2310-14/+73
|
* Added stubbed implementationsJames Booth2014-12-2311-6/+764
|
* Fixed testsJames Booth2014-12-204-5/+32
|
* Refactored all window recipients and typesJames Booth2014-12-204-28/+7
| | | | Tests need fixing
* Moved roster functionsJames Booth2014-12-163-5/+5
|
* Refactored parsing capsJames Booth2014-11-263-0/+22
|
* Renamed roster autocomplete functionsJames Booth2014-11-221-14/+14
|
* Fixed broken testJames Booth2014-11-133-0/+13
|
* Fixed various memory leaksJames Booth2014-11-011-3/+15
|
="p">> <span class="Comment"># CLOCK_MONOTONIC</span> <span id="L10" class="LineNr">10 </span> <span class="PreProc">var</span> t-addr/<span class="Constant">ecx</span>: (addr <a href='401time.mu.html#L1'>timespec</a>) <span class="SpecialChar">&lt;-</span> address t <span id="L11" class="LineNr">11 </span> syscall_clock_gettime <span id="L12" class="LineNr">12 </span> <span class="PreProc">var</span> t-secs-addr/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='131table.subx.html#L26'>get</a> t-addr, tv_sec <span id="L13" class="LineNr">13 </span> secs <span class="SpecialChar">&lt;-</span> copy *t-secs-addr <span id="L14" class="LineNr">14 </span><span class="Delimiter">}</span> <span id="L15" class="LineNr">15 </span> <span id="L16" class="LineNr">16 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='401time.mu.html#L16'>ntime</a></span><span class="PreProc"> -&gt; </span>nsecs/<span class="Constant">eax</span>: int <span class="Delimiter">{</span> <span id="L17" class="LineNr">17 </span> <span class="PreProc">var</span> t: <a href='401time.mu.html#L1'>timespec</a> <span id="L18" class="LineNr">18 </span> <span class="PreProc">var</span> clock/<span class="Constant">ebx</span>: int <span class="SpecialChar">&lt;-</span> copy <span class="Constant">0</span> <span class="Comment"># CLOCK_MONOTONIC</span> <span id="L19" class="LineNr">19 </span> <span class="PreProc">var</span> t-addr/<span class="Constant">ecx</span>: (addr <a href='401time.mu.html#L1'>timespec</a>) <span class="SpecialChar">&lt;-</span> address t <span id="L20" class="LineNr">20 </span> syscall_clock_gettime <span id="L21" class="LineNr">21 </span> <span class="PreProc">var</span> t-nsecs-addr/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='131table.subx.html#L26'>get</a> t-addr, tv_nsec <span id="L22" class="LineNr">22 </span> nsecs <span class="SpecialChar">&lt;-</span> copy *t-nsecs-addr <span id="L23" class="LineNr">23 </span><span class="Delimiter">}</span> <span id="L24" class="LineNr">24 </span> <span id="L25" class="LineNr">25 </span><span class="Comment"># nsecs must be less than 999999999 or 0x3b9ac9ff nanoseconds</span> <span id="L26" class="LineNr">26 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='401time.mu.html#L26'>sleep</a></span> secs: int, nsecs: int <span class="Delimiter">{</span> <span id="L27" class="LineNr">27 </span> <span class="PreProc">var</span> t: <a href='401time.mu.html#L1'>timespec</a> <span id="L28" class="LineNr">28 </span> <span class="Comment"># initialize t</span> <span id="L29" class="LineNr">29 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='131table.subx.html#L26'>get</a> t, tv_sec <span id="L30" class="LineNr">30 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">ecx</span>: int <span class="SpecialChar">&lt;-</span> copy secs <span id="L31" class="LineNr">31 </span> copy-to *tmp, tmp2 <span id="L32" class="LineNr">32 </span> tmp <span class="SpecialChar">&lt;-</span> <a href='131table.subx.html#L26'>get</a> t, tv_nsec <span id="L33" class="LineNr">33 </span> tmp2 <span class="SpecialChar">&lt;-</span> copy nsecs <span id="L34" class="LineNr">34 </span> copy-to *tmp, tmp2 <span id="L35" class="LineNr">35 </span> <span class="Comment"># perform the syscall</span> <span id="L36" class="LineNr">36 </span> <span class="PreProc">var</span> t-addr/<span class="Constant">ebx</span>: (addr <a href='401time.mu.html#L1'>timespec</a>) <span class="SpecialChar">&lt;-</span> address t <span id="L37" class="LineNr">37 </span> <span class="PreProc">var</span> rem-addr/<span class="Constant">ecx</span>: (addr <a href='401time.mu.html#L1'>timespec</a>) <span class="SpecialChar">&lt;-</span> copy <span class="Constant">0</span> <span id="L38" class="LineNr">38 </span> syscall_nanosleep <span id="L39" class="LineNr">39 </span><span class="Delimiter">}</span> </pre> </body> </html> <!-- vim: set foldmethod=manual : -->