Permalink
Commits on Jun 2, 2012
Commits on May 18, 2012
Commits on May 3, 2012
  1. Fix application font loading in basic font db

    ISSUE: 460 (http://code.google.com/p/phantomjs/issues/detail?id=460)
    
    this is a backport from qtbase:
    
    commit 89cfe9eb01ad75c14121dbd6038b7c791226acf1
    Author: Jiang Jiang <jiang.jiang@nokia.com>
    Date:   Thu Nov 10 18:01:56 2011 +0100
    
        We need to reregister fonts in initializeDb because basic font db
        doesn't have an internal record like fontconfig does, so just
        repopulating the font database won't work. db->reregisterAppFonts
        is now used properly as intended (reregister application fonts
        after the system font database has been cleared).
    
        Also, static variable 'initialized' in initializeDb() is removed
        since we check privateDb()->count to see if it needs to be populated
        again.
    
        Task-number: QTBUG-22063
    
        Change-Id: Ifc66392b56b72acbe08b99256c61421c204be5d7
        Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
    milianw committed with May 3, 2012
  2. Properly handle fourth CLI parameter in rasterize.js example.

    After the change to system.args which has the app as first element,
    the rasterize example was not properly adapted. Due to that, one
    could not pass a size parameter to it anymore, resulting in PDFs
    without page breaks.
    
    ISSUE: 523 (http://code.google.com/p/phantomjs/issues/detail?id=523)
    milianw committed with May 2, 2012
Commits on Apr 16, 2012
  1. Build system: do not assume 4 parallel jobs on Linux.

    Try to grab the number of CPU cores from /proc/cpuinfo and use it as
    the number of parallel make jobs (limit to 8 as a safety measure).
    
    http://code.google.com/p/phantomjs/issues/detail?id=454
    committed Apr 16, 2012
Commits on Apr 15, 2012
Commits on Apr 12, 2012
Commits on Apr 11, 2012
  1. Improve PhantomJS description.

    First cut at a more modernized version of the README.
    
    http://code.google.com/p/phantomjs/issues/detail?id=419
    committed Apr 1, 2012
Commits on Mar 28, 2012
  1. Fixing defect in the "Filesystem Spec 03".

    Too strong assumption regarding the Current Working Directory.
    detro committed with Mar 23, 2012
  2. Updating "webserver" test spec.

    I also made a minor fix in the logic of "system" test spec:
    too strong assumption on the CurrentWorkingDirectory
    when launching the test.
    detro committed with Mar 23, 2012
Commits on Mar 23, 2012
  1. Second attempt to solve Issue 439.

    [Issue 439](http://code.google.com/p/phantomjs/issues/detail?id=439).
    This works for all kind of "Content Body" but with raw bytes: the issue is that QtWebKit doesn't know how to convert a "QByteArray" to a "QVariant" (to inject it in the JavaScript space), resulting in a malformed conversion (somehow it decides to create a map where byte position is the 'key' and the byte at that position is the 'value').
    
    This fix covers most scenarios (hopefully) but we are blocked on solving it completely.
    detro committed with Mar 22, 2012
Commits on Mar 21, 2012
  1. Bracing for Ghost Flower.

    committed Mar 21, 2012
  2. More changes for 1.5.

    committed Mar 21, 2012
  3. Fix for Issue [439](http://code.google.com/p/phantomjs/issues/detail?…

    …id=439).
    
    Even without "Content-Type" set to "application/x-www-form-urlencoded", content in the body of a POST or PUT should be available.
    detro committed with Mar 20, 2012
Commits on Mar 20, 2012
  1. The contents of debian/ is outdated.

    For this 1.5 branch, remove debian/ directory.
    
    http://code.google.com/p/phantomjs/issues/detail?id=438
    committed Mar 20, 2012
  2. Fixing the "request.url" field, excluding symbols '/', '&' and '#' fr…

    …om "percent encoding".
    
    Well, it's not really necessary for '#' but I'm just being safe (non-browser clients).
    
    http://code.google.com/p/phantomjs/issues/detail?id=437
    detro committed with Mar 20, 2012
  3. Disable the default page error handler.

    Treats onError like onConsoleMessage. If no handler is set explicitly, then
    there is no need to flood standard output with error message.
    
    http://code.google.com/p/phantomjs/issues/detail?id=166
    committed Mar 20, 2012
  4. Changes for 1.5.0.

    committed Mar 20, 2012
  5. Get ready for 1.5.0.

    committed Mar 20, 2012
Commits on Mar 19, 2012
  1. Fix warnings.

    Stop passing around lineNumber and sourceID as they are unused and don't
    contain useful information.
    
    Also declare Q_UNUSED on them to fix compiler warnings.
    jonleighton committed with Mar 18, 2012
  2. Fix try ... catch exception handling.

    The hasHandler flag passed to JSC::Debugger::exception only applies to
    the current stack frame. It does not indicate if there are exception
    handlers in earlier stack frames.
    
    Therefore, we are saving the frame when an exception occurs, but only
    reporting the exception if it is still present once the stack has been
    fully unwound.
    
    http://code.google.com/p/phantomjs/issues/detail?id=166
    jonleighton committed with Mar 18, 2012
Commits on Mar 18, 2012
  1. support for backtraces (part 2).

    add a default error handler on all pages. people can override if they
    need.
    ensure error handler can be removed without errors.
    
    Hack ScriptSourceCode so we can pass in a raw string and not have it
    validated as a URL
    
    change source location hint for webpage.evaluate().
    
    http://code.google.com/p/phantomjs/issues/detail?id=166
     Please enter the commit message for your changes. Lines starting
    jonleighton committed with Mar 17, 2012
  2. support for backtraces (part 1).

    Mostly plumbing in WebKit and Qt bridge.
    
    http://code.google.com/p/phantomjs/issues/detail?id=166
    jonleighton committed with Mar 17, 2012