Commit Graph

1141 Commits

Author SHA1 Message Date
394772cb01 build: reduce GLib requirement
We can probably even do this further, but I want to do a bunch of
tree moderniziation first.
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
94ce3dd648 build: bump C++ requirement 2019-05-29 15:12:59 -07:00
e705014394 binfile: ignore vdso bytes if not on Linux
Of course, this all needs improvements to be realistically useful, but
it allows us to get things at least opening. We can adjust how we
store that data to make it available on other OS's later.
2019-05-29 15:12:59 -07:00
9fcb759b52 build: make help optional
This isn't necessary for command line tooling and such.
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
5323cffdb3 Add Basque translation
(cherry picked from commit e27a1389f1311568ed726a65f943791f16729039)
2019-05-28 17:52:21 +00:00
fc0f6f7b0d Add French translation 2019-05-23 10:31:05 +00:00
a48887a25c build: document more of meson_options.txt 2019-05-07 14:50:48 -07:00
2718218ac5 build: remove old make files 2019-05-07 14:46:46 -07:00
c115a9b59f flatpak: add access to host system
THis allows us to get access to the hosts symbol directories,
which is necessary for resolving symbols there.
2019-05-06 21:24:08 -07:00
d8ef9cac0e flatpak: fix systemd compiler flags 2019-05-06 21:16:23 -07:00
05314dd28c capture: add sp_capture_writer_new_from_env()
This will return NULL if there is not sufficient data from the
environment to setup tracing.
2019-05-06 20:23:06 -07:00
209b342ea1 capture: switch to portability helpers
This switches over to using the portability helpers that may
be needed on some platforms other than Linux. On Linux, however,
they are just macros to the standard implementation provided
by (g)libc.
2019-05-06 20:07:29 -07:00
ac1767eff2 capture: add some portability fallbacks
If we're on non-Linux, we can use some portability fallbacks to
get similar behavior to Linux. I'm sure we can optimize this a
bit more for FreeBSD if someone with that installed wants to
come look at things and improve them.
2019-05-06 20:07:29 -07:00
607ef387e7 capture: use gint32 instead of GPid
GPid just isn't portable as a data type for on-disk storage, so
be more explicit and use gint32 directly.
2019-05-06 20:07:24 -07:00
191754e505 capture: make structs more cross-platform
There were some GCC'isms here that don't port well to mingw
(and likely other win32 compilers). Of note are the removal
of #pragma pack to instead use the GCC attributes or MSVC
declarations. Also we cannot be so liberal in our use of
bitflags, we need to use common types from neighbors.
2019-05-06 20:01:25 -07:00
b6d24dafcf capture: use unistd types 2019-05-06 16:39:41 -07:00
8ec9fea5cb capture: use _sp_sendfile() on non-Linux platforms
We still generally only build on Linux from the Sysprof
project, but we can start to support other systems in the
capture format (with the possibility of being more general
for the UI later on too).
2019-05-06 16:21:43 -07:00
0580b4ef0d capture: add sendfile() fallback
We want the capture format to be usable on systems other than
Linux so that it can be used in places like GTK. To do this,
we need a sendfile() fallback that can be portable/useful on
those systems.

FreeBSD has sendfile(), but the semantics differ slightly. This
implementation will walk up to the nearest page size and then
do page aligned pread()/write() which is likely good enough of
an implementation anyway.
2019-05-06 16:20:14 -07:00
36179e9ab4 tests: add check for buffer contents from save_as() 2019-05-06 16:19:58 -07:00
e63c267192 capture: only use <=32 bit bit fields 2019-05-06 15:08:55 -07:00
29c0ebf009 Updated Danish translation 2019-04-24 17:43:08 +02:00
029c6942af add da to LINGUAS 2019-04-24 17:43:08 +02:00
bffd4c63d5 release 3.32.0 2019-03-13 00:20:19 -07:00
1fe4faf567 Update Serbian translation
(cherry picked from commit 48141bd14e79216d297e2b406325fbe9f6321a6b)
2019-03-11 18:25:15 +00:00
664bb29711 Add Dutch translation 2019-03-10 12:53:15 +00:00
5f512929b2 Update Brazilian Portuguese translation 2019-03-06 20:30:58 +00:00
216cc3fbba Update Indonesian translation 2019-02-28 11:21:56 +00:00
2575579431 Update Italian translation 2019-02-28 08:00:38 +00:00
4dbf01df2e Update Polish translation 2019-02-21 18:11:31 +01:00
0bc3548c59 Update Swedish translation 2019-02-19 21:19:29 +00:00
f267830d14 Updated Spanish translation 2019-02-19 16:04:45 +01:00
1876dba50d release 3.31.91 2019-02-18 18:22:31 -08:00
f3ea9b2401 profiler: handle stop during startup more gracefully 2019-02-13 15:47:38 -08:00
d852c3e7ac release 3.31.90 2019-02-07 12:27:28 -08:00
61057e12cf Update Hungarian translation 2019-02-02 08:15:35 +00:00
de23b3bad0 Update Polish translation 2019-02-01 19:24:51 +01:00
6e922c4300 window: use org.gnome.Sysprof-symbolic 2019-01-30 14:27:22 -08:00
9c5b9d6be2 Merge branch 'wip/jimmac/app-icon-redesign' into 'master'
icon: update app icon

See merge request GNOME/sysprof!11
2019-01-30 22:27:03 +00:00
573c6ec82d icon: update app icon
- GNOME 3.32 redesign of app icons.
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
  for more info.

/label ~"9. Initiative: AppIconRedesign"
2019-01-29 13:28:51 +01:00
5770284eac Update Hungarian translation 2019-01-27 17:34:14 +00:00
aec0b7d2f6 Update Swedish translation 2019-01-07 22:30:53 +00:00
142887da68 Replace Bugzilla by Gitlab URL in DOAP file 2018-12-15 23:54:44 +01:00
8600ce0c1d style: fix typo 2018-12-12 21:49:16 -08:00
3b4f36700b style: tweak css for adwaita-3-32 development 2018-12-12 21:44:45 -08:00
7ffa5e6bdf Update Slovak translation
(cherry picked from commit ea5041bf51fed4c13d4bb6ce7e6ebd319a9072eb)
2018-12-02 18:39:27 +00:00
6bca58441e Update Indonesian translation 2018-11-15 16:45:15 +00:00
09105a7bca Updated Spanish translation 2018-11-15 12:29:57 +01:00
07d297b70b Update Brazilian Portuguese translation 2018-11-05 10:08:27 +00:00