Commit Graph

775 Commits

Author SHA1 Message Date
Kaian
69aa24e3e2 sort: fix autoscroll when sort is descending 2016-02-22 11:42:34 +01:00
Kaian
420fa60da9 sort: remember the selected list line
This can result in some unexpected behaviours if the list has been
loaded without user interaction. The first selected dialog could not
be the first of the list after loading a file if sort order is
descending.
2016-02-21 20:46:14 +01:00
Kaian
027211d70d sort: set call index before adding to the list 2016-02-21 20:40:29 +01:00
Kaian
c07b0bd29a sip: append calls after having at least one message 2016-02-21 20:11:24 +01:00
Kaian
ae3d742341 cl: implement basic column sorting 2016-02-21 20:06:49 +01:00
Kaian
ae78918184 Merge branch 'master' into redraw_required 2016-02-21 14:34:41 +01:00
Kaian
0d0e237b1f cl: fix autocroll with empty call list 2016-02-21 14:34:19 +01:00
Kaian
40c1ac8bac cs: use new scrollbar functions 2016-02-21 14:34:19 +01:00
Kaian
d5ff9bebd2 cl: fix autocroll with empty call list 2016-02-21 14:33:47 +01:00
Kaian
0c9c3b1cde cs: use new scrollbar functions 2016-02-21 14:18:31 +01:00
Kaian
88f4b478ea Merge branch 'master' into redraw_required 2016-02-21 13:50:09 +01:00
Kaian
fbcfd56a61 cl: change counter dialog if only calls are captured 2016-02-21 13:49:57 +01:00
Kaian
1712318749 cr: only redraw when call group has changed 2016-02-21 13:43:27 +01:00
Kaian
f37d41f51f cf: only redraw when call group has changed 2016-02-21 13:36:07 +01:00
Kaian
19e7a4dda7 cf: only redraw when call group has changed 2016-02-21 13:32:28 +01:00
Kaian
b5b2799aa1 cl: only redraw when list has changed 2016-02-21 13:17:32 +01:00
Kaian
1ea6baa44c doc: update curses header comments 2016-02-21 12:40:59 +01:00
Kaian
ccc53bbaa3 cf: make RTP arrows striped 2016-02-21 11:48:53 +01:00
Kaian
8e9969659b cf: allow hiding raw preview again 2016-02-20 20:15:05 +01:00
Kaian
d71dc0c346 cf: fix scrollbar length 2016-02-20 20:11:32 +01:00
Kaian
8ae458254a dialog: fix action initialization 2016-02-20 19:49:07 +01:00
Kaian
b795b67334 keyhandlers: return KEY_HANDLED/KEY_NOT_HANDLED 2016-02-20 19:28:42 +01:00
Kaian
a935290cb1 Merge branch 'master' into experimental 2016-02-20 18:53:49 +01:00
Kaian
2dcf99abb8 Merge pull request #99 from jmillan/key_propagation
Keystroke propagation to previous panel/s
2016-02-20 17:59:54 +01:00
José Luis Millán
ace786476f Keystroke popagation: properly manage key handler return codes
The following return codes can be get from key handlers:
 - KEY_HANDLED
 - KEY_PROPAGATED
 - key to be handled by default handler

Previous implementation invalidated the third one
2016-02-19 18:41:09 +01:00
José Luis Millán
5bdd5fc9ef Keystroke propagation: redraw panels only if necessary
- Make panel key handlers return '-1' instead of '-2' if propagation needed
- Define key handlers return types: KEY_HANDLED (0), KEY_PROPAGATED (-1)
- Describe the feature in panel help
2016-02-19 07:44:58 +01:00
Kaian
2ade54c93f Merge pull request #100 from jmillan/clearcalls_by_Ctrl-L
Keybindings: add Ctrl-L binding to 'clearcalls' action
2016-02-18 16:48:51 +01:00
José Luis Millán
463de37b38 Keybindings: add Ctrl-L binding to 'clearcalls' action 2016-02-18 12:37:11 +01:00
José Luis Millán
3ae702f211 Keystroke propagation to previous panel/s
The motivation of this feature is being able to run an action which is not
handled (or is only partially handled) by the current panel. After
handling the key on the current panel, this is destroyed by the ui_manager
and the key is passed to the previous panel. This can be done recursively until
the last panel is reached.

A clear use case is the ability to invoke ACTION_CLEAR_CALLS action from any of
'call_list', 'call_flow', or 'call_raw' with a single keystroke.
2016-02-18 10:23:15 +01:00
Kaian
173bd1e63c Merge branch 'master' into experimental 2016-02-15 17:24:39 +01:00
Kaian
14b7da1ef9 dialog: implement action keybindings #97 2016-02-15 17:15:29 +01:00
Kaian
e3a64dc950 cf: fix RTP arrows display crash 2016-02-15 12:20:19 +01:00
Kaian
eff316a94a Merge pull request #96 from jmillan/master
Keybindings: swap 'j' and 'k' keys
2016-02-11 16:18:42 +01:00
José Luis Millán
40aa69289d Keybindings: swap 'j' and 'k' keys
use 'j' as KEY_DOWN and 'k' as KEY_UP
2016-02-11 13:47:37 +01:00
Kaian
2fa203779f cf: reimplement scrollbar and current selection 2016-02-05 18:19:17 +01:00
Kaian
f106a75710 cl: fix autoscroll with new scrollbar 2016-02-05 13:43:26 +01:00
Kaian
e60432b452 cl: add X keybinding for search xcall 2016-02-05 13:08:14 +01:00
Kaian
f74b1b430f cl: reimplement scrollbar and current selection 2016-02-05 12:58:18 +01:00
Kaian
4644decfa7 sip: refactor total/displayed dialogs functions 2016-02-04 19:42:53 +01:00
Kaian
f115522e8d UI: more ui refactoring 2016-02-04 18:21:26 +01:00
Kaian
8223091431 Interface: UI structure rework 2016-02-04 16:28:11 +01:00
Kaian
aad9bb19bf Merge branch 'master' into experimental 2016-02-04 13:01:04 +01:00
Kaian
b1f3f722b4 Fix compilation errors on DragonFlyBSD. #92 2016-02-03 19:43:35 +01:00
Kaian
d7e6e157de EEP: Fix compilation warnings in FreeBSD. Fixes #91 2016-02-03 11:25:01 +01:00
Kaian
91f654ea8d IPv6: refactor address containers 2016-02-02 18:19:22 +01:00
Kaian
cd8c50646b Merge branch 'master' into experimental 2016-02-02 11:40:35 +01:00
Kaian
eb2bfd2b57 Welcome to 2016! Fixes #90 2016-02-02 11:34:15 +01:00
Kaian
0204663634 Capture: properly fix VSS ethernet trailer. Fixes #87 2016-02-02 11:34:02 +01:00
Kaian
d62ceeb684 Improve TCP parsing after reassembly Fixes #85
Added a new fuction sip_validate_packet that check the packet
payload contais a full SIP message.

This is done by validating the first line format of the payload,
checking the Content-Length header, and checking if we have the
same length int body part of the packet.

This function will only invoked for TCP packet after reassembly
and seems more reliable than checking the TCP_PSH flag of the
packets.
2016-02-02 11:33:41 +01:00
Kaian
18a664d8bb Media: Fixed a crash with media type 'application' 2016-02-01 13:13:36 +01:00