Commit Graph
75 Commits
Author SHA1 Message Date
Robert Schmidt abf04db97b Allow to use cmake to generate T tracer programs
- Add CMakeLists.txt to build all T tracer user tools
- Previous Makefiles are retained in common/utils/T: you can do
  $ cd common/utils/T/tracer
  $ make # all executables are there
  or also
  $ mkdir build && cd build
  $ cmake .. -GNinja
  $ ninja T_tools # all executables are in build/common/utils/T/tracer
2023-07-13 10:29:33 +02:00
Cedric Roux 8a2a5015e6 T tracer tools: fix memory leaks, clang warnings
- Fix memory leaks detected by ASan
- Initialize variables that are flagged by compiler
- C struct initializer: x:y needs to be .x=y
2023-07-13 10:29:33 +02:00
Cedric Roux b937983449 T: minor fix: ensure printing is inside the widget 2019-04-03 12:27:31 +02:00
Raphael Defosseux 9aab83c509 Fixing a few last cppcheck errors/warnings
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-02-19 17:42:27 +01:00
frtabu 824d2b478a new set of cppcheck fixes 2019-02-12 10:12:07 +01:00
Louis Adrien Dufrene c194956da3 RRC timer thres removed from UE context and added to eNB RRC context, value 0 of thres equivalent to infinity 2018-11-20 14:15:50 +01:00
Louis Adrien Dufrene 700437f184 astyle applied 2018-11-16 08:49:28 +01:00
Louis Adrien Dufrene a073e84369 Merge remote-tracking branch 'eurecom_gitlab/develop' into DRX_develop 2018-10-23 08:00:00 +02:00
Cedric Roux b8093f509e T tracer: fix problem with some displays
This commit attempts to fix the error:
    no good visual found
2018-08-30 14:25:20 +02:00
Louis Adrien Dufrene c12e3234b0 modification of tracer/gui/x.c for T tracer to work on screen 2018-08-28 14:03:37 +02:00
bruno mongazon b016bc229a fixed #320 issue 2018-06-25 18:23:36 +02:00
Cedric Roux 5b6a83fc7f T: some work on XY plot
- change paint function:
  when the XY plot is resized we scale. Previously
  the last range was put in the middle of the new range
  (say when we increase the size).
  We may get aspect ratio changes if the resize is not identical
  vertically and horizontally, but I think this behaviour is more
  'natural'.
- fix a bug:
  the last horizontal tick label was printed to far on the right,
  out of the bouding box of the XY plot. This is not totally fixed
  in the case the label is larger than the XY plot. Now the part
  out of the bounding box will be printed on the left. No big deal,
  make the plot big enough. (Before, even if big enough you had a
  problem.)
- add a new vertical tick display, to be used for throughput mostly.
  See in enb.c the difference between 'input signal' and throughput
  plots (those throughput plots will come in later commits).
2016-12-05 17:37:22 +01:00
Cedric Roux bff8e40d00 T: add widget 'textarea'
It's like a label but with fixed dimensions and maximum
characters' capacity at creation time.
2016-12-05 17:30:13 +01:00
Cedric Roux 53ccc0e7ad T: minor bugfix - bad argument type in log 2016-12-01 13:15:34 +01:00
Cedric Roux cbc2164e50 T: bugfix: vertical tick was off by 1 pixel
The problem was visible when DL MCS was set to 20
(do a ping -c 192.172.0.1 -i0.2 to get it). The dots
were not plotted at the exact line of the tick mark.

Not sure the fix is always correct.

No big deal anyway.
2016-11-30 18:01:17 +01:00
Cedric Roux 484cad2431 T: add function xy_plot_set_title 2016-11-25 17:17:39 +01:00
Cedric Roux 8eeebdaf98 T: add function label_set_text 2016-11-25 17:17:16 +01:00
Cedric Roux d62de525eb scroll by one line in textlist
to scroll by only one line, hold CONTROL key and scroll with
mouse wheel
2016-07-27 13:05:46 +02:00
Cedric Roux 57240cc03b switch to utf-8 2016-06-09 17:33:43 +02:00
Cedric Roux daf9f16b9b minor: gui/image.c did include string.h 2016-06-04 23:23:19 +02:00
Cedric Roux 187e7906cb use Xft to draw strings 2016-05-25 10:30:25 +02:00
Cedric Roux b36c45b20d minor: gui/image.c log paint 2016-05-24 16:25:49 +02:00
Cedric Roux d08a2b1a60 image widget
many assumptions about X backed were made, to be refined if does not
work properly in some setups
2016-05-24 15:38:44 +02:00
Cedric Roux 50c00218c7 space widget, to add some space in the gui 2016-05-23 16:18:00 +02:00
Cedric Roux 34e3945249 bugfix - one needs to translate to local coordinates 2016-05-19 17:23:28 +02:00
Cedric Roux e4fd229641 gui/timeline.c click event 2016-05-19 16:00:10 +02:00
Cedric Roux 5c5f54709c gui/timeline.c scroll up/down event to include x, y, key_modifiers 2016-05-19 15:47:40 +02:00
Cedric Roux 4511fe7778 add key modifiers to button event 2016-05-19 15:28:28 +02:00
Cedric Roux 2e7ab60d70 zoom in/out in timeline 2016-05-17 16:18:29 +02:00
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 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 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 70ebbd7e19 new function xy_plot_get_dimensions 2016-05-11 15:34:44 +02:00
Cedric Roux 24af122475 bugfix: calloc may fail 2016-05-10 11:19:56 +02:00
Cedric Roux b04a448b62 bugfix: calloc arguments' wrong order 2016-05-10 10:01:45 +02:00
Cedric Roux 32b2264fbd support multiple plot per xy_plot 2016-05-09 12:13:18 +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 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 0d0756c0c9 typo 2016-05-03 16:33:50 +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 23ec84ef6b option -debug-gui to textlog 2016-05-02 12:09:45 +02:00
Cedric Roux 3a622778e5 basic event compression 2016-05-02 11:26:54 +02:00