Commit Graph

69 Commits

Author SHA1 Message Date
Gregory Nutt
9d21ecbd2d All configurations that use NXLINES must select NX_MULTIUSER 2017-10-14 16:52:59 -06:00
Gregory Nutt
2238785bf1 Fix a error introduced with nxmq_receive(); update TODO list. 2017-10-10 10:58:26 -06:00
Gregory Nutt
e11e3b2607 Squashed commit of the following:
Change all calls to mq_receive() and mq_timedreceive() in the OS to calls to nxmq_receive() and nxmq_timedreceive(), making appropriate changes for differences in return values.

    sched/mqueue:  Add nxmq_receive() and mxmq_timedreceive() which are functionally equivalent to the standard mq_receive and mq_timedreceive() except that (1) they do not create cancellation points, and (2) the do not modify the application's errno variable.
2017-10-10 09:57:40 -06:00
Gregory Nutt
fca07be1df Squashed commit of the following:
Change all calls to mq_send() and mq_timedsend() in the OS to calls to nxmq_send() and nxmq_timedsend(), making appropriate changes for differences in return values.

    sched/mqueue:  Add internal function nxmq_send() and nxmq_timedsend() that are equivalent to mq_send() and mq_timedsend() except that they do not create cancellation points and do to not modify the errno variable.
2017-10-10 08:44:12 -06:00
Gregory Nutt
5e4f4ee788 libc and libnx: When the libraries are built into two libraries, a user space library and a OS space library (as in the PROTECTED and KERNEL build). Then the user space library must not use the OS internal interfaces; similarly, the OS must avoid using the userspace interfaces so that it does not muck the errno value or create spurious cancellation points. 2017-10-08 12:14:18 -06:00
Gregory Nutt
6642e20e05 libc and libnx: When the libraries are built into two libraries, a user space library and a OS space library (as in the PROTECTED and KERNEL build). Then the user space library must not use the OS internal interfaces; similarly, the OS must avoid using the userspace interfaces so that it does not muck the errno value or create spurious cancellation points. 2017-10-08 11:52:32 -06:00
Gregory Nutt
a857cc04e4 Fix some build problems after recent separation of internal OS from application interfaces. The build problem only occurs in the PROTECTED and KERNEL builds where separate libraries are built for the applications and for use within the OS. In these cases, the correct interfaces must be used. This commit fixes a few of these, so I can get through build testing, but there are many more that need fixin'. 2017-10-08 08:13:47 -06:00
Gregory Nutt
42a0796615 Squashed commit of the following:
sched/semaphore:  Add nxsem_post() which is identical to sem_post() except that it never modifies the errno variable.  Changed all references to sem_post in the OS to nxsem_post().

    sched/semaphore:  Add nxsem_destroy() which is identical to sem_destroy() except that it never modifies the errno variable.  Changed all references to sem_destroy() in the OS to nxsem_destroy().

    libc/semaphore and sched/semaphore:  Add nxsem_getprotocol() and nxsem_setprotocola which are identical to sem_getprotocol() and set_setprotocol() except that they never modifies the errno variable.  Changed all references to sem_setprotocol in the OS to nxsem_setprotocol().  sem_getprotocol() was not used in the OS
2017-10-03 15:35:24 -06:00
Gregory Nutt
83cdb0c552 Squashed commit of the following:
libc/semaphore:  Add nxsem_getvalue() which is identical to sem_getvalue() except that it never modifies the errno variable.  Changed all references to sem_getvalue in the OS to nxsem_getvalue().

    sched/semaphore:  Rename all internal private functions from sem_xyz to nxsem_xyz.  The sem_ prefix is (will be) reserved only for the application semaphore interfaces.

    libc/semaphore:  Add nxsem_init() which is identical to sem_init() except that it never modifies the errno variable.  Changed all references to sem_init in the OS to nxsem_init().

    sched/semaphore:  Rename sem_tickwait() to nxsem_tickwait() so that it is clear this is an internal OS function.

    sched/semaphoate:  Rename sem_reset() to nxsem_reset() so that it is clear this is an internal OS function.
