Commit graph

440 commits

Author SHA1 Message Date
zodiac
8c077b9a85 Added support for arrays and integer variables.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@112 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-12 17:00:21 +00:00
zodiac
ea033cbd18 Added initial support for numeric and string variables.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@111 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-08 17:12:07 +00:00
zodiac
f2dc904c0c Completed list of intrisics.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@110 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-03 07:30:04 +00:00
zodiac
2d6973ceab Added support for some intrinsic functions.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@109 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-03 05:58:23 +00:00
zodiac
82a68e1797 Completed arithmetic support, added initial incomplete code for intrinsic functions.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@108 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-02 17:48:33 +00:00
zodiac
c1e181ec98 Improved error handling.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@107 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-01 19:51:14 +00:00
zodiac
15e4d5990f Added support for simple arithmetic.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@106 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-01 17:15:34 +00:00
zodiac
f5a3c95a44 Initial support for PRINT command. So far, we can only print strings.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@105 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-01 04:14:33 +00:00
zodiac
7f32534490 Added a tokenizer that can recognize BASIC tokens, instead of just
splitting on white space.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@104 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-31 17:19:21 +00:00
zodiac
6021dd8aaa Force updating revision numbers in Javascript files, when running the commit script.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@103 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 17:34:36 +00:00
zodiac
312b2853f5 Added "NEW" command to demo BASIC interpreter. Still not very useful, but we
now have some of the basic framework in place to implement a minimalistic
interpreter.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@102 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 16:55:00 +00:00
zodiac
81845fd5f7 Log fatal error messages even in "quiet" mode. Allow overriding more of the
default values needed by the system startup script.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@101 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 16:09:37 +00:00
zodiac
e5b964a311 Add gadget descriptor to source tar file
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@100 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:25:42 +00:00
zodiac
c7d896b567 Allow blank lines
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@99 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:21:34 +00:00
zodiac
f21ffb934f Allow blank lines
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@98 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:20:02 +00:00
zodiac
e7db6d64e2 Added Gadget XML descriptor
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@97 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:10:10 +00:00
zodiac
e98d9ec994 Second part of the changelist that converts symbolic links.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@96 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:02:47 +00:00
zodiac
d249077169 Symbolic links do not appear to work for the Google Code web server. Use
hard linked files in demo/*, instead.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@95 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:00:41 +00:00
zodiac
87937478dc Adjusted MIME types
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@94 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 08:47:23 +00:00
zodiac
3e0241dde3 Added initial revision of demo application
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@93 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 08:41:48 +00:00
zodiac
c19ed2f3ca Fix some corner cases, where partial matches would not be found.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@92 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 07:23:40 +00:00
zodiac
3edcc43298 Avoid closing the certificate file twice. Tweak make-chained-cert.sh script to
generate long-lasting certificates no matter the system defaults.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@91 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-29 22:20:59 +00:00
zodiac
1ea698ad72 Add support for chained SSL certificates.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@90 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-29 21:52:18 +00:00
zodiac
2f6b0934ee Renamed the JavaScript source files to *.jspp and the pre-processed files
to *.js. Checked both versions of the file into SVN, so that users can
directly access the preprocessed files, if they don't want to rebuild them.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@89 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-23 23:12:17 +00:00
zodiac
ff6ffe7400 Addes a dependency on the "openssl" command line tool to the Debian package.
This is needed to create self-signed certificates, if no other SSL certificates
are available.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@88 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-23 16:15:27 +00:00
zodiac
96cc177071 Added an INSTALL.Debian file with Debian-specific instructions on
how to build and install a package file.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@87 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-23 15:48:06 +00:00
zodiac
abba562359 Work-around for an IE6 bug when doing HTTPS through proxies.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@86 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 19:09:05 +00:00
zodiac
0596dc00c3 Possible fix for IE problems with horizontal positioning of cursor if the line
ends in spaces.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@85 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 16:49:17 +00:00
zodiac
0ac80a7829 Released version 2.5
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@84 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 15:56:49 +00:00
zodiac
b2737d02f6 More IE5.5 and IE6 tweaks. Those browsers are surprisingly finicky. Everything
else is better at following the specs...


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@83 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 06:05:59 +00:00
zodiac
f6f51448d5 IE has a slightly different box model than other browsers. Compensate for it.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@82 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-20 06:39:50 +00:00
zodiac
cdd4ae34eb Tweaked cursor positioning code, and added explicit no-cache headers to our
responses. This might help with reported IE6 problems.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@81 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-19 22:10:48 +00:00
zodiac
e1863d0a47 More IE6 tweaks. Allow root to listen on privileged ports.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@80 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-18 18:15:28 +00:00
zodiac
dfa84116fa Firefox didn't like the IE6 fix. Tweaked it some more.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@79 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-18 01:12:57 +00:00
zodiac
b008c44be2 Removed alert() statement that should never trigger.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@78 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-17 17:54:04 +00:00
zodiac
97fff401a3 Fixed IE6 support, and fixed possible memory corruption, when sessions
time out.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@77 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-17 17:51:42 +00:00
zodiac
5cea9a25d8 Updated version
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@76 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-16 15:12:02 +00:00
zodiac
85ae25cdf5 Fixed some compiler warnings that newer versions of GCC issue.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@75 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-16 15:08:11 +00:00
zodiac
2d4768183b Better error reporting if forkpty() fails.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@74 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 07:57:46 +00:00
zodiac
b0341e1549 Added fallback on old-style pty's, if /dev/pts is not mounted.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@73 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 05:34:21 +00:00
zodiac
86dc79030d Work-around for systems that don't define a "nogroup" group.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@72 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 04:15:34 +00:00
zodiac
11cda91356 Remove the dependency on fdopendir, which does not exist everywhere.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@71 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 02:45:18 +00:00
zodiac
6c0a9cc80c Updated changelog.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@70 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-18 20:27:31 +00:00
zodiac
b52b4d9af0 Updated regular expression to match Subversion's keyword pattern.
Added missing depency on config.h.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@69 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 05:43:34 +00:00
zodiac
9414759983 Changed keyword anchor
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@68 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 05:38:29 +00:00
zodiac
cc09440d27 Include Subversion revision number in user-visible version number.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@67 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 05:26:58 +00:00
zodiac
0d37b2ff6e Fixed SVN properties.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@66 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 04:37:38 +00:00
zodiac
84dcc33650 Allow "configure" to explicitly disable OpenSSL and PAM support. Also, allow
OpenSSL and PAM libraries to be optionally linked as regular shared libraries
instead of being searched for and loaded at run-time.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@65 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 04:13:47 +00:00
zodiac
530182d15e Only defined binary conversation support, if actually available.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@64 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 00:59:34 +00:00
zodiac
cc8979092c Fixed FreeBSD support. We now find both /bin/login and /usr/bin/login. We
provide our own conversation function, if PAM misc is not available. We
rely on login_tty to set up the terminal for us. And we avoid a few other
API uses that turned out to be Linux specific extensions.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@63 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 00:51:41 +00:00