Deomid Ryabkov
6c4fecc4f7
TI compiler cannot analyze returns from branches
...
Thinks that mg_ws_random_mask does not return a value.
Help the poor, mentally challenged compiler.
PUBLISHED_FROM=e7c0c47dd2fcbb4e847515892939d69c7a573c2e
2016-04-01 03:14:17 +01:00
Deomid Ryabkov
0991ad7cc8
Minor cleanup
...
TI compiler detects "multipart" as unused
PUBLISHED_FROM=ababf8965a742418cff610df319e4d8c42e02439
2016-04-01 03:14:17 +01:00
Deomid Ryabkov
d03b96b699
Reamalgamate mongoose.h
...
PUBLISHED_FROM=d61816815bd92a70c02ef327572b282426a001a9
2016-03-25 17:11:02 +00:00
Deomid Ryabkov
a690c1442f
Make CC3200 example work with XCC3200HZ
...
PUBLISHED_FROM=42b188c5ae85742681266fee21ec0b0472912743
2016-03-25 17:11:01 +00:00
Deomid Ryabkov
d742b67878
Fix address stringification on CC3200 (SimpleLink)
...
PUBLISHED_FROM=b741acc999d0d2160528b4cb805f315b926ac65b
2016-03-25 17:11:01 +00:00
Deomid Ryabkov
41971a95b2
Add LED status and accelerator data feed
...
It is also possible to control LED by sending a command:
{"t": 1, "v": 0/1/2}
0/1 = off/on, 2 = toggle
PUBLISHED_FROM=da176b70c4cd356c5d56eca58c2926619748d895
2016-03-25 17:10:57 +00:00
Deomid Ryabkov
b6d700077a
Add websocket data feed, send temperature data
...
PUBLISHED_FROM=e56601f99ccf80d8420b4b54b0ef7c272ec4a656
2016-03-25 17:10:56 +00:00
Deomid Ryabkov
c091e6910b
CC3200 build cleanup; commonized fw_meta targets
...
Some yak shaving along the way
PUBLISHED_FROM=09c7cfbd98dcec961970dfad3f38e67912a5b06c
2016-03-25 17:10:54 +00:00
Marko Mikulicic
35f633b533
Fix def_property owning
...
PUBLISHED_FROM=8e2f5f05e6bc7654217b1f5aaa8520366f9d6759
2016-03-25 17:10:51 +00:00
Evelyn
85e4ed7c25
Update README.md
2016-03-25 16:41:32 +00:00
Deomid Ryabkov
3b345a81c4
Add debug info to websocket conns
...
PUBLISHED_FROM=7454716e089be5c54359113cc188215e2475ea29
2016-03-22 12:51:48 +00:00
Alexander Alashkin
a55c48a4ce
Finally remove AVR from mongoose.h
...
PUBLISHED_FROM=23d528a7fcc98abcc4a95fd43a96d9c4ebabc5f7
2016-03-22 11:45:49 +00:00
Deomid Ryabkov
6f4c21c218
Do not bypass auth when handling CGI request
...
PUBLISHED_FROM=9faccf9fedd92d0fb54b7ff660c0cf99c1cbdb74
2016-03-22 11:45:49 +00: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
Deomid Ryabkov
f1cc8379e7
ESP8266_RTOS example tweaks
...
PUBLISHED_FROM=11096f272afc0716e0677c68d58ebf4d4e001a47
2016-03-21 22:45:54 +00:00
Deomid Ryabkov
4f9627c612
CC3200 FS refactoring and basic Mongoose example
...
Moved filesystem-related code out of SJS and into common.
Made it possible to have one, both or no filesystems enabled.
FailFS is now SimpleLinkFS, SLFS (ahem).
Example just serves a "Hello, world!" index page for now.
PUBLISHED_FROM=0e98ee4b8d95782c10791522c42eae5a7ba314f9
2016-03-21 22:45:53 +00:00
Deomid Ryabkov
012f241005
Fix the ESP8266_RTOS example, add it to CI
...
PUBLISHED_FROM=3d58ec06fe3108a81d1c35f8261783690bb12c4d
2016-03-21 22:45:53 +00:00
Marko Mikulicic
ccf67dbf05
Add smart.js repo to srcfs
...
PUBLISHED_FROM=ebcd95607742a327cc0f453681f576982a8f027d
2016-03-21 22:45:51 +00:00
Marko Mikulicic
a43709b4a8
Fix MQTT parsing of nullary commands
...
Closes cesanta/smart.js#619
Also http://forum.cesanta.com/index.php?p=/discussion/35/mixing-up-http-and-mqtt&#
PUBLISHED_FROM=ee040880b75048192c111c602610460071f33066
2016-03-21 13:29:39 +01:00
Alexander Alashkin
e95c074965
Replace strnlen with c_strnlen
...
PUBLISHED_FROM=815cfaea77171761c952966e98466b87b719de06
2016-03-21 13:29:35 +01:00
Alexander Alashkin
4ca73566b6
Reamalgamate mongoose.h
...
PUBLISHED_FROM=441c74c182ef15f3eaeedd19add3411d7e121170
2016-03-21 13:29:34 +01: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
Marko Mikulicic
29d6c4ac04
Fix url path parsing
...
The url parser had two bugs:
- `http://example.com ` -> `GET // HTTP/1.1`
- `foo://bar/baz` -> path is `"baz"` instead of `"/baz"`
Now the path returned by `mg_http_common_url_parse` always
starts with `/`.
Closes cesanta/mongoose#631
PUBLISHED_FROM=f56ed97361ca14ee31d6ed26cf7afe5cd11e0dc5
2016-03-17 13:57:11 +01:00
Deomid Ryabkov
8148b6d037
SJ timer API cleanup; added setInterval and clear*
...
Timers/intervals are now implemented on top of Mongoose.
Got rid of all the platform-specific code (yay!)
Added interval support and ability to clear previously added timeouts.
PUBLISHED_FROM=93866dd80b95b0fa6e137d87f86138330e720154
2016-03-17 10:43:20 +01:00
Deomid Ryabkov
3327e0e871
Make it legal to have a conn with INVALID_SOCKET
...
E.g. a timer-only connection
PUBLISHED_FROM=e8d4d2b6e5e0dfa8e8f987b2ded6b973c39e2919
2016-03-17 10:43:19 +01:00
Alexander Alashkin
0456f0f59b
Fix boundary problem
...
PUBLISHED_FROM=b78c97a337208007e1f622fde072cd59664ef76f
2016-03-17 10:43:18 +01:00
Deomid Ryabkov
72cf78de2c
CC3200 fixes
...
Increase heap size to 44K (13K free after init)
Add File.list() support
Fix a bunch of bugs in file support
Disable sys_init.js, there just isn't enough RAM...
PUBLISHED_FROM=2121b8758f0596da39c3eafcfff36337a1b90b74
2016-03-17 10:43:17 +01:00
Deomid Ryabkov
1d0a89879c
Include Winsock2 headers
...
Contributed by @f4bsch in https://github.com/cesanta/mongoose/pull/626
Submitting here with a minor change: MSDN says that ws2ipdef.h should
not be included directly and users should include ws2tcpip.h
PUBLISHED_FROM=1ebe7eac0cf87b0554432b94049b3d58bf7640f7
2016-03-15 13:35:07 +01:00
Deomid Ryabkov
d1cc952859
Add a tool to fix header guards, apply globally
...
Identifiers starting with _ are reserved, fix those.
Wrote a tool to do it and applied it globally, why not.
PUBLISHED_FROM=db0fa27c90cbfb06ed06469406f9867c5a5bd3c4
2016-03-14 17:42:20 +01:00
Deomid Ryabkov
f56c5b201d
Do not set cipher list if PFS is disabled
...
Remove Krypton TODO: SSL{,_CTX}_set_cipher_list have been added
(but these ciphers are not supported).
Fixes cesanta/dev#2975
PUBLISHED_FROM=25bf330b785f0a61e18ba409069ebccbd50dcf65
2016-03-14 17:36:58 +01:00
Alexander Alashkin
077b9eb7a4
Fix var initialization
...
PUBLISHED_FROM=87ce6442efb2c725025942381c01ae2a2de738c7
2016-03-14 14:32:36 +01:00
Deomid Ryabkov
15c333feb0
Increase buffer size for the range header
...
This should cover 2^64-2^64/2^64
H/T @julee
PUBLISHED_FROM=bcc9f0193ab52375ece00a34c5758ddfe3b628c6
2016-03-14 14:32:35 +01:00
Alexander Alashkin
31c20ab32c
Replace m-part&endpoints mbufs with plain structs
...
PUBLISHED_FROM=b30cf26077b7c6374f0d588e5ef5ba504f979bb3
2016-03-14 14:32:35 +01:00
Deomid Ryabkov
69215cf9eb
Adjust poll timeout if there are timers enabled
...
PUBLISHED_FROM=bbdc998ab4170d55d40d067bab027ae52c9304ec
2016-03-13 15:49:08 +01:00
Marko Mikulicic
f89b51eace
Amalgamation fix
...
PUBLISHED_FROM=b92c75e2fc56d1243187b8516bec54b03a7b1043
2016-03-13 15:49:07 +01:00
Alexander Alashkin
c581b5e532
Add mg/examples-wine to OurCI
...
PUBLISHED_FROM=2781248e982719cda495370a373f66d6e4213d83
2016-03-10 13:11:23 +01:00
Alexander Alashkin
df311203dc
Fix mongoose/examples compilation with mingw
...
PUBLISHED_FROM=46800f43ba03082cc589d70e6118d754f4cdc9d0
2016-03-10 13:11:22 +01:00
Alexander Alashkin
4927195ee4
Use mongoose event to free updater resources
...
PUBLISHED_FROM=3044287fe2623b591ddbf5c619398c21d6753411
2016-03-10 13:11:22 +01:00
Alexander Alashkin
63be1ebd38
Mongoose MSVC2015 warnings cleanup, part1
...
PUBLISHED_FROM=9e173215ed69464d1aa421d43a8fda814f36f96d
2016-03-08 08:44:23 +01:00
Alexander Alashkin
796dc18cfb
Move http endpoints away from mg_conn and more
...
PUBLISHED_FROM=abd5bcf168194f9d38fbcbf3725eaae209e42fc4
2016-03-08 08:44:23 +01:00
Marko Mikulicic
14e116553f
Add mg_connect_ws helper
...
PUBLISHED_FROM=0ff1c9becea2f0842dcf020d2d2ad64a8c5d95ae
2016-03-08 08:44:23 +01:00
Marko Mikulicic
c82ccd6cf7
Simplify http client example
...
PUBLISHED_FROM=64a91c5d261338c7c224340943d63d4b753ee303
2016-03-08 08:44:21 +01:00
Evelyn
0adb080319
Update mongoose README.md
...
PUBLISHED_FROM=fa91aef8133ce514b799c07dcb842fe8ea999d55
2016-03-04 16:09:42 +01:00
Alexander Alashkin
dbb38fffae
Make (http) proto_data persistent
...
PUBLISHED_FROM=8210f4730a3411b3298274d792fc33da79f47b8a
2016-03-04 16:09:42 +01:00
Marko Mikulicic
672a68219a
Fix a few build issues on OSX
...
PUBLISHED_FROM=d6e7ab0b45c960a4ca0bcb56cbc26bc05d641374
2016-03-04 16:09:41 +01:00
Alexander Alashkin
22cb0efd00
Implement FW upload via POST
...
PUBLISHED_FROM=6167cc57df932f6c113d03096eba0af0b456c3c3
2016-03-04 16:09:41 +01:00
Deomid Ryabkov
a68d3d63b2
Make mg_mk_str take NULL, rename MG_STR MG_MK_STR
...
PUBLISHED_FROM=77f24c29667ca2aed3ad8a5102d7e1264f84228b
2016-03-04 16:09:39 +01:00
Evelyn
cf48c7280a
Update README.md
2016-03-03 10:27:45 +00:00