- Oct 17, 2016
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=55b2b70a688234f6ebcfba37eced20ee5d5387a1
-
- Oct 14, 2016
-
-
Deomid Ryabkov authored
Factor out SSI and WS code from http.c HTTP + WS are enabled by default, but MQTT is built without HTTP support as a compilation test. PUBLISHED_FROM=925ed9a55abb193ed7deac1c9675a0e5b35dca50
-
Alexander Alashkin authored
PUBLISHED_FROM=292d73fa3e90377b1f929ae47ae1073dab5a4089
-
Deomid Ryabkov authored
PUBLISHED_FROM=026810475d98df117ab1dadf40276759190aad19
-
Deomid Ryabkov authored
PUBLISHED_FROM=9fd0cebfa8df53b5d9574a8d013305ddda5e7a18
-
Deomid Ryabkov authored
PUBLISHED_FROM=62267ea0a8e10d8ba7bad590d1a56b179bcffce9
-
- Oct 13, 2016
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=34e6028b68e286f81be7ba0f8ae73b760f144131
-
Deomid Ryabkov authored
Also factor out CGI-related code from http.c, it's getting too big. Build tests with -Wundef PUBLISHED_FROM=a1e82fafba73812c249db0b49c59d1b48417b60d
-
Deomid Ryabkov authored
"#if FOO" still works with simple -DFOO, but gives more flexibility. Specifically, if user expressed no preference (FOO is not defined), we can apply reasonable defaults (this is the legitimate use of ifdef). In short, from now on, please use #if MG_ENABLE_FOO instead of #ifdef MG_ENABLE_FOO Since we are all used to #ifdef, this change also adds a precommit check to police this. Specifically, in *.h and *.c files that are Copyright Cesanta, "ifdef" and "if defined()" are not allowed to be used with macros that contain ENABLE or DISABLE, unless the like also contains "ifdef-ok". Hence, if you are sure you want to use ifdef, use this: #ifdef MG_ENABLE_FOO /* ifdef-ok */ PUBLISHED_FROM=9be829448f53cff575d6cae8b9945fb12531c15a
-
- Oct 12, 2016
-
-
Alexander Alashkin authored
PUBLISHED_FROM=23d031720d8d6e170eab6bd615797f33e36a6701
-
- Oct 11, 2016
-
-
Deomid Ryabkov authored
esp_mg_net_if was a rat's nest of mongoose net_if and event manager implementaions and the event loop task for the ESP8266 miot port. From that, pieces that are related to LWIP support have been pulled out, separated into net_if and event manager files, and event loop task has been moved under the miot esp8266 dirrectory. This is done to facilitate LWIP code reuse. This may not be the end of it, but it's a start. Note: custom retransmit logic has been removed for now. Can be reintroduced later is necessary. PUBLISHED_FROM=fd5bbf75714583ce95776d4c76b6c5b5dc535364
-
Marko Mikulicic authored
Currently this allows V7 to be built on MBED; more work is likely required to port mongoose. PUBLISHED_FROM=32cd0a38349c8e9019af46d4ce7e1429e660db25
-
- Oct 05, 2016
-
-
Deomid Ryabkov authored
This is the variant of MG_EV_SSI_CALL with context of the SSI call being processed in addition to the tag argument. Specifically, call handler now gets access to the HTTP request and the name of the file being processed. MG_EV_SSI_CALL is preserved for backward compatibility. PUBLISHED_FROM=eeea7487c062505abdb23b6f64994ff7a6b60ff8
-
- Sep 30, 2016
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=77cd3df9959b0e3a2550d1581586e69878bbee0d
-
Alexander Alashkin authored
PUBLISHED_FROM=cda885a9dc5d1203b7b59b13ea7fd7934b31260a
-
Deomid Ryabkov authored
PUBLISHED_FROM=4f0adab828ebf06dbc3e0c4333bf0053f374b62f
-
Alexander Alashkin authored
PUBLISHED_FROM=cda885a9dc5d1203b7b59b13ea7fd7934b31260a
-
Deomid Ryabkov authored
PUBLISHED_FROM=f45e06aeba1c00212078d539b6f74cb8bd054326
-
- Sep 28, 2016
-
-
Marko Mikulicic authored
Main TODOs: 1. the spec requires the impl to resend the reply once and to send gratuitous updates 2. advertise our clubby services as DNS-SD sub-services. --- Tested with: 1. https://play.google.com/store/apps/details?id=com.grokkt.android.bonjour&hl=en 2. https://play.google.com/store/apps/details?id=com.druk.bonjour.browser&hl=en 3. osx `dns-sd` Works well enough; it doesn't have some glitches due the fact that we don't retransmit yet and we don't send gratuitous updates. PUBLISHED_FROM=38d7a50beb274d4aeeda5b0b58e44dfa0789da84
-
- Sep 27, 2016
-
-
Deomid Ryabkov authored
Make paths embedded in amalgamated files nice and relative. This facilitates subsequent clean un- and re-amalgamation. PUBLISHED_FROM=d83e6000617c54ceaeb78b80c25814996043fe66
-
- Sep 22, 2016
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=355fea9a5a75ac926d4c64d41828ebcd96c04080
-
- Sep 15, 2016
-
-
Alexander Alashkin authored
PUBLISHED_FROM=04bcd98025263f32d337730cf179bdfc35b683f1
-
Dmitry Frank authored
PUBLISHED_FROM=40d62ce03a4f739b458076395941e4ad7c932fb3
-
Alexander Alashkin authored
PUBLISHED_FROM=04bcd98025263f32d337730cf179bdfc35b683f1
-
- Sep 13, 2016
-
-
Sergey Lyubka authored
PUBLISHED_FROM=da57dfe52e315dc1901d761289f0445be6e93cea
-
Artem Bulavin authored
PUBLISHED_FROM=da5f7f80a9876ac4f1889a1176a3048f47980659
-
Sergey Lyubka authored
PUBLISHED_FROM=da57dfe52e315dc1901d761289f0445be6e93cea
-
Alexander Alashkin authored
PUBLISHED_FROM=9e2d5c45d112b9e9493d995b12fe989e93d66d5b
-
- Sep 12, 2016
-
-
Alexander Alashkin authored
PUBLISHED_FROM=dbf75bfba087f1b0aa0531e5003ba3e69ed1a6ab
-
Alexander Alashkin authored
PUBLISHED_FROM=293a54ab09e6879b6f0c36975a137eeaeff92098
-
- Sep 05, 2016
-
-
Dmitry Frank authored
On my way, fixed a couple of cases where we had `()` in the header, and non-empty argument list in the source file. PUBLISHED_FROM=5519526cf84e2bbd425a726fcc112fea1a95cbf1
-
Alexander Alashkin authored
PUBLISHED_FROM=7f805d89dcb795c9b3ee637ef1dbdcfcf3323469
-
- Sep 01, 2016
-
-
Sergey Lyubka authored
PUBLISHED_FROM=e9a4e5c7b4a1d03b93a2a79e29de19e60e919929
-
- Aug 29, 2016
-
-
Deomid Ryabkov authored
Complete rewrite of the C Clubby implementation: it is now modeled after the Go implementation, with a slight difference that codec and channel are the same object (something we should probably do in Go as well, as we only have a single type of channel so far, which is used with all types of codecs). This implementation also comes with a new external API, which is hopefully cleaner and easier to use (see mg_clubby.h). In this PR I am not adding any new types of channels, but a UART channel as well as websocket listener channel will be added after this lands. PUBLISHED_FROM=d545d4bb6434e2a02ad159f9e4b64e594a4797e7
-
- Aug 19, 2016
-
-
Artem Bulavin authored
PUBLISHED_FROM=6bf2a710edaae6133d68eaf900ede14bba75ad5a
-
- Aug 18, 2016
-
-
Alexander Alashkin authored
PUBLISHED_FROM=993c4b1bec363e3f7975b83710e694792bedf5b3
-
- Aug 09, 2016
-
-
Deomid Ryabkov authored
A way to serve a single, specific file as opposed to the hairy monster that is mg_serve_http. PUBLISHED_FROM=6ed1bc487b9d41d212a5907337182f23b040aecf
-
- Jul 26, 2016
-
-
Dmitry Frank authored
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
-
- Jul 22, 2016
-
-
Deomid Ryabkov authored
Remove the random() stubs from the codebase PUBLISHED_FROM=0f56ec7dffa0af1f5061a17d8801239d6f0e32a5
-
- Jul 21, 2016
-
-
Deomid Ryabkov authored
Use the same config mechanism for ro_vars as for sys_config, get rid of a bunch of custom code. PUBLISHED_FROM=d2be76cb97090669dd6a21e95d0ba821eaa1a313
-