[Git][NTPsec/ntpsec][unit-rewrite] 68 commits: Proof read hacking.txt, mostly converting links to https

Ian Bruene gitlab at mg.gitlab.com
Mon Apr 10 00:50:49 UTC 2017


Ian Bruene pushed to branch unit-rewrite at NTPsec / ntpsec


Commits:
8e594f73 by Sanjeev Gupta at 2017-04-01T00:51:05+08:00
Proof read hacking.txt, mostly converting links to https

- - - - -
79954307 by Sanjeev Gupta at 2017-04-01T01:07:28+08:00
Proofread INSTALL

- - - - -
ff590b2e by Sanjeev Gupta at 2017-04-01T01:16:19+08:00
Warn CENTOS6 users while installing outdated asciidoc

- - - - -
71902a29 by Sanjeev Gupta at 2017-04-02T23:32:25+08:00
Proof read hacking.txt, mostly converting links to https

- - - - -
cc0022f2 by Sanjeev Gupta at 2017-04-02T23:32:25+08:00
Proofread INSTALL

- - - - -
aea8dc1a by Sanjeev Gupta at 2017-04-02T23:32:25+08:00
Warn CENTOS6 users while installing outdated asciidoc

- - - - -
d40a23cc by Sanjeev Gupta at 2017-04-02T23:32:56+08:00
Merge branch 'HACKING' of gitlab.com:ghane0/ntpsec into HACKING

- - - - -
8b1f971c by Gary E. Miller at 2017-04-05T16:32:34-07:00
l_fp: don't multiply to negate...

All tests pass.

- - - - -
975b1525 by Gary E. Miller at 2017-04-05T16:32:34-07:00
tests/ieee754io: tweak some tests.  Avoid shift wrapping.

- - - - -
986e321a by Gary E. Miller at 2017-04-05T16:32:34-07:00
ieee754io: simplification using uint64_t.

All tests pass.

- - - - -
86e474b2 by Gary E. Miller at 2017-04-05T16:32:34-07:00
waf: Solaris and OpenBSD are not POSIX, using custom types.

Need to fix upstream bug in Bison, and test for Solaris
and OpenBSD weirdness before -Wsign-conversion can be used.

- - - - -
2574c788 by Gary E. Miller at 2017-04-05T16:54:28-07:00
ieee754: clean up indents, tabs and comments.  No functional change.

Passes all tests.

- - - - -
bbdd7c6f by Gary E. Miller at 2017-04-05T17:02:20-07:00
generic: remove unused include and defines.

- - - - -
e5807e2b by Ian Bruene at 2017-04-06T00:16:50+00:00
Fixed cropped display width when displaying units.

Bug mostly effecteed dispersion.

- - - - -
1d27e7ad by Ian Bruene at 2017-04-06T00:57:47+00:00
Changed microsecond unit string to use a proper greek mu.

Mu.

- - - - -
daec8d1c by Ian Bruene at 2017-04-06T10:44:54-05:00
Fixed unicode bug in python2 #ifdef

Bug caused by an attempt to pass a unicode ctring to str(), uncaught
because test ignored.

* sounds of mackerel slaps *

- - - - -
dc041980 by Ian Bruene at 2017-04-06T11:31:26-05:00
Fixed unicode bug in ntpmon. ntpmon now outputs only unicode.

- - - - -
302f32a7 by Gary E. Miller at 2017-04-06T13:15:18-07:00
waf: turn off debugging by default.  Add --enable-debug.

Now the ntpd binary is stripped by default, so is 100kB smaller.
Several annoying warnings turned on for developer use.

- - - - -
e624af47 by Gary E. Miller at 2017-04-06T14:04:11-07:00
ntpfrob: fix multiple warnings about missing prototypes.

- - - - -
ced7bbd6 by Gary E. Miller at 2017-04-06T14:13:59-07:00
ntp_util: add missing prototype.

- - - - -
06581c2f by Gary E. Miller at 2017-04-06T14:16:06-07:00
ntp_config: add missing prototype.

- - - - -
78bc12b5 by Gary E. Miller at 2017-04-06T14:26:24-07:00
tests/calendar: add missing prototype.

- - - - -
2feac404 by Gary E. Miller at 2017-04-06T14:26:45-07:00
tests/authkeys: add missing prototypes.

- - - - -
d4965060 by Gary E. Miller at 2017-04-06T14:28:14-07:00
tests/lfpfunc: add missing prototype.

