[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-555
From: |
Fred Wright |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-555-gd287c76 |
Date: |
Wed, 25 Jan 2017 06:30:54 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via d287c76f4f2e1ffd275da41b84f9e08ea7f74344 (commit)
via 744959a2aa3f913e5491c9fe9bac067a670f7de6 (commit)
via 2cb17f91607bdfd9cd7ad80f7232db8b1bd23d34 (commit)
via cb1403d842a2fdbe6109eaf48acb7a494f30784d (commit)
via 0fbb94143ec4a5baf569b09937b28d4339cc8a00 (commit)
via 390b32f32c166ff8e5a04390cca75247993be73c (commit)
via 0dd7064300b7339c5a47843804f63b4395127080 (commit)
from ebc1fe18988f033af16fc34bf176bc6c75693547 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d287c76f4f2e1ffd275da41b84f9e08ea7f74344
Author: Fred Wright <address@hidden>
Date: Tue Jan 24 16:18:50 2017 -0800
Fixes some issues with C++11.
In compiler.h, it adds the missing "std::" namespace prefixes to the
memory_barrier() definition.
In gpsd.h it:
1) Moves the include of compiler.h outside the conditional 'extern
"C"', since the "atomic" stuff in the former is incompatible with the
latter.
2) Fixes DEVICEHOOKPATH for C++11 (C++11 requires spaces between
literals and string macros).
3) Cleans up some ordering of system includes left over from the
former head/tail setup.
TESTED:
Ran "scons build-all check" on OSX 10.5-10.12, Ubuntu 14, CentOS 7,
Fedora 25, FreeBSD 10.3, OpenBSD 5.6 (32- and 64-bit), and NetBSD
6.1.5. Also tested Qt builds with OSX 10.9 (Qt4 and Qt5), OSX 10.12
(Qt5), and Fedora 25 (Qt5).
Observed the correct DEVICEHOOKPATH in the log on OSX.
commit 744959a2aa3f913e5491c9fe9bac067a670f7de6
Author: Fred Wright <address@hidden>
Date: Tue Jan 24 15:56:17 2017 -0800
Eliminates autogeneration of gpsd.h.
The reason for directly including the contents of gpsd_config.h in
gpsd.h is long gone, so there's no longer any reason to create the
latter by concatenation rather than just making it a normal header
which #includes gpsd_config.h. This is a minimal rework of this form.
TESTED:
Ran "scons build-all check" on OSX 10.9 and Fedora 25 (without Qt in
the latter case, where the Qt build needs further work).
commit 2cb17f91607bdfd9cd7ad80f7232db8b1bd23d34
Author: Fred Wright <address@hidden>
Date: Sun Jan 22 01:44:19 2017 -0800
Centralizes daemon() calls.
This defines a new function os_daemon() (in os_compat.c), which is
either the old replacement daemon() renamed, or a wrapper around the
actual daemon() call. This allows any issues related to daemon()
(which exist on some platforms) to be dealt with in one place. No
such changes are present yet, so platforms giving warnings for the use
of daemon() continue to do so, but now only in the compilation of
os_compat.c. Unfortunately, the current build procedure typically
compiles os_compat.c multiple times, so the warnings still appear
multiple times.
TESTED:
Ran "scons build-all check" on OSX 10.9, OSX 10.12, Ubuntu 14, and
FreeBSD 10.3.
commit cb1403d842a2fdbe6109eaf48acb7a494f30784d
Author: Fred Wright <address@hidden>
Date: Sun Jan 22 00:11:34 2017 -0800
Initial creation of os_compat.h.
This creates a header for os_compat.c, and moves the related
prototypes into it from gpsd_config.h (as created by SConstruct),
after adding references to it to gpsd.h (via gpsd.h-tail) and a few
other sources that need it but don't include gpsd.h.
It also removes includes of <time.h> in the places where they were
only needed for the code now removed from gpsd_config.h.
TESTED:
Ran "scons build-all check" on OSX 10.9 (with strlcat/strlcpy but no
clock_gettime), OSX 10.12 (with strlcat/strlcpy and clock_gettime),
and Ubuntu 14 (with clock_gettime but no strlcat/strlcpy). Also
verified that fallback versions were not being included where
unnecessary.
commit 0fbb94143ec4a5baf569b09937b28d4339cc8a00
Author: Fred Wright <address@hidden>
Date: Sat Jan 21 18:31:39 2017 -0800
Cleans up some ordering in os_compat.c.
This rearranges the order of some conditionals and includes, in order
to avoid some gratuitous includes where unnecessary.
Due to the fact that some actual definitions for the clock_gettime
fallback are embedded directly in gpsd_config.h, it's necessary to
include <time.h> prior to including it. This will be fixed once the
relevant definitions are moved to the upcoming os_compat.h.
This also replaces the "UNUSED" in clock_gettime with a void cast,
eliminating the need for compiler.h.
TESTED:
Ran "scons build-all check" on OSX 10.9, OSX 10.12 (which has real
clock_gettime) and Ubuntu 14. Also verified that the clock_gettime
fallback is present in OSX 10.9, but absent in OSX 10.12 and in Ubuntu
14.
commit 390b32f32c166ff8e5a04390cca75247993be73c
Author: Fred Wright <address@hidden>
Date: Sat Jan 21 00:53:50 2017 -0800
Initial edit and use of new os_compat.c.
This change:
1) Makes a few comment-only edits to os_compat.c.
2) Updates the build procedure to use os_compat.c in libgps and
in the Python extensions.
3) Deletes the now-obsolete clock_gettime.c, daemon.c, and strl.c.
TESTED:
Ran "scons build-all check" on OSX 10.9 and Ubuntu 14.
commit 0dd7064300b7339c5a47843804f63b4395127080
Author: Fred Wright <address@hidden>
Date: Sat Jan 21 00:37:12 2017 -0800
Initial checkin of new os_compat.c source.
This file combines the code from clock_gettime.c, daemon.c, and strl.c
into a single "OS compatibility" module. This initial version is just
a verbatim concatenation of those three sources, which is not yet
used. Editing it for initial use is left to a separate commit for
easier tracking of the edits.
Since there's no "git cat" operation, the history of the code in this
file is not directly available in relation to this file, but can be
found in the histories of its three component sources (even after
their upcoming deletions).
TESTED:
Inapplicable.
-----------------------------------------------------------------------
Summary of changes:
SConstruct | 68 +++----------------------
cgps.c | 1 +
clock_gettime.c | 34 -------------
compiler.h | 2 +-
daemon.c | 48 ------------------
gps2udp.c | 4 +-
gpsd.c | 4 +-
gpsd.h-tail => gpsd.h | 24 ++++++---
gpsd.h-head | 19 -------
gpsdclient.c | 2 +-
gpspipe.c | 4 +-
gpsutils.c | 1 +
gpxlogger.c | 6 +--
json.c | 3 +-
lcdgps.c | 6 +--
libgps_shm.c | 1 -
strl.c => os_compat.c | 131 ++++++++++++++++++++++++++++++++++++++++++++++---
os_compat.h | 80 ++++++++++++++++++++++++++++++
ppsthread.c | 1 +
shared_json.c | 1 -
shmexport.c | 1 -
test_matrix.c | 1 -
test_timespec.c | 1 -
23 files changed, 245 insertions(+), 198 deletions(-)
delete mode 100644 clock_gettime.c
delete mode 100644 daemon.c
rename gpsd.h-tail => gpsd.h (98%)
delete mode 100644 gpsd.h-head
rename strl.c => os_compat.c (60%)
create mode 100644 os_compat.h
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-555-gd287c76,
Fred Wright <=