Commit Graph

88 Commits

Author SHA1 Message Date
oliverschmidt
2b1abd87af Replaced (now obsolete) PROCESS_LOADABLE with AUTOSTART_ENABLE (and use it now in the platform build to start the program handler). 2008-02-10 11:29:24 +00:00
oliverschmidt
034bc4ec66 Adjusted to the new shell. 2008-02-09 18:56:26 +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
0655839603 Removed superfluous semicolon. 2008-02-08 12:14:52 +00:00
oliverschmidt
fe6a55d1a4 Accomodate for the now more complex shell output. 2008-02-07 23:06:03 +00:00
oliverschmidt
806f79bb03 Replaced (now obsolete) PROCESS_LOADABLE with SELFSTART_PROCESS. 2008-02-07 16:34:18 +00:00
oliverschmidt
155a27ff59 Switched from (now obsolete) 'process_load' to 'autostart_processes'. 2008-02-07 15:53:43 +00:00
oliverschmidt
a105e1a40c Added 'const'. 2008-02-06 16:41:19 +00:00
oliverschmidt
b96c9deebc Added "usual" comments. 2008-01-04 21:53:32 +00:00
oliverschmidt
7b3d0559b3 Minimal reformatting. 2007-12-15 23:02:16 +00:00
oliverschmidt
21e343dc2f Don't depend on program handler for project builds. 2007-12-15 21:54:54 +00:00
oliverschmidt
0e8649e5ae Don't override www defaults for project builds. 2007-12-15 21:39:06 +00:00
oliverschmidt
97b1c95005 Activate mouse support for fullscreen mode. 2007-12-15 21:30:56 +00:00
oliverschmidt
9765b76455 Fixed typos. 2007-12-15 20:12:28 +00:00
oliverschmidt
6fd3b0dbae Removed CTK_CONF_HYPERLINK from shared code as its use is still unclear (and the implementation was incomplete anyway). 2007-12-15 11:34:59 +00:00
oliverschmidt
b89a08be8b Allow Cygwin based Win32 platform to be used for 'project builds' (in the sense of the Contiki 2.x build system) beside the exsisting 'platform build'. 2007-12-15 00:00:34 +00:00
oliverschmidt
32ae3317a6 Several minor changes and reformatting. 2007-12-06 22:09:56 +00:00
oliverschmidt
171c84a9d9 Added some info on the win32 platform. 2007-11-28 17:12:11 +00:00
oliverschmidt
2e1b1acfaa Now that there's a Cygwin based build there's no more need to drive people to use Visual Studio - if they aren't already experienced and want to use it. 2007-11-28 16:51:17 +00:00
oliverschmidt
75c49f8d7b Added CTK_CONF_HYPERLINK in order to keep them ;-)) 2007-11-28 16:41:35 +00:00
oliverschmidt
e5f7fc8594 Made cfs implementation adhere to (new) cfs interface and streamlined implementation. 2007-11-22 12:03:54 +00:00
oliverschmidt
1c0aa8a0e4 Source reformatting only. 2007-11-18 13:24:34 +00:00
oliverschmidt
12c6074a75 Moved logically empty files to backyard. 2007-11-18 02:39:10 +00:00
oliverschmidt
c1e1249bc2 Removed compiler warnings. 2007-11-18 02:36:07 +00:00
oliverschmidt
6ab83029c3 Source reformatting only. 2007-11-18 02:17:33 +00:00
oliverschmidt
86a745f923 Removed compiler warnings. 2007-11-18 02:16:57 +00:00
oliverschmidt
d11e1e6fd2 Removed reference to logically empty file. 2007-11-18 01:13:56 +00:00
oliverschmidt
6d6edb418b Declare strcasecmp here as it isn't part of C99. 2007-11-18 00:55:19 +00:00
oliverschmidt
90edc773b0 Introduced C99 sized int types. 2007-11-17 22:40:33 +00:00
oliverschmidt
e54fb521e2 The Visual C++ project file is the first to go without service.c . 2007-05-23 23:42:42 +00:00
oliverschmidt
a300c31d7e Removed explicit shut down of network driver as it easily results in endless recursions on errors while network driver initialisation. 2007-05-23 22:01:14 +00:00
oliverschmidt
a22d2ecfef Changed packet drivers from services to plain processes.
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.

Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-20 21:41:31 +00:00
oliverschmidt
0e023b328a Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:37:54 +00:00
oliverschmidt
d4528e427f Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:16:08 +00:00
oliverschmidt
1e372f13c6 Added new include directory to VC++ project files. 2007-05-19 13:38:25 +00:00
oliverschmidt
eaff19200b Added new header file to VC++ project file. 2007-05-19 13:37:16 +00:00
oliverschmidt
237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
oliverschmidt
4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
oliverschmidt
42d0fe9c18 Very minor beautification. 2007-04-21 22:17:22 +00:00
oliverschmidt
3b7c27b9e9 Use generally lowercase names for functin variables. 2007-04-21 15:11:21 +00:00
oliverschmidt
dba1672323 Make use of __inline (just as making use of __fastcall) in order to check that CC_CONF_INLINE (just as CC_CONF_FASTCALL) are used in a syntactically correct manner. 2007-04-18 21:36:44 +00:00
oliverschmidt
33eeb8ccbb - Switched from from a CTK draw service to a statically linked CTK draw implementation.
- Workarounded the following CTK glitch:

ctk.c calls ctk_arch_keyavail() and ctk_arch_getkey() and needs therefore appropriate declarations (or macros) but it doesn't include a ctk_arch.h or alike to bring those in. So it's necessary to bring those declarations in via contiki-conf.h.

But ctk_arch_getkey() is supposed to return a ctk_arch_key_t - and this typedef'ed in ctk.h which means that ctk.h would need to be included in contiki-conf.h before declaring ctk_arch_getkey().

This IS rather undesirable so the current workaround is to declare ctk_arch_getkey() as returning a char - this is btw done similiar in platform/gtk as well. See ctk/ctk-gtksim.h:

guint ctk_arch_getkey(void);
2007-04-15 13:30:16 +00:00
oliverschmidt
f16d041476 Provided a meaningful clock_time() implementation - which btw. makes the Cygwin variant finally work :-) 2007-04-14 23:23:15 +00:00
oliverschmidt
3a8fb3ad9f Initializing the console Just-In-Time on CTK startup and starting up the WinPcap before CTK allows WinPcap to print initialization errors (especially a missing command line arg) without clearing the shell output. 2007-04-14 14:57:19 +00:00
oliverschmidt
c1b0a3f0d3 Cygin (in opposite to VC++) doesn't call exit() - and thus our atexit function - on Ctrl-C. Therefore we install an explict ConsoleCtrlHandler which calls exit(). For the sake of simplicity it's not #ifdef'ed _CYGWIN_. 2007-04-14 14:28:19 +00:00
oliverschmidt
766878f5c9 Added the shell server to the Win32 platform. 2007-04-13 21:55:55 +00:00
oliverschmidt
59c2158274 Removed minor redundancy. 2007-04-13 21:47:09 +00:00
oliverschmidt
7aae71934d Providing a dummy program_handler_load() made made the telnet server work without program-handler but on the other hand incompatible with an exsistng program handler :-(
Therefore I replaced that hack with a clean CONF macro, which by the way really removes the run() and exec() functionality instead of just implementing it empty.
2007-04-13 21:04:52 +00:00
oliverschmidt
36f6efd21c Build the web server with CTK support. 2007-04-11 01:08:46 +00:00
oliverschmidt
743ec10b21 Added copyright notice. 2007-04-11 01:07:47 +00:00