- - - - -
d00dc745 by Gary E. Miller at 2017-04-06T14:35:49-07:00
tests/sockaddrtest: add missing prototypes.

- - - - -
03f160b6 by Gary E. Miller at 2017-04-06T14:37:01-07:00
-Wmissing-prototypes: no more warnings, now on by default.

- - - - -
a79349ca by Ian Bruene at 2017-04-06T21:43:59+00:00
Fixed ntpmon usage text to include unit display option.

- - - - -
17557750 by Gary E. Miller at 2017-04-06T14:44:51-07:00
tests/calendar: remove unused function.

- - - - -
4c8bfa14 by Gary E. Miller at 2017-04-06T17:40:25-07:00
waf debug: add new warnings in debug mode.  Only 1k more messages to fix

A lot of these actually look valid.  A few header file changes will
fix a lot of them.

- - - - -
ca43f77e by Gary E. Miller at 2017-04-06T17:46:25-07:00
waf: unlink --enable-debug and --enable-debug-gdb

Always strip binaries and use LOT, unless --enable-debug-gdb

- - - - -
5a1b4ae6 by Gary E. Miller at 2017-04-06T17:50:09-07:00
aaf debug: dial it back a bit.

- - - - -
194cbd22 by Gary E. Miller at 2017-04-06T19:09:04-07:00
Fix 120 warnings, and round on conversion from double to l_fp.

Fixes:
    warning: cast from function call of type 'double'
    to non-matching type 'long int' [-Wbad-function-cast]

- - - - -
c234152d by Gary E. Miller at 2017-04-06T19:22:07-07:00
Fix one cast, add one cast.

- - - - -
f62be6ad by Gary E. Miller at 2017-04-06T19:58:19-07:00
remove duplicate extern.

- - - - -
dbfafacf by Gary E. Miller at 2017-04-07T11:52:40-07:00
parse_conf: remove redundant externs.

- - - - -
4df63898 by Gary E. Miller at 2017-04-07T12:32:11-07:00
Remove redundant externs.

- - - - -
d9c639c7 by Gary E. Miller at 2017-04-07T12:34:46-07:00
remove two redundant externs.

- - - - -
7011cb1f by Gary E. Miller at 2017-04-07T12:37:14-07:00
remove two more redundant externs.

- - - - -
c166ca47 by Gary E. Miller at 2017-04-07T12:39:36-07:00
Remove one redundant extern.

- - - - -
8e91ef5e by Gary E. Miller at 2017-04-07T13:06:20-07:00
Remove a bunch of redundant externs.

- - - - -
021aee2e by Gary E. Miller at 2017-04-07T13:20:07-07:00
remove two redundant externs

- - - - -
a4e0404e by Gary E. Miller at 2017-04-07T13:22:03-07:00
remove redundant extern.  Sort list.

- - - - -
f6554a0e by Gary E. Miller at 2017-04-07T13:26:22-07:00
remove two redundant externs.

- - - - -
0493e1de by Gary E. Miller at 2017-04-07T13:27:47-07:00
remove 2 duplicate externs.

- - - - -
fe5dd73f by Gary E. Miller at 2017-04-07T13:38:22-07:00
waf: hide -Wnested-externs, incompatible w/ Unity...

At this instant main ntpd code is clean for this warning.

- - - - -
1e5dfa26 by Gary E. Miller at 2017-04-07T14:02:11-07:00
remove a silly header file that was causing duplicate externs.

- - - - -
c24ee820 by Gary E. Miller at 2017-04-07T14:23:27-07:00
Remove redundant prototypes, change to statics.

- - - - -
f5ebf2a6 by Gary E. Miller at 2017-04-07T14:29:10-07:00
remove redundant prototype.

The #ifndef did nothing...

- - - - -
673569cf by Gary E. Miller at 2017-04-07T14:29:56-07:00
remove -Wredundant-decls, incompatble w/ Unity.

All redundants in main code removed.

- - - - -
757485b8 by Matt Selsky at 2017-04-07T20:18:25-04:00
COMPILE_UNUSED_FUNCTIONS is no longer used anywhere

- - - - -
806a1e9d by Hal Murray at 2017-04-08T12:34:01-07:00
Remove sendint - generated unused warning

- - - - -
abc2df91 by Hal Murray at 2017-04-08T12:34:47-07:00
Fix unused parameter warning (when not DEBUG)

