Commit Graph

266 Commits

Author SHA1 Message Date
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