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
Cedric Roux
e6d5f22c8b
add message 1 to the T
...
This message sends configuration for all events.
2016-05-01 22:39:23 +02:00
Cedric Roux
d079dadb95
changing the growable attribute of a child requires a repack, not
...
just "dirty"
2016-05-01 17:36:24 +02:00
Cedric Roux
68106e4a35
start working on the event selector window
2016-05-01 14:16:50 +02:00
Cedric Roux
bd50539fda
Revert "instrument X using gcc's -finstrument-functions"
...
This reverts commit 4911b107da .
The idea was to keep the stuff in the git history.
2016-05-01 14:13:15 +02:00
Cedric Roux
4911b107da
instrument X using gcc's -finstrument-functions
...
used to debug locking
2016-05-01 14:10:59 +02:00
Cedric Roux
951882adaa
redraw window when receiving MapNotify (not sure if correct)
2016-05-01 14:09:20 +02:00
Cedric Roux
6ffa65f1d2
get rid of X locks, there were missing glock/gunlock here and there
2016-05-01 14:06:20 +02:00
Cedric Roux
9463903d3a
typo fix
2016-05-01 12:56:22 +02:00
Cedric Roux
018da05897
container deals with growable children
2016-04-29 20:10:19 +02:00
Cedric Roux
69e2a15e31
prepare container to deal with growable children
2016-04-29 19:40:31 +02:00
Cedric Roux
53fd31ef53
bugfix: hints are not valid anymore after adding a child to a container
2016-04-29 18:46:43 +02:00
Cedric Roux
88bef83d8b
X threading handling
2016-04-29 18:29:04 +02:00
Cedric Roux
3bba991e77
some work on text list
2016-04-29 17:04:53 +02:00
Cedric Roux
2fb9ec7d54
background and foreground colors are first class citizens!
2016-04-29 15:53:13 +02:00
Cedric Roux
f2195ba4e3
notification system (from user input to application basically)
2016-04-29 15:51:44 +02:00
Cedric Roux
e742718c2d
handle button press/release
...
first version, to be finished
2016-04-28 17:10:55 +02:00
Cedric Roux
2df85ee84a
cleanup
2016-04-28 16:36:03 +02:00
Cedric Roux
c9f51868e2
add x_draw_clipped_string and use it in the text_list gui
2016-04-28 15:50:04 +02:00
Cedric Roux
ca945b53de
first version of textlog with GUI
...
introducing generic "view" with two instantiations: stdout and textlist
2016-04-28 15:02:01 +02:00
Cedric Roux
29859bb930
-r option becomes -p, it's more "natural"
2016-04-28 14:58:56 +02:00
Cedric Roux
7283168ffd
-l option renamed -r, it's more "natural"
...
plus there is a default now
2016-04-28 14:54:51 +02:00
Cedric Roux
624aba07dd
new function text_list_del
2016-04-28 14:54:14 +02:00
Cedric Roux
f8733535c9
cleanup
2016-04-27 18:31:55 +02:00
Cedric Roux
e15a809458
first version of a textlog remote logger
2016-04-27 18:31:34 +02:00
Cedric Roux
dca2143b04
add some functions in database.c
2016-04-27 18:29:17 +02:00
Cedric Roux
7dbb2b8c3f
id management / bug fixes in database
2016-04-27 14:10:47 +02:00
Cedric Roux
f0a704145b
add get_format to database
2016-04-27 12:13:53 +02:00
Cedric Roux
8e7ee86cc9
remote.c becomes remote_old.c
2016-04-27 11:47:35 +02:00
Cedric Roux
7ef7fdfa4a
create database.h, all in defs.h is messy
2016-04-27 11:32:13 +02:00