Giter VIP home page Giter VIP logo

w's People

Contributors

simonask avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

w's Issues

Add advanced printf-style formatting options to w::format.

Currently w::format only does plain interpolation. It would be great if it could support syntax like this:

w::format("{0:.2}", 123); // => "0.00"

The format options should be per-interpolation, so the same argument can be interpolated multiple times with different format arguments:

w::format("{0:09.2} <=> {0:+x}", 10); // => "000000010.00 <=> +0xa"

For numbers (both integers and floats), all the options of POSIX printf should be supported. If a float-options is given to with an integer argument, or vice versa, the input value should be static_cast'ed to the appropriate type before interpolation.

Hexadecimal presentation formats should reinterpret_cast the input to a matching integer representation.

Stability?

The readme doesn't say anything about w's [in]stability, though the website mentions it's not stable. Is the website out of date, or is the readme missing the same disclaimer? How stable is w?

Does inactivity indicate abandonment?

Howdy!

Before suggesting a fork of wayward into perhaps a dedicated org so that others can keep the ball rolling on some of these open PRs and perhaps continue the work you've done I'd just like to ask whether you've lost the time or interest in continuing work on wayward. If so, what happened? Something upstream? Something in the core design?
There are not a lot of C++ http service implementations built around libevent/libevhtp and I think it makes this project rather valuable.

Addressing #10 in particular would be very helpful.

Running scons fails

With the these commands,

$ git clone https://github.com/simonask/w.git --recursive
$ cd w
$ scons -j8

I get the following error message from scons:

scons: Reading SConscript files ...
TypeError: 'builtin_function_or_method' object has no attribute '__getitem__':
  File "<PATH_TO>/w/SConstruct", line 97:
    w_dev = WaywardProgram(env_with_ws, 'w_dev', w_util_sources, rpaths = ['.'])
  File "<PATH_TO>/w/wayward_build.py", line 37:
    libs.extend['event', 'event_pthreads', 'pq', 'unwind']

I'm running Arch linux with Scons 2.3.2.

Support multipart/form-data

Libevhtp, the current HTTP library based on libevent, does not seem to parse multipart form data, which is the default for browsers. It is also required when doing things like file uploads.

Possible solutions:

  • Wait for libevhtp2 to implement multipart/form-data.
  • Fork libevhtp and implement it ourselves.
  • Implement our own HTTP parser on top of libevent.

License

I'd like to reuse/port some of parts your code for use in an open source library for embedded devices.
Can you please specify a license (anything not GPL-ish would be great, I prefer to use MIT), so that I can give proper credit?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.