Deomid Ryabkov
e928f36456
MG_DISABLE_HTTP(|_SSI|_WEBSOCKET) -> MG_ENABLE$1
...
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
2016-10-14 17:06:19 +00:00
Deomid Ryabkov
241090a82b
CS_DISABLE_(STDIO|HEXDUMP) -> CS_ENABLE_$1
...
PUBLISHED_FROM=9fd0cebfa8df53b5d9574a8d013305ddda5e7a18
2016-10-14 10:22:30 +00:00
Deomid Ryabkov
3b69f5d500
MG_DISABLE_DAV -> MG_ENABLE_HTTP_WEBDAV
...
PUBLISHED_FROM=62267ea0a8e10d8ba7bad590d1a56b179bcffce9
2016-10-14 07:06:13 +00:00
Deomid Ryabkov
b298d46a40
MG_DISABLE_MQTT -> MG_ENABLE_MQTT
...
PUBLISHED_FROM=34e6028b68e286f81be7ba0f8ae73b760f144131
2016-10-13 21:08:22 +00:00
Deomid Ryabkov
bafc30bec6
Change from using #ifdef to #if for features tests
...
"#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
2016-10-13 18:07:25 +00:00
Deomid Ryabkov
f9a6403b11
Add MG_EV_SSI_CALL_CTX
...
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
2016-10-04 23:51:29 +00:00
Deomid Ryabkov
8b12263dbc
Fix mg_http_send_redirect doc
...
PUBLISHED_FROM=77cd3df9959b0e3a2550d1581586e69878bbee0d
2016-09-30 13:06:39 +00:00
Deomid Ryabkov
460d95afc5
Add mg_http_send_redirect and make examples use it
...
PUBLISHED_FROM=f45e06aeba1c00212078d539b6f74cb8bd054326
2016-09-30 11:22:00 +00:00
Alexander Alashkin
fecb11f2fa
Add CoAP server example doc. Closes cesanta/dev#4917
...
PUBLISHED_FROM=ee7728db61721c0628a00ed702a47f7382ad7cd7
2016-09-29 11:50:59 +00:00
Alexander Alashkin
56e50c2dbe
Add CoAP client example doc
...
PUBLISHED_FROM=51fd5cd50ae8c9fce43d95d06fec2e7582018d00
2016-09-29 11:05:59 +00:00
Marko Mikulicic
286fa90ee9
Simple mDNS + DNS-SD impl
...
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
2016-09-28 08:51:47 +00:00
Sergey Lyubka
d6dda04f4f
Update mg_mgr docstring
...
PUBLISHED_FROM=da57dfe52e315dc1901d761289f0445be6e93cea
2016-09-13 11:37:47 +00:00
Artem Bulavin
1b0825ef4b
Docs deployment via docs/make_doc
...
PUBLISHED_FROM=da5f7f80a9876ac4f1889a1176a3048f47980659
2016-09-13 11:37:46 +00:00
Sergey Lyubka
7249b2bd5f
Update mg_mgr docstring
...
PUBLISHED_FROM=da57dfe52e315dc1901d761289f0445be6e93cea
2016-09-13 11:36:17 +00:00
Alexander Alashkin
4cbf81da59
Use user timeout in multithreading polling
...
PUBLISHED_FROM=dbf75bfba087f1b0aa0531e5003ba3e69ed1a6ab
2016-09-12 14:21:05 +00:00
Alexander Alashkin
d9b7ec18e7
Add MG_F_ENABLE_BROADCAST option
...
PUBLISHED_FROM=293a54ab09e6879b6f0c36975a137eeaeff92098
2016-09-12 12:36:56 +00:00
Dmitry Frank
2a541175b5
Use void arguments list consistently in C code
...
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
2016-09-05 15:51:19 +00:00
Sergey Lyubka
3640554503
Add DNS server example
...
PUBLISHED_FROM=0d71533fd475c152c29fe304ca95559512a6059d
2016-09-02 21:06:16 +00:00
Sergey Lyubka
12437fd7fe
Refactor Mongoose documentation
...
PUBLISHED_FROM=e9a4e5c7b4a1d03b93a2a79e29de19e60e919929
2016-09-01 14:35:02 +00:00
Deomid Ryabkov
5fa544fc78
Make mg_http_serve_file public
...
A way to serve a single, specific file as opposed to the hairy monster
that is mg_serve_http.
PUBLISHED_FROM=6ed1bc487b9d41d212a5907337182f23b040aecf
2016-08-09 10:51:02 +00:00
Dmitry Frank
7b48859f8d
Fix mongoose comment a little
...
PUBLISHED_FROM=542e7c82fa494bef52222495301ab53dce43cd8f
2016-08-04 19:51:10 +00:00
Dmitry Frank
e5da7440d7
Bring back JS precompilation to CC3200
...
We haven't actually _fixed_ evaluation of precompiled bcode from
non-mmapped memory: we just never free it. For sane use case (do not
evaluate the same file more than once) it should be acceptable.
PUBLISHED_FROM=a9ca2d8fa72e9c40c93415d060ee8db697caa225
2016-07-26 15:36:00 +00:00
Dmitry Frank
849ec1684a
Apply Mongoose docs edits by Ev
...
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
2016-07-26 15:06:04 +00:00
Alexander Alashkin
4f210cd8eb
Fix error messages and more
...
PUBLISHED_FROM=11c57fc5ece01686e9cecab5e3bfce54a2825836
2016-07-25 17:21:23 +00:00
Evelyn
285f75764c
Update mg_match_prefix.md
2016-07-25 17:37:20 +01:00
Evelyn
3586203753
Update mg_next_comma_list_entry.md
2016-07-25 17:36:46 +01:00
Alexander Alashkin
e406de7e00
Remove extra error message
...
PUBLISHED_FROM=8b7fcfc1bc32ff9ff38e2904ddb730c83bf9fae4
2016-07-25 16:36:18 +00:00
Evelyn
53ed8502c9
Update mg_is_big_endian.md
2016-07-25 17:35:41 +01:00
Evelyn
ac8c756879
Update mg_avprintf.md
2016-07-25 17:35:27 +01:00
Evelyn
07faacdaf9
Update mg_hexdump_connection.md
2016-07-25 17:34:35 +01:00
Evelyn
8464844518
Update mg_hexdump.md
2016-07-25 17:34:03 +01:00
Evelyn
fe2d1ff027
Update mg_sock_addr_to_str.md
2016-07-25 17:33:17 +01:00
Evelyn
8d129e359e
Update mg_conn_addr_to_str.md
2016-07-25 17:33:03 +01:00
Evelyn
39aa56457b
Update mg_start_thread.md
2016-07-25 17:32:22 +01:00
Evelyn
8491d5da8b
Update mg_open.md
2016-07-25 17:31:57 +01:00
Evelyn
681196e2c8
Update mg_fopen.md
2016-07-25 17:31:43 +01:00
Evelyn
836ad5ebab
Update mg_stat.md
2016-07-25 17:31:28 +01:00
Evelyn
a3ea1eddfb
Update mg_base64_decode.md
2016-07-25 17:30:59 +01:00
Evelyn
a2c06ac6ba
Update mg_skip.md
2016-07-25 17:30:04 +01:00
Evelyn
a5c697fa2d
Update mg_coap_parse.md
2016-07-25 17:28:59 +01:00
Evelyn
be199b4fe9
Update mg_coap_send_ack.md
2016-07-25 17:28:05 +01:00
Evelyn
cc15320cfe
Update mg_coap_send_message.md
2016-07-25 17:27:50 +01:00
Evelyn
70bae59ec6
Update mg_coap_free_options.md
2016-07-25 17:27:31 +01:00
Evelyn
d4f3361805
Update mg_coap_add_option.md
2016-07-25 17:26:59 +01:00
Evelyn
332c855d40
Update mg_set_protocol_coap.md
2016-07-25 17:26:43 +01:00
Evelyn
01e3fa4d13
Update mg_mqtt_next.md
2016-07-25 17:26:26 +01:00
Evelyn
15a0f7a00a
Update mg_mqtt_broker.md
2016-07-25 17:26:05 +01:00
Evelyn
a751adba2a
Update mg_mqtt_broker_init.md
2016-07-25 17:25:21 +01:00
Evelyn
10eed010df
Update mg_mqtt_next_subscribe_topic.md
2016-07-25 17:25:00 +01:00
Evelyn
033ca26216
Update mg_mqtt_pong.md
2016-07-25 17:24:19 +01:00
Evelyn
40793cbdce
Update mg_mqtt_ping.md
2016-07-25 17:24:10 +01:00
Evelyn
48a1b2ec75
Update mg_mqtt_unsuback.md
2016-07-25 17:24:03 +01:00
Evelyn
1a55556c66
Update mg_mqtt_suback.md
2016-07-25 17:23:53 +01:00
Evelyn
3edd3ccbe6
Update mg_mqtt_pubcomp.md
2016-07-25 17:23:39 +01:00
Evelyn
194933e037
Update mg_mqtt_pubrel.md
2016-07-25 17:23:30 +01:00
Evelyn
38deaedaef
Update mg_mqtt_pubrec.md
2016-07-25 17:23:15 +01:00
Evelyn
fc3dd5900c
Update mg_mqtt_puback.md
2016-07-25 17:23:06 +01:00
Evelyn
b1213425d0
Update mg_mqtt_connack.md
2016-07-25 17:22:53 +01:00
Evelyn
40f0b450a8
Update mg_mqtt_disconnect.md
2016-07-25 17:22:43 +01:00
Evelyn
0bab3977a8
Update mg_mqtt_unsubscribe.md
2016-07-25 17:22:35 +01:00
Evelyn
2c46760b77
Update mg_mqtt_subscribe.md
2016-07-25 17:22:22 +01:00
Evelyn
878c9ae5ae
Update mg_mqtt_publish.md
2016-07-25 17:22:11 +01:00
Evelyn
c8553de09e
Update mg_send_mqtt_handshake_opt.md
2016-07-25 17:22:02 +01:00
Evelyn
6738858e11
Update mg_send_mqtt_handshake.md
2016-07-25 17:21:52 +01:00
Evelyn
61cd6ab86e
Update mg_set_protocol_mqtt.md
2016-07-25 17:21:43 +01:00
Evelyn
77704b669a
Update mg_dns_send_reply.md
2016-07-25 17:21:22 +01:00
Evelyn
770be613d7
Update mg_dns_reply_record.md
2016-07-25 17:20:33 +01:00
Evelyn
9790366449
Update mg_dns_create_reply.md
2016-07-25 17:19:44 +01:00
Evelyn
89f0a8c530
Update mg_set_protocol_dns.md
2016-07-25 17:18:19 +01:00
Evelyn
f72a06e25a
Update mg_dns_uncompress_name.md
2016-07-25 17:17:35 +01:00
Evelyn
8b975533e5
Update mg_dns_encode_record.md
2016-07-25 17:15:49 +01:00
Evelyn
b32f7a9b57
Update mg_dns_copy_questions.md
2016-07-25 17:14:48 +01:00
Evelyn
e1e0083897
Update mg_dns_insert_header.md
2016-07-25 17:14:27 +01:00
Evelyn
ca08ac0e3c
Update mg_send_dns_query.md
2016-07-25 17:14:13 +01:00
Evelyn
a5b85b4462
Update mg_dns_parse_record_data.md
2016-07-25 17:14:03 +01:00
Deomid Ryabkov
3feab3a16d
No-JS mode refactoring
...
Now JS is controlled with a make variable as opposed to a proproc define.
This allows skipping compiling a whole bunch of files when JS is
disabled, e.g. whole freezing step on ESP, or compiling v7.c on CC3200
which takes a while only to be discarded in its entirety later.
Var name is SJ_ENABLE_JS (note change from disable logic to enable to be in line with other stuff). Default is 1, meaning JS is enabled.
Also changed clubby knob in the same way: SJ_ENABLE_CLUBBY, default is 1 as well.
PUBLISHED_FROM=105277e9536e423d6363a51ff9acea9550a9c496
2016-07-25 15:06:00 +00:00
Evelyn
5d76e57b81
Update mg_set_protocol_http_websocket.md
2016-07-25 15:08:27 +01:00
Alexander Alashkin
9101cd0339
Use lld for ID
...
PUBLISHED_FROM=1246247fc29eb9a75b986ff7bb2d2350a52c03fc
2016-07-22 16:26:31 +00:00
Evelyn
4b2d3f5f5b
Update mg_http_check_digest_auth.md
2016-07-22 16:23:52 +01:00
Evelyn
482a471abb
Update mg_file_upload_handler.md
2016-07-22 16:23:16 +01:00
Evelyn
4d90bb0d02
Update mg_register_http_endpoint.md
2016-07-22 16:22:15 +01:00
Evelyn
202dfc18be
Update mg_serve_http.md
2016-07-22 16:21:47 +01:00
Evelyn
13f4742699
Update mg_connect_http_opt.md
2016-07-22 16:21:30 +01:00
Evelyn
33e769bd75
Update mg_connect_http.md
2016-07-22 16:20:58 +01:00
Evelyn
992f3000ef
Update mg_http_create_digest_auth_header.md
2016-07-22 16:20:04 +01:00
Evelyn
7ea4adae5e
Update mg_url_decode.md
2016-07-22 16:19:38 +01:00
Evelyn
5ed9991135
Update mg_get_http_var.md
2016-07-22 16:18:42 +01:00
Evelyn
dc2527c11f
Update mg_parse_multipart.md
2016-07-22 16:17:58 +01:00
Evelyn
bee95654f3
Update mg_http_parse_header.md
2016-07-22 16:17:08 +01:00
Evelyn
48296bb1cf
Update mg_get_http_header.md
2016-07-22 16:16:21 +01:00
Evelyn
1ee9735354
Update mg_parse_http.md
2016-07-22 16:16:00 +01:00
Evelyn
f8da303ca1
Update mg_printf_html_escape.md
2016-07-22 16:15:26 +01:00
Evelyn
6ae6ee9fd2
Update mg_send_head.md
2016-07-22 16:15:01 +01:00
Evelyn
a11eafc5b3
Update mg_send_response_line.md
2016-07-22 16:13:59 +01:00
Evelyn
efe53b57e4
Update mg_printf_http_chunk.md
2016-07-22 16:13:38 +01:00
Evelyn
e2330944d4
Update mg_send_http_chunk.md
2016-07-22 16:13:20 +01:00
Evelyn
1c18906db7
Update mg_printf_websocket_frame.md
2016-07-22 16:12:07 +01:00
Evelyn
873ceb48bd
Update mg_send_websocket_framev.md
2016-07-22 16:11:32 +01:00
Evelyn
a48b955d89
Update mg_send_websocket_frame.md
2016-07-22 16:11:11 +01:00
Evelyn
b92fae2bfb
Update mg_connect_ws_opt.md
2016-07-22 16:10:30 +01:00
Evelyn
156be17191
Update mg_connect_ws_opt.md
2016-07-22 16:10:12 +01:00
Evelyn
92290cfe81
Update mg_connect_ws.md
2016-07-22 16:09:47 +01:00
Evelyn
29725c97f1
Update mg_send_websocket_handshake2.md
2016-07-22 16:08:59 +01:00
Evelyn
56b9cd14cb
Update mg_send_websocket_handshake.md
2016-07-22 16:07:44 +01:00
Evelyn
3550cc8f48
Update mg_set_protocol_http_websocket.md
2016-07-22 16:03:38 +01:00
Deomid Ryabkov
6a3d01ee6b
Depend on v7.c properly
...
PUBLISHED_FROM=cf49d0d345e4a7607c535f9578b8ed4160f2fccd
2016-07-22 14:31:13 +00:00
Evelyn
27986213aa
Update mg_check_ip_acl.md
2016-07-22 15:23:11 +01:00
Evelyn
a2d07ef983
Update mg_check_ip_acl.md
2016-07-22 15:13:59 +01:00
Evelyn
3cf4e32d9f
Update mg_event_handler_t.md
2016-07-22 15:06:40 +01:00
Evelyn
a54584b716
Update mg_set_timer.md
2016-07-22 15:06:00 +01:00
Evelyn
51907e2642
Update mg_enable_javascript.md
2016-07-22 15:04:58 +01:00
Evelyn
5dd9d37ef2
Update mg_enable_multithreading.md
2016-07-22 15:04:01 +01:00
Evelyn
f900854e0d
Update mg_socketpair.md
2016-07-22 14:54:30 +01:00
Evelyn
d20e94f763
Update mg_printf.md
2016-07-22 14:53:54 +01:00
Evelyn
58de2ad2d7
Update mg_send.md
2016-07-22 14:53:28 +01:00
Evelyn
f30c7b75d0
Update mg_set_ssl.md
2016-07-22 14:52:31 +01:00
Evelyn
c5b8e55e12
Update mg_connect_opt.md
2016-07-22 14:48:10 +01:00
Evelyn
559874fce7
Update mg_connect.md
2016-07-22 14:41:40 +01:00
Evelyn
1875653b34
Update mg_bind_opt.md
2016-07-22 14:41:23 +01:00
Evelyn
6df770e72d
Update mg_bind.md
2016-07-22 14:39:26 +01:00
Evelyn
51d415c8dd
Update mg_add_sock_opt.md
2016-07-22 14:38:44 +01:00
Evelyn
63bf428c34
Update mg_add_sock.md
2016-07-22 14:37:21 +01:00
Evelyn
a5d2772082
Update mg_next.md
2016-07-22 14:36:53 +01:00
Evelyn
43c317ef4c
Update mg_broadcast.md
2016-07-22 14:36:13 +01:00
Evelyn
01ffdb69d0
Update mg_mgr_poll.md
2016-07-22 14:35:08 +01:00
Evelyn
a78f346ac6
Update mg_mgr_free.md
2016-07-22 14:34:04 +01:00
Evelyn
4ae88c859e
Update mg_mgr_init.md
2016-07-22 14:33:30 +01:00
Marko Mikulicic
e8a97f12d7
Skip C build if not changed - step 1
...
Note: this is only the first step; the C sources won't be built until
the second step is done.
The actual build takes about 1.3s on cloud2 which still runs the docker
containers and image layers on the very slow spinning disk. cloud3 has
docker mounted on the SSD disk; measured speedups of 20-30%
PUBLISHED_FROM=c5acef1d64ebc8dca8ed31f51685c8b3090c5767
2016-07-22 12:51:18 +00:00
Evelyn
06aabdefbe
Update mg_mgr_init.md
2016-07-22 13:48:35 +01:00
Deomid Ryabkov
cbe63d43df
Prevent repeated invocation of Clubby handler
...
PUBLISHED_FROM=de348f944de60d116d9d1f5d18e920991c811fa8
2016-07-21 15:22:36 +00:00
Marko Mikulicic
e91a7c9599
Reamalgam after .h edits
...
PUBLISHED_FROM=da1faa9b46cd0ff22dcba6d324b5847c4a0d42d8
2016-07-21 15:06:41 +00:00
Sergey Lyubka
3054952a5e
Add %T to the API ref
...
PUBLISHED_FROM=f6679ea960b3aa0bc9142515548835ee0f78af67
2016-07-21 14:36:12 +00:00
Artem Bulavin
3244df9cd1
Added UI response on authentication, fixed non-clickable buttons
...
PUBLISHED_FROM=a4666982707fcc96cfe6e75903cab9ac225351e4
2016-07-21 14:07:13 +00:00
Dmitry Frank
1f75081f6e
Add build option V7_NO_COMPILER
...
Which disables tokenizer, parser, AST, and compiler. On ESP8266, it
frees 21K of ROM.
PUBLISHED_FROM=ff4c53ace6b9056c595b9e12ef3453330d659775
2016-07-21 13:51:54 +00:00
Marko Mikulicic
2c83a50a8a
Document %.*Q
...
PUBLISHED_FROM=5dc567f8978d5414835f7a2338a78ae9eb683f55
2016-07-21 13:38:48 +00:00
Sergey Lyubka
810eab9a58
Add SSI doc string
...
PUBLISHED_FROM=73540bf103672916eae35959d5e992a3616a6604
2016-07-20 11:07:37 +00:00
Deomid Ryabkov
9f78a2902b
Fix SSL stuff
...
Do not use CA bundle on CC3200, it doesn't work.
Make ssl_ca_cert = "*" mean "no verification" and make sure
SSL is enabled on the connection when it's required, even w/o verification.
PUBLISHED_FROM=c8710a5d24ecfe174ef45b7f81c114d41faf5c12
2016-07-14 13:19:55 +00:00
Deomid Ryabkov
c907e6c5fb
Commonize mg_str
...
PUBLISHED_FROM=0e6a1c1a2356c1e12580e498c64ba7be367f601c
2016-07-06 23:49:57 +00:00
Sergey Lyubka
b7a0748312
Ditch JSON-RPC from mongoose
...
PUBLISHED_FROM=89b978c02be2f10eb930ff13673d45249fd67763
2016-07-01 11:35:18 +00:00
rojer
3f1a33e4b4
Handle errors better in listening code for CC3200
...
PUBLISHED_FROM=9d4ab680fa672690735b827f56e135330f72beed
2016-06-15 13:35:00 +00:00
rojer
632153a1b4
Fix FNC CLI logging
...
PUBLISHED_FROM=171b25e15cad2c87eb40a8123fe8ea07e34c41f7
2016-06-15 14:32:36 +01:00
rojer
1d4f97bb4c
SimpleLink net_if impl w/ async support; MG_F_SSL
...
SimpleLink sockets are suffciently different from BSD that all the
ifdefs have become too messy to warrant a separate net_if
implementation. As part of this we also implement proper async connect
support.
Added MG_F_SSL to identify SSL-enabled connections in a generic way,
since SSL state can be different depending on the implementation.
PUBLISHED_FROM=9cdb8c880b90683e4a26b972cf439d47d6f60917
2016-06-09 17:49:53 +00:00
rojer
dcf1cedec9
SimpleLink SSL support; split cert and key opts
...
SL requires cert and key to be separate files in DER format.
Date verification is disabled for now.
PUBLISHED_FROM=7d76150ed356140728a1e5fd82d8a0456347b7dc
2016-06-09 11:04:56 +00:00
rojer
d6ecfe7f24
Make error message more clear
...
PUBLISHED_FROM=f8e052f1a256f671de133135901b509d39608a82
2016-06-07 20:40:25 +00:00
Sergey Lyubka
9f2ecb0144
Minor rephrasing in Mongoose overview doc
...
PUBLISHED_FROM=1562c629ce08004a5243a61eed79e1c3161f1268
2016-05-30 11:17:41 +01:00
Sergey Lyubka
3265060dc8
Add Mongoose overview doc section
...
PUBLISHED_FROM=9fb2260cd76ae30b51db02053f4d2debf4cdf900
2016-05-30 11:17:40 +01:00
Alexander Alashkin
58b8acd68a
Check malloc results, Contribute to cesanta/dev#3726
...
PUBLISHED_FROM=309be4a56754250406dd48f1abd30b68776f5c7e
2016-05-28 19:06:09 +01:00
Sergey Lyubka
3ec09ceedf
Reference media files in doc directly
...
PUBLISHED_FROM=da22d5ea0aa366d7cb9bba838f8e173ae0178f5e
2016-05-28 19:00:05 +01:00
Sergey Lyubka
1ce4aa81ee
Simplify doc generation infra
...
PUBLISHED_FROM=80e77fda1c358294f251ca77d3dd64e8ca9160e5
2016-05-28 19:00:04 +01:00
Dmitry Frank
177e829f4b
Add v7 arg to _mk_ and _get_ functions
...
`v7_mk_undefined()` and `v7_mk_null()` are left unchanged, but marked
deprecated, and `V7_UNDEFINED` and `V7_NULL` are public now.
Xtensa code size with instrumentation: 590400 -> 590432, i.e. 32 bytes.
Xtensa code size without instrumentation: 530848 -> 531760, i.e. 912
bytes.
As objdump reveals, inside v7.c, `v7_mk_number` and others are inlined,
so the extra v7 argument is eliminated; outside of v7.c it's obviously
not inlined.
----
Also, v7_get_int() is added, which currently just casts stored double
value to int
PUBLISHED_FROM=e984b7308faf2380b3de388f238e0fae0aea545d
2016-05-28 18:59:27 +01:00
Sergey Lyubka
4ac688e560
Make mg_http_check_digest_auth() public
...
PUBLISHED_FROM=f00b94cabc2a89d27d5bc78d68d67db0930811b4
2016-05-16 13:57:13 +03:00
Dmitry Frank
23122b327c
Remove old docs, rename docs_new to docs
...
It would be probably good idea to also remove tools/docgen.py and
asciidoc.mk, but asciidoc.mk is still mentioned under `cloud/doc`, which
may contain some useful info which we'll need at least to review before
removing.
PUBLISHED_FROM=faf454d4c52a2f07ea8ac084cf0bd11a0c9c9b3b
2016-05-15 22:07:04 +03:00
Marko Mikulicic
f443c64341
Temporarily disable appdash from docker-compose
...
Until I read the doc and find how to limit the retention,
otherwise it just eats all my ram and cpu and things start to fall
apart.
PUBLISHED_FROM=eb33fb44736f07b992270689217aca4af70513ff
2016-05-15 22:07:04 +03:00
Alexander Alashkin
dae150a3a5
Split HTTP HWTest
...
PUBLISHED_FROM=69dc2fadfa0aad32290bd676331b57d0b5595c60
2016-05-03 13:13:00 +01:00
Marko Mikulicic
8fcd1906a2
Minor cleanup after line numbers feature
...
PUBLISHED_FROM=302ebfe7d711602e75c8db4bc843b0d52a382542
2016-04-28 13:51:19 +01:00
Alexander Alashkin
6b51ec3371
Reaggange HWTests, move port(s) number to cfg
...
PUBLISHED_FROM=274bff744d9c3d12285f026d21c1c776946fae20
2016-04-28 11:59:44 +02:00
Maxim Ignatenko
c85edc38aa
Switch to MySQL everywhere
...
PUBLISHED_FROM=1ab69ecfbd03ad3eef82ef785474744e5b5b2e4d
2016-04-22 14:23:40 +01:00
Alexander Alashkin
0f23618324
Disable http test
...
PUBLISHED_FROM=688b64acb8c87e3cd78c79ee2b7667378d697cd8
2016-04-22 12:32:22 +02:00
Deomid Ryabkov
083d398631
Only copy questions when creating reply
...
In particular, there may be additional records which should not be copied
PUBLISHED_FROM=6b348868cb62d7b3fc4df0e935ffd5a31a314a08
2016-04-19 12:27:48 +01:00
Marko Mikulicic
e5ae1c2ea3
Fix SJS websocket constructor
...
Closes cesanta/smart.js#119
PUBLISHED_FROM=b912e99d457dbf21b3f8ccc6a51d0990cc3db833
2016-04-15 14:48:17 +01:00
Sergey Lyubka
42f5a3e2f7
Use cesanta GA code
...
PUBLISHED_FROM=197c9c874ea950aae8f3fd475d2a3ff836d0caab
2016-04-13 19:19:27 +02:00
Alexander Alashkin
7addae0fdd
Unbreak master again
...
PUBLISHED_FROM=192978ebdb0df77c32af8675118c0067f093c0e7
2016-04-12 14:21:05 +01:00
Marko Mikulicic
6a302c38ab
Fix ourci master port
...
It conflicted with Workspace service
PUBLISHED_FROM=bd891e246bfa4b8f47bcbc6c9f7e4401f5f6e052
2016-04-12 12:36:58 +01:00
Deomid Ryabkov
76364af243
Fix comment format in http.h
...
Functions decl must follow comment to be correctly documented
PUBLISHED_FROM=6ab035cda470c2c23240db4435abd8c241c71b0d
2016-04-11 10:56:06 +01:00
Dmitry Frank
0be132f3b5
Improve Android app
...
Now it can talk to backend as well to the demo device: `LCD.AddLine`,
`LED.Set`, `LED.Get`.
PUBLISHED_FROM=40f493cdabe6ad23a6f26a4563366bebb5071529
2016-04-11 09:43:04 +01:00
Alexander Alashkin
dc6b44571f
Remove extra function from C-clubby
...
PUBLISHED_FROM=db9afcafce26d2048b1a5ebc90bcd1c06f555ed8
2016-04-08 10:56:07 +02:00
Alexander Alashkin
afa5e3f469
Enable SSL in SJ/WS
...
PUBLISHED_FROM=d7b3e083c7a7d5095c8e61bb6183ae7e6e068858
2016-04-05 23:50:16 +01:00
Deomid Ryabkov
96150bf568
Commonize file upload and make it part of Mongoose
...
PUBLISHED_FROM=23819ed308aeb8c1d6bdb08f5edd257df458ab38
2016-04-01 03:14:38 +01:00
Dmitry Frank
5060640408
Docs: images are in the same dir as index.html
...
This simplifies writing markdown docs (no need to specify relative path
to images)
PUBLISHED_FROM=039a563b2f7e6a2fbb2a9424ac5315b2496ca184
2016-03-22 11:45:48 +00:00
Marko Mikulicic
ccf67dbf05
Add smart.js repo to srcfs
...
PUBLISHED_FROM=ebcd95607742a327cc0f453681f576982a8f027d
2016-03-21 22:45:51 +00:00
Dmitry Frank
d0b347517c
Fix comment for mg_event_handler_t
...
PUBLISHED_FROM=cd50a664039b4a74cb7d4d08990f415912585f7d
2016-03-21 13:29:31 +01:00
Dmitry Frank
7bed7ff482
Docs are generated for Mongoose
...
Comments in headers are changed a bit: removed adoc-specific stuff,
markdown is used instead
PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
2016-03-21 13:29:29 +01:00
Marko Mikulicic
d38b0dbf5b
Add command to extract build info from metadata
...
This will allow to recreate the metadata after patching the FS.
PUBLISHED_FROM=dae228bbf49d71f383e4dc52316cf98aba3914f5
2016-03-21 13:29:24 +01:00
Sergey Lyubka
b99dc95b1d
Fossa merge.
...
PUBLISHED_FROM=12ccba10358075024a1195cd0b0c1ea132aae6a3
2015-09-08 12:26:25 +01:00
Sergey Lyubka
30b80dc5ee
Update example
2015-07-13 11:11:26 +01:00
Eugene Ossintsev
c00b236c8d
Fix spelling in docs/ReleaseNotes.md and in comments in mongoose.c
2015-04-09 00:15:40 -04:00
Sergey Lyubka
bcdcbf20ee
Release 5.6
2015-03-18 17:25:31 +00:00
Sergey Lyubka
22aeb6111b
Update ReleaseNotes
2015-03-17 17:01:16 +00:00
Sergey Lyubka
c7b6a6f0ea
Added mg_websocket_printf()
2015-03-05 10:54:51 +00:00
Sergey Lyubka
4502dd0c86
s/MONGOOSE_NO_THREADS/MONGOOSE_ENABLE_THREADS
2015-03-03 18:59:23 +00:00
Sergey Lyubka
b3866439a0
Fix mg_create_server() signature
2015-02-24 13:17:11 +00:00
Sergey Lyubka
6b6637c337
Adopt SSL guide to current way of setting SSL cert.
2015-01-21 17:41:45 +00:00
Sergey Lyubka
878acca213
Removed Lua docs
2015-01-21 17:30:30 +00:00
CurlyMoo
9459d69dcc
Typo
2014-12-27 18:35:09 +01:00
zapline
33e035273a
Update ReleaseNotes.md
...
spell mistake
2014-11-20 09:58:29 +08:00
Sergey Lyubka
404e635665
Fixed Android build
2014-11-12 22:16:32 +00:00
Johan Wikman
8a7d535d92
Added MONGOOSE_NO_USER configuration define.
...
Low-end systems, not running a proper OS, may not have the
concept of a user.
2014-11-07 14:01:13 +02:00
Sergey Lyubka
23141c2fef
Added 5.5 release notes
2014-10-28 11:42:47 +00:00
Sergey Lyubka
6ac2fa2ae6
Updated listening_port for SSL option
2014-10-28 11:20:10 +00:00
Sergey Lyubka
0918df1566
Removed reference to chat.c
2014-10-05 17:29:33 +01:00
Sergey Lyubka
aa2583cc26
Added enable_proxy
2014-10-03 11:54:00 +01:00
Sergey Lyubka
2896965c97
Fixed link to examples
2014-09-20 08:32:29 +01:00
Sergey Lyubka
b116b2fa82
mg_poll_server doc corrected
2014-09-06 10:10:22 +01:00
Sergey Lyubka
268d2e9cbe
better explanation for websocket2.c example
2014-07-28 12:19:00 +01:00
Sergey Lyubka
7875a8c2bd
release notes for 5.4
2014-07-28 12:15:13 +01:00
Sergey Lyubka
6c77208236
release notes dates
2014-07-21 21:38:45 +01:00
Sergey Lyubka
0ff0788458
Formatting change for mg_send_file()
2014-06-04 12:32:31 +01:00
Sergey Lyubka
fec6009edb
mg_send_file() doc changed
2014-06-03 18:49:17 +01:00
Sergey Lyubka
c4f172a120
Documented mg_send_file()
2014-06-03 18:45:37 +01:00
Sergey Lyubka
3536670b82
re-worded FAQ section
2014-05-18 16:13:04 +01:00
Daniel O'Connell
63db54e7b5
Added AV faq
2014-05-18 10:53:54 +01:00
Sergey Lyubka
db6e883c22
Added mg_wakeup_server_ex(), removed mg_wakeup_server() and mg_iterate_over_connections()
2014-05-13 09:33:10 +01:00
Sergey Lyubka
6873f3c5f6
Removed idle_timeout_ms
2014-04-29 18:01:25 +01:00
Sergey Lyubka
ba5cd7267a
Added MONGOOSE_SEND_NS_EVENTS to the embedding doc
2014-04-28 15:04:39 +01:00
Sergey Lyubka
cc586c6ba2
php->basic
2014-04-15 14:13:38 +01:00
Sergey Lyubka
872b85b5f2
more on -access_control_list
2014-04-14 13:03:47 +01:00
Sergey Lyubka
e94a02dc12
Added more in 5.4 release notes
2014-03-31 09:49:42 +01:00
Sergey Lyubka
74135bca7d
link fixed
2014-03-26 18:58:58 +00:00
Sergey Lyubka
d4b14ca3c1
Better API documentation
2014-03-26 14:13:30 +00:00
Sergey Lyubka
f0994896d5
FileSharing doc nitpick
2014-03-26 12:27:44 +00:00
Sergey Lyubka
f096138d6e
Added release note
2014-03-23 20:02:41 +00:00
Sergey Lyubka
166833f330
Added release notes
2014-03-21 11:47:52 +00:00
Sergey Lyubka
a514e143ff
updated faw and tutorials
2014-03-19 11:41:01 +00:00
Sergey Lyubka
6a46244a21
embedding guide for MG_POLL fixed
2014-03-14 08:19:54 +00:00
Sergey Lyubka
60674c11c9
API docs regarding MG_POLL changed
2014-03-13 12:23:53 +00:00
Sergey Lyubka
fe0e0e69e5
File sharing tutorial wording
2014-03-11 15:36:23 +00:00
Sergey Lyubka
a8a017a048
docs updated
2014-03-10 09:23:06 +00:00
Sergey Lyubka
eac8ffabc4
docs updated
2014-03-10 09:19:01 +00:00
Sergey Lyubka
31489ab7b1
Lua fixes
2014-03-09 19:26:58 +00:00
Sergey Lyubka
576d769b56
Corrected links in tutorials
2014-03-09 13:13:25 +00:00
Sergey Lyubka
5ed3dafb56
Added warning about PHP 5.5
2014-03-07 14:46:24 +00:00
Sergey Lyubka
b99bf306ec
fixed image links
2014-03-07 14:40:34 +00:00
Sergey Lyubka
89fae72aa7
added
2014-03-07 14:24:37 +00:00
Sergey Lyubka
7217aa22f1
Embedded guide
2014-03-05 02:53:19 +00:00
Sergey Lyubka
2264520a2f
Example changed to evented API
2014-03-02 13:05:00 +00:00
Sergey Lyubka
2f0b411ddd
Added -pthread flag to unix compilation example
2014-03-02 13:00:44 +00:00
Sergey Lyubka
cead9a04ca
Typo fixed
2014-02-11 15:21:54 +00:00
Sergey Lyubka
e528093027
Formatted example
2014-02-11 15:20:19 +00:00
Sergey Lyubka
c432b783fb
Formatted example
2014-02-11 15:19:18 +00:00
Sergey Lyubka
e06976836f
Typo fixed
2014-02-11 15:18:20 +00:00
Sergey Lyubka
c9f7407573
More comments in example
2014-02-11 15:16:55 +00:00
Mark Eichin
94dbf21ffb
doc typos
...
just saw them while reading...
2014-02-11 03:41:09 -05:00
Sergey Lyubka
5dc317fcb0
Added -DMONGOOSE_HEXDUMP feature
2014-02-09 20:57:11 +00:00
Sergey Lyubka
fbd5d77ce8
Added note about CGI env vars
2014-02-07 20:23:37 +00:00
Sergey Lyubka
a3a63f7e56
Using mg_connection::callback_param for mg_iterate_over_connection()
2014-02-06 10:00:20 +00:00
Sergey Lyubka
a34d1ec00a
Better handling of MONGOOSE_NO_SOCKETPAIR
2014-02-04 14:04:54 +00:00
Sergey Lyubka
14526a2109
mg_add_uri_handler -> mg_set_request_handler()
2014-01-28 12:42:13 +00:00
Sergey Lyubka
45a4266172
more examples added
2014-01-20 11:21:35 +00:00
Sergey Lyubka
2ea17e8c6d
Adjusted docs and makefile to use correct preproc flags
2014-01-20 11:17:09 +00:00
Sergey Lyubka
d86d409d3c
Preprocessor definitions prefixed by MONGOOSE_
2014-01-20 10:54:15 +00:00
Sergey Lyubka
7d699ea73c
Added URI handler return value
2014-01-14 13:27:00 +00:00
Sergey Lyubka
cc636197bc
Added auth example
2014-01-13 17:58:14 +00:00
Sergey Lyubka
6b4f7e785d
Added upload example
2014-01-13 17:01:11 +00:00
Sergey Lyubka
1414e2a236
Documented rewrites for HTTP errors
2014-01-09 12:47:29 +00:00
Sergey Lyubka
d39daab29e
Updated docs
2014-01-07 09:12:17 +00:00
Sergey Lyubka
a798b1a937
Updated docs
2014-01-07 09:10:58 +00:00
Sergey Lyubka
04de3bb2f9
Updated docs
2014-01-07 09:05:34 +00:00
Sergey Lyubka
18b1e95350
LSP functionality
2014-01-06 13:08:39 +00:00
Sergey Lyubka
96bb9aac36
Docs updated
2014-01-04 20:12:07 +00:00
Sergey Lyubka
02937f8852
API doc synced
2014-01-04 14:28:20 +00:00
Sergey Lyubka
51f0cc2b67
Embed doc synced
2014-01-04 14:25:37 +00:00
Sergey Lyubka
253927008c
Options doc synced
2014-01-04 14:20:47 +00:00
Sergey Lyubka
9778a4ccfc
Options doc synced
2014-01-04 14:18:14 +00:00
Sergey Lyubka
d0e2741832
Added new response creation interface
2014-01-04 11:31:55 +00:00
Sergey Lyubka
0aa1a9e324
Documented USE_POST_SIZE_LIMIT, USE_EXTRA_HTTP_HEADERS
2013-12-31 13:56:59 +00:00
Sergey Lyubka
83793aadde
Removed num_threads
2013-12-26 10:14:13 +00:00
Sergey Lyubka
fbe1914226
Copy -> Download and copy
2013-12-23 07:22:05 +00:00
Sergey Lyubka
64a744055f
Added notes on buffering POST data and websocket data
2013-12-22 08:27:23 +00:00
Sergey Lyubka
0007e47c07
Build command re-worded
2013-12-22 08:27:02 +00:00
Sergey Lyubka
a0befd65a0
Nitpick wording
2013-12-21 16:06:00 +00:00
Sergey Lyubka
872ad8badf
Added NO_* and USE_* flag descriptions
2013-12-21 16:04:22 +00:00
Sergey Lyubka
7abb406d0f
put_delete_auth_file -> dav_auth_file
2013-12-20 17:57:13 +00:00
Sergey Lyubka
b941dcd5c5
Removed throttle option
2013-12-20 13:34:09 +00:00
Sergey Lyubka
28f7d83a74
Commented out chat example, as it is broken atm
2013-12-19 10:46:12 +00:00
Sergey Lyubka
34ee1ef3d6
Commented out chat example, as it is broken atm
2013-12-19 10:45:41 +00:00
Sergey Lyubka
e518517456
Commented out chat example, as it is broken atm
2013-12-19 10:42:39 +00:00
Sergey Lyubka
a69987a711
Updated internals manual
2013-12-16 13:45:13 +00:00
Sergey Lyubka
ab73055ef3
Added side-effect note for mg_create_server()
2013-12-12 13:41:33 +00:00
Sergey Lyubka
3b83543592
Commented out irrelevant design description
2013-12-10 23:49:37 +00:00
Sergey Lyubka
d4ac96c24d
Some wording/spelling changes
2013-12-10 23:42:44 +00:00
Sergey Lyubka
0612129a88
Async API
2013-12-10 23:34:08 +00:00
Sergey Lyubka
9bd5903f1d
API.md is split to API.md and Embed.md
2013-12-10 11:16:25 +00:00
Sergey Lyubka
d4eae0e251
Added minimalistic example
2013-12-10 00:40:32 +00:00
Sergey Lyubka
257de0709f
Better wording for put_delete_auth_file option
2013-11-25 17:06:24 +00:00
Sergey Lyubka
774a819e76
Better description for put_delete_auth_file option
2013-11-25 17:05:12 +00:00
Sergey Lyubka
ff1412f29d
Better description for put_delete_auth_file option
2013-11-25 17:04:41 +00:00
Sergey Lyubka
2f49e63d5b
Moved docstrings to API.md
2013-11-25 13:43:12 +00:00
Sergey Lyubka
762a68a0cf
Moved some docs to markdown
2013-10-30 23:02:15 +00:00
Sergey Lyubka
1da098671e
Moved docstrings to API.md
2013-10-19 14:07:46 -07:00
Sergey Lyubka
f852a4db0f
Moved docstrings to API.md
2013-10-19 13:14:16 -07:00
Sergey Lyubka
ddea940690
Docs added
2013-10-18 08:57:59 -07:00
Sergey Lyubka
029af1c376
Docs moved to Cesanta site
2013-09-20 13:27:48 +01:00
Sergey Lyubka
c02f2ff4bb
Update instruction to clone Git repo rather then using tarball
2013-09-18 09:52:06 +01:00
Sergey Lyubka
f74fec8a7e
Split docs by sections
2013-09-18 09:44:12 +01:00
Sergey Lyubka
411a269991
valenok -> cesanta
2013-09-16 22:45:19 +01:00
Sergey Lyubka
bca6aab5a5
Moved UserManual to docs/
2013-09-16 22:42:29 +01:00