- - - - -
e26d9679 by Gary E. Miller at 2017-04-08T13:10:26-07:00
Add missing include.

- - - - -
c478251e by Sanjeev Gupta at 2017-04-09T15:58:23+08:00
Proof read hacking.txt, mostly converting links to https

- - - - -
f5fa1219 by Sanjeev Gupta at 2017-04-09T15:58:23+08:00
Proofread INSTALL

- - - - -
cfd4f2aa by Sanjeev Gupta at 2017-04-09T15:58:23+08:00
Warn CENTOS6 users while installing outdated asciidoc

- - - - -
dc536b4a by Sanjeev Gupta at 2017-04-09T16:00:58+08:00
Merge branch 'HACKING' of gitlab.com:ghane0/ntpsec into HACKING

- - - - -
de96cee2 by Trevor N at 2017-04-09T14:53:52-04:00
configure conditional warning flags, fix some ntpd warnings

add compiler-support check for -Wformat-signedness and -Wsign-conversion in wafhelpers/configure.py

fix -Wformat warnings in ntpd/ntp_util.c, ntpd/refclock_pps.c
fix -Wformat warnings, add default case to diagnostic message in ntpd/refclock_trimble.c

- - - - -
a02fbea5 by Ian Bruene at 2017-04-09T19:44:34-05:00
Added scalestring() and tests.

scalestring() takes a number in string format and scales it like the
old scaleforunit(). By working with strings it sidesteps the entire
floating point inaccuracy problem.

- - - - -
054a9cda by Ian Bruene at 2017-04-09T19:44:34-05:00
Added docstring for scalestring, comment tweak.

- - - - -
2aadd065 by Ian Bruene at 2017-04-09T19:44:34-05:00
Added rescalestring() and tests.

rescalestring() scales a string value by a specified number of units, similar
to the former rescaleunit()

- - - - -
e00de53f by Ian Bruene at 2017-04-09T19:44:34-05:00
Added rescalestring() docstring.

- - - - -
2ecb29d7 by Ian Bruene at 2017-04-09T19:44:34-05:00
Added breaknumberstring() and tests.

breaknumberstring() breaks a number string into it's above and below decimal
parts, returning both and a bool for whether the number is negative

- - - - -
1ec4f956 by Ian Bruene at 2017-04-09T19:44:34-05:00
Added gluenumberstring(), tests.

gluenumberstring() is the inverse of breaknumberstring.

- - - - -
7e1c37e7 by Ian Bruene at 2017-04-09T19:44:34-05:00
Replaced duplicated code in scalestring() and rescalestring() with calls
to breaknumberstring() and gluenumberstring()

- - - - -
e9e5b7e8 by Ian Bruene at 2017-04-09T19:44:34-05:00
Added fitinfield() and tests.

fitinfield() attempts to fit a value in a given field size, padding if there
is extra room, cropping if there is not enough room. fitinfield() will never
crop above the decimal point.

- - - - -
251ff67d by Ian Bruene at 2017-04-09T19:44:34-05:00
Forced commit because rebase needed

- - - - -
bdc979cf by Ian Bruene at 2017-04-09T19:50:11-05:00
Merge branch 'unit-rewrite' of gitlab.com:NTPsec/ntpsec into unit-rewrite

Merged microsecond fix with new formatters.

- - - - -


30 changed files:

- INSTALL
- attic/sht.c
- buildprep
- devel/hacking.txt
- devel/ifdex-ignores
- include/ntp.h
- include/ntp_fp.h
- include/ntp_io.h
- − include/ntp_random.h
- include/ntp_refclock.h
- include/ntpd.h
- libntp/ntp_random.c
- libntp/pymodule.c
- libntp/systime.c
- libparse/clk_computime.c
- libparse/ieee754io.c
- libparse/parse.c
- libparse/parse_conf.c
- ntpclients/ntpmon
- ntpclients/ntpq
- ntpd/ntp_config.c
- ntpd/ntp_peer.c
- ntpd/ntp_signd.c
- ntpd/ntp_util.c
- ntpd/ntpd.c
- ntpd/refclock_conf.c
- ntpd/refclock_generic.c
- ntpd/refclock_local.c
- ntpd/refclock_pps.c
- ntpd/refclock_trimble.c


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/21b271fce4310fcc81c213279976e2fbe13f2bf9...bdc979cf24ff16ae06d713cae0e831c2405dd6d2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170410/e893d9bf/attachment.html>


More information about the vc mailing list