Commit Graph

565 Commits

Author SHA1 Message Date
Gregory Nutt
3cd7b371d5 apps/graphics/twm4nx: Fix error in place of icons on the desktop
apps/graphics/twm4nx:  Fix several errors associated with the NxTerm buttons.  Most changes involved fixing crashes with the exit button is pressed.  Now the NxTerm windows behave well.  However, they are not receiving console input so there is still more to be done.
2019-05-13 09:09:33 -06:00
Gregory Nutt
668fe4e366 Squashed commit of the following:
apps/graphics/twm4nx:  Various fixes to get the NxTerm window to come up properly.  It does now come up okay, but the system basically loses its mind thereafter.  Goods good until some buttons are pressed.

    apps/graphics/twm4nx:  Simpify application startup.

    apps/graphics/twm4nx:  Fix some errors in debug statements.
2019-05-12 17:40:02 -06:00
Gregory Nutt
1ed0e05815 apps/graphics/twm4nx/Makefile: Don't build NxTerms is CONFIG_TWM4NX_NXTERM is not set 2019-05-12 14:40:44 -06:00
Gregory Nutt
80773daff9 Squashed commit of the following:
apps/graphics/NXWidgets/:  NXWidgets::CNxWidgets:  Fix some issues with returned values.  On setting the widget size or position, it was returning false if there was no change in size or position.  Many places in the code were treating the false return value as an error.

    apps/graphics/twm4nx:  Fix a couple of errors in the unused resize logic:  It was not hiding the resize menu to it appeared as a artifact in the uppler left hand corner.  Was calling setSize() on the window instead of getSize().  That was causing errors because the size being set was uninitialized.

    apps/graphics/twm4nx: Add missing event generation logic when a window is closed.
2019-05-12 13:46:48 -06:00
Gregory Nutt
abd7c9a165 This commit incorporates the NxTerm window hosting NSH. This is just code complete and just compiles with no errors. The NxTerm item does not appear in the Main Menu, however, selecting the menu item does not yet bring up the NxTerm window.
Squashed commit of the following:

    apps/graphics/twm4nx:  Revamp the event system to support notification of external applications when the window is being closed.

    apps/graphics/twm4nx:  A little NxTerm progress

    apps/graphics/twm4nx:  Clean up some logic associated with use of multiple Icon Managers.

    apps/graphics/twm4nx:  Add CNxterm to the build.  It is a long way from compiling.
2019-05-12 11:57:45 -06:00
Gregory Nutt
77d10f9028 apps/graphics/twm4nx: Add an IApplicationFactory interface. 2019-05-11 15:48:46 -06:00
Gregory Nutt
c6802efc38 apps/graphics/twm4nx: Modify how applications register with the main menu. Add logic to support all possible menu selection notification methods: But putting up a subment, by starting an application, or be sending an event. 2019-05-11 13:17:19 -06:00
Gregory Nutt
2b2e17d126 Squashed commit of the following:
apps/graphics/twm4nx:  Add new logic to place an icon at a reasonable spot on the background.

    apps/graphics/twm4nx:  Remove some unused logic.
2019-05-11 09:47:27 -06:00
Dave Marples
80de28c865 apps/system/spi: I needed a small test tool for spi in the style of the i2c tool, but I didn't see one so I've hacked one out of the i2c tool source. 2019-05-10 18:14:44 -06:00
Gregory Nutt
dbb5211060 Squashed commit of the following:
apps/graphics/twm4nx:  This resolves the problems noted in the previous commit comments.  Window events are now communicated properly to the appliation-specific event handler.  Menus now seem to be receiving events and working well.

    apps/graphics/twm4nx:  Revamp application event handler.  Better design but still crashes when a main menu entry is clicked.

    apps/graphics/twm4nx:  First cut at application window event distribution.  Has some issues.  Not ready for prime time.

    apps/graphics/twm4nx:  Add more controls for the events that will be generated on basic window redraw, mouse/keyboard input, and keyboard input.

    apps/graphpics/twm4nx:  Add a 'Desktop' item to the main menu that will iconify all windows and menus and just show the open desktop.
2019-05-10 15:22:27 -06:00
Gregory Nutt
28b4be1913 Squashed commit of the following:
apps/graphics/twm4nx:  Remove some unnecessary twiddling with widget settings.

    apps/graphics/twm4nx:  Correct an error in how menu windows are created.

    apps/graphics/twm4nx:  Use button array vs list box for menus.
2019-05-10 09:20:43 -06:00
Gregory Nutt
71de56bca8 Squashed commit of the following:
apps/graphics/twm4nx: Mostly cosmetic stuff.

    apps/graphics/twm4ndx:  In icon manager, fixing some places where width was used when height was intended.  Fixe uninitialized variable.
2019-05-09 17:54:01 -06:00
Gregory Nutt
06f479c471 Squashed commit of the following:
apps/graphics/twm4nx:  The Icon Manager now adds a Main Menu entry that will de-iconify the Icon Manager or raise to the top of the hieararchy if not iconfified.  This is useful when there are many open windows.

    apps/graphics/twm4nx:  In resize operation, don't let window get narrower than the minimum toolbar width.

    apps/graphics/twm4nx:  Add logic so that the main menu is place at (or near) the position where the background was clicked.

    apps/graphics/twm4nx:  Better integrate menus and iconifiction:  Bringup up a menu is like de-iconifcation, except there is no icon to be erases; taking down a menu is like iconification except that there is no icon to present.

    apps/graphics/nxwidgets:  Add methods to all windows to query if a window is visible or hidden.

    apps/graphics/twm4nx:  Use NxWidgets methods which work in all contexts instead of trying to come up with a way to know if a window is displayed through complex flags.
2019-05-09 13:31:12 -06:00
Gregory Nutt
fea0109ab3 Squashed commit of the following:
apps/graphics/twm4nx:  CWindow: Add a global function that can be used to determine the minimum width of a window.  If the window is set to a width smaller than this, then toolbar items will overlap and the toolbar will be corrupted.  This is a global function (rather than a method of CWindow) because in some cases, this minimum width must be known before the window is created.

    apps/graphics/twm4nx:  CMenus now uses CWindows, rather that raw NX windows.  This rippled through to many other things due to conflicts between NUL-terminated C strings and NXWidgets::CNxStrings.
2019-05-08 22:11:28 -06:00
Gregory Nutt
944fd507fe With these changes, the main menu appears when any location on the background no occupied by an icon is clicked.
apps/graphics/nxwidgets:  CWidgetControl::handleLeftClick now returns a value to indicate if the click was actually processed or not.  CWidgetControl::pollMouseEvents:  Correct return value.

