Kaian
4f2bb67a12
Updated version to 0.2.1 in autotools files
2015-01-22 12:23:38 +01:00
Kaian
dc42b650d9
Improved Header syntax parsing
2015-01-16 17:13:35 +01:00
Kaian
ab169056cb
Improve the way raw panel is cleared
2015-01-16 16:13:02 +01:00
Kaian
86b756e5bc
Replaced color pair enums to represent color attributes
...
We lose what colors means, but we win how things will be showed on screen
2015-01-16 15:57:04 +01:00
Kaian
311d018bad
New message highlight options
2015-01-16 15:04:51 +01:00
Kaian
6f468a3f6d
Swapped C->c c->C keybindings
2015-01-16 15:01:07 +01:00
Kaian
382fb5fe1e
Toggle color modes and syntax from Call Raw panel
2015-01-16 14:58:26 +01:00
Kaian
08660cfa26
Message syntax highlighting
...
Based on sipcapture/sipgrep colorful output, configurable syntax by rsc file
Default values:
- set syntax on
- set syntax.branch off
- set syntax.tag off
2015-01-16 14:39:43 +01:00
Kaian
93277e0f99
Configurable initial display filter in call list
2015-01-16 11:39:48 +01:00
Kaian
0be62cbfca
Configurable usage of terminal defaults foreground/background
2015-01-14 20:39:25 +01:00
Kaian
651ed5d8f2
Change mode when capture has been temporally stopped
2015-01-14 12:46:23 +01:00
Kaian
94beb92407
Updated configuration and TODO files
2015-01-14 12:37:12 +01:00
Kaian
7e816b8f31
Fix tabgroup order in save pcap panel
2015-01-14 11:52:14 +01:00
Kaian
bbdad749ae
Check screen width when writing CallList lines
2015-01-14 11:50:48 +01:00
Kaian
1a062a0d2a
Improve payload storage in messages
...
We were storing payload three times:
- char *payloadptr
- char payload[256]
- inside pcap_packet
This commit amis to remove the payload array usage.
2015-01-14 11:08:17 +01:00
Kaian
1c4ea6eb2e
Improve background colors for some terminals
2015-01-14 09:42:33 +01:00
Kaian
e8ea50bea4
Reworked ui locks
...
- refresh_lock ensures panel stack won't change in protected section
- ui->lock ensures panel content won't change in protected section
Refresh lock should only be required when
1) A new panel is created (using ui_create)
2) Capture thread wants to know what is the topmost panel
Individual ui lock should be required when
1) Panel is being drawed
2) Panel is handling user actions
3) Panel is requested to check redraw with a new message
2015-01-13 19:58:04 +01:00
Kaian
92c88ea3cf
Remove Obsolete ui_replace logic
2015-01-13 18:36:11 +01:00
Kaian
d30e1c2879
Add a state attribute to track calls states
...
Like wireshark does in its VoIP calls dialog, track call state in one attribute.
Also add this column to CallList by default.
2015-01-13 17:25:44 +01:00
Kaian
c4ab94a883
Parse messages when captured
2015-01-13 16:26:44 +01:00
Kaian
2e53c21dea
Correct forward declaration for structs
2015-01-13 13:13:47 +01:00
Kaian
cfc5b5970c
Fixed segfault when no HOME variable exists
2015-01-13 12:41:28 +01:00
Kaian
d901d05769
Moved call list lock inside call list header structure
2015-01-13 12:41:01 +01:00
Kaian
51c5a993d6
Updated Call List with default columns widths
2015-01-12 19:42:57 +01:00
Kaian
f7276c0c7f
Move attributes logic to new source file
2015-01-12 18:27:37 +01:00
Kaian
f65ce0b809
Check topmost panels belongs to a UI before refreshing
2015-01-12 17:48:11 +01:00
Kaian
1712e8d4b7
Proper ui refresh locking
2015-01-12 17:29:31 +01:00
Kaian
e2d85cafe0
Fix call counter when destroying calls
2015-01-12 14:48:41 +01:00
Kaian
a0c00b0c64
Create a calls list header structure
...
This header structure improves adding new calls and counting current calls number.
There is no need to loop through all the list to get the last node anymore.
2015-01-12 14:30:10 +01:00
Kaian
cf055b1f93
Fix memory leaks while reading program options
2015-01-12 13:04:30 +01:00
Kaian
ce84bd7f24
Improve Capture limit check
...
Pcap handler should not be removed until program exits because we need that handler to save packets in another file.
Capture limit will be used to ignore packets insted of breaking packet capture loop. This way, capture can continue after limit has reached when clearing current calls.
2015-01-12 12:19:24 +01:00
Kaian
31e97db669
Remove call from calls list when destroyed
2015-01-12 11:58:49 +01:00
Kaian
568a6ba8b0
Removed unnecessary locking
...
UI replace can only be used due to user interaction.
All user interactions are already protected by refresh_lock
2015-01-12 11:24:47 +01:00
Kaian
a9118f4123
Remove unused variables
2015-01-12 11:24:14 +01:00
Kaian
46c0485fb3
CallFlow: Swap keybinding D -> d , d -> D
2015-01-09 12:09:46 +01:00
Kaian
1d8e348f2f
Fix Color by CSeq mode in Call Raw
...
Also improve message color selection. There is no need to store color by call anymore. Still, no color toggle while displaying raw.
2015-01-08 18:17:32 +01:00
Kaian
b9e0b37a8c
Properly close pcap handler
2015-01-08 17:45:19 +01:00
Kaian
a867fc3c1f
Fixed segfault when closing pcap while still capturing
2015-01-08 17:39:45 +01:00
Kaian
a1b2ff5d81
Move capture thread creation to a function
...
Also, wait to capture thread to finish when closing online capture
2015-01-08 17:32:49 +01:00
Kaian
5a8782bb10
Init interface before creating capture thread.
...
If first SIP message request UI update while initscr is initializating
ncurses, panel_below will segfault.
2015-01-08 17:11:14 +01:00
Kaian
b4e103bfa5
Fix segfault when clearing Call List
...
If a Call List is being cleared while a new message request interface refresh
the draw funtion may loop through a list that is being actually destroyed.
User action processing is now wrapped around refresh_lock that guarantees the ui
will not be updated while the key is processed.
2015-01-08 16:01:17 +01:00
Kaian
3d2b539ff8
Fix Color by CSeq mode in Call Flow
2015-01-07 19:48:44 +01:00
Kaian
41a2fab546
Remove debian packaging files
2015-01-07 19:14:32 +01:00
Kaian
f74ea2a344
Updated Autotools files
2015-01-07 14:33:39 +01:00
Kaian
8e0d3f312e
Fixed multiple typos
...
* insted -> instead
* writting -> writing
2015-01-07 13:30:56 +01:00
Kaian
6b4105c9ae
Added man page
2015-01-07 13:30:12 +01:00
Kaian
40d99300a7
Updating README with wiki links
2014-12-10 11:26:25 +01:00
ialonso
b2afc526b3
Changes for fulfill debian policy
2014-12-05 14:26:30 +01:00
Kaian
f546a6ea34
Added changelog and version numbers for 0.2.0 release
2014-12-04 20:39:04 +01:00
Kaian
e43231e47f
Add libssl optional dependency to README
2014-12-04 20:30:16 +01:00