IceArmy
309d3b5aaa
Allow scriptLookupDir to be set for phantom object
2011-06-12 14:38:34 -07:00
IceArmy
25ac6d35ca
phantom.injectJs should use the starting scripts directory, not the app directory
2011-06-12 14:04:07 -07:00
IceArmy
233e8cfff9
Fix 'local variable referenced before assignment' in coffee2js()
2011-06-12 13:53:15 -07:00
IceArmy
19b5b31781
Properly load plugins from the app directories plugins subfolder, not from our CWD
2011-06-12 12:50:16 -07:00
IceArmy
6c57775e63
Regenerate resources
2011-06-12 01:23:29 -07:00
IceArmy
6056bc0fa9
Added support for 'injectJs' and 'includeJs'
...
Updated bootstrap.js to latest. Also contains:
- Fix reference to handlers in onResourceReceived
- Private handlers
- Use closure to make 'handlers' really private.
- Handle onAlert event just like the other events.
- Handle 'onConsoleMessage' event just like the other events.
2011-06-12 01:23:15 -07:00
IceArmy
a83d98b654
When sys.exit'ing, don't bother using qCritical, but just sys.exit with the message instead
2011-06-12 01:20:53 -07:00
IceArmy
5ba2bb4e2f
Implement cross platform way of finding the Qt4 plugins directory
2011-06-11 01:28:16 -07:00
IceArmy
e32ea74eaf
Properly work with any directory
...
Add imageformats folder and dependencies QtXml and QtSvg, to fix problem where files of type jpeg, gif, svg, .., were not supported
Copy directories examples, plugins, over on build.
Copy files README.md, LICENSE, over on build.
2011-06-10 21:17:10 -07:00
IceArmy
6a8da550cb
Better timing for onResourceRequested and onResourceReceived.
...
We record the time right inside the network access manager. This gives
better accuracy than doing it from JavaScript side, no loss due to the
latency of signal slot connection.
2011-06-09 00:30:55 -07:00
IceArmy
5ca07d99ba
Expose more properties for onResourceRequested and onResourceReceived.
2011-06-09 00:30:55 -07:00
IceArmy
3c665681f4
Fix possible bug where if CoffeeScript starts with a shebang (hashbang) #!, then // gets put in front of it; but this is not a comment in CoffeeScript, so it causes a problem with the conversion.
2011-06-08 19:00:07 -07:00
IceArmy
91ceec1e9b
Add a unique id to associate resource request and receive.
2011-06-08 14:34:30 -07:00
IceArmy
15e596e30c
Add hook to handleStarted()
2011-06-08 04:58:20 -07:00
IceArmy
d4548b9ad9
Transform all yes,no args into True,False in parseArgs()
2011-06-08 03:14:13 -07:00
IceArmy
f0801ad356
Regenerate resources
2011-06-08 03:14:13 -07:00
IceArmy
5c6338c060
Remove encode() from utils.py
2011-06-08 03:14:13 -07:00
IceArmy
0e3b765cc4
Add 'onResourceReceived' event, fired when resource is being received.
2011-06-08 03:13:18 -07:00
Ariya Hidayat
ea62c17b91
Fix typo, it's C5E and not CSE.
2011-06-07 11:27:10 -07:00
IceArmy
81627896c2
Support every possible PDF format
2011-06-07 10:57:08 -07:00
IceArmy
f419a958a4
Make build_binary.py able to import no matter what
2011-06-07 09:34:07 -07:00
IceArmy
33f0930d8c
Regenerate resources
2011-06-07 02:32:12 -07:00
IceArmy
48704069c2
Enumerate all headers in the HTTP request.
2011-06-07 02:32:12 -07:00
IceArmy
4b3cf65b2e
Get away with manual qDebug() since we can use the API now.
2011-06-07 02:32:12 -07:00
IceArmy
8314ad3197
Add "onResourceRequested" event, fired when request is started.
...
To see how this is being used, see the new examples/netsniff.js.
http://code.google.com/p/phantomjs/issues/detail?id=2
2011-06-07 02:31:33 -07:00