zodiac@gmail.com
13d0448fc6
Fix a pointer aliasing violation by explicitly breaking aliasing with a
...
call to memcpy().
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@220 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-09-03 19:17:11 +00:00
zodiac@gmail.com
c87777d04f
Allow changing of font sizes in the user CSS.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@219 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-09-03 18:00:25 +00:00
zodiac@gmail.com
daffdc356a
Fix some scaling related issues. This fix is thanks to some
...
excellent detective work by Jan <siev...@zedat.fu-berlin.de>.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@218 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-09-03 17:24:57 +00:00
zodiac@gmail.com
4db3ed8797
Force a zero pixel margin on the <body> tag. Without this change, ShellInABox
...
would occasionally think that it was in "embedded" mode, whenever the user
applied a scaling factor (e.g. by pressing CTRL-Minus).
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@217 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-09-02 23:42:42 +00:00
zodiac@gmail.com
e8c241583d
Fixed a check() failure that was caused by incorrect handling of partially
...
processed buffers. I believe, this could only be triggered by clients that
enabled HTTP pipelining. That might explain why we haven't seen bug reports
any earlier.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@216 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-27 22:22:15 +00:00
zodiac@gmail.com
7289691555
Fixed lintian warnings. Tested on Debian Sid (x86-64)
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@215 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-24 22:29:11 +00:00
zodiac@gmail.com
ea18d9d970
Fixed some lintian warnings
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@214 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-24 22:26:41 +00:00
zodiac@gmail.com
7f59f4a7a6
Thanks to lotr44's excellent analysis of the problem, we now have
...
a fix for the problem with typing "!" on French keyboards.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@213 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-19 19:09:33 +00:00
zodiac@gmail.com
bdc877c53e
Allow users to disable blinking cursor from context menu.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@212 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-06 22:15:35 +00:00
zodiac@gmail.com
21cfbec230
Add automatic notification about new releases.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@211 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-16 16:20:52 +00:00
zodiac@gmail.com
445d3c66a6
Another attempt at coming up with Makefile rules that work for
...
both Linux and BSD.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@210 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-09 17:22:26 +00:00
zodiac@gmail.com
a5c8e032b7
Fixed assertion failure, when loading empty style files and using a more modern
...
version of glibc.
Fixed incorrect autoconf detection of isnan() support when using glibc and more
recent versions of gcc.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@209 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-09 16:10:21 +00:00
zodiac@gmail.com
c5d55118af
Removed non-standard fields from updwtmpx() wrapper function. This should improve
...
compatibility with systems that implement updwtmp() but not updwtmpx().
Also, changed Makefile rules in an attempt to improve compatibility with BSD
make utilities.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@208 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-09 15:48:51 +00:00
zodiac@gmail.com
83621919cd
Added support for systems that have utmpx.h, but don't implement updwtmpx().
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@207 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-08 17:54:15 +00:00
zodiac@gmail.com
d1df9b6441
Fixed a NULL pointer dereference that can occur when hostnames
...
do not resolve. Thanks to <vmagerya> for pointing out this problem.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@206 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-02 19:00:33 +00:00
zodiac@gmail.com
00de1d4a19
Add -lm to the linker flags so that we always pick up isnan(), even when
...
compiling with runtime libraries other than glibc.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@205 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-04-01 19:16:56 +00:00
zodiac@gmail.com
775592791d
Thanks to some more testing and additional information provided by Jan Jaeger,
...
we now have a much cleaner solution for building ShellInABox on OpenWRT.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@204 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-31 16:07:06 +00:00
zodiac@gmail.com
2ea8e5cc77
OpenWRT builds with a toolchain that doesn't set correct entries in the ELF
...
headers, giving us no way to auto-detect the architecture. We have to
hard-code the flags that we pass to objcopy. Unfortunately, we have to do
this for all MIPS targets. This could conceivably break building the code
on other MIPS targets. If that happens, we'll deal with it at that time.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@203 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-30 17:16:49 +00:00
zodiac@gmail.com
9b0a937e35
Started working on support for WebSockets.
...
Fixed some compiler warnings when compiling with -Wextra
Thanks to Jan Jaeger's excellent bug report, made some changes
that should make it easier to build ShellInABox for OpenWRT.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@202 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-29 16:40:17 +00:00
zodiac@gmail.com
5a75b2f091
Avoid compiler warnings with some versions of GCC.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@201 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-02-04 00:33:37 +00:00
zodiac@gmail.com
ef5177349e
Add .note.GNU-stack to all object files so that the generated binary doesn't erroneously request an executable stack.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@200 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-10 18:44:28 +00:00
zodiac@gmail.com
0fcf50735e
Allow retrieval of the user's default login shell from /etc/passwd.
...
Allow the code to be built without support for the LOGIN service, as
calling /bin/login does not work well on Fedora.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@198 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-04 06:33:36 +00:00
zodiac@gmail.com
5caa8b7288
Added fallback code that dynamically computes the correct commandline
...
arguments for "objcopy" if building for an otherwise unknown target
platform.
Fixed a lintian "informational" message.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@197 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 20:26:07 +00:00
zodiac@gmail.com
bed8acc181
Corrected URL in debian/watch file
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@196 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 08:26:23 +00:00
zodiac@gmail.com
571d3738df
Fixed lintian errors.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@195 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 08:21:03 +00:00
zodiac@gmail.com
cc4caca982
* Added checks that the debian/changelog file is up-to-date
...
* Added debian/watch file
* Updated the Standards-Version in debian/control. Still need to
review whether we are in full compliance, though.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@194 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 04:32:09 +00:00
zodiac@gmail.com
8238d7d66f
Added some basic sanity checks to the commit script that now makes
...
sure we at least attempt to keep copyright dates updated whenever we
make changes.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@193 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 02:45:48 +00:00
zodiac@gmail.com
fe2eb7e120
Preparations for packaging ShellInABox in a way that makes it easy for Debian package maintainers to pick it up.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@192 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-30 18:26:43 +00:00
zodiac@gmail.com
03886076e1
Lock the Debian compatibility level a 6, so that the packages can easily be
...
built on Hardy.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@191 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-26 21:05:46 +00:00
zodiac@gmail.com
7862fb99be
Enable switching between 80 and 132 column mode, if the browser supports
...
CSS transforms.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@190 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-25 23:56:56 +00:00
zodiac@gmail.com
99169cff6a
Thanks to Rudolf Spring's help, added support for building on PowerPC architectures.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@189 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-23 04:57:27 +00:00
zodiac@gmail.com
c64e8aeb97
Added some documentation explaining how to configure ShellInABox on Fedora.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@188 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-23 04:53:38 +00:00
zodiac@gmail.com
e17458375d
Removed compiler warning when building without SSL support.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@187 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-22 03:05:09 +00:00
zodiac@gmail.com
b679d8e443
Released version 2.10
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@186 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-21 22:48:34 +00:00
zodiac@gmail.com
3c644e1c4c
Document the --user-css command line option. Added an example on how to
...
configure Apache for reverse proxy operation.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@185 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-21 21:01:32 +00:00
zodiac@gmail.com
9eb1693630
Add dependency on lsb-base for the Debian package
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@183 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-20 18:51:42 +00:00
zodiac@gmail.com
cd126f40f9
Fix handling of control and capslock keys.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@182 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-18 22:58:06 +00:00
zodiac@gmail.com
fe5a28f992
Some minor tweaks to make newer versions of gcc and glibc compile without warnings.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@181 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-18 17:17:56 +00:00
zodiac
fd5ce81731
Fixed the escape sequences for VT100 transparent printing support.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@180 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-26 06:49:38 +00:00
zodiac
e8ef411627
Escape potentially problematic characters in ${url}
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@179 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-24 02:19:43 +00:00
zodiac
69cfac0161
Make "${url}" include the URL parameters.
...
Cleanup the transparent printing HTML a little bit.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@178 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-23 15:27:15 +00:00
zodiac
065ac9f0fb
Added transparent printing support. The development of this feature is sponsored by De Bortoli Wines Pty Limited and by Eternity Technologies.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@176 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-20 08:16:28 +00:00
zodiac
9b8e3af162
Added a ${url} parameter that can be used in the service description
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@174 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-19 19:08:30 +00:00
zodiac
dfe41ce244
Apparently, CGI mode is hard to figure out. Added an example showing how to
...
use it.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@173 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-17 17:14:32 +00:00
zodiac
15e91a32f7
Internet Explorer still doesn't properly support CSS. In particular, it has
...
problems dealing with "inherit" styles. This prevented proper switching
between color and monochrome.
Implemented a work-around.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@172 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-16 05:20:09 +00:00
zodiac
161e848e23
Simplify the code that compresses HTTP replies. This also gives us the ability
...
to manipulate headers more easily. We now add "Connection: close" in more cases
where we force a closing of the connection.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@171 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-15 22:55:02 +00:00
zodiac
e3a4eb95e3
For Debian packages, install user CSS style options in /etc/shellinabox and
...
automatically pick them up when the service starts.
Persist preferences when the user changes them in the context menu.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@170 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-15 05:24:31 +00:00
zodiac
5eade3daff
Fixed a potential assertion failure in the daemon, if a user manages to type keys before he had a chance to establish a session.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@169 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-13 01:55:44 +00:00
zodiac
bc811017fd
Allow quotes in SHELLINABOX_ARGS (for Debian packages)
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@168 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-12 19:55:25 +00:00
zodiac
341eb1982c
Included example style sheets that allow switching to white-on-black or to
...
monochrome mode from the right click context menu. This required a couple of
architectural changes to the JavaScript code.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@167 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-12 02:32:26 +00:00