Commit graph

415 commits

Author SHA1 Message Date
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
0258d46926 - Add support for commands that want to read before they write anything.
- A couple of changes to avoid false error messages in valgrind.
- Fixed a bug that could potentially lead to a double-free()


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@114 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-16 05:33:05 +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
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