Commit Graph

288 Commits

Author SHA1 Message Date
adamdunkels
ee4862f082 Remove XXX todo comment: this has now been fixed 2008-07-07 23:47:07 +00:00
adamdunkels
9cc5a0098e Use the clock_second() function to get time in seconds 2008-07-07 23:46:12 +00:00
adamdunkels
9f08d7c6de Add a CRC checksum to all collect packets to ensure that they are valid, even if they are running on top of a radio link with bit errors 2008-07-07 23:22:59 +00:00
adamdunkels
144927c12b Add a CRC checksum to all netcmd packets to ensure that they are valid, even if they are running on top of a radio link with bit errors 2008-07-07 23:22:38 +00:00
oliverschmidt
0d8e8136e9 Avoid compiler warning. 2008-07-06 10:34:44 +00:00
adamdunkels
ec773fb63b Separated the 'debug' commands (unicast and broadcast) from shell-rime into a separate shell-rime-debug 2008-07-04 08:23:00 +00:00
adamdunkels
4395efeb4f Make cfs-coffee compiled on all platforms 2008-07-03 23:43:21 +00:00
adamdunkels
cd6ab0ec47 Shave off whitespace at the end of a command (they would otherwise cause problems with filenames having 'invisible' trailing spaces). 2008-07-03 21:15:12 +00:00
adamdunkels
f4f812d81a Better error handling if the file could not be opened 2008-07-03 21:14:29 +00:00
adamdunkels
fa9a34993f Added an optional 'offset' parameter to the read command. With the offset parameter, reading starts 'offset' bytes into the file 2008-07-03 21:13:54 +00:00
adamdunkels
56fd2519f7 Slightly more informative output 2008-07-03 21:13:13 +00:00
adamdunkels
86bbb86ed9 If the reps argument to the repeat command is 0, it means to repeat infinitely 2008-07-03 17:56:56 +00:00
adamdunkels
38e39bbc1c Added a separate file for CFS Coffee-specific commands 2008-07-03 17:56:17 +00:00
adamdunkels
7ed816840e Fixed compiled warnings 2008-07-03 09:52:15 +00:00
adamdunkels
09f5b6d2f5 Send one extra byte to ensure that the terminating zero is included 2008-07-03 09:51:21 +00:00
adamdunkels
0000a091cc Bugfix: CFS file handles can be 0 2008-07-03 09:50:23 +00:00
matsutsuka
d194d54e8e CC_CONST_FUNCTION replaces some const keywords in order to workaround a sdcc bug, which cannot handle function pointers as const. 2008-07-02 15:02:33 +00:00
adamdunkels
b8820a7d89 Added a 'format' command that formats a CFS Coffee flash file system 2008-07-02 14:14:37 +00:00
adamdunkels
88fb193a68 Print MAC layer with mac command 2008-07-02 14:08:06 +00:00
adamdunkels
adbf6c47ab Bugfix: don't try to read/write/append to file if it was not possible to open it. Bugfix: CFS file descriptors that are 0 are OK. 2008-07-02 14:06:46 +00:00
adamdunkels
66876625d4 Changed name of the simple-cc2420 module to cc2420: changed all function names and variable names from simple_cc2420_* to cc2420_*. 2008-07-02 09:05:40 +00:00
adamdunkels
1586d8f36f Changed filename of the CC2420 driver from simple-cc2420 to cc2420. 2008-07-01 21:02:51 +00:00
adamdunkels
3b72a403ba Fixed help text on rfchannel command 2008-06-23 19:51:29 +00:00
adamdunkels
9f65ebf161 Added 'graphical' (ASCII-graphics) power display 2008-06-21 18:33:22 +00:00
oliverschmidt
90797f15a7 Fixed copy&paste issue. 2008-05-24 08:31:56 +00:00
oliverschmidt
6deed3d9aa Print directory entry size right-justified. 2008-03-29 13:57:30 +00:00
oliverschmidt
e6cc0105b0 - It doesn't make sense to me add the shell sources here _AND_ link to the shell app.
- The shell app needs to be there so the '-' prefix is wrong here.
2008-03-28 22:40:55 +00:00
oliverschmidt
47dc2d8020 It doesn't seem reasonable to me to presume that all targets support the elfloader. Therefore shell-exec.c may not be part of the common source files. For now I just moved it to the sky dependent source. In case the dependency on the sky target is undesirable someone needs to come up with a more flexible approach. 2008-03-28 22:36:52 +00:00
adamdunkels
7d06f1bfe0 Added netsim output 2008-03-03 16:10:09 +00:00
oliverschmidt
c4250420ce As adding some commands to the telnet server shell doesn't seem to be desirable in the application it's now done in the gui-specific code. 2008-02-29 00:07:03 +00:00
oliverschmidt
aa7ba44fb1 Avoided compiler warning. 2008-02-28 23:59:05 +00:00
oliverschmidt
2ce444c175 Made use of shell_quit(). 2008-02-28 23:50:02 +00:00
adamdunkels
6479f001fa Added a shell_quit() function that cleanly exits the shell (currently untested though) 2008-02-28 23:29:07 +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
adamdunkels
bd04cc1a32 Added command for turning the MAC protocol on or off 2008-02-24 20:58:35 +00:00
adamdunkels
814558b1fe Rewrote the telnet server to buffer the output in a single, large buffer rather than as individual lines. This both makes output faster and makes it possible to buffer more outgoing data. 2008-02-24 20:43:28 +00:00
adamdunkels
10692296a1 Specify that the telnet server uses the shell application 2008-02-24 20:38:57 +00:00
adamdunkels
9c51d8ef1b Added a shell_start() function that prints out the shell prompt and a small helpful message 2008-02-24 20:35:03 +00:00
adamdunkels
33c2116f6a Better looking senseconv output 2008-02-24 20:34:05 +00:00
adamdunkels
42f52947e0 Made ping output nicer, made rtt measurement work without timesynch too 2008-02-24 20:33:38 +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
2add546d00 Improve consistency if WITH_LOADER_ARCH is 0. 2008-02-15 17:31:44 +00:00
oliverschmidt
f4095c7289 Avoided compiler warnings by adding casts and moved variable definitions to the begin of function bodies. 2008-02-10 12:29:54 +00:00
oliverschmidt
4e6508b578 Avoided compiler warnings by adding casts. However it might make sense to start taking into account that C pointer differences do not have the type 'int'... 2008-02-10 12:24:43 +00:00
oliverschmidt
f244bdbf2d Accomodate for the now more complex shell output. 2008-02-09 18:51:56 +00:00
oliverschmidt
b1c748c137 Adjusted telnet server to the new shell logic. 2008-02-09 17:15:58 +00:00
oliverschmidt
518a84fc66 Added a 'run' shell command similiar to the 'exec' command but using the high-level LOADER_LOAD() interface instead of the ELF-loader specific interface. 2008-02-09 14:07:58 +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
adamdunkels
e70e729be6 Description made clearer 2008-02-08 20:40:10 +00:00
oliverschmidt
d2886875ec Added a 'run' shell command similiar to the 'exec' command but using the high-level LOADER_LOAD() interface instead of the ELF-loader specific interface. 2008-02-08 12:49:54 +00:00
oliverschmidt
bdceab824a Renamed shell-gui.c to gui-shell.c to fit the new shell file naming scheme. 2008-02-07 23:11:56 +00:00
oliverschmidt
b2bcdfd55b Adjust shell GUI to the new shell logic. 2008-02-07 23:08:48 +00:00
oliverschmidt
0a8f384a40 Allow to optionally (triggered with SELFSTART_PROCESS) self start the application. 2008-02-07 16:28:11 +00:00
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
oliverschmidt
1aca43084f Moved editor app into backyard as it was never platform independent anyway (but relied on the C64 hibit cursor). 2007-05-23 23:34:05 +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
525108f957 Changed #ifdef to #if for checking CONF flag to be more consistent with predominant coding style. 2007-04-14 08:11:24 +00:00
oliverschmidt
6e5193f303 Added integration of shell event handler into shell server. This is obligatory for the 'ls' command to succeed. 2007-04-13 22:47:43 +00:00
oliverschmidt
94bd0de72d Fixed incomplete integration of shell server log gui. 2007-04-13 22:15:52 +00:00
oliverschmidt
079a4a1b54 Avoid compiler warnings. 2007-04-13 22:02:28 +00:00
oliverschmidt
b0918c1516 Added memb.c. 2007-04-13 21:09:23 +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
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
f25a562f4d Fixed typo. 2007-04-05 23:03:50 +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
ad4a8df425 Allow to build telnet-server example for targets not defining CTK_CONF_MAXMENUITEMS. 2007-03-26 23:01:11 +00:00
adamdunkels
4fa44208eb Moved rudolph{0,1} into core/net/rime 2007-03-25 12:07:38 +00:00
adamdunkels
013701f50c Renamed rimebuf_hdrextend() to rimebuf_hdralloc() 2007-03-23 10:46:35 +00:00
adamdunkels
dd276a9c8a Removed the use of CFS. Instead, provide callbacks for the using application to fill in data. 2007-03-22 23:54:40 +00:00
adamdunkels
18fbc76433 Bugfixes, added version API, larger data size 2007-03-21 23:18:23 +00:00
adamdunkels
c3956ccc0f +rudolph1 2007-03-21 23:18:05 +00:00
adamdunkels
224634b88d Reliable multi-hop bulk transfer based on trickle and local uabc repairs 2007-03-21 23:14:40 +00:00
adamdunkels
a43c213ff2 A simple program for reliably sending a file to all neihgboring nodes 2007-03-20 12:25:27 +00:00
ksb
7c8665fb89 Padded struct codeprop_tcphdr to 4 bytes, to get around different
alignment on different platforms.
2007-03-18 13:15:00 +00:00
adamdunkels
ab4cc60e57 Moved to core/net/rime 2007-03-15 21:28:10 +00:00
adamdunkels
16e7f9f432 Initial version of a simple mesh routing protocol written with Rime 2007-03-14 01:06:42 +00:00
adamdunkels
6a81c10756 Treeroute implemented with Rime 2007-03-14 01:05:23 +00:00
oliverschmidt
9dff20305f How were the references to shell.h and shell.c supposed to be resolved without bringing in apps/shell ?!? 2007-03-03 13:26:29 +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
bg-
f51c7f03df * Add some assertions. 2007-01-12 18:16:56 +00:00
bg-
8944a3f6c8 More'or less a verbatim copy of the traditional elfloader but built
upon cmod and cle.
2007-01-05 17:46:26 +00:00
oliverschmidt
074e74a584 Avoid generating new CTK events if process_exit() and LOADER_UNLOAD() was already called. 2006-12-29 23:05:19 +00:00
bg-
e3a501a8c1 * Resurrect traditional elfloader interface. 2006-12-20 13:38:33 +00:00
fros4943
93714fc39f updated reference to "elfloader-tmp" 2006-12-18 15:17:47 +00:00
oliverschmidt
acade90174 Removed inconsistent source formatting. 2006-10-06 21:39:45 +00:00
oliverschmidt
eac68071eb Changed the maximum length of a single word from 40 to match the page width. Browsers wider than 40 cols can now render longer words. Browsers smaller than 40 cols avoid display inconsistencies on long words (and save memory). Additionally simplified word truncation code. 2006-10-06 21:34:59 +00:00
oliverschmidt
0a1e2d7b3e Discard word right in fromt of </script>, </style> and </select>. 2006-10-06 21:30:41 +00:00