Skip to content
Snippets Groups Projects
  1. Oct 17, 2016
  2. Oct 14, 2016
  3. Oct 13, 2016
    • Deomid Ryabkov's avatar
      MG_DISABLE_MQTT -> MG_ENABLE_MQTT · b298d46a
      Deomid Ryabkov authored
      PUBLISHED_FROM=34e6028b68e286f81be7ba0f8ae73b760f144131
      b298d46a
    • Deomid Ryabkov's avatar
      Rename MG_DISABLE_CGI -> MG_ENABLE_CGI · 75059d1b
      Deomid Ryabkov authored
      Also factor out CGI-related code from http.c, it's getting too big.
      
      Build tests with -Wundef
      
      PUBLISHED_FROM=a1e82fafba73812c249db0b49c59d1b48417b60d
      75059d1b
    • Deomid Ryabkov's avatar
      Change from using #ifdef to #if for features tests · bafc30be
      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
      bafc30be
  4. Oct 12, 2016
  5. Oct 11, 2016
    • Deomid Ryabkov's avatar
      esp_mg_net_if refactoring: split LWIP & ESP parts · ab48174b
      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
      ab48174b
    • Marko Mikulicic's avatar
      Add MBED as platform · 4439251f
      Marko Mikulicic authored
      Currently this allows V7 to be built on MBED; more
      work is likely required to port mongoose.
      
      PUBLISHED_FROM=32cd0a38349c8e9019af46d4ce7e1429e660db25
      4439251f
  6. Oct 05, 2016
    • Deomid Ryabkov's avatar
      Add MG_EV_SSI_CALL_CTX · f9a6403b
      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
      f9a6403b
  7. Sep 30, 2016
  8. Sep 28, 2016
  9. Sep 27, 2016
    • Deomid Ryabkov's avatar
      Amalgamation changes - clean up paths · 4d76a3be
      Deomid Ryabkov authored
      Make paths embedded in amalgamated files nice and relative.
      This facilitates subsequent clean un- and re-amalgamation.
      
      PUBLISHED_FROM=d83e6000617c54ceaeb78b80c25814996043fe66
      4d76a3be
  10. Sep 22, 2016
  11. Sep 15, 2016
  12. Sep 13, 2016
  13. Sep 12, 2016
  14. Sep 05, 2016
  15. Sep 01, 2016
  16. Aug 29, 2016
    • Deomid Ryabkov's avatar
      C Clubby refactoring · 0fe9ec14
      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
      0fe9ec14
  17. Aug 19, 2016
  18. Aug 18, 2016
  19. Aug 09, 2016
    • Deomid Ryabkov's avatar
      Make mg_http_serve_file public · 5fa544fc
      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
      5fa544fc
  20. Jul 26, 2016
  21. Jul 22, 2016
  22. Jul 21, 2016
    • Deomid Ryabkov's avatar
      Refactor sys_config and ro_vars · b987df19
      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
      b987df19
Loading