Permalink
Switch branches/tags
Nothing to show
Commits on Jul 17, 2014
  1. Merge pull request #57 from ribbons/compiler-warnings

    Fix compiler warnings about narrowing conversion
    unwiredben committed Jul 17, 2014
  2. Fix compiler warnings about narrowing conversion

    The latest 1.5.7 beta release of Arduino includes an updated toolchain
    which now issues warnings about narrowing of ints to chars inside curly
    braces becoming ill-formed in C++11.  Explicitly cast the values to char
    to prevent this.
    ribbons committed Jul 17, 2014
Commits on Apr 10, 2014
  1. Merge pull request #54 from mkldon/commands_count

    Add WEBDUINO_COMMANDS_COUNT macro
    unwiredben committed Apr 10, 2014
  2. Add WEBDUINO_COMMANDS_COUNT macro

    Add macro for configuring maximum number of commands that can be defined.
    This macro replaces hardcoded "8" number.
    mkldon committed Apr 10, 2014
Commits on Mar 24, 2014
  1. Merge pull request #52 from ribbons/flash-saving

    Flash memory saving optimisations
    unwiredben committed Mar 24, 2014
  2. Save flash by only storing the server header once

    Modify the functions which send headers to re-use one string containing
    the server name instead of including it inline in all of the different
    headers.
    ribbons committed Mar 23, 2014
Commits on Mar 23, 2014
  1. Put flash strings into separate sections

    Change the definition of the P() macro under the AVR architecture to store
    the strings in sections named after the variables.  This allows unused
    strings to be removed by the linker, saving space in the flash memory.
    
    Also change the variable name for all but one of the instances of failMsg
    to give the maximum benefit from the above.
    ribbons committed Mar 23, 2014
  2. Reduce size and clarify type of some integer vars

    Trim down the size of a couple of variables as they didn't need to be as
    large, clarify the type of some others, and change port from int to
    uint16_t to match EthernetServer.
    ribbons committed Mar 16, 2014
Commits on Feb 28, 2014
  1. Merge pull request #51 from ntruchsess/m_client_constructor

    constructor m_client(MAX_SOCK_NUM) is not portable (fails to compile with UIPEthernet)
    unwiredben committed Feb 28, 2014
  2. constructor EthernetClient(MAX_SOCK_NUM) is undocumented and equivale…

    …nt to EthernetClient() anyway
    ntruchsess committed Feb 28, 2014
Commits on Feb 4, 2014
  1. Merge pull request #49 from cat101/patch-3

    Update WebServer.h
    unwiredben committed Feb 4, 2014
Commits on Feb 3, 2014
  1. Update WebServer.h

    Hi again. Here is a summary of the changes
    - The recent patches did not compile. On Arduino 1.0.5 MAX_SOCK_NUM was missing so I included ethernet.h
    - I added back write(const uint8_t *buffer, size_t size) which was removed with the addition of buffering
    - I added printf for convenience
    - I made reset & flushBuf public. 
    I'll continue to use the current version and report any bugs. I think that it may be a good time to up the version number
    
    Thanks
    cat101 committed Feb 3, 2014
Commits on Jan 29, 2014
  1. Merge pull request #48 from ribbons/buffer-output

    Add buffering for all output to improve performance with many small strings
    unwiredben committed Jan 29, 2014
Commits on Jan 16, 2014
  1. Add buffering for all output

    Update WebServer::write(uint8_t) to write to a buffer instead of sending
    single characters (or short strings) as small packets.  Remove the other
    signatures of write so that the base ones in the Print class (which call
    write(uint8_t)) are used instead and simplify the writeP/printP
    definitions to do this too.
    
    This greatly improves the performance of pages which are built from a
    large number of small strings or values at the expense of a small
    additional amount of memory (which can be adjusted with the use of a new
    macro called WEBDUINO_OUTPUT_BUFFER_SIZE) and also saves ~85 bytes of
    flash.
    ribbons committed Jan 16, 2014