apps/graphics/twm4nx:  CBackground::event():  Implement logic to handle a left click on the background and to bring up the main Menu.  CWindowEvent: Extend message to distinguish between keyboard and mouse input.  Mouse position and buttons now accompany the mouse input data. CMenus: Add methods to query and control the visibility of the menu.
2019-05-08 15:28:06 -06:00
Gregory Nutt
9e1257deed apps/graphics/twm4nx: (1) Update the README file, (2) add initial files to support an NxTerm application. On this initial commit, these are just the NxWM NxTerm files with some renaming. That are not finished and have not yet been hooked into the build system. Some applicatino is needed in order to verify the functionality of the main menu. 2019-05-08 11:15:44 -06:00
Gregory Nutt
598bf28f34 apps/graphics/twm4nx: Extend the IDragEvents interfaces and user's thereof to better handle the cases when dragging where the mouse position gets ahead of the window updates and the reported mouse position lies not in the toolbar window, but in the main window or even outside of the window. 2019-05-07 18:20:42 -06:00
Gregory Nutt
d244b7a11d Squashed commit of the following:
apps/graphics/twm4nx:  Additional redesign.  Window draggin now sort of works in an unreliable hurky-gurky way.  More to be done.

    apps/graphics/twm4nx:  First cut at redesigned dragging logic
2019-05-07 16:16:47 -06:00
Gregory Nutt
b0d39372fb apps/graphics/twm4nx: Exploit the new feature to create hidden windows. This cleans up some brief window startup anomalies. Also fixes an initialization error in CMenus. 2019-05-07 08:51:37 -06:00
Gregory Nutt
eaffa13f54 Squashed commit of the following:
apps/graphics/twm4nx:  Replace most usage of NUL-terminated C strings with NXWidgets::CNxString.

    apps/graphics/twm4nx:  Add initial support for the main menu.  The main menu will come up when a left click is performed on the background.  The main menu is used for starting applications.  The adds the CMainMenu class that implements the main menu and an IApplication interface class the provides th template for how any external C++ application can add itself to the Main Menu.

    Still missing is the logic that responds to the meny item selection and sends the event to the Main Menu as well as the logic in the Main Menu that handles the event and either brings up a sub-menu or starts and application.

    Things are still basically functional after these changes, but my gut feeling is these changes added some instabilities that will need to be smoothed out.
2019-05-06 18:10:45 -06:00
Gregory Nutt
02c148e07e Squashed commit of the following:
apps/graphics/twm4nx:  Try to improve icon text spacing.  Not noticeably better, however.

    apps/graphics:  Split long icon title on two lines below the icon image.

    apps/graphics/twm4nx:  Both iconification and de-iconification work.

    apps/graphics/twm4nx: Various fixed toward de-iconifying a window.  Progress but still not there yet.
2019-05-06 12:05:53 -06:00
Gregory Nutt
1879949cdc apps/graphics/twm4nx: Add logic to hide the window when it is iconified and restore the window when it is de-iconfied. Iconification works, de-iconification does not. 2019-05-05 15:23:50 -06:00
Gregory Nutt
1e4dfd7193 apps/graphics/twm4nx: Trying (unsuccessfully so far) to get events from iconified windows. 2019-05-05 11:50:08 -06:00
Gregory Nutt
64cf50e2eb graphics/twm4nx/src/cbackground.cxx: Add logic to handle polling for background icon events.
graphics/twm4nx/src/window.cxx:  Add flags to CWindow initializer to support customization of toolbar buttons and other window properties.  Add framework to handle toolbar button presses.  Window minimization (aka, iconification) does not work.

graphics/twm4nx/src/input.cxx:  Add support to scaling touchscreen.  Not needed for the current testing because the touchscreen naturally matches the display size.  But will be needed, along with calibration scren, in the future.
2019-05-05 10:23:46 -06:00
Gregory Nutt
f64df4a376 apps/graphics/twm4nx: Additional changes needed to use touchscreen with no keyboard. 2019-05-04 14:51:49 -06:00
Gregory Nutt
afbb51eb1e apps/graphics/twm4nx: Add option to use touschreen instead of mouse input. 2019-05-04 12:26:14 -06:00
Gregory Nutt
f3b3d1fc72 apps/graphics/NxWidgets: CNxTkWindow, CNxWindow, CNxServer: Add support to create RAM backed windows.
apps/graphics/twm4nx:  IconMgr window now comes up correctly.  Need to revisit window width setup.  All windows are no created as RAM backed windows.
2019-05-04 11:45:15 -06:00
Gregory Nutt
b5ae79b8f3 graphics/twm4nx/Kconfig: Add configuration disable keyboard/mouse input for testing purposes.
graphics/twm4nx/src/ciconmgr.cxx:  Correct initial window size and position in the upper righthand corner;  Need to fill draw the button array immediately on window creation.

graphics/twm4nx/src/cwindow.cxx:  Need to fill the toolbar initially with the widget background color.
2019-05-04 10:33:16 -06:00
Gregory Nutt
e50bbaac3a graphics/twm4nx/src/cbackground.cxx: Should set the initial background color immediately without waiting for a redraw. 2019-05-04 07:47:00 -06:00
Gregory Nutt
9eb7db731e apps/graphics/twm4nx: Fix a common typo: backgound vs background. 2019-05-03 10:47:04 -06:00
Gregory Nutt
445e0eef79 apps/graphic/twm4nx: Fix junk varialbe that was shadowing variable of the same name in the base CNxWidget class. Resolves all start up crash issues. Now I need to figure out why the host VNC client drops the connection. 2019-05-02 16:40:10 -06:00
Gregory Nutt
2fff83d60d apps/graphics/twm4nx: Correct design of input event logic. Still getting a hardfault. 2019-05-02 14:41:53 -06:00
Gregory Nutt
358f32bfdc Squashed commit of the following:
apps/graphics/twm4nx:  Fix various bugs found in bringup:  Re-order object instantiation to account for inter-object dependencies.  Correct mq_receive() buffer size.  Fix a backward comparison.

    apps/graphics/twm4nx:  Twm4Nx debug can now be separately enabled so that it does not get overwhelmed by other graphics debug output.
2019-05-02 09:19:45 -06:00
Gregory Nutt
a11f55ca4c apps/graphics/twm4nx: Fixes two bugs. Now gets further but is still non-functional. 2019-05-01 14:54:54 -06:00
Gregory Nutt
f730108adb Squashed commit of the following:
apps/graphics/NxWidgets:  Fix a possible deadlock condition when waiting for window geometry data that will never come.  Fixed by re-requesting geometry data if we don't already have it.

    apps/graphics/twm4nx:  Add some debug output.

    apps/graphics/twm4nx:  Rethink how background events are handled.

    apps/grephics/twm4nx:  Expermimental organization to capture background events.
2019-05-01 11:11:43 -06:00
Gregory Nutt
ad57b3de4d apps/graphics/twm4nx: Add options to initialize the system via boardctl() and to bring up the network using the new apps/netutils/netinit. This latter is only necessary because VNC is being used to provide graphics. 2019-04-29 11:49:15 -06:00
Gregory Nutt
6a970ec4e9 apps/graphics/twm4nx: Suppress input thread if using the VNC server. We don't need to catch input fromo keyboard and mouse devices in that case; those inputs will be injected into NX directly by the VNC server. Includes a couple of fixes from initial bringup attempts. 2019-04-28 12:47:49 -06:00
Gregory Nutt
e742f97674 Squashed commit of the following:
apps/graphics/twm4nx:  Remove Icon Windows; replace with IconWidgets that are draw on the background.
    apps/graphics/twm4nx:  Add CIconWidget event generation.
    apps/graphics/twm4nx:  Add event handling logic to CIconWidget.
