Commit Graph

134 Commits

Author SHA1 Message Date
adamdunkels
9444e5cbc1 Refactored netcmd command code that was broken out from shell-rime.c 2008-02-05 20:35:21 +00:00
adamdunkels
b69001cbd4 Broke out the netcmd command from shell-rime.c into shell-rime-netcmd.c 2008-02-05 12:23:32 +00:00
adamdunkels
3fbff69658 Compile shell-sky.c only for the sky target, added shell-rime-netcmd.c 2008-02-05 12:22:49 +00:00
adamdunkels
a26d87e09e Rewrite of the old Contiki shell. The new shell supports dynamic
insertion of new commands and command pipelining. There are also a
bunch of new commands for network access (using Rime): ping, data
collection, packet sniffing, sending shell commands across the
network, and testing the single-hop throughput to neighboring
nodes. Commands are also available for reading from and writing to
files, reading the sensors (on the Tmote Sky platform), and accessing
the power and energy consumption of the system. Dynamic loading of
programs across the network is also possible, although a little
untested at the moment.
2008-02-04 23:42:17 +00:00
oliverschmidt
00d75c8d16 Made use of uip_ipaddr_to_quad(). 2008-01-04 23:28:33 +00:00
oliverschmidt
a5ab7ee5b7 Don't depend on program handler if building without wget support. 2007-12-15 21:56:23 +00:00
oliverschmidt
f51a6a6807 Have ctk (at least on conio) work correctly without menus. 2007-12-15 21:04:51 +00:00
oliverschmidt
2db90feaab Minimal reformatting. 2007-12-15 13:03:17 +00:00
oliverschmidt
b1e1f07f64 Yet another PETSCII<->ASCII issue solved - this time it caused failure to send the right content type. 2007-12-09 23:35:03 +00:00
oliverschmidt
d2d85b4303 Avoid file handle leaks. 2007-12-01 21:27:48 +00:00
oliverschmidt
52436163aa Made webbrowser configuration defaults visible. 2007-11-30 21:53:50 +00:00
oliverschmidt
c8e7967710 Provided webbrowser configuration defaults. 2007-11-30 21:51:59 +00:00
oliverschmidt
e4a568c1fc Introduced WWW_CONF_WITH_WGET to make the "URL forwarding" to wget.prg optional (and minor formatting changes). 2007-11-30 16:09:40 +00:00
oliverschmidt
3c68e9c8f2 Removed obsolete declaration and added PROCESS_NAME(). 2007-11-30 11:16:45 +00:00
oliverschmidt
2748a0803f Minor formatting change. 2007-11-30 11:15:41 +00:00
oliverschmidt
2502148ade Aligned PROCESS_NAME() position with other apps. 2007-11-30 11:15:03 +00:00
oliverschmidt
277323ca4e Removed obsolete comment. 2007-11-30 11:14:05 +00:00
oliverschmidt
632240da25 Avoid memory block leaks (and minor code style adjustment). 2007-11-27 23:36:07 +00:00
oliverschmidt
74a6ee69e6 Allow to configure the maximum number of simultaneous connections to the cfs webserver. 2007-11-26 21:50:46 +00:00
oliverschmidt
2a98ace477 Allow to configure the maximum number of simultaneous connections to the cgi webserver. 2007-11-26 21:36:35 +00:00
oliverschmidt
ac55fb90e7 Added PETSCII support. 2007-11-26 20:53:00 +00:00
oliverschmidt
7acad03398 Optimzed PETSCII support. 2007-11-25 23:31:11 +00:00
oliverschmidt
ace9a6f5fa Optimzed PETSCII support. 2007-11-25 18:39:06 +00:00
oliverschmidt
150fe09d4e Allow to find the scripts on PETSCII machines. 2007-11-25 17:13:56 +00:00
oliverschmidt
4059cd22ce Include 'Referer:' in referer log message. 2007-11-24 13:16:30 +00:00
oliverschmidt
89061533ed Removed (unnecessary) reference to the textedit widget header that was recently moved to the backyard. 2007-11-22 12:02:24 +00:00
oliverschmidt
54b8d7ec82 Increased number of simultanious connections from two to three, fixed / streamlined 404.html handling and added logging on tcp resets. 2007-11-22 11:25:08 +00:00
oliverschmidt
764b2738be Removed compiler warnings. 2007-11-18 02:54:45 +00:00
oliverschmidt
a57eb88f62 Removed compiler warning. 2007-11-18 01:41:00 +00:00
oliverschmidt
d609db3580 Removed compiler warnings. 2007-11-18 01:36:59 +00:00
oliverschmidt
de7b87868d Removed compiler warnings. 2007-11-18 01:24:39 +00:00
oliverschmidt
d11e1e6fd2 Removed reference to logically empty file. 2007-11-18 01:13:56 +00:00
oliverschmidt
2f9e498620 Removed compiler warning. 2007-11-18 01:06:43 +00:00
oliverschmidt
84272a3dcb Removed compiler warnings. 2007-11-18 00:57:44 +00:00
oliverschmidt
4b68a3ee5d Removed compiler warnings. 2007-11-17 22:50:49 +00:00
oliverschmidt
f2dca37b22 Do not depend on TELNET_CONF_WINDOW_HEIGHT being defined. 2007-11-17 22:27:09 +00:00
oliverschmidt
38decb056f Removed compiler warning. 2007-11-17 21:12:44 +00:00
oliverschmidt
f30a4960c8 Removed compiler warnings. 2007-11-17 20:52:07 +00:00
oliverschmidt
4c6b5b9c17 Removed compiler warnings. 2007-11-17 20:44:07 +00:00
oliverschmidt
062e2a1ce4 Removed compiler warning. 2007-11-17 20:13:54 +00:00
matsutsuka
1793323e55 Removed the last change so that we can assume all global variables are zero-initialized. 2007-09-30 02:32:23 +00:00
matsutsuka
7dd756dd36 Applications have been modified to support !UIP_UDP and !CTK_CONF_WINDOWCLOSE. 2007-09-29 04:12:15 +00:00
matsutsuka
4d046ef389 Window size has been made customizable, and widget placement is modified to fit in smaller screen size.
If UIP_UDP is turned off, iut doesn't lookup DNS (i.e. doesn't use resolv.c).
2007-09-29 04:02:06 +00:00
matsutsuka
4a34da849d Initialization of string has been added, so as to strlen works appropriately while showing the textentry widget. 2007-09-22 04:12:30 +00:00
matsutsuka
582a7476d4 *-dsc.c files have been changed to remove forward reference for struct_icon variable, bacause it is strange that this variable is used wholly inside the C source file and declared extern for the forward reference. 2007-09-06 01:36:10 +00:00
matsutsuka
1a59b784b7 Followed a coding convention of contiki, in which cast operation should not be followed by a space char. 2007-09-01 00:56:03 +00:00
oliverschmidt
348a52aebe Fixed recent change. 2007-08-30 20:32:29 +00:00
matsutsuka
9d4fc0a1a8 Support for z80(sdcc) port.
In order to support, some core modules are modified as follows:

