Permalink
Commits on Jan 3, 2013
  1. Bump to 0.14.0

    mhoran committed Jan 3, 2013
  2. Replace Capybara::TimeoutError with Timeout::Error

    Capybara::TimeoutError has been removed.
    mhoran committed Jan 3, 2013
  3. Bump Capybara dependency to 2.0.2

    Required for Capybara::SpecHelper.configure.
    mhoran committed Jan 3, 2013
  4. Support multi-line alert messages

    mhoran committed Dec 30, 2012
  5. Infinity returns null when serialized

    From RFC4627:
    
      Numeric values that cannot be represented as sequences of digits (such
      as Infinity and NaN) are not permitted.
    
    NaN is invalid, so we already return null.
    mhoran committed Dec 30, 2012
  6. JsonSerializer returns QByteArray

    JSON supports UTF-16, however the serializer is 8-bit clean.  Instead of
    returning a QString only to turn it back into a QByteArray, return a
    QByteArray on serialization.
    mhoran committed Dec 30, 2012
  7. Extract JSON serializer

    mhoran committed Dec 29, 2012
Commits on Jan 2, 2013
  1. Ignore custom fonts applied to pseudo elements

    WebPage::setUserStylesheet prevents Web Fonts from loading when styles
    are applied directly to elements, however if the styles are applied to
    pseudo elements, the override does not apply. This leads to crashes on
    Mac OS X, likely due to https://bugs.webkit.org/show_bug.cgi?id=61031.
    mhoran committed Jan 1, 2013
Commits on Dec 31, 2012
Commits on Dec 19, 2012
  1. Don't start queued commands more than once

    TimeoutCommand may receive pageFinished multiple times before
    PageLoadingCommand has finished.
    mhoran committed Dec 19, 2012
Commits on Dec 17, 2012
  1. Fix authentication time outs.

    If the incorrect credentials are provided QNetworkAccessManager just keeps
    firing the same signal and it gets stuck in a infinite loop. This change only
    sets the user name and password if they are different to the current user
    name and password, causing the event to not be continuously triggered after
    failed authentications.
    seangeo committed Dec 17, 2012
Commits on Dec 14, 2012
  1. Fix memory leak of response.

    Turns Response into a QObject and sets parent to the
    command that emits it.
    
    Each Command is also a child of the decorator commands,
    Timeout and PageLoading commnds, so that deleting the
    top level command will delete all the children.
    
    See discussion in #430.
    seangeo committed with mhoran Dec 12, 2012
Commits on Dec 12, 2012
  1. Test to verify fix for #399

    mhoran committed Dec 12, 2012
Commits on Dec 7, 2012
  1. Update NEWS for HEAD

    mhoran committed Dec 7, 2012
  2. Update Qt requirement

    mhoran committed Dec 7, 2012
Commits on Dec 6, 2012
  1. Don't disconnect loadFinished in UnsupportedContentHandler

    WebPage::setContent will cause the loadFinished signal to fire, so
    there's no need to call loadFinished if the signal is connected.
    mhoran committed Dec 6, 2012
  2. Emit loadStarted and pageFinished on WebPage state change

    Instead of emitting loadStarted when a reply is created and pageFinished
    when all pending replies have finished, emit these signals when the
    corresponding WebPage events fire.
    mhoran committed Dec 6, 2012
Commits on Dec 4, 2012
  1. Don't wait for finished replies

    Synchronous requests will have emitted the finished signal by the time
    we connect to it.
    mhoran committed Dec 4, 2012
Commits on Dec 1, 2012
  1. Reset Capybara.app_host after each spec

    Workaround for Capybara integration specs which fail to do the same.
    mhoran committed Dec 1, 2012
  2. Don't reset the browser unnecessarily

    The Capybara spec_helper already resets the browser after each spec, so
    we only need to reset after using the driver via AppRunner.
    mhoran committed Nov 29, 2012
  3. Forward stderr via Open3#popen3

    Forwarding stderr via 2>&1 causes an additional child process to be
    spawned.  Killing that process does not kill webkit_server.
    
    JavaScipt console messages and alerts are now written to the logger
    instead of directly to stdout.
    mhoran committed Nov 22, 2012
  4. Remove the Source command

    mhoran committed Nov 22, 2012
  5. Remove RequestedUrl command

    mhoran committed Nov 18, 2012
  6. Remove Url command

    mhoran committed Nov 18, 2012