2019-04-28 09:24:05 -06:00
Gregory Nutt
0c6f41912c apps/graphics/twm4nx: Add compount widget CIconWidget. This will eventually replace the icon Windows with widgets that can be drawn on the Background. 2019-04-27 17:53:02 -06:00
Gregory Nutt
9030bf631d apps/graphics/twm4nx: Flesh out some of the Resize logic. Still missing the pull events needed to do the resize. 2019-04-27 12:05:18 -06:00
Gregory Nutt
c144919a4e apps/graphics/twm4nx: Finsh menu-related event handling. Extended menu handling. Allow external application event handling using a new base class (CTwm4NxEvent). 2019-04-27 09:35:05 -06:00
Gregory Nutt
ba58654955 apps/graphics/twm4nx: In order for widgets too draw the correct window or toolbar, it is necessary to get the CWidgetControl instance from the window we want to use, not to create a new instance. 2019-04-26 14:30:55 -06:00
Gregory Nutt
601659ff59 Squashed commit of the following:
graphics/twm4nx/src/ciconmgr.cxx:  Integrate use of CButtonArray; implement first cut at event handling.

    graphics/nxwidgets/src/cbuttonarray.cxx:  Add a method to CButtonArray that will allow us to dynamically resize the array (at the cost of losing all button labels).

    graphics/twm4nx/src/ciconmgr.cxx:  Add some fragments of CButtonArray logic.

    graphics/twm4nx/src/cwindow.cxx:  Finishes first cut at window event management.
2019-04-26 12:50:35 -06:00
Gregory Nutt
27194275a5 apps/graphics/twm4nx: Update the README. 2019-04-25 17:58:28 -06:00
Gregory Nutt
950b4cb604 wm4Nx is a port of twm, Tab Window Manager (or Tom's Window Manager)
version 1.0.10 to NuttX NX windows server.  No, a port is not the right
word.  It is a re-design of TWM from the inside out to work with the NuttX
NX server.  The name Twm4Nx reflects this legacy.  But Twm4Nx is more a
homage to TWM than a port of TWM.

The original TWM was based on X11 which provides a rich set of features.
TWM provided titlebars, shaped windows, several forms of icon management,
user-defined macro functions, click-to-type and pointer-driven keyboard
focus, graphic contexts, and user-specified key and pointer button bindings,
etc.

Twm4Nx, on the other hand is based on the NuttX NX server which provides
comparatively minimal support.  Additional drawing support comes from
the NuttX NxWidgets library (which necessitated the change to C++).

Twm4Nx is greatly stripped down and targeted on small embedded systems
with minimal resources.  For example, no assumption is made about the
availability of a file system; no .twmrc file is used.  Bitmaps are not
used (other than for fonts).

The TWM license is, I believe compatible with the BSD license used by NuttX.
The origin TWM license required notice of copyrights within each file and
a full copy of the original license which you can find in the COPYING file.
within this directory.

STATUS:

This port was brutal.  Much TWM logic was removed because it depending on X11 features (or just because I could not understand how to use it).  The logic is partial.  A lot more needs to be done to have a complete system (hence, it is marked EXPERIMENTAL).  The kinds of things that need to done are:

1. Update some logic that is only fragmentary for how like resizing, and menus.
2. Integrate NxWidgets into the windows:  The resize menu needs a CLabel, the menus are CListBox'es, but not completely integrated, the Icon Manager needs to be a button array.
3. Resit Icons.  They are windows now, but need to be compound widgets lying on the background.
4. Widget events are only partially integrated.  A lot more needs to be done.  A partial change to thoe event system that hints at the redesign is in place but it is far from complete.
2019-04-25 16:54:17 -06:00
Gregory Nutt
8c48db8176 graphics/nxglyphs/include/mkcursor.c: Correct file header comments. 2019-04-22 17:01:20 -06:00
Gregory Nutt
a96fdc3fa1 /apps/graphics/nxglyphs: Add 16x16 cursor images. 30x30 are kind of large. 2019-04-14 13:44:08 -06:00
Gregory Nutt
03e65e8d22 graphics/nxglyphs: Update cursor images. Better to have clean, if ragged cursor edges that weird color effects from antialiasing attempts. 2019-04-13 15:09:57 -06:00
Gregory Nutt
0ff0a97ae4 apps/graphics/nxglyphs/include: Lots more problems with autogenerated files. 2019-04-10 09:15:05 -06:00
Matthew Koch
f09bc1a01b Squashed commit of the following:
Add note to file header of MIT-licensed code
    Compat for older kconfig
    Fixup OOB build experience
    Apply coding standards to imported code
    Upgrade littlevgl to 5.3 - demo
    Upgrade littlevgl to 5.3
2019-04-08 06:57:42 -06:00
Gregory Nutt
aec954b9ec apps/graphics/nxglyphs: Fixes for more changes to cursor structures. 2019-04-07 17:41:45 -06:00
Gregory Nutt
7a7e86ac6c apps/nxglyphs/include/: Remove stride from cursor structure 2019-04-07 16:06:21 -06:00
Gregory Nutt
35fb270090 Add apps/graphics/nxglyphs/include/.gitignore 2019-04-07 13:29:31 -06:00
Gregory Nutt
f907270cd4 apps/nglyphs/include: Fixes to mkcursor.c. Update all cursor images to hangle extensions to the cursor image structure. 2019-04-07 13:23:43 -06:00
Gregory Nutt
34da66f51e apps/graphics/nxglyphs: Add some cursor bitmap images. 2019-04-07 11:22:31 -06:00
Gregory Nutt
c6dbcb2b17 graphics/nxglyphs/Makefile: Fixes error 'No rule to make target preconfig' 2019-04-05 14:41:00 -06:00
Gregory Nutt
ef26c25994 graphics/nxwidgets and inclu/graphics/nxwidgets: Add support for modal windows. 2019-04-05 09:05:19 -06:00
Gregory Nutt
5a693020b8 graphics/nxwm/src/nxwm_main.cxx: Fix a warning about a missing return in function returning a value. 2019-04-04 20:10:53 -06:00
Gregory Nutt
755ee18504 apps/graphics/nxwm: nxwm_main.c is no longer a unit test. Need to remove some dangling dependencies on UNITTEST and also some testing that is inappropriate in its new role. 2019-04-04 20:04:12 -06:00
Gregory Nutt
c7da99d6a5 apps/graphics/nxwidgets: Fixes a few warnnigs. 2019-04-04 19:43:23 -06:00
Gregory Nutt
dee7f14b49 Squashed commit of the following:
apps/system/nxplayer:  Fix some logical errors from recent comments.  They broke the build of the nxplayer as a library vs. a task.  apps/graphics/nxglyphs:  Fix yet more namespace problems.

    graphics/nxwm/src/nxwm_main.cxx:  Move from graphics/nxwidgets/UnitTests/nxwm/nxwm_main.cxx.

    apps/graphicx/nx*:  Fixes numerous build issues mostly associated with include paths and namespaces.

    apps/nxglyphs:  Decouple (mostly) from nxwidgets and nxwm so that they can be used elsewhere.  Creates include/graphics/nxglyphs.h

    apps/graphics/nxglyphs:  Put all NxWidgets and NxWM glyphs into a common directory where they can eventually be shared.  Not very sharable at the moment due to header file entanglements.  Need a separate nxglyps.hxx header file.

    Separate nxwidets and nxwm into separate directories.  Remove old, common NxWidgets directory.
2019-04-04 18:53:29 -06:00
Gregory Nutt
61eb262142 Various graphics apps: If CONFIG_VNCSERVER=y, don't vnc_default_fbinitialize() directly. That is a violation of the portable POSIX interface. Instead, call boardctl(BOARDIOC_VNC_START);. 2019-04-02 07:06:06 -06:00
Gregory Nutt
84922406f7 graphics/NxWidgets/nxwm/src/ctaskbar.cxx: Correct a typo in a comment. 2019-03-29 11:04:48 -06:00
Gregory Nutt
b024b54b37 Correct some trivial typos 2019-03-29 09:02:55 -06:00
Gregory Nutt
2dca8f38d9 graphics/NxWidgets/nwm: Cosmetic. 2019-03-28 12:18:05 -06:00
Gregory Nutt
765106e816 Remove unused apps/graphics/NxWidgets/UnitTests/Kconfig.SAVE. 2019-03-27 15:51:48 -06:00
Gregory Nutt
e0db6be103 Trivial removal of dangling white space at the end of the line. 2019-03-27 13:53:07 -06:00
Gregory Nutt
b167bebabc graphics/NxWidgets/nxwidgets/src/ccallback.cxx and include/graphics/nxwidgets/: Add a synchronize method to every window. This is a wrapper arounc nx[tk]_sync and permits C++ applications to synchronize with the NX server. 2019-03-27 13:50:52 -06:00
Gregory Nutt
11b6bc9447 exmamples/, graphics/NxWidgets: Update NX window clients so that they use the new 'event' callback (vs. the obsoluted 'blocked' callback). 2019-03-25 13:01:52 -06:00
Gregory Nutt
d33ce2c3ae graphics: nx_openwindow() and nxtk_openwindow() now accept an addtional 'flag' parameter. This argument is not used at present but will, eventually enable a RAM backed, per-window framebuffer. 2019-03-13 12:33:13 -06:00
Gregory Nutt
66af5b46dd apps/Nxwidgets: Fix some recently introduced errors found in build testing. 2019-03-08 16:26:34 -06:00
Gregory Nutt
53e6f4bf13 apps/examples/nxterm, graphics/NxWidgets: Replace illegal direct calls to nxterm_redraw() and nxterm_kbdin() with new boardctl() calls. 2019-03-06 15:23:02 -06:00
Gregory Nutt
c341abff35 graphics/NxWidgets/nxwm/src/cnxterm.cxx: Part of the last change was still in he editor. 2019-03-06 11:12:56 -06:00
Gregory Nutt
061b4338c9 apps/examples/nxterm and graphics/NxWidgets/nxwm: Replace direct calls to nxtk_register with legal, indirect calls via boardctrl(BOARDIOC_NXTERM). Replace calls to (deleted) nxterm_unregister(). The correc way to delete a driver is by unlink'ing it. 2019-03-06 10:53:13 -06:00
Gregory Nutt
9c05f6540b Some updates due to NuttX renaming: CONFIG_BOARD_INITIALIZE is not CONFIG_BOARD_LATE_INITIALIZE; board_initialize() is now board_late_initialize(). 2019-02-18 13:16:23 -06:00
Gregory Nutt
902c3fa552 graphics/NxWidgets/nxwm/src/ccalibration.cxx: Correct and error in the type of the return value. 2019-01-27 17:22:13 -06:00
Xiang Xiao
ff54c47e64 Follow up the kernel signal-related change in:
examples/oneshot/oneshot_main.c:
  examples/alarm/alarm_main.c:
  examples/ajoystick/ajoy_main.c
  examples/djoystick/djoy_main.c
  examples/buttons/buttons_main.c
  examples/zerocross/zerocross_main.c
  graphics/traveler/src/trv_input.c
  graphics/ft80x/
2019-01-27 09:48:29 -06:00
Ken Pettit
8132c38064 graphics/pdcurs34: This commit adds a configuration option to pdcurses to enable line-drawing character (ALTCHARSET) when using the short 16-bit chtype. This is done by limiting the characters to 7-bit ASCII values and using the 8-th bit as the A_ALTCHARSET bit. This allows a significant RAM savings 4K - 20K depending on terminal size) while still allowing the nicer line-graphic characters for border drawing. 2019-01-08 08:28:27 -06:00
Ken Pettit
e1237bfefd apps/graphics/pdcurs34/nuttx and system/termcurses: This commit fixes two issues:
1. A memory corruption issue that occurs from a paste operation that would overflow the fixed buffer size for keyboard processing.

