Commit Graph

295 Commits

Author SHA1 Message Date
7fbe8ee3a8 libsysprof-ui: hook up zoom-manager to visualizers 2019-05-29 15:13:00 -07:00
0b4510c027 libsysprof-ui: add label helper 2019-05-29 15:13:00 -07:00
762af31908 libsysprof-ui: whitespace 2019-05-29 15:13:00 -07:00
d45d950b0c libsysprof-ui: tweak title 2019-05-29 15:13:00 -07:00
dc1abc0674 libsysprof-ui: add timing information 2019-05-29 15:13:00 -07:00
f47041b7d7 libsysprof-ui: tweak columns and treeview 2019-05-29 15:13:00 -07:00
f199a7028f libsysprof-ui: add text property 2019-05-29 15:13:00 -07:00
cf884739f5 libsysprof-ui: setup marks reader 2019-05-29 15:13:00 -07:00
c3ad0051ff libsysprof-ui: load counters if we discover the feature 2019-05-29 15:13:00 -07:00
af6c392ecc libsysprof-ui: whitespace cleanup 2019-05-29 15:13:00 -07:00
300461ab5d libsysprof-ui: start on capture view
This widget is going to allow us to remove most of SysprofWindow into a
reusable widget tos hare with Builder.
2019-05-29 15:13:00 -07:00
9d05c38303 libsysprof-ui: tweak drawing of boxes 2019-05-29 15:13:00 -07:00
4af22435db libsysprof-ui: improve marks drawing a bit 2019-05-29 15:13:00 -07:00
6083e98aff add string.h 2019-05-29 15:13:00 -07:00
00d910dc80 libsysprof-ui: start rendering mark data 2019-05-29 15:13:00 -07:00
0165005077 libsysprof-ui: add various columns 2019-05-29 15:13:00 -07:00
950aef3c79 libsysprof-ui: fix transfer ownership 2019-05-29 15:13:00 -07:00
dce2eafee4 libsysprof-ui: fix private type 2019-05-29 15:13:00 -07:00
364f35a7fb wire up marks reader 2019-05-29 15:13:00 -07:00
2a8ffea841 libsysprof-ui: stub out model 2019-05-29 15:13:00 -07:00
7d1570a92f libsysprof-ui: include config 2019-05-29 15:13:00 -07:00
afe08aa511 libsysprof-ui: use proper unref 2019-05-29 15:13:00 -07:00
3c644c245d libsysprof-ui: stub out marks view 2019-05-29 15:13:00 -07:00
b88a54353c libsysprof-ui: use stripblanks 2019-05-29 15:13:00 -07:00
907064583f libsysprof-ui: dont reload if the listbox is not visible 2019-05-29 15:13:00 -07:00
d7014ac4e8 libsysprof-ui: reload process model when not in whole-system 2019-05-29 15:13:00 -07:00
a10b7759af libsysprof-ui: whitespace 2019-05-29 15:13:00 -07:00
4915ede4b2 libsysprof: whitespace 2019-05-29 15:13:00 -07:00
f9152e8dde libsysprof-ui: whitespace 2019-05-29 15:13:00 -07:00
d6266e54b1 fix gsetting name 2019-05-29 15:13:00 -07:00
59917c3e15 build: remove sysprof2 references 2019-05-29 15:13:00 -07:00
623d7ad027 build: cleanup dependency checking
We always require polkit now, so that we can fallback when we fail to
communicate with the peer.
2019-05-29 15:13:00 -07:00
44e06da7ec libsysprof-ui: check for NULL 2019-05-29 15:13:00 -07:00
1d62916295 libsysprof-ui: use flatpak-spawn when necessary 2019-05-29 15:13:00 -07:00
1bd0107c54 build: fix various includes for older GCC 2019-05-29 15:13:00 -07:00
88a689ade1 libsysprof-ui: fixup whitespace in headers 2019-05-29 15:12:59 -07:00
a6e061f5b1 libsysprof-ui: add inside guards
Like the previous, but for libsysprof-ui.
2019-05-29 15:12:59 -07:00
7ea6ca43ec libsysprof: add inside guards to prevent stray includes
This requires that things use #include <sysprof.h> now instead
of individual includes. A few cases are still allowed in the
libsysprof-capture library to make copy/paste embedding easier.
2019-05-29 15:12:59 -07:00
219b48f668 ui: fix various css/ui includes 2019-05-29 15:12:59 -07:00
53c718b708 build: rename all symbols to use sysprof_ as prefix
As we gain in usage, we need to be more careful about using a prefix
that will not collide with other symbols. So version 3 of our ABI will
change to using Sysprof/SYSPROF/sysprof as the various prefixes.

The soname/api version bump will happen later on this branch so that
things are easier to test up until then.
2019-05-29 15:12:59 -07:00
4821883bfa libsysprof-ui: use symbol versioning macros 2019-05-29 15:12:59 -07:00
8b88bfe693 libsysprof: add versioning macros
This also moves stackstash.[ch] into a location that can be
embedded by both the libsysprof and libsysprof-ui code. We
pass native pointers to the structure as a gpointer in the
public API to allow for this. The performance of that code is
incredibly sensitive to the interactivity of Sysprof.
2019-05-29 15:12:59 -07:00
1c6741bdc6 libsysprof-ui: set inside guards 2019-05-29 15:12:59 -07:00
63bcfc2b0e build: various build fixes for macOS
This doesn't make profiling useful in any way, but it does get things
to the point where I can actually open a capture file. And it would
be nice if we could progress to the point of loading capture files
(with correct data in-tact) and this helps us move down that path.

To really do that correctly, we should make some of the widgetry
disabled when it isn't useful. We also need to ensure that we add extra
decoding information to capture files during shutdown so that any
platform can read it back. This would also help the situation of
running and reading on separate architectures.
2019-05-29 15:12:59 -07:00
1708ad1b48 tree: start on massive tree refactor
The big thing going on here is that we are going to split up the libraries
a bit better, and remove GObject from the capture library. The libsysprof
library will bring in the capture library statically, so we can export the
symbols we want.

Eventually, we will bump the version to sysprof-3, but not yet.
2019-05-29 15:12:59 -07:00