Commit graph

97 commits

Author SHA1 Message Date
zodiac@gmail.com
052a47aa08 Use JavaScript redirection for attaching the missing slash to
the URL. This should make it easier to use reverse proxies. It was
already possible to run shellinaboxd behind a proxy, but a lot of
users got the configuration wrong.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@152 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-27 18:31:05 +00:00
zodiac
468bcbbb4e For Debian packages, added a missing build dependency on zlib.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@149 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-10 16:28:11 +00:00
zodiac
13263e1737 Make 'update' warn about merge conflicts
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@147 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 20:11:40 +00:00
zodiac
d51ada4a87 Added an 'update' script that should make it easier for people to track SVN
even if they have mismatching versions of the autotools


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@146 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 19:16:53 +00:00
zodiac
f4ed4c38d0 Include some more of the autotools dependencies. This might make it easier for
users that want to track development with 'svn update', but who use a different
version of autotools than the one that is checked into SVN.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@145 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 17:34:55 +00:00
zodiac
1c4d50f112 Treat a few more types of trailing characters as not forming part of a URL.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@144 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 17:24:21 +00:00
zodiac
d96e312a70 More fine tuning of the regular expressions that detect URLs. We now allow '.' and ',' in URLs, as long as they are not at the very end of the URL, where they would probably be part of the enclosing sentence and not actually part of the URL.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@143 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 17:08:47 +00:00
zodiac
8920606f6f Optionally compress large responses, if the browser accepts deflate compression. This mainly improves start up time.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@142 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 08:33:36 +00:00
zodiac
ca18a5346f Run-time testing for availability of libpthread functions does not
work reliably on some platforms. So, avoid doing so on anything other
than Linux/i386. For all other platforms, assume that the code is not
linked against libpthread. For ShellInABox, this is always the correct
assumption. But if the code gets embedded into other projects, this
might have to be changed.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@141 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-07 00:40:51 +00:00
zodiac
bb4dbaa5f5 Making it easier to host the terminal on non-root URLs by always redirecting to a URL that includes a trailing slash.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@140 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-06 16:27:11 +00:00
zodiac
8ff79d1ce7 Released version 2.9
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@139 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-06 04:28:59 +00:00
zodiac
5df28de89c - Refined regular expressions for finding URLs.
- Show new terminal size when resizing the browser.
- Restored compatibility with IE5 and IE6.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@137 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-05 02:45:49 +00:00
zodiac
cedb046244 Fixed a null pointer dereference that could be triggered by using non-standard
service definitions.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@136 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:46:28 +00:00
zodiac
9713e1d58c Fixed vt100.jspp so that it can be used without shell_in_a_box.jspp. This
broke demo.jspp.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@135 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:31:39 +00:00
zodiac
19177de98c Added --linkify option. Default settings cause the terminal to recognize fully qualified URLs and to make them clickable.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@134 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:16:07 +00:00
zodiac
ee1cd17b18 Additional fixes for dealing with keyboard layouts that need AltGr as a
second level chooser.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@133 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-30 17:14:35 +00:00
zodiac
f613bc1ca8 Added support for keyboards that have a dedicated "<" / ">" key.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@132 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-28 20:22:29 +00:00
zodiac
62d5195057 Document the "--localhost-only" option
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@126 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 20:06:21 +00:00
zodiac@gmail.com
5ec8c4c19b Added new "--localhost-only" command line option.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@125 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 19:55:20 +00:00
zodiac@gmail.com
6dbbe62310 Added code so that "objcopy" picks an appropriate target architecture when
building for ARM.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@124 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 19:41:32 +00:00
zodiac@gmail.com
2c090c8beb Respect "Connection: close" if sent by the browser.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@123 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 18:51:14 +00:00
zodiac@gmail.com
db631d5e35 Added SSL support for OpenBSD
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@122 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-25 06:03:26 +00:00
zodiac@gmail.com
adadddf91c Released version 2.8
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@121 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-23 19:53:09 +00:00
zodiac@gmail.com
60b5f38d74 Improved support for entering non-ASCII characters.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@120 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-23 05:56:16 +00:00
zodiac
41fd8f3ea5 Fixed various issues with building on OpenBSD
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@119 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-21 07:50:22 +00:00
zodiac
abb9a50f3b Fixed variable expansion in service descriptions.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@118 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-28 07:12:55 +00:00
zodiac
28b65c9f2a Released version 2.7
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@117 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-27 16:54:17 +00:00
zodiac
dcbd78df55 Added support for END and GOTO. GOTO allows computed line numbers, so technically, the language is now Turing complete.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@116 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-27 15:45:34 +00:00
zodiac
3bacdb002b - Make the code actually do, what the comments say (i.e. skip PAM account
management, if we don't have the privileges to do so, anyway)
- Make ssl.h compile again, even if OpenSSL is not found at compile time.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@115 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-16 20:54:08 +00:00
zodiac
f8c85ae26f Released version 2.6
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@113 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-12 17:26:58 +00:00
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
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
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