Commits on Jan 1, 2014
  1. Merge pull request #46 from ribbons/ethernetclient-compile-error

    Fix compilation now EthernetClient equality operator is overloaded
    unwiredben committed Jan 1, 2014
  2. Fix compile now EthernetClient == is overloaded

    Remove comparison of m_client against NULL as this causes a compilation
    error since arduino/Arduino@ca37de4.
    Also initialize m_client with MAX_SOCK_NUMBER to make boolean test of
    m_client work correctly.
    ribbons committed Jan 1, 2014
Commits on Dec 30, 2013
  1. Merge pull request #45 from webduino/master

    Local combee changes
    unwiredben committed Dec 30, 2013
  2. Merge with local changes for spacing

    Ben Combee committed Dec 30, 2013
  3. Merge branch 'master' of github.com:sirleech/Webduino

    Ben Combee committed Dec 30, 2013
  4. Merge pull request #44 from ribbons/compiler-warnings

    Fix compiler warnings generated when compiling with -Wall flag.
    unwiredben committed Dec 30, 2013
  5. Hide warning when passing string to m_defaultCmd

    The Command prototype has a char* parameter for the URL tail, but
    WebServer::dispatchCommand calls this with an empty string as a parameter
    if there is no URL.  As gcc treats empty strings as const char*s this
    causes a warning to be emitted when compiling using -Wall, so suppress it
    by explicitly casting it to char*.
    ribbons committed Dec 30, 2013
  6. Change some ints and chars to unsigned

    Convert some of the int and char variables to be unsigned int and unsigned
    char types.  This prevents gcc generating the warnings "comparison between
    signed and unsigned integer expressions" and "array subscript has type
    'char'", as well as having a nice side-effect of shaving 42 bytes off the
    compiled size when building for the Uno.
    ribbons committed Dec 30, 2013
  7. Add extra brackets to while loop in printP

    Add an additional set of brackets around the while loop condition in
    WebServer::printP to stop gcc emitting the warning "suggest parentheses
    around assignment used as truth value" when compiling using -Wall.
    ribbons committed Dec 30, 2013
  8. Re-order initializer list to match member order

    Correct the order of the initializer list so that gcc doesn't emit the
    warning "'WebServer::m_cmdCount' will be initialized after 'int
    WebServer::m_contentLength' when initialized here" when compiling using
    -Wall.
    ribbons committed Dec 30, 2013
  9. Remove typedef specifier from URLPARAM_RESULT enum

    Remove the typedef storage class specifier from the declaration of the
    URLPARAM_RESULT enum as this is not required and causes gcc to emit the
    warning "'typedef' was ignored in this declaration" when compiling with
    -Wall.
    ribbons committed Dec 30, 2013
Commits on May 29, 2013
  1. Merge pull request #2 from sirleech/master

    Update Ben's tree
    unwiredben committed May 29, 2013
  2. Merge pull request #39 from unwiredben/master

    Update Ben's tree
    unwiredben committed May 29, 2013
Commits on Mar 27, 2013
  1. Merge pull request #38 from jupp0r/arm-port

    Ported to Arduino Due platform
    unwiredben committed Mar 27, 2013
  2. Ported to Arduino Due platform

    jupp0r committed Mar 27, 2013
Commits on Mar 25, 2013
  1. Merge pull request #36 from edvler/master

    Update for Web_Net_Setup
    unwiredben committed Mar 25, 2013
Commits on Mar 13, 2013
Commits on Mar 8, 2013
  1. Updated Web_Net_Setup and added some featues

    - Updated some comments
    - Fixed some failures in the source code
    - Added System.h and System.cpp to display RAM usage and uptime
    edvler committed Mar 8, 2013
Commits on Mar 7, 2013
  1. Merge pull request #34 from edvler/master

    Web_Net_Setup - Webinterface for network configuration
    unwiredben committed Mar 7, 2013
  2. Added first version of Web_Net_Setup.pde example

    With this example Sketch it's possible to configure the network settings
    over a webinterface. It's simple to add some custom fields.
    edvler committed Mar 7, 2013
Commits on Mar 1, 2013
  1. Merge pull request #33 from edvler/master

    Corrections for Web_Params
    unwiredben committed Mar 1, 2013