Dmitry Frank
57f826ece1
Implement miot cloud group add, list, delete
...
PUBLISHED_FROM=4b6f7b6fb4559e085c93f5f8827b8fae1701de70
2016-09-09 22:29:33 +00:00
Sergey Lyubka
729bdebc50
Add WebSocket support to the netcat example
...
PUBLISHED_FROM=c494ab910d0b1b98ea6ea4024450c60d0abff01d
2016-09-09 22:20:58 +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
Alexander Alashkin
5f93f7162f
Add STM32F4/CC3100 example & Co
...
PUBLISHED_FROM=7f805d89dcb795c9b3ee637ef1dbdcfcf3323469
2016-09-05 15:06:21 +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
4120f953c7
Report bind error in simplest_web_server_ssl
...
PUBLISHED_FROM=73e7ed5dd69cbca00ad6f67125915fbfb296770b
2016-08-31 12:30:22 +00:00
Deomid Ryabkov
844c7787f9
Ignore SL_EAGAIN
...
It was observed that sl_Send can return SL_EAGAIN, despite the fact that
we only call write_to_socket if it was reported as writeable.
PUBLISHED_FROM=e4cbacb3f16bb7abb479222d7dcbfbe113a39161
2016-08-29 18:20:54 +00:00
Deomid Ryabkov
0fe9ec1499
C Clubby refactoring
...
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
2016-08-29 11:20:54 +00:00
Sergey Lyubka
b3fb21dacc
Add DLL building example
...
PUBLISHED_FROM=20d24793d766ee289c6bde95bd5ad01202cd614b
2016-08-26 09:21:09 +00:00
Alexander Alashkin
2deaf084e4
Fix clang -std=c99 compilation
...
PUBLISHED_FROM=fc3f24d40f92f206e5de4a2fd15100430db87717
2016-08-24 12:50:59 +00:00
Deomid Ryabkov
1b324510cc
Add simplest_web_server_ssl example
...
PUBLISHED_FROM=8945dc72ce22d48c582e7cdd01348494677ac5bb
2016-08-22 22:20:45 +00:00
Artem Bulavin
fd839f1827
Pointer to int casting warning
...
PUBLISHED_FROM=6bf2a710edaae6133d68eaf900ede14bba75ad5a
2016-08-19 09:05:55 +00:00
Alexander Alashkin
f149f4aab1
Remove cs_dbg.h from amalgamated headers
...
PUBLISHED_FROM=993c4b1bec363e3f7975b83710e694792bedf5b3
2016-08-18 14:06:18 +00:00
Marko Mikulicic
af6fc64ab9
Add restart flag to ourci workers
...
PUBLISHED_FROM=f85aaf2215f8323866eab9fb5143407b44fa1959
2016-08-16 17:21:03 +00:00
Artem Bulavin
ff159bf30a
Simple mongoose http urls crawler
...
PUBLISHED_FROM=4eead54610606827963e7c244fcd8ab9a13d4c07
2016-08-16 14:36:11 +00:00
Alexander Alashkin
8cdd19bcae
Call MG_EV_ACCEPT on spawn
...
PUBLISHED_FROM=f1b4ce4334d24bf613db88ccb28cb3668390ce1d
2016-08-16 09:36:05 +00:00
Alexander Alashkin
2efc859829
Fix mt
...
PUBLISHED_FROM=6e33f546c4d096ef03103f6010124e5d568700b0
2016-08-15 16:21:14 +00:00
Alexander Alashkin
d4a8351464
Remove port :5000 from docker.cesanta in Makefiles
...
PUBLISHED_FROM=b2454104b99100f23db0777f874ab8a33727acca
2016-08-12 15:36:30 +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
Deomid Ryabkov
1070dd2d87
Fix overrun in url rewrites, add tests
...
PUBLISHED_FROM=03dc62aa69dddcbe41d5bc5c014de248332da918
2016-08-09 10:06:12 +00:00
Deomid Ryabkov
af98854ce4
Delete old cookie_auth example
...
PUBLISHED_FROM=c118b2796f697e8d5493bb3d534cee7406060c1a
2016-08-08 14:06:05 +00:00
Deomid Ryabkov
7cace648c0
Improve cookie auth example
...
Use templated index page and SSI calls instead of hard-coded html
PUBLISHED_FROM=eade9dfe283952ed5465cd0ff1924f61a14dea0c
2016-08-08 11:28:52 +00:00
Deomid Ryabkov
447bf4adb0
Compile examples with -Werror
...
PUBLISHED_FROM=5a24bda9029db3fc7bf04dc871656d65d551f4ab
2016-08-08 10:36:19 +00:00
Deomid Ryabkov
6572c1c692
Add a cookie auth and session management example
...
PUBLISHED_FROM=243437cf7d48b04aef3896bc4c5d4010975299a4
2016-08-08 10:36:19 +00:00
Dmitry Frank
7b48859f8d
Fix mongoose comment a little
...
PUBLISHED_FROM=542e7c82fa494bef52222495301ab53dce43cd8f
2016-08-04 19:51:10 +00:00
Marko Mikulicic
a6230bafe7
Make unamalgamated build work with bazel
...
PUBLISHED_FROM=c6756bc74e6c25e4c120024e3ee2e3406068ad92
2016-07-30 02:21:16 +00:00
Deomid Ryabkov
cc8f1466c7
Turn on func. sections + dead section elimination
...
In CCS example projects
PUBLISHED_FROM=b3ab112f74ae475cb93bf06fdb7db811bbb99a59
2016-07-27 20:36:15 +00:00
Deomid Ryabkov
69f810febc
Remove debug that slipped into prod code
...
PUBLISHED_FROM=7bacb1af60e85e4ed56a600fa3d1dbba1679db59
2016-07-26 18:39:48 +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