Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jul 17, 2014
  1. @unwiredben

    Merge pull request #57 from ribbons/compiler-warnings

    unwiredben authored
    Fix compiler warnings about narrowing conversion
  2. @ribbons

    Fix compiler warnings about narrowing conversion

    ribbons authored
    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.
Commits on Apr 10, 2014
  1. @unwiredben

    Merge pull request #54 from mkldon/commands_count

    unwiredben authored
    Add WEBDUINO_COMMANDS_COUNT macro
  2. Add WEBDUINO_COMMANDS_COUNT macro

    mkldon authored
    Add macro for configuring maximum number of commands that can be defined.
    This macro replaces hardcoded "8" number.
Commits on Mar 24, 2014
  1. @unwiredben

    Merge pull request #52 from ribbons/flash-saving

    unwiredben authored
    Flash memory saving optimisations
  2. @ribbons

    Save flash by only storing the server header once

    ribbons authored
    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.
Commits on Mar 23, 2014
  1. @ribbons

    Put flash strings into separate sections

    ribbons authored
    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.
  2. @ribbons

    Reduce size and clarify type of some integer vars

    ribbons authored
    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.
Commits on Feb 28, 2014
  1. @unwiredben

    Merge pull request #51 from ntruchsess/m_client_constructor

    unwiredben authored
    constructor m_client(MAX_SOCK_NUM) is not portable (fails to compile with UIPEthernet)
  2. @ntruchsess

    constructor EthernetClient(MAX_SOCK_NUM) is undocumented and equivale…

    ntruchsess authored
    …nt to EthernetClient() anyway
Commits on Feb 4, 2014
  1. @unwiredben

    Merge pull request #49 from cat101/patch-3

    unwiredben authored
    Update WebServer.h
Commits on Feb 3, 2014
  1. @cat101

    Update WebServer.h

    cat101 authored
    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
Commits on Jan 29, 2014
  1. @unwiredben

    Merge pull request #48 from ribbons/buffer-output

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

    Add buffering for all output

    ribbons authored
    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.
Commits on Jan 1, 2014
  1. @unwiredben

    Merge pull request #46 from ribbons/ethernetclient-compile-error

    unwiredben authored
    Fix compilation now EthernetClient equality operator is overloaded
  2. @ribbons

    Fix compile now EthernetClient == is overloaded

    ribbons authored
    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.
Commits on Dec 30, 2013
  1. @unwiredben

    Merge pull request #45 from webduino/master

    unwiredben authored
    Local combee changes
  2. Merge with local changes for spacing

    Ben Combee authored
  3. @unwiredben

    Merge pull request #44 from ribbons/compiler-warnings

    unwiredben authored
    Fix compiler warnings generated when compiling with -Wall flag.
  4. @ribbons

    Hide warning when passing string to m_defaultCmd

    ribbons authored
    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*.
  5. @ribbons

    Change some ints and chars to unsigned

    ribbons authored
    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.
  6. @ribbons

    Add extra brackets to while loop in printP

    ribbons authored
    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.
  7. @ribbons

    Re-order initializer list to match member order

    ribbons authored
    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.
  8. @ribbons

    Remove typedef specifier from URLPARAM_RESULT enum

    ribbons authored
    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.
Commits on May 29, 2013
  1. @unwiredben

    Merge pull request #2 from sirleech/master

    unwiredben authored
    Update Ben's tree
  2. @unwiredben

    Merge pull request #39 from unwiredben/master

    unwiredben authored
    Update Ben's tree
Commits on Mar 27, 2013
  1. @unwiredben

    Merge pull request #38 from jupp0r/arm-port

    unwiredben authored
    Ported to Arduino Due platform
  2. @jupp0r

    Ported to Arduino Due platform

    jupp0r authored
Commits on Mar 25, 2013
  1. @unwiredben

    Merge pull request #36 from edvler/master

    unwiredben authored
    Update for Web_Net_Setup
Commits on Mar 13, 2013
  1. @edvler
Commits on Mar 8, 2013
  1. @edvler

    Updated Web_Net_Setup and added some featues

    edvler authored
    - Updated some comments
    - Fixed some failures in the source code
    - Added System.h and System.cpp to display RAM usage and uptime
Commits on Mar 7, 2013
  1. @unwiredben

    Merge pull request #34 from edvler/master

    unwiredben authored
    Web_Net_Setup - Webinterface for network configuration
  2. @edvler

    Added first version of Web_Net_Setup.pde example

    edvler authored
    With this example Sketch it's possible to configure the network settings
    over a webinterface. It's simple to add some custom fields.
Commits on Mar 1, 2013
  1. @unwiredben

    Merge pull request #33 from edvler/master

    unwiredben authored
    Corrections for Web_Params
Something went wrong with that request. Please try again.