2017-10-03 12:52:31 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Gregory Nutt
b553704334 Update README; Remove comment blocks before empty sections. 2017-01-08 14:01:16 -06:00
Gregory Nutt
e568253eb3 Update README, some comments, and fix some spacing. 2017-01-07 10:36:18 -06:00
Gregory Nutt
4cfa5c4443 Font cache: Reduce some unnecessary list operations. 2017-01-06 12:53:12 -06:00
Gregory Nutt
b3a6467193 Font cache: Fix a reference counting issue: count not be initialized when font cache created. 2017-01-06 11:56:14 -06:00
Gregory Nutt
4e0e18f659 Font cache: Add debug output; fix initialization of a semaphore. 2017-01-06 11:36:05 -06:00
Gregory Nutt
725ba1602a Font cache: misc fixes and improvements 2017-01-06 11:06:50 -06:00
Gregory Nutt
d7173f2eb5 Font cache: Enforce mutually exclusive access to the font cache 2017-01-06 09:50:30 -06:00
Gregory Nutt
0b52e6f571 Font cache: Replace fixed-size array with variable size link list. 2017-01-06 09:07:25 -06:00
Gregory Nutt
a0199be503 Font cache in libnx needs to use context-specific memory allocators. 2017-01-06 07:06:51 -06:00
Gregory Nutt
dc05af6436 Graphics: Initial separation of font cache from graphics/nxterm. Now in libnx/nxfronts 2017-01-05 18:36:29 -06:00
Gregory Nutt
d91cf5736e With last changes the Tom Thumb 3x5 font is now 4x6 2017-01-04 10:31:53 -06:00
Gregory Nutt
1ff532e484 Alternative way to encode font spacing for Tom Thumb font 2017-01-04 10:22:44 -06:00
Alan Carvalho de Assis
b08b38d976 Back out part of last change 2017-01-04 08:00:00 -06:00
Alan Carvalho de Assis
37668dc731 Fix font spacing 2017-01-04 07:15:22 -06:00
Gregory Nutt
de718353d4 Correct some comments 2017-01-03 11:23:58 -06:00
Alan Carvalho de Assis
6c826bb209 Add support for Tom Thumb small mono-space font 2017-01-03 11:11:47 -06:00
Gregory Nutt
77a0b6c26a graphics/, libnx/: Disable priority inheritance on all semaphores used for signaling 2016-11-03 17:12:49 -06:00
Petteri Aimonen
69577eb0b7 libnx/nxglib: Fix handling of near-horizontal lines of width 1 in nxgl_splitline(). Missing handling for degenerate condition caused width 1 lines such as (0, 0) - (100, 10) to have gaps in the drawing. 2016-09-22 11:09:06 -06:00
Gregory Nutt
b29a4dd49c audio/, crypto/, libnx/, and mm/: Change some err() ERRORS to warn() WARNINGS or info() 2016-06-12 09:46:23 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
c36c49657b Remove carriage returns from files 2016-01-23 15:26:10 -06:00
Gregory Nutt
b682190f52 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
Slimane Bendelloul
ca182201e4 Fixed a mismatching between the drawlinewindow's prototype and it's implementation 2015-11-21 15:06:05 -05:00
Gregory Nutt
cb9e27c3b0 Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
Gregory Nutt
ac394041bf Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:17:29 -06:00
Gregory Nutt
ff75f68eeb Another warning found to tools/testbuild.sh 2015-07-22 15:04:17 -06:00
Gregory Nutt
83f26091f4 Implement anti-aliasing in the NuttX graphics line drawing 2015-07-14 10:17:42 -06:00
Gregory Nutt
4bcd13eabd Add RGB blending logic needed to support anti-aliasing 2015-07-14 07:57:54 -06:00
Gregory Nutt
f13e1bb7bf Fix warnings in graphics subsystem due to previous fix to mqueue prototypes 2015-05-13 08:56:03 -06:00
Gregory Nutt
2a82dc66f9 drawline/drawLine should not take a boolean to select non lines caps or capping at both ends. drawline/drawLine also needs to be able to put a line cap on one one end of a line 2015-04-05 16:53:51 -06:00
Gregory Nutt
8bfd44ab63 NX circular drawing. Reduce computations; line caps needed only on every other line segment 2015-04-05 10:32:11 -06:00
Gregory Nutt
0eebd78a9b Implement line caps by drawing a file circle at the each endpoint of a line with a radius equal to half of the width of the line 2015-04-05 09:37:18 -06:00
Gregory Nutt
ae03d56700 Add a 'capped' boolean parameter to all drawline/drawLine functions/methods. The idea is that this will produce better joining between lines 2015-04-05 08:50:01 -06:00
Gregory Nutt
86c5777314 Fixes a problem with one of the font files. From Pierre-noel Bouteville 2015-02-03 13:30:14 -06:00
Gregory Nutt
8941446bfb A patch to add previous added font into nxf_getfonthandle function. From Pierre-Noel Bouteville. 2014-12-19 15:43:04 -06:00
Gregory Nutt
cb76fc05fc Lots of fonts that derive from X11-misc-fixed-* fonts. Converted for use by NuttX by Pierre-Noel Bouteville 2014-12-10 17:11:23 -06:00
Gregory Nutt
a7b6369825 Two new fonts from Pierre-noel Bouteville 2014-11-26 14:15:34 -06:00
Gregory Nutt
ec30a0bae5 Remove warnings when CONFIG_NXTK_BORDERWIDTH is set to zero. From Pierre-Noel Bouteville 2014-11-20 16:44:08 -06:00