IceArmy
02fe5f6018
Add hooks to webserver.py
2011-12-04 09:41:54 -08:00
IceArmy
235611ec2f
Do a little cleanup
...
Improved CaseInsensitiveDict a little.
Added some more messages for the method patch.
Added a break in a for loop
2011-12-03 23:04:08 -08:00
IceArmy
c12030cd66
Clear self.m_servers at script exit
2011-12-03 17:16:10 -08:00
IceArmy
f1f2d275c5
Regenerate resources
2011-12-02 16:03:52 -08:00
IceArmy
b3a589aaa7
This is the basic web server functionality.
...
http://code.google.com/p/phantomjs/issues/detail?id=115
2011-12-02 16:02:52 -08:00
IceArmy
f94b87551d
Probably best to take the base of the UnicodeError exceptions...
2011-11-30 11:35:44 -08:00
IceArmy
60b8d6b347
Fix bug where unicode characters in script arguments weren't correctly passed along.
2011-11-30 11:23:40 -08:00
IceArmy
424214361a
Further refactoring
...
Modified utils a bit to remove the problem of future circular imports
Cleaned up main pyphantomjs file
Cleaned up a little of the code
2011-11-27 10:56:12 -08:00
IceArmy
4ec8df3a84
Refactor arguments system
...
Arguments stuff now contained in its own file
Use a defaults dict to change default in only one place
2011-11-26 17:13:13 -08:00
IceArmy
4dc051a60e
Added ability to specify SOCKS5 proxy type.
...
http://code.google.com/p/phantomjs/issues/detail?id=266
2011-11-25 11:27:03 -08:00
Milian Wolff
73705e484b
first work towards a WebServer
...
this is the minimal server that gets properly embedded into
the phantomjs space but the .listen api is missing actually
useful options (incoming request and ability to write to client)
2011-11-15 13:44:47 +01:00
Ariya Hidayat
f1b03e84d9
Bump the unstable version to 1.4.
2011-10-29 11:18:50 -05:00
IceArmy
be8eece175
Refactor hook creation and hook existence checks in plugincontroller
2011-10-28 01:03:44 -07:00
IceArmy
5bcd3897a3
Refactored some redundant code from load_plugins()
2011-10-28 00:26:22 -07:00
IceArmy
ec55ebdc00
Merge branch 'master' of git://github.com/ariya/phantomjs
2011-10-26 11:48:04 -07:00
Ariya Hidayat
f18fd5372f
Fix regression of onInitialized.
...
As suggested by Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org >,
there is no need to use queued connection for initialized() slot.
http://code.google.com/p/phantomjs/issues/detail?id=264
2011-10-25 09:48:27 -05:00
IceArmy
ee9646c5e7
Revert "cookie.value() didn't really need to be a string, since QSettings will take a QVariant anyways."
...
This reverts commit 5ffeef450c .
Apparently, this actually does cause a problem, as further cookies are saved in the cookies.txt file, and if the value isn't a string, then we get QByteArray() stuff polluted everywhere in the file. Oops!
2011-10-18 18:52:47 -07:00
IceArmy
5ffeef450c
cookie.value() didn't really need to be a string, since QSettings will take a QVariant anyways.
2011-10-17 23:32:55 -07:00
IceArmy
3ea50c443f
Minimize down the with statements that use QPyFile
2011-10-17 22:44:19 -07:00
IceArmy
34b595d01d
Remove unused javascript files
2011-10-17 21:01:17 -07:00
IceArmy
13118b35bf
Avoid deleting a QWebPage inside its own signal emission.
...
If Phantom.exit() is called inside the handler for loadFinished(), we
end up in a situation that QWebPage is deleting itself during a signal
emission. This used to be OK in QtWebKit 2.0 (Qt 4.7) but is not OK for
QtWebKit 2.2 (upcoming Qt 4.8).
http://code.google.com/p/phantomjs/issues/detail?id=251
Patch by Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org >.
2011-10-06 08:28:23 -07:00
IceArmy
af88a37ed8
Fix bug in CookieJar where QSettings expected str, but got QByteArray instead ( #10 )
2011-10-04 11:16:44 -07:00
IceArmy
1505c9a486
Add an actual version in the INSTALL for python-argparse
2011-09-28 12:29:56 -07:00
IceArmy
c513f6430f
Allow render() to save gif files. Requires PIL.
2011-09-27 14:17:35 -07:00
IceArmy
2accc8a724
Reorder methods to be alphabetical
2011-09-24 23:11:42 -07:00