Gregory Nutt
|
d8db596b3b
|
POSIX message queues: Move mq_setattr() and mq_getattr() from nuttx/libc/mqueue to nuttx/sched/mqueue. Also add sysyscall support for mq_setattr() and mq_getattr(). This is necessary in protected and kernel builds because in those cases the message queue structure is protect and cannot be accessed directly from user mode code. Noted by Jouko Holopainen.
|
2015-06-03 09:24:17 -06:00 |
Gregory Nutt
|
fce87336a4
|
Add an option to disable support for long long formats in lib_vsprintf. From Alan Carvalho de Assis
|
2015-05-30 10:00:54 -06:00 |
Gregory Nutt
|
87f4f0ccdd
|
Minor fixes to apps/netutils/Kconfig and nuttx/libc/net/lib_inetntoa.c from Max Neklyudov
|
2015-05-19 12:07:07 -06:00 |
Gregory Nutt
|
823889b214
|
Update comments and README
|
2015-04-15 16:25:38 -06:00 |
Gregory Nutt
|
13bd65fe82
|
configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info
|
2015-04-15 11:00:40 -06:00 |
Gregory Nutt
|
f087e35676
|
A little localtime clean-up
|
2015-04-14 10:46:05 -06:00 |
Gregory Nutt
|
c23610994c
|
libc/time/lib_localtime.c: Move tzset(); it belongs in the Public Functions grouping
|
2015-04-14 08:12:45 -06:00 |
Gregory Nutt
|
7a745c3fa4
|
Use common macro(s) for calculating link layer header length. From Brennan Ashton.
|
2015-04-13 13:53:13 -06:00 |
Gregory Nutt
|
3d6161a7aa
|
Update some comments
|
2015-04-13 07:39:56 -06:00 |
Gregory Nutt
|
814aa94b0d
|
Update comments in a Kconfig file
|
2015-04-12 09:21:31 -06:00 |
Gregory Nutt
|
228b0e1d55
|
ix an error in time initialization when there is not RTC and the time is initialized from a fixed configured value. The call to clock_calendar2utc() was returning the time in units of seconds. The initialization logic, however, was expecting to get time in units of days.
|
2015-04-12 09:01:35 -06:00 |
Gregory Nutt
|
237e1ed407
|
Local time support is now EXPERIMENTAL
|
2015-04-12 07:57:16 -06:00 |
Gregory Nutt
|
8a023fec09
|
localtime: Default zoneinfo directory is /etc/zoneinfo instead of /usr/local/etc/zoneinfo which results in a longer pathname than the default 32 characer MAX
|
2015-04-11 13:11:10 -06:00 |
Gregory Nutt
|
858e33d974
|
Localtime: Configuration name inconsiste: CONFIG_LIBC_TZ_DIR vs CONFIG_LIBC_TZDIR
|
2015-04-11 12:48:18 -06:00 |
Gregory Nutt
|
5a110d08d9
|
Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC
|
2015-04-11 12:13:18 -06:00 |
Gregory Nutt
|
3840c2a14b
|
Fix several typos in comments
|
2015-04-09 16:13:03 -06:00 |
Gregory Nutt
|
9ab439de6c
|
apps/examples/ostest: Add a test for the sigprocmask, sighold, and sigrelse
|
2015-04-09 15:53:59 -06:00 |
Gregory Nutt
|
1025c3fb21
|
Fixes to asinh(), atanh(), and sinh(): The 'basic' expansions all exhibited bad cancellation errors near zero (<= 1E-10). This can be easily seen e.g. with x = 1E-30, the results are all zero though they should be extremely close to x. The cutoff values (1E-5, 1E-9) are chosen so that the next term in the Taylor series is negligible (for double). Functions could maybe be optimized to use only first term (x) and a smaller cutoff, just bigger than where the cancellation occurs.
|
2015-04-09 10:35:07 -06:00 |
Gregory Nutt
|
81703e6fad
|
Add sigset()
|
2015-04-09 10:16:35 -06:00 |
Gregory Nutt
|
70fb7a30b5
|
Remove executable flag from some C files
|
2015-04-09 08:15:02 -06:00 |
Gregory Nutt
|
4c60fe666c
|
Add sighold(), sigrelse(), sigignore(), and sigpause().
|
2015-04-09 08:07:09 -06:00 |
Gregory Nutt
|
f6b05529da
|
sigaddset() and sigdelset() need to set errno if a bad signal number is received
|
2015-04-09 08:05:47 -06:00 |
Gregory Nutt
|
1018296e27
|
Make some file section headers more consistent with standard
|
2015-04-08 07:32:08 -06:00 |
Gregory Nutt
|
045bbf3af9
|
Fix some coding style inconsistencies
|
2015-04-08 07:02:13 -06:00 |
Gregory Nutt
|
190c9adef0
|
Implements CONFIG_TIME_EXTENDED as we discussed relative to providing the last 3 members of the tm struct and support for filling them in and even using the wday in the STM32 RTC. From David Sidrane.
|
2015-04-08 06:56:43 -06:00 |
Gregory Nutt
|
c39725b398
|
libc: stdio: Fix NULL pointer dereference in ungetc(). If 'stream' was NULL, 'stream->fs_oflags' was evaluated. From Juha Niskanen
|
2015-03-12 07:51:23 -06:00 |
Gregory Nutt
|
3a67c182b4
|
sfrtime: Missing implementation of %C (was being treated as %y). From Freddie Chopin
|
2015-02-23 11:05:07 -06:00 |
Gregory Nutt
|
f357897b6c
|
Some files that now include sys/time.h should no longer include timer.h
|
2015-02-15 16:38:18 -06:00 |
Gregory Nutt
|
fd8d374bfe
|
Move struct timveval from include/time.h to include/sys/time.h where it belongs.
|
2015-02-15 13:00:44 -06:00 |
Gregory Nutt
|
63ac1ec423
|
Cosmetic updates to comments
|
2015-02-12 13:44:22 -06:00 |
Gregory Nutt
|
b6e399cc65
|
Update ChangeLog
|
2015-02-12 11:17:23 -06:00 |
Gregory Nutt
|
147042218b
|
gettimeofday() and settimeofday(): Move gittimeofdady() from sched/clock to libc/time. All remove gettimeofday() from NuttX system calls. It is only a wrapper around clock_settime() and does not need a trap. gettimeofday() is no longer tried as a core OS interface.
gettimeofday has been decremented in POSIX 2008. settimeofday() was never part of POSIX, but I decided to add it to libc as well just for symmetry.
|
2015-02-12 11:10:46 -06:00 |
Gregory Nutt
|
62aee62c3a
|
Some extensions to netinet/in.h adding some Linux compatible defintions. From Macs N.
|
2015-02-11 06:35:34 -06:00 |
Gregory Nutt
|
7c22824981
|
Oop.. forgot a semicolon in a preceding commit
|
2015-02-09 11:16:01 -06:00 |
Gregory Nutt
|
26e1327462
|
execl(): Fix bad logic in counting the number of arguments. This could never have worked. Noted by Pierre-noel Bouteville
|
2015-02-09 08:53:00 -06:00 |
Gregory Nutt
|
6bc9a0c9c6
|
Fix backward calculation in the work queue timing. From Liio Chen via the PX4 repository
|
2015-01-27 06:17:02 -06:00 |
Gregory Nutt
|
b12cf6d2f5
|
Add math library support for trunc functions. From Brennan Ashton.
|
2015-01-26 19:00:35 -06:00 |
Gregory Nutt
|
0a11f9b669
|
Cosmetic
|
2015-01-26 18:55:17 -06:00 |
Gregory Nutt
|
06337a4f7a
|
Add math library support for copysign. From Brennan Ashton
|
2015-01-26 18:52:28 -06:00 |
Gregory Nutt
|
7e177e1c12
|
Add error function to math library. From Brennan Ashton.
|
2015-01-26 13:58:47 -06:00 |
Gregory Nutt
|
e153959eea
|
Add support for inverse hyperbolic functions. From Brennan Ashton
|
2015-01-26 13:52:53 -06:00 |
Gregory Nutt
|
5a441ce03b
|
Networking: Misck IPv6 detanglement
|
2015-01-15 12:19:44 -06:00 |
Gregory Nutt
|
40b0acaded
|
sscanf should also support %F
|
2014-12-12 07:54:37 -06:00 |
Gregory Nutt
|
1b661c6d23
|
sscanf: Accept %X as well as %x as a format specifier. From Sébastien Lorquet
|
2014-12-12 07:46:46 -06:00 |
Gregory Nutt
|
1c569b85f8
|
Cosmetic change to force compliance with coding standard
|
2014-12-12 07:14:16 -06:00 |
Gregory Nutt
|
554f56b99d
|
strncpy: Commit d0c76ccacf0dc8988f9617ad82bf4349f456bb08 will trash a lot of memory if n == 0. From Hiro
|
2014-12-11 06:21:23 -06:00 |
Gregory Nutt
|
69cb752813
|
Add CRC8 support. From Ken Pettit
|
2014-12-09 13:27:22 -06:00 |
Gregory Nutt
|
297a255fd8
|
avsprintf(): Fix a bug in usage of va_list on x86. On x86, va_list is a pointer to a single copy on the stack. avsprintf() calls lib_vsprintf() twice and so traverses the va_list twice using va_start. va_start modifies that single copy on the stack so that the second call to lib_vsprintf() fails. This appears to be an issue with x86 only so far
|
2014-12-08 10:40:06 -06:00 |
Gregory Nutt
|
91e22aeedd
|
Traveler: Change the way that the world path is managed.
|
2014-12-08 09:28:53 -06:00 |
Gregory Nutt
|
7ad7163bd3
|
Updated comments
|
2014-11-29 17:39:40 -06:00 |