Commit graph

5616 commits

Author SHA1 Message Date
oliverschmidt 5640f89259 In contrast to Cygwin 1.5 Cygwin 1.7 doesn't allow to get __argc out of thin air anymore. Instead of finding a workaround I opted to remove the whole command line checking here which was added so revisions ago. The reasoning:
The WinPcap driver presumes to be obligatory for the application. Therefore it quits the whole application if it can't initialize successfully.

In former times the WinPcap driver required a cmdline parameter to initialize properly. The netsim target presumably doesn't consider the WinPcap driver obligatory for its applications so it checks the cmdline and starts the WinPcap driver only if it finds the WinPcap cmdline parameter present. Thus it prevents the WinPcap driver from failing to initialize which brings down the whole application.

However recently the WinPcap driver was changed to just use some default value if its cmdline parameter isn't found. So there's no more need to keep WinPcap from starting just to make sure it doesn't bring down the whole application. The presumption behind all this reasoning is that a WinPcap driver running with some (potentially wrong) default isn't worse than a WinPcap driver not running at all.
2010-04-21 20:27:28 +00:00
nifi 4c26783948 Updated for new for new uIPv6 APIs. Also fixed compiler warning. 2010-04-20 22:32:19 +00:00
nifi 9638789d9d Added rule to use MSPSim to show the maptable from the last compilation on MSP430 targets 2010-04-20 15:38:09 +00:00
nifi 14b1bb9f57 Fixed to only use leds when DEBUG is set 2010-04-20 11:41:16 +00:00
nifi a5264324b5 Added missing urlconv.c for optional URL filtering. 2010-04-19 21:25:49 +00:00
joxe fd3b773eb4 updated for new uIPv6 APIs 2010-04-17 21:22:39 +00:00
joxe 9f00170c59 made tunslip6 take an argument for TAP/TUN 2010-04-16 12:39:46 +00:00
nvt-se 75690c3399 Improved configuration for low-power wireless networks. Removed legacy code regarding netsim and energest. Fixed bug with state transitions, in which timers were stopped incorrectly. 2010-04-12 14:39:52 +00:00
nvt-se 40f7541f88 Report an error if cfs_write failed. 2010-04-12 13:21:58 +00:00
nvt-se f9ca4a546d Introduced append-only mode for systems with little available code space left, but which require basic FS support. Removes about 1.5kB ROM when the mode is enabled, i.e., COFFEE_CONF_APPEND_ONLY=1 2010-04-12 13:20:55 +00:00
oliverschmidt 8b6d34dbfc Configure maximum number of C128 web server connections indirectly via maximum number of TCP connections. 2010-04-11 21:34:18 +00:00
oliverschmidt 67e775ecee The maximum number of C64 web server connections is now equal to the (new) default as the CBM PFS allows for 10 open files. 2010-04-11 21:30:14 +00:00
oliverschmidt 8108585795 Configure maximum number of Apple2 web server connections indirectly via maximum number of TCP connections. 2010-04-11 21:23:45 +00:00
oliverschmidt eebbd2694c Set the maximum number of concurrent web server connections by default to the maximum number of concurrent TCP connections. 2010-04-11 20:54:39 +00:00
oliverschmidt 7b5bde6336 Made the maximum number of concurrent TCP connections a highlevel config value. 2010-04-11 20:47:16 +00:00
oliverschmidt 85082693c5 Added final newline to make GCC happy. 2010-04-11 20:16:56 +00:00
oliverschmidt f22b0dffb3 Made CFS web server pathname length configurable via WEBSERVER_CONF_CFS_PATHLEN and increased default pathname length from 20 to 80 chars in order to allow to actually make use of subdirs. 2010-04-11 20:10:12 +00:00
oliverschmidt eae42d02d5 Added optional URL filtering code to the CFS web server contributed by Kajtar Zsolt (and activated it by default). 2010-04-11 19:18:47 +00:00
oliverschmidt 62e6882946 Include slash in CFS web server state field 'filename' (like in the non-CFS web server). 2010-04-11 15:19:34 +00:00
oliverschmidt 157a95ef19 Reduced code size by removing one PT_WAIT_THREAD call site. 2010-04-11 12:29:07 +00:00
anthony-a 04fb6e5b42 initial add. 2010-04-10 21:18:32 +00:00
anthony-a 3de90a9671 fix adc compile errors when HAVE_DMA is not true.
remove reference to brione_lcd.h
turn off DEBUG messages.
2010-04-10 19:59:37 +00:00
nvt-se 2e5d97366a ensure matching format and type in debug printf 2010-04-09 16:21:07 +00:00
nvt-se fec9171d5d Print the node ID instead of the first byte in the Rime address. That byte often has the value 0 when using powertrace with IPv6. 2010-04-09 15:47:45 +00:00
nifi 1b2f36cdd9 Updated to latest announcement API and fixed typo 2010-04-09 13:19:05 +00:00
adamdunkels 3670fac618 Bugfix: timing fixed 2010-04-08 18:23:24 +00:00
adamdunkels f2bf8965d5 MAC sequence number attribute 2010-04-08 09:46:30 +00:00
adamdunkels 91ff8574ad Improved handling of duplicate packets 2010-04-08 09:32:56 +00:00
nifi 6d9f904627 Minor cleanup of the radio logger output (packet description). 2010-04-06 23:38:18 +00:00
nvt-se ac4ba199bc Turn off DEBUG mode by default. 2010-04-06 21:37:54 +00:00
oliverschmidt 48f7992a48 Minor syntax simplification. 2010-04-06 20:41:42 +00:00
oliverschmidt 5a3eb98937 Log requests in PETSCII on CBMs in the non-CFS web server (as was already done in the CFS web server). 2010-04-06 20:35:40 +00:00
oliverschmidt 186ab03dd2 Search for last '.' just like in send_headers(). 2010-04-06 20:16:25 +00:00
oliverschmidt 37d5c753c0 Copy '/404.html' to filename in order to allow send_headers() to send the proper content type. 2010-04-06 20:10:45 +00:00
anthony-a 694e1498f4 merge change from branch into mainline. <fingers crossed> 2010-04-06 19:10:21 +00:00
nvt-se 75dd41601b Added a macro for checking if an address is link local. 2010-04-06 16:47:18 +00:00
oliverschmidt d1c4b4968c Added GIF support to the CFS web server (which was already present in the non-CFS web server). 2010-04-06 12:11:41 +00:00
oliverschmidt 69b0727a6d There are no query strings or alike in the CFS web server so the file extensions have to be the actual end of the requested filename. 2010-04-06 12:03:18 +00:00
adamdunkels 497111bcc9 Added an optional rate limit for broadcast transmissions 2010-04-06 11:57:43 +00:00
oliverschmidt 5c75b89ef7 Reduced code size by reducing the SEND_STRING call sites. 2010-04-06 11:49:47 +00:00
oliverschmidt 4e30e73bdb Activated Platform-specific File System (PFS) for the C128 by default for all programs with R/O CFS access. 2010-04-06 10:39:50 +00:00
oliverschmidt 6c4c98644e Activated Platform-specific File System (PFS) for the C64 by default for all programs with R/O CFS access. 2010-04-06 10:24:43 +00:00
oliverschmidt 6cbf46eeda Removed 6502-specific files as this example doesn't build on any platform cleanly anyway. 2010-04-06 10:21:34 +00:00
oliverschmidt ce412471e4 Integrated latest fix contributed by Kajtar Zsolt. 2010-04-06 09:46:58 +00:00
adamdunkels d9d3f7b6b5 Bugfix: don't send packets if they are shorter than the link layer header length 2010-04-05 21:05:56 +00:00
adamdunkels e06a30fdb0 Added MAC-layer duplicate message suppression, which is very helpful when running with duty cycling turned off 2010-04-05 19:28:07 +00:00
oliverschmidt f38a3ff06c Added Platform-specific File System (PFS) for the C128 contributed by Kajtar Zsolt. 2010-04-05 15:25:49 +00:00
oliverschmidt 21f8e4e982 Made MAC_CONF_CHANNEL_CHECK_RATE identical to CLOCK_CONF_SECOND in order to make sure it isn't larger - which causes 'divide by zero' errors. 2010-04-05 15:17:22 +00:00
oliverschmidt 9831f02eba Replaced dummy code with code taken from 'native'. 2010-04-05 15:13:50 +00:00
oliverschmidt ffce456612 If rtimer_arch_now() is mapped to clock_time() it seems reasonable to map RTIMER_ARCH_SECOND to CLOCK_CONF_SECOND for consistency reasons. 2010-04-05 15:10:06 +00:00