Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: draw-code/Webduino
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sirleech/Webduino
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 1 file changed
  • 5 contributors

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
    Configuration menu
    Copy the full SHA
    8ce7dbc View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2014

  1. Merge pull request sirleech#48 from ribbons/buffer-output

    Add buffering for all output to improve performance with many small strings
    unwiredben committed Jan 29, 2014
    Configuration menu
    Copy the full SHA
    338ef29 View commit details
    Browse the repository at this point in the history

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
    Configuration menu
    Copy the full SHA
    c50b210 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2014

  1. Merge pull request sirleech#49 from cat101/patch-3

    Update WebServer.h
    unwiredben committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    0e61993 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2014

  1. constructor EthernetClient(MAX_SOCK_NUM) is undocumented and equivale…

    …nt to EthernetClient() anyway
    ntruchsess committed Feb 28, 2014
    Configuration menu
    Copy the full SHA
    c41b558 View commit details
    Browse the repository at this point in the history
  2. Merge pull request sirleech#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
    Configuration menu
    Copy the full SHA
    655db30 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2014

  1. 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 23, 2014
    Configuration menu
    Copy the full SHA
    b2f650f View commit details
    Browse the repository at this point in the history
  2. 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
    Configuration menu
    Copy the full SHA
    f95122d View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2014

  1. 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 24, 2014
    Configuration menu
    Copy the full SHA
    6b974fd View commit details
    Browse the repository at this point in the history
  2. Merge pull request sirleech#52 from ribbons/flash-saving

    Flash memory saving optimisations
    unwiredben committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    0b1463d View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2014

  1. 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
    Configuration menu
    Copy the full SHA
    4ee01d3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request sirleech#54 from mkldon/commands_count

    Add WEBDUINO_COMMANDS_COUNT macro
    unwiredben committed Apr 10, 2014
    Configuration menu
    Copy the full SHA
    ba696bd View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2014

  1. 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
    Configuration menu
    Copy the full SHA
    a68507e View commit details
    Browse the repository at this point in the history
  2. Merge pull request sirleech#57 from ribbons/compiler-warnings

    Fix compiler warnings about narrowing conversion
    unwiredben committed Jul 17, 2014
    Configuration menu
    Copy the full SHA
    3631af8 View commit details
    Browse the repository at this point in the history
Loading