2. A stall in getch() processing when there are cached keycodes in the termcurses emulation (tcurses_vt100.c).
2019-01-08 08:28:27 -06:00
Ken Pettit
73fc5eb199 apps/graphics/pdcurs34: Integration of termcurses into pdcurses, plus pdcurses updates for multi-thread support 2019-01-05 13:25:12 -06:00
Gregory Nutt
6a87ee878b graphics/NxWidgets/nxwidgets/src/clabelgrid.cxx: Change old-style dbg() to current ginfo(). 2018-11-09 12:34:46 -06:00
Gregory Nutt
7488a65e17 Updates from coding style review of PR 160 2018-11-09 10:21:42 -06:00
Petteri Aimonen
66d4ed9912 Merged in paimonen/apps/pullreq_nxwidgets (pull request #160)
NxWidgets improvements

* NxWidgets: fix garbage returned when CCycleButton::getValue() is called after removeAllOptions().

    It's a bit questionable whether returning 0 here is reasonable or
    if it would be better to assert(). But either is better than reading
    into random memory and returning a garbage value.

* NXWidgets CScrollingPanel: Don't draw outside the widget area.

    The port->move() function doesn't support clipping the
    copied area to the client area, so we have to manually
    calculate the part that can be moved without going outside
    the widget.

* CNxString: Add string + operator and ::format() function

* CNumericEdit: Add option to include unit name after the value

* NxWidgets: CNxWidget: Make useWidgetStyle() public

    Makes it easier to update styles when multiple controls are nested.

* NxWidgets: Add CLabelGrid control for displaying text in grid format.

Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-09 16:00:50 +00:00
Gregory Nutt
6cf53e69a4 Fix missing dates in Copyright. 2018-09-17 08:23:42 -06:00
Gregory Nutt
c558fce8ad This commit moves the NxWidgets include directories into the correct position in the apps/ source tree.
Squashed commit of the following:

    Clean-up some include path problems introduced with the previous set of changes.

    app/include/graphics, apps/NxWidgets/UnitTests:  Update include paths for file in new location.

    apps/NxWidgets/nxwidgets and nxwm:  Update include paths for file in new location.

    apps/graphics/NxWidgets:  Move nxwidgets and nxwm include/ directories to apps/include/graphics
2018-09-16 17:23:45 -06:00
Gregory Nutt
2a19aab1a5 Eliminate some warnings found in build testing. 2018-09-16 10:11:51 -06:00
Gregory Nutt
cd06134557 graphics/NxWidgets: Fix some issues foundin build testing. 2018-09-16 09:25:32 -06:00
Gregory Nutt
2de0a78202 apps/graphics/NxWidgets: Hooking into build system. 2018-09-16 06:52:25 -06:00
Gregory Nutt
17b69f1515 Directory.mk: If the current directory contains a Kconfig file and MENUDESC is not defined, then Directory.mk must not trash the Kconfig in the current directory. 2018-09-16 06:15:37 -06:00
Gregory Nutt
dfb8359308 apps/graphics/NxWidgets/UnitTests/Makefile: Forget to add file before last commit 2018-09-16 06:00:32 -06:00
Gregory Nutt
07709a11c8 apps/graphics/NxWidgets/UnitTests: Add Unit Test configuration and build logic. 2018-09-15 18:22:56 -06:00
Gregory Nutt
52ac68da04 app/graphics/NxWidgets: Fix-up paths in idempotence definitions of header files. 2018-09-15 16:50:46 -06:00
Gregory Nutt
cb20ed53f3 apps/graphics/NxWidgets: Fix file paths in file headers. Remove some duplicate tools. 2018-09-15 16:46:29 -06:00
Gregory Nutt
76c6c12517 apps/graphics/NxWidgets: Some progress integrating configuration/build system 2018-09-15 16:38:39 -06:00
Gregory Nutt
68877ca48c Merge remote-tracking branch 'apps/NxWidgets' 2018-09-15 15:58:43 -06:00
Gregory Nutt
57bcfdb987 graphics/NxWidgets/.gitignore: Add file lost in the merge 2018-09-15 15:53:29 -06:00
Gregory Nutt
f871cd0911 Move NxWidgets files into graphics/NxWidgets 2018-09-15 15:50:16 -06:00
Gregory Nutt
ec79a44696 Remove old NxWidgets files 2018-09-15 15:38:55 -06:00
Gregory Nutt
c5edf40542 apps/examples/udpblaster: Add option to use poll() on output (only). Also picks up some fixes to various typographical errors. 2018-09-14 06:59:23 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
Xiang Xiao
5304ec5eec Replace all ASSERT calls to DEBUGASSERT 2018-08-24 06:19:35 -06:00
anchao
220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f Squashed commit of the following:
apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
    apps/Application.mk: introduce MODULE config to simplify tristate(m)
    apps/nsh:  Change the nuttx shell module type to tristate
    apps:  Add loadable application support
    script/mksymtab:  Generate symbol table name by default
    apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
a89f0e3a07 Add missing function names in function headers. 2018-08-13 15:52:59 -06:00
Gregory Nutt
a57610c2c4 Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
Alan Carvalho de Assis
3cc79be2fb examples/lvgldemo/ and graphics/littlevgl/: pdate LVGL to version 5.1.1 2018-07-19 08:02:25 -06:00
Gregory Nutt
b3f638b40c Squashed commit of the following:
apps/examples/ft80x:  Fix some errors in co-processor demos.
    apps/examples/ft80x:  Correct an error in the spinner demo.
    apps/examples/ft80x:  Change some unimportant warnings to informational output to reducing debug output.
2018-03-10 10:29:10 -06:00
Gregory Nutt
b0a0a39f7a Squashed commit of the following:
apps/examples/ft80x:  Fix some size calculations.  Add option to disable primitive tests... just too boring to have to watch over and over again.
    apps/graphics/ft80x:  Fix a typo in backlight fade logic; Fix error in formmatted display light debug dump output.
    apps/graphics/ft80x:  Fix some warnings when debug features are enabled.
2018-03-09 12:31:29 -06:00
Gregory Nutt
305e470a90 apps/graphics/ft80x: Add controls for enabling/disabling the audio amplifier; Add general interfaces for controlling FT80x GPIOs. 2018-02-27 08:48:15 -06:00
Gregory Nutt
9f6338566f apps/graphics/ft80x: Add basic support for GPIO and configuration for eventual support of FT80x GPIO audio shutdown controls 2018-02-26 19:08:24 -06:00
Gregory Nutt
685d379542 apps/graphics/ft80x: Add interface to play midi sounds; apps/examples/ft80x: Add an example using stencils. 2018-02-26 15:26:11 -06:00
Gregory Nutt
9d2b92d75d apps/graphics/ft80x: Audio buffer size/offset is now configurable. 2018-02-26 09:58:52 -06:00
Gregory Nutt
d47f474ed6 apps/graphics/ft80x: Fix some circular buffer management logic. 2018-02-26 08:59:41 -06:00
Gregory Nutt
cdfd5afb33 apps/graphics/ft80x: Simplify some interfaces. 2018-02-25 20:26:24 -06:00
Gregory Nutt
621f2f5e83 apps/graphics/ft80x: Fix an incorrect size adjustment. 2018-02-25 18:39:39 -06:00
Gregory Nutt
cccac4932b apps/graphics/ft80x and apps/examples/ft80x: Fix some compile issues with other configuration options are selected. 2018-02-25 18:24:13 -06:00
Gregory Nutt
e734ab1b36 apps/graphics/ft80x: Add 'prototype' quality logic for playing audio files. 2018-02-25 17:14:07 -06:00
Gregory Nutt
4eeadd7b5d apps/graphics/ft80x: Ooops 5 touch points, not 4. apps/examples/ft80x: Re-order to some tests. 2018-02-25 11:45:56 -06:00
Gregory Nutt
e15526f683 apps/graphics/ft80x: Add more touchscreen interfaces. apps/examples/ft80x: Add an interactive example using buttons, keys, and touchscreen input. 2018-02-25 11:20:39 -06:00
Gregory Nutt
9095bd4f1b apps/graphics/ft80x: Add interfaces to control the backlight. apps/examples/ft80x: Fade the display on and off between each example. 2018-02-23 10:49:38 -06:00
Gregory Nutt
4f6984d714 apps/graphics/ft80x: Add capabilitilies to send commands to the co-processor outside of the context of a display list. apps/examples/ft80x: Add another copressor example.. spinner animation. 2018-02-22 10:01:50 -06:00
Gregory Nutt
a0a16e2ec8 apps/graphics/ft80x: Correct time units in usleep call. 2018-02-22 06:30:54 -06:00
Gregory Nutt
5945a09d6d Correct misplaced right bracket 2018-02-22 01:44:08 +00:00
Gregory Nutt
2436e3f85a apps/graphics/ft80x: Add routine to wait for logo animation to complete. apps/examples/ft80x: Add more graphic demonstrations. 2018-02-21 19:17:28 -06:00
Gregory Nutt
a7356b34de Kconfig: Fix a typo in range. range 1 31, not range l 31 2018-02-21 17:47:09 -06:00
Gregory Nutt
157da4f1ab apps/graphics/ft80x: Add support for reading/writing multiple registers. Add interface to obtain the touchscreen transform matrix. apps/examples/ft80x: Add more co-processor demos. 2018-02-21 11:50:06 -06:00
Gregory Nutt
189996add6 apps/graphics/ft80x: Fix a few problems when debug output is enabled. 2018-02-21 06:56:29 -06:00
Gregory Nutt
a2b232f832 Squashed commit of the following:
apps/examples/ft80x:  Add another co-processor demo
    ft80x: Add a few more debug message.
2018-02-20 18:46:17 -06:00
Gregory Nutt
ecfdf073fc Squashed commit of the following:
apps/graphics/ft80x:  Replace polling logic with gentler signal logic when waitinf for the CMD FIFO to become empty.
    apps/examples/ft80x:  Add first co-processor example.
    apps/graphics:  Extend library to manage display lists either in display memory (RAM DL) or provided directly to th co-processor FIFO (RAM CMD).
    apps/examples/ft80x:  Some minor clean-up.  Trivial changes for coprocessor support.
2018-02-20 15:23:05 -06:00
Gregory Nutt
64a4622437 apps/graphics/ft80x and apps/examples/ft80x: Fix a few compile-relate issues introduced with last merge. 2018-02-19 13:22:23 -06:00
Gregory Nutt
7c9f8ef9eb Squashed commit of the following:
apps/graphics/ft80x:  Add support for accessing graphics ram.  apps/examples/ft80x:  Add more primitive graphics demos.
    apps/examples/ft80x:  Add a couple more demos of primitives.  Use new ft80x_dl_create() to simplify.
    apps/graphics/ft80x:  Add ft80x_dl_create() which simplies writing of very simple display lists.
2018-02-19 13:14:16 -06:00
Gregory Nutt
5dd5908d86 apps/graphics/ft80x: Add register access helpers. 2018-02-18 13:36:08 -06:00
Gregory Nutt
7d245e4b79 apps/graphics/ft80x: Need to include errno.h. 2018-02-18 12:39:58 -06:00
Gregory Nutt
62d6843cb3 apps/graphics/ft80x: Add the beginning of FT80x support library. So far consists only of some display list helpers. 2018-02-18 10:12:53 -06:00
Gregory Nutt
8eb4946e69 apps/graphics/littlevgl/Makefile: Fix a dependency timestamp problem. 2018-01-18 12:50:20 -06:00
Gregory Nutt
157e59b004 apps/examples/lvgldemo: Can no call boardctl() to initialize graphics hardware if needed. 2018-01-18 07:12:31 -06:00
Gregory Nutt
29072596c3 Update apps/graphics/NxWidgets/Kconfig 2018-01-17 09:32:55 -06:00
Alan Carvalho de Assis
f2028411bf Squashed commit of the following:
apps/examples/lvgldemo:  Fix up some include paths
    apps/examples/lvgldemo:  The last final now conforms to the NuttX coding style.
    apps/graphics/littlevgl:  Two more files are closer to the NuttX coding style.
    apps/graphics/littlevgl:  Two more files are closer to the NuttX coding style.
    apps/examples/lvgldemo:  Three more files are closer to the NuttX coding style.
    apps/examples/lvgldemo:  Two more files are closer to the NuttX coding style.
    apps/examples/lvgldemo:  Two more files are closer to the NuttX coding style.
    Add include/graphics/.gitignore
    apps/include/graphics:  Remove lvgl.h.  graphics/littlevgl/Makefile now copies the file into position.
    apps/graphics/littlevgl:  Add .gitignore file
    apps/graphics/littlevgl:  Most of these files follow the coding style now.
    apps/graphics/littlevgl:  This gets a couple of files closer to the NuttX coding style.
    apps/examples/lvgldemo:  Add lvgldemo example
    apps/graphics/littlevgl:  Add littlevgl library
2018-01-16 15:35:55 -06:00
Gregory Nutt
767ca03b10 apps/graphics/pdcurs34: Remove EXPERIMENTAL from configurations with BPP < 8 bits. 2017-12-03 17:24:27 -06:00
Gregory Nutt
46c10c46f7 apps/graphics/pdcurs34: For BPP < 8 case, correct some index and masking of final unaligned bytes. Also corrects units used in some X conversions. Need units of pixels, not characters 2017-11-29 19:14:10 -06:00
Gregory Nutt
42f66e6e3c apps/graphics/pdcurs34: Correct logic that sets the font buffer to the background color for the case of BPP < 8. 2017-11-29 08:49:24 -06:00
Gregory Nutt
eabd5eeb9b apps/graphics/pdcurses: Cast to uin16_t before shifting uint8_t value. 2017-11-28 14:44:24 -06:00
Gregory Nutt
b749a2a35f apps/graphics/pdcurses: Numerous fixes to effor to get support for 1 BPP framebuffer working. 2017-11-28 11:21:15 -06:00
Gregory Nutt
cab8363d44 apps/graphics/pdcurses: Fix some miscellaneous, harmless typos and standard violations. 2017-11-27 17:31:22 -06:00
Gregory Nutt
2c3042766d Merged pdcurses into master
* apps/graphics/pdcurs34: Initial steps to support less than 8-pixel fonts on less than 8-bit display

* pdcscrn.c edited online with Bitbucket

* apps/graphics/pdcurs34: Calculation of font buffer stride must depend on the configured BPP.

* apps/pdcurs34:  Rearrange some things so that there is slightly less conditional compilation.

* apps/pdcurs34:  Fix a misnamed label; add first cut at function to copy a font into the font buffer; Make better use of macros to reduce code complexity.

* apps/graphics/pdcurses:  Fix a few compile issues with last commit.
2017-11-27 16:23:46 -06:00
Gregory Nutt
efcbb38663 apps/graphics/pdcurs34: Add some convenience definitions. 2017-11-27 06:49:38 -06:00
Gregory Nutt
7081f33ec3 apps/graphics/pdcurses: Fix a typo in a function name 2017-11-26 15:33:54 -06:00
Gregory Nutt
000b52c668 Fix typos in Kconfig files: LCD_PACKEDMSFIRST, not LCD_PACKEDFIRST. 2017-11-26 07:56:16 -06:00
Gregory Nutt
e5ebcddc23 apps/graphics/pdcurs34: Fix LCD display updates... The x and y offsets were being added twice. 2017-11-26 06:09:06 -06:00
Gregory Nutt
9246d03ebd apps/graphics/pdcurses: Fix some display update calculations. 2017-11-25 18:05:07 -06:00
Gregory Nutt
1fbf30e6fe apps/graphics/pdcurses and apps/examples/fb: Both assume that bits are packed MS first. 2017-11-25 13:14:28 -06:00
Gregory Nutt
f42031e65b apps/examples/pdcurses: Add a very simple example that just shows the entire character set (7-bit only). It adapts to the size of the framebuffer and, hence, can be used with very tiny displays. In fact it looks really dumb on big displays. 2017-11-24 09:46:58 -06:00
Gregory Nutt
28f5176a0d apps/graphics/pdcurs34: Fix a bad copy-paste error introduced in last commit. 2017-11-24 08:45:40 -06:00
Gregory Nutt
18a5e074e7 apps/graphics/pdcurs34: Fixes calculation of the final byte position of the case of BPP < 8. 2017-11-24 07:17:10 -06:00
Gregory Nutt
0d4fe9518a NxWidgets: Move from apps/NxWidgts to apps/graphics/NxWidgets 2017-11-24 05:56:51 -06:00
Gregory Nutt
067c14ee05 apps/graphics/pdcurs34: When clearing screen, width calculation should round up for any fractional bytes. When pdcurses is closed, forgot to close the djoystick driver. 2017-11-24 05:45:06 -06:00
Gregory Nutt
a2ee61a124 apps/graphics/pdcurs34: Simply and combine some logic. 2017-11-23 16:31:37 -06:00
Gregory Nutt
421b3009e3 apps/graphics/pdcurs34: Correct logic that clears the screen. For the casee of BPP < 8, it was writing beyond the end of the framebuffer and clobbering things. 2017-11-23 09:30:14 -06:00
Gregory Nutt
611a0e4a79 apps/graphics/pdcurs34: Need to include errno.h in one file when PDC_DEBUG is enabled. 2017-11-23 08:42:03 -06:00
Gregory Nutt
dca1a3a01e Trivial: Fix some typos in comments and debug output. 2017-11-23 07:33:26 -06:00
Gregory Nutt
0861f821fb apps/graphics/pdcurs34: Monochrome/greylevel framebuffer support is now code complete, but untested. Also added support for Y2 and Y2 color formats. 2017-11-22 15:35:38 -06:00
Alan Carvalho de Assis
f20015b164 apps/graphics/pdcurs34: Fix missing ; typo in last commit 2017-11-22 10:47:03 -06:00
Gregory Nutt
56a7ded061 apps/graphics/pdcurses: Fix type used in last commit. 2017-11-22 09:03:44 -06:00
Gregory Nutt
691a22fc08 apps/graphics/pdcurses: Eliminate some redundant calculations. 2017-11-22 09:02:49 -06:00
Gregory Nutt
24dc1b42e4 apps/graphics/pdcurs34: Add support for greylevels vs. RGB. 2017-11-22 08:38:10 -06:00
Gregory Nutt
49dab79a30 apps/pdcur34: Define pdc_color_t based on pixel depth, not on specific color format. 2017-11-22 07:22:03 -06:00
Gregory Nutt
63e3af2d62 apps/graphics/pdcurs34: Fix or remove monst #warning's 2017-11-21 08:18:21 -06:00
Gregory Nutt
678af717c8 apps/graphics/pdcurses: Need to set the global COLORS or else all displays on monochrome. 2017-11-20 15:23:27 -06:00
Gregory Nutt
b346d1d6eb apps/graphics/pdcurses: Add support for discrete joystick input. This is sufficient to get through all menuing tests that do not require text input. 2017-11-20 14:17:45 -06:00
Gregory Nutt
6eae5e0c4c apps/graphics/pdcurs34: Clear the framebuffer when it is initialized. 2017-11-20 08:18:36 -06:00
Gregory Nutt
4eac495713 apps/pdcurses/: Fix a few more bugs found in testing; apps/examples/pdcurses: Brings in the remaining pdcurses demo programs. 2017-11-19 16:14:55 -06:00
Gregory Nutt
42bb5643bf Squashed commit of the following:
apps/graphics/pdcur34:  Various fixes from initial testing.  Still does not work

    apps/graphics/pdcurs34/nuttx:  Completes first cut at framebuffer rendering logic.
2017-11-19 13:35:20 -06:00
Gregory Nutt
ad54b77f33 apps/graphics/pdcurs34: Add NuttX framebuffer color managment and beginning of some rendering logic. 2017-11-18 19:30:19 -06:00
Gregory Nutt
65555542e5 apps/graphics/pdcurs34/nuttx: Add framebuffer initialization logic. 2017-11-18 15:27:12 -06:00
Gregory Nutt
7664889170 apps/graphics/pdcurs34: Extend configuration to select the font size. 2017-11-18 12:11:02 -06:00
Gregory Nutt
eb065a756e apps/examples/pdcurses: Bring pdcurses demos and make them conform to the NuttX coding style (not yet hooked into the build system). 2017-11-17 18:23:23 -06:00
Gregory Nutt
25e4f6b57b apps/graphics/pdcurses: Add dummy files with placeholders for the logic that needs to be implemented to integrated pdcurses with NuttX. 2017-11-17 14:50:10 -06:00
Gregory Nutt
69bea27b20 Remove some dangling whitespace at the end of lines. 2017-11-17 13:23:02 -06:00
Gregory Nutt
7ba2110c83 apps/graphics/pdcurs34: This commit brings the basic public domain pdcurses library into NuttX. This library is complete but not yet usuable because it still requires the NuttX interfacing code needed hook pdcurses into the NuttX graphics drivers. Also test cases are needed to verify the pdcurses integration. 2017-11-17 13:12:59 -06:00
Gregory Nutt
4bff47a80f graphics/traveler: Conver to use the framebuffer driver. 2017-10-16 07:13:38 -06:00
Gregory Nutt
90d4cf6ede This removes the last traces of single-user mode. 2017-10-15 09:36:55 -06:00
Gregory Nutt
47dabf17aa graphics/traveler: Restore most of what was removed in the previous commit. That non-standard logic is currently needed by the simulation. It should be replaced with use of a framebuffer driver. 2017-10-14 12:25:41 -06:00
Gregory Nutt
fda6713854 graphics/traveler: No longer supports single user graphics mode. 2017-10-14 11:51:58 -06:00
Gregory Nutt
7a8561728c The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree. 2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18 All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted. 2017-08-13 09:35:14 -06:00
Gregory Nutt
13911d9b17 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:40:03 -06:00
Masayuki Ishikawa
5382806c5a Remove an unused variable when calling sigwaitinfo() 2017-03-02 13:41:08 +09:00
Gregory Nutt
81645fe18f strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead. 2017-02-16 15:58:15 -06:00
Alan Carvalho de Assis
a30c439a52 apps/graphics/traveler/tools: Fix linkage issue. The -lm should come after -o binname 2017-01-07 14:10:07 -06:00
Gregory Nutt
07e3637100 Traveler: Missing semicolon in prototype. 2017-01-07 12:48:08 -06:00
Gregory Nutt
507cbe2475 trv_graphics.h uses sem_t so should include semaphore.h 2017-01-07 12:43:17 -06:00
Gregory Nutt
8374ab4363 Correct a few things from the last commit. 2016-12-01 16:56:47 -06:00
Gregory Nutt
38e3619e21 Graphics: Remove all NX server taks. Instead, call boardctl() to the the NX server kernel thread. 2016-12-01 16:33:45 -06:00
Gregory Nutt
de40e5551f Update README 2016-11-14 16:38:45 -06:00
Gregory Nutt
42c8fab565 Update README 2016-11-13 07:54:46 -06:00
Gregory Nutt
c5f8f0741e Update README 2016-11-13 06:43:35 -06:00
Gregory Nutt
fcda9116d3 tcledit/libwld: Tool cannot use NuttX debug macros. Must have its own. 2016-11-12 12:08:44 -06:00
Gregory Nutt
ae89057270 tcledit/libwld: cosmetic naming fixes 2016-11-12 11:30:17 -06:00
Gregory Nutt
58adf727c3 tcledit: Fix a Tk package issue. 2016-11-12 09:00:05 -06:00
Gregory Nutt
047a51c592 tcledit: Fix some error reporting 2016-11-12 08:19:39 -06:00
Gregory Nutt
104d743c2a tcledit: Fix some logic errors. 2016-11-12 07:56:59 -06:00
Gregory Nutt
307bb794a8 tcledit/libwld: Fix a couple of bugs. 2016-11-11 16:54:51 -06:00
Gregory Nutt
c185f8e5c8 Merge branch 'master' of bitbucket.org:nuttx/apps 2016-11-11 16:49:51 -06:00
Gregory Nutt
0ea1183595 libwld: Put a copy of fsutils/inifile in the tools dir for host builds 2016-11-11 16:48:53 -06:00
Gregory Nutt
810ae2a3ff tcledit: Fix some initialization issues 2016-11-11 14:17:05 -06:00
Gregory Nutt
8404acae22 tcledit/libwld: Add support for building debug versions. 2016-11-11 10:05:12 -06:00
Gregory Nutt
c79f1deb2b tcledit/libwld: Should not depend on configured trv_pixel_t or dev_pixel_t. Assume always uint8_t and uint32_t TrueColor. 2016-11-11 08:43:48 -06:00
Gregory Nutt
635571db87 Merge branch 'master' of bitbucket.org:nuttx/apps 2016-11-11 08:52:08 -06:00
Gregory Nutt
0e0e70775d Fix some header comment block widths 2016-11-11 08:51:41 -06:00
Gregory Nutt
b808ac2b2d tcledit: Costmetic changes to get file closer to coding standard. 2016-11-11 08:19:10 -06:00
Gregory Nutt
1642b8f5d7 Update README 2016-11-11 08:11:36 -06:00
Gregory Nutt
bfb9f181c6 Update README 2016-11-11 07:55:04 -06:00
Gregory Nutt
4a2543fc08 tcledit: Fix some more compile issues 2016-11-11 07:52:32 -06:00
Gregory Nutt
82cd4308e3 tcledit: Fix a few compile issues. 2016-11-11 06:57:01 -06:00
Gregory Nutt
bb0e1a8924 libwld: Should not depend on dev_pixel_t 2016-11-11 07:04:01 -06:00
Gregory Nutt
a0f9ecf15d Remove references to old AST naming 2016-11-10 17:04:13 -06:00
Gregory Nutt
ca320e2029 tcledit: Rename stuff to get close to current NuttX coding standard. 2016-11-10 16:34:25 -06:00
Gregory Nutt
505d80dd4c libwld: Rename some things to get closer to current coding standard. 2016-11-10 16:20:35 -06:00
Gregory Nutt
9885b5c9b3 tcledit: Fix some compile issues. Still undefined things at link time. 2016-11-10 14:04:05 -06:00
Gregory Nutt
b1fea5ec10 libwld: Now compiles without errors or warnings 2016-11-10 13:48:43 -06:00
Gregory Nutt
6bad8f7676 tcledit: Fix a few compile problems. 2016-11-10 13:08:04 -06:00
Gregory Nutt
8db489ed8c Run some .c files throut nuttx/tools/indents.sh 2016-11-10 12:21:47 -06:00
Gregory Nutt
85ba39f596 tcledit: More logic in world library. 2016-11-10 11:42:37 -06:00
Gregory Nutt
450a83a4dd Few more compilation issues 2016-11-10 06:29:25 -06:00
Gregory Nutt
efff1cd235 Untangle some header files 2016-11-09 14:12:21 -06:00
Gregory Nutt
487e6197c8 Don't include from Nuttx/include as system files. Need real platform files. config.h is an issue. 2016-11-09 13:40:46 -06:00
Gregory Nutt
d7ce4110bb More name changes + compilation fixes 2016-11-09 13:16:33 -06:00
Gregory Nutt
aee656ea36 More name changes 2016-11-09 12:29:30 -06:00
Gregory Nutt
4b933231f7 Beginning the long process of name changes 2016-11-09 11:54:33 -06:00
Gregory Nutt
5ef2791e0e Fix a few compile issues. 2016-11-09 11:37:17 -06:00
Gregory Nutt
484b9abe1a Traveler: First dirty conversion of the TCL/X11 world editor 2016-11-09 11:14:35 -06:00
Gregory Nutt
d5b7268d95 ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers. 2016-07-20 14:02:41 -06:00
Gregory Nutt
3e83aa7388 Add apps/include to include path in top-level Make.defs file. Remove multiple definitions of INCDIR opt. 2016-07-11 10:45:17 -06:00
Sebastien Lorquet
2cbad44f1d This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h" 2016-07-11 10:11:18 -06:00
Gregory Nutt
0f1e86b2fd apps/include/tiff.h moved to apps/include/graphics/tiff.h 2016-07-01 07:03:26 -06:00
Gregory Nutt
a50383db3d apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 17:53:47 -06:00
Gregory Nutt
586b0aa7e0 Change names of *dbg() * *err() 2016-06-11 15:51:27 -06:00
Gregory Nutt
468bdcf8e6 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:13:39 -06:00
Sebastien Lorquet
7ca5478da3 Rearrange to eliminate Kmenu files 2016-06-09 08:59:16 -06:00
Sebastien Lorquet
80ae4683fe Add kconfig files for pcode and tiff 2016-06-02 16:34:22 +02:00
Sebastien Lorquet
a9aa753fa4 Recursive Kconfig autogeneration 2016-06-02 16:34:00 +02:00
Sebastien Lorquet
ae6c0b832c Individual app kconfig fixes 2016-06-02 16:26:32 +02:00
Sebastien Lorquet
b354a41fd4 Use directory.mk for recursive dir makefiles 2016-06-02 16:25:51 +02:00
Sebastien Lorquet
bfff5e7179 Add empty preconfig rules to 'leaf' makefiles 2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7 make the full tree use wildcards make.defs 2016-06-02 16:21:21 +02:00
Sebastien Lorquet
bfff7dc4ca add kmenu files 2016-06-02 15:23:50 +02:00
Gregory Nutt
e2654d8777 VNC: Finish initializing the VNC server once we have the NX handle 2016-04-22 13:38:06 -06:00
Gregory Nutt
7308fdcdf2 Framebuffer driver: Add a display number to each interface in order to support multiple displays 2016-04-14 12:23:52 -06:00
Gregory Nutt
6125e9376e Standardize some naming in code section comments 2016-02-21 18:15:00 -06:00