core/sys/dsc.h
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.
- DSC_HEADER is changed to remove extra semicolon.

core/sys/process.h
- process_data_t is expressed by void* in signatures (known bug on sdcc).

core/sys/autostart.h
- autostart_processes is changed to remove extra semicolon.

core/sys/cc.h
- CC_CONF_ASSIGN_AGGREGATE is introduced.
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
  of sdcc bug for an increment.

core/net/hc.c
core/net/uip_arp.c
core/net/uaodv.c
- Aggregation assignments are changed to uip_ipaddr_copy.

core/net/psock.c
core/net/uipbuf.c
core/net/dhcpc.c
apps/shell/shell.c
core/ctk/vnc-server.c
core/ctk/vnc-out.c
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

core/net/uip-over-mesh.c
- An extra semicolon is removed.

apps/dhcp/dhcp-dsc.c
apps/shell/shell-dsc.
apps/ftp/ftp-dsc.c
apps/process-list/process-list-dsc.c
apps/email/email-dsc.c
apps/webserver/webserver-dsc.c
apps/vnc/vnc-dsc.c
apps/vnc/vnc-viewer.h
apps/webbrowser/www-dsc.c
apps/about/about-dsc.c
apps/irc/irc-dsc.c
apps/telnet/telnet-dsc.c
apps/telnetd/telnetd-dsc.c
apps/netconf/netconf-dsc.c
apps/directory/directory-dsc.c
pps/calc/calc-dsc.c
- Modify an extern type to a real declaration, which is static
  to prevent a compile error.

core/net/mac/xmac.c
- Variables cannot be defined in a head of block on sdcc.

core/ctk/ctk.h
core/ctk/ctk.c
apps/program-handler/program-handler.c
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.

Makefile.include
- Add a set of configuration for an assembler.
- $(CLEAN) variable is introduced for customized cleanup.

apps/process-list/process-list.c
- PROCESSLIST_CONF_HEIGHT is introduced to address smaller screen size.

core/lib/ctk-filedialog.c
- FILES_CONF_HEIGHT is introduced to address smaller screen size.
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

apps/vnc/vnc-viewer.c
- A cast is added to prevent a compile error.
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

apps/webbrowser/webclient.c
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
  of sdcc bug for an increment.

core/loader/elfloader.c
- A cast is added to prevent a compile error.

core/net/rime/rimeaddr.c
- An initialization is added to prevent a compile error.

core/net/rime/rudolph0.c
- NULL is changed to 0, because NULL causes a compile error.

core/net/rime/route-discovery.c
- Add an argument to match the definition of nf_callbacks.

cpu/z80/strcasecmp.h
cpu/z80/strcasecmp.c
cpu/z80/contiki-sdcc-conf.h
cpu/z80/mtarch.c
cpu/z80/mtarch.h
cpu/z80/Makefile.z80
- New files to make compilation availble on sdcc.
- Added support for multithreading.
2007-08-30 14:39:16 +00:00
ksb
3bb9fda749 Avoid warning about using a cast as a lvalue. 2007-08-22 10:59:56 +00:00
oliverschmidt
b16783b148 Moved unused apps file into backyard. 2007-05-26 22:18:11 +00:00