Commit Graph

21 Commits

Author SHA1 Message Date
Sebastian Huber
506bfc8580 Move printer initialization to separate header
The RTEMS print user need to know nothing about a particular printer
implementation.  In particular get rid of the <stdio.h> include which
would be visible via <rtems.h>.
2016-06-22 07:29:26 +02:00
Sebastian Huber
214156d98c mghttpd: Add RTEMS printer support 2016-06-06 12:57:07 +02:00
Nick Withers
f42d4292cb Enable WebSocket support in the Mongoose HTTP server 2014-12-15 07:44:56 +01:00
Joel Sherrill
b597c0d60c Regenerate all preinstall.am files.
Apparently, at some point automake output changed and these were
not updated.
2014-08-28 08:44:52 -05:00
Nick Withers
b5d2d4a61c Update to Mongoose 3.9 at the last point before the MIT -> GPL license change
[That is, 04fc209644. See https://groups.google.com/forum/#!topic/mongoose-users/aafbOnHonkI]

The RTEMS patches described in the following emails and made to the previous Mongoose base have been applied:
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001345.html
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001343.html
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001346.html (except to mongoose.1, see below)
...as well as a patch very similar to that discussed at http://forums.bannister.org/ubbthreads.php?ubb=showflat&topic=7600&gonew=1 to provide poll() (which might be able to go away soon, with incoming RTEMS poll() support)

mg_connect(), mg_url_encode() and mg_vprintf() were additionally marked "static" to silence warnings.

mongoose.1 appears to have been removed from the upstream distribution.

Note that the API's changed, for example:
  - A struct mg_callbacks must now be provided to mg_start(). Initialise members to NULL to disable various types of callbacks
  - Callback interfaces have changed significantly in general
  - The short form of options (e.g., "u" instead of "run_as_user") are no longer available (upstream)
  - The "max_request_size" options has been removed
2013-12-04 10:09:16 +01:00
Joel Sherrill
cb7b57e174 mghttpd: Requires POSIX to build server and tests
Formerly, mghttpd was conditional only on networking being
enabled. It uses on pthread and must also be conditional
on POSIX threads support being enabled.
2012-10-03 11:09:32 -05:00
Christian Mauderer
5267241b32 mghttpd: Clarify comment 2012-07-12 09:51:44 +02:00
Christian Mauderer
54da7c3e55 mghttpd: Add stack size and scheduling options 2012-07-12 09:51:44 +02:00
Sebastian Huber
ea008e2d0d mghttpd: Use MD5 library 2012-07-12 09:51:44 +02:00
Sebastian Huber
4248b28296 mghttpd: Use HAVE_CONFIG_H 2012-07-12 09:51:44 +02:00
Christian Mauderer
ad6c1f1138 mghttpd: Update Mongoose
Update to Mongoose Mercurial revision 268:38a02c8a6744 available at:

https://code.google.com/p/mongoose/
2012-07-12 09:51:44 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Ralf Corsepius
b9636c24ca Whitespace removal. 2009-12-10 03:14:16 +00:00
Joel Sherrill
3f255ce131 2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* mghttpd/mongoose.c: crypto_sw table is not used when SSL is disabled.
	RTEMS does not have flockfile/funlockfile.
2009-11-23 14:33:23 +00:00
Ralf Corsepius
3202cd8ca1 Various 16bit fixes. 2009-11-17 17:30:41 +00:00
Ralf Corsepius
56f9698239 Add HAVE_CONFIG_H. 2009-11-17 17:15:08 +00:00
Ralf Corsepius
ce841ab57c Add HAVE_SYS_MMAN_H HAVE_DLFCN_H. 2009-11-17 17:02:08 +00:00
Ralf Corsepius
dd1569b1b3 Convert to unix encoding. 2009-11-17 16:58:36 +00:00
Ralf Corsepius
390631d322 New. 2009-11-17 16:55:52 +00:00
Ralf Corsepius
b45febaa2c 2009-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* mghttpd/mongoose.c, mghttpd/mongoose.h, mghttpd/mongoose.1:
	Import from svn http://mongoose.googlecode.com/svn/trunk (r477).
2009-11-17 16:53:48 +00:00