Commit Graph
592 Commits
Author SHA1 Message Date
Cedric Roux f49489a632 add _silent functions for gui/timeline.c, the way view/time.c uses it
requires those optimizations
2016-05-15 23:15:06 +02:00
Cedric Roux 0cf4738d70 time view, not tested at all 2016-05-13 19:00:21 +02:00
Cedric Roux ee62356349 new function timeline_get_width 2016-05-13 15:29:08 +02:00
Cedric Roux 48f0c341a1 maybe bugfix, maybe useless: return wanted size if allocated size
is zero in get_dimensions for xy_plot
2016-05-13 15:27:23 +02:00
Cedric Roux 69f14c37fa timelog 2016-05-12 17:26:42 +02:00
Cedric Roux 944dad4caa GUI timeline widget 2016-05-12 17:03:07 +02:00
Cedric Roux 52fae6a830 minor "typo" 2016-05-12 15:18:35 +02:00
Cedric Roux 2eb0d4c90f add time to textlog if available 2016-05-12 15:12:21 +02:00
Cedric Roux df5afaa93d store received time in events for later processing 2016-05-12 13:00:19 +02:00
Cedric Roux e5689a5bd1 introducing a generic logger "class" 2016-05-12 10:59:59 +02:00
Cedric Roux d8ec913bcd minor bugfix - forgot an ifdef 2016-05-11 18:33:40 +02:00
Cedric Roux 1261ae753a update remote_old.c to deal with time in events 2016-05-11 18:32:54 +02:00
Cedric Roux aacb2ff7c2 send time in events
this calls clock_gettime for each active T macro, hopefully it
does not eat too much CPU

can be deactivated by commenting one line in T_defs.h
2016-05-11 18:26:30 +02:00
Cedric Roux db4882857b TTI view 2016-05-11 15:39:09 +02:00
Cedric Roux 43f99ff6fc convert to dB in ttilog if requested 2016-05-11 15:35:44 +02:00
Cedric Roux 70ebbd7e19 new function xy_plot_get_dimensions 2016-05-11 15:34:44 +02:00
Cedric Roux 029adbf368 bugfix: forget to break and all gets heck! 2016-05-10 11:21:40 +02:00
Cedric Roux 24af122475 bugfix: calloc may fail 2016-05-10 11:19:56 +02:00
Cedric Roux 724b6622dd TTI logger 2016-05-10 10:29:04 +02:00
Cedric Roux b04a448b62 bugfix: calloc arguments' wrong order 2016-05-10 10:01:45 +02:00
Cedric Roux 497c64a964 XY view 2016-05-09 18:26:03 +02:00
Cedric Roux 8195e42d75 preliminary work on frame logger
not tested
2016-05-09 16:38:08 +02:00
Cedric Roux 32b2264fbd support multiple plot per xy_plot 2016-05-09 12:13:18 +02:00
Cedric Roux 277ddb139d middle button to toggle event reception in event selector window 2016-05-04 17:54:00 +02:00
Cedric Roux 16e17d346f positioner widget - the child is positioned in the middle, does not grow 2016-05-04 17:27:32 +02:00
Cedric Roux a74f865917 more logical handling of x/y in button events
click at x/y refers to the toplevel window and the widget knows
its own x/y position, so let's keep the x/y of the click as is
and let the down widget handle translation by itself

something like that
2016-05-04 17:13:38 +02:00
Cedric Roux e299a7e4d3 bugfix - it may be that the container has only one child when we delete it 2016-05-04 16:04:16 +02:00
Cedric Roux 8f50b77e30 make label clickable (the user has to ask for it, it's non-clickable by default) 2016-05-04 15:56:06 +02:00
Cedric Roux d4a4bba32e minor fix - remove unused variable 2016-05-04 15:55:24 +02:00
Cedric Roux deefb1854f delete children widget 2016-05-04 15:21:52 +02:00
Cedric Roux 87acde28f7 - change group names in T_messages.txt for legacy logs
- add group ALL
2016-05-04 11:28:32 +02:00
Cedric Roux 185e6a4e1e warn when memory usage of local tracer grows too much 2016-05-04 11:18:09 +02:00
Cedric Roux d4f5ab7745 clarify "pos" in database.c
the list of IDs is stored alphabetically so when accessing the database
with an ID one needs an indirection to get the correct record.
"pos" was not clear. "id_to_pos" is clearer.
2016-05-04 10:48:12 +02:00
Cedric Roux e54f87a00e bugfix: forgot malloc return check 2016-05-04 10:38:11 +02:00
Cedric Roux 8cca28b3e7 put textlog.[ch] in logger/ and rename remote.c to textlog.c 2016-05-04 10:31:42 +02:00
Cedric Roux 1dea159028 gui "text_list" becomes "textlist"
view "textlist" becomes "view_textlist" (this one may change at some
point)
2016-05-04 10:09:33 +02:00
Cedric Roux 4d7440bfcf add more locks in view/textlist.c
no deadlock should be possible as of the current state of
things. When the textlist's lock is set the GUI lock is
never on.

Let's cross fingers that things don't change crazily in
the future...
2016-05-03 16:40:53 +02:00
Cedric Roux 0d0756c0c9 typo 2016-05-03 16:33:50 +02:00
Cedric Roux d45551dda1 deal with scroll in text list 2016-05-02 16:56:38 +02:00
Cedric Roux f0d32a8611 smaller event selector window 2016-05-02 16:55:17 +02:00
Cedric Roux 98c46f70f7 add a very basic tracee to ease debugging of the tracer 2016-05-02 14:51:12 +02:00
Cedric Roux 66f03d3978 change the textlog window color and size 2016-05-02 14:39:12 +02:00
Cedric Roux 042f284bc2 introduce widget_dirty - not only text list might want the optimization 2016-05-02 14:33:07 +02:00
Cedric Roux ca3a05a592 optimize text list view
when too much data has been sent to the text list view, way too much
GUI processing is done, let's batch-process the changes and then tell
the GUI that something has changed
2016-05-02 14:26:16 +02:00
Cedric Roux d3997824fc add option -no-gui to disable GUI entirely for textlog
(no more event selector)
2016-05-02 12:16:22 +02:00
Cedric Roux 23ec84ef6b option -debug-gui to textlog 2016-05-02 12:09:45 +02:00
Cedric Roux 629eb51151 trying other colors in event selector 2016-05-02 11:57:01 +02:00
Cedric Roux 3a622778e5 basic event compression 2016-05-02 11:26:54 +02:00
Cedric Roux e4e4647345 cleanup logging in the GUI 2016-05-02 09:47:30 +02:00
Cedric Roux c3e59b16b3 some work on event selector 2016-05-01 22:43:36 +02:00