Commit graph

49 commits

Author SHA1 Message Date
dak664 8d9f8e3a17 ipv6 address logging 2009-08-11 16:07:54 +00:00
fros4943 51006b3f8d webserver bugfix, caused nightly wget test to fail:
* too many timer_reset will naively increase the start-time, even though timer has not expired. use timer_restart instead
2009-02-09 13:04:37 +00:00
adamdunkels 80c71c9f03 Updated version number in server and user agent strings 2008-11-09 12:27:58 +00:00
adamdunkels 28d52894a0 Reverted raven changes, which are now in the raven-webserver directory 2008-10-14 11:07:57 +00:00
julienabeille 3f394fe927 applications updates for uIPv6 2008-10-14 09:40:11 +00:00
adamdunkels 8906441004 Changed all sprintf() calls to snprintf() to make it useful for systems with very low buffer size 2008-02-24 20:59:51 +00:00
oliverschmidt f5e7da082c Replaced '404.html' with 'notfound.html' as '404.html' is no valid filename for the Apple2 disk operating system ProDOS 8. 2008-02-21 09:25:54 +00:00
oliverschmidt f74e918f00 Adjusted process display cgi to recent change in process states. 2008-02-17 13:59:22 +00:00
oliverschmidt 614fa668cd Removed SELFSTART_PROCESS as AUTOSTART_ENABLE generally serves that purpose - and AUTOSTART_ENABLE gets already set as required :-) 2008-02-08 22:48:28 +00:00
oliverschmidt 0a8f384a40 Allow to optionally (triggered with SELFSTART_PROCESS) self start the application. 2008-02-07 16:28:11 +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 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 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 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
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 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
oliverschmidt b16783b148 Moved unused apps file into backyard. 2007-05-26 22:18:11 +00:00
oliverschmidt e9e925bc6a Avoid usage of nameless unions as they are - surprisingly at least to me - not part of any C spec. 2007-05-23 21:35:18 +00:00
oliverschmidt 8ddbf4642b Made the webserver cfs support build and run. 2007-04-23 23:08:44 +00:00
oliverschmidt 9dd1bde01b Removed unreferenced source from application makefile. 2007-04-23 21:22:54 +00:00
oliverschmidt 2662a31d30 Made the webserver logging follow the popular pattern of foo_???() being declared in foo.h and defined in foo.c. 2007-04-23 21:19:55 +00:00
oliverschmidt 69952696fa Adjusted source formatting Mk II ;-) 2007-04-22 09:53:50 +00:00
oliverschmidt f70efdf7ad Adjusted source formatting. 2007-04-22 09:52:33 +00:00
oliverschmidt df278abd09 Added center alignment to network statistic columns. Now it looks nicer and is consistent with the system processes columns. 2007-04-14 13:48:33 +00:00
oliverschmidt 46824932fc Direct httpd logs to the Contiki log for non-CTK scenarios. 2007-04-14 13:40:53 +00:00
oliverschmidt 2d277b846c Updated processes script output to match HTML ;-) 2007-04-08 19:39:05 +00:00
adamdunkels e66eb356e0 Updated processes HTML to match script output 2007-04-07 05:41:24 +00:00
oliverschmidt fe3e6c1a36 Ported processes cgi to Contiki 2.x. 2007-04-07 01:31:29 +00:00
oliverschmidt 661a58cddb Make lists of source files for each app available individually - i.e. for creation of dynamically loadable modules. 2007-04-05 19:50:43 +00:00
adamdunkels c870fe5656 Updated with new Contiki website URL 2007-03-29 22:21:31 +00:00
adamdunkels 3f876d6fe2 Updated for Contiki 2.0 2007-03-29 22:21:19 +00:00
adamdunkels db1587f346 Added comment in makefile on how to produce the http-strings.c file; having the actual rule in the makefile does not seem to work 2007-03-29 22:21:02 +00:00
adamdunkels 82caf5eb1a HTTP strings 2007-03-29 22:18:07 +00:00
oliverschmidt ce66abfe48 It simply doesn't make sense to link in both webserver.c and webserver-nogui.c. This raises the question if examples/webserver was tested at all ;-) 2007-03-03 12:42:56 +00:00
adamdunkels 1ab2bba7b8 Fix for bug when script goes past the end of a file (thanks to Till Harbaum) 2006-09-20 19:18:56 +00:00
oliverschmidt 1f7391e7de Avoid compiler warnings. 2006-08-16 22:09:51 +00:00
bg- fb94d50410 Change typedef of uip_ipaddr_t from a vector type to a union.
typedef union uip_ip4addr_t {
  u16_t u16[2];
  u8_t  u8[4];
} uip_ip4addr_t;

typedef uip_ip4addr_t uip_ipaddr_t;

This implies that one must consistently pass pointers to
uip_ipaddr_t:s and not mix and match pointers with
uip_ipaddr_t:s as was done earlier.
2006-08-09 16:13:39 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00