Daniel Lundqvist
865ae5f422
Have PBWebController react to configuration changes.
...
Override preferencesChanged in subclasses to actually react to changes.
Base class does nothing by default.
2009-01-19 16:50:52 +00:00
Daniel Lundqvist
0f8ac90743
WebHistoryController: Only show Gravatar and Gist if they are enabled
...
This add an "enableFeature" JS function that checks if a given feature is
enabled. If it is, the correct div is shown, otherwise it is hidden.
2009-01-19 16:48:26 +00:00
Daniel Lundqvist
0724dc8eaa
Set Controller earlier so it can be used while loading pages.
2009-01-19 16:38:07 +00:00
Pieter de Bie
3dd6385440
Fix memory leaks
2008-11-26 17:44:24 +01:00
Pieter de Bie
304a1a5d03
Remove stray debug messages
2008-11-01 21:14:57 +01:00
Pieter de Bie
e232181fae
Add a GitX:// protocol handler
...
This allows to read in arbitrary blobs from the repository.
For more information, see the CallingFromWebKit.txt
document in the Documentation/ directory.
2008-11-01 19:06:05 +01:00
Pieter de Bie
db39ff7f92
PBWebController: Add a script accessor
...
This allows easy access to the window's script object
2008-10-31 23:44:28 +01:00
Pieter de Bie
0a40f876d1
PBWebController: Add asynchronous functions
...
This allows us to keep the UI responsive while
running expensive commands
2008-10-31 23:44:28 +01:00
Pieter de Bie
bd097b0eff
HTML: Restructure html folder
...
This changes the HTML part of GitX to be more consistent -- we
now use a "views" directory where every web view has it's own
directory.
Furthermore, GitX-wide Javascript is added in the "lib" directory.
The same is true for CSS in the "css" directory. Every view can
have its own custom CSS and JS, and those are put in the views
directory (without JS or CSS prefix directories).
2008-10-21 22:48:47 +02:00
Pieter de Bie
5cb4105998
WebController: Display JS errors
...
This actually displays error messages, rather than
notifying that there is an error
2008-10-21 15:24:34 +02:00
Pieter de Bie
99b6afd37a
WebController: Add a message to check whether a site is reachable
2008-10-19 14:05:14 +02:00
Pieter de Bie
20fc22d4b8
WebController: Fix log bug
...
The log message wasn't escaped previously,
which would mean that %@ code etc would be
parsed, and fail.
2008-10-10 22:47:47 +02:00
Pieter de Bie
6589279383
WebController: Move common functions to superclass
2008-10-10 21:59:22 +02:00
Pieter de Bie
40e9726254
WebControllers: Refactor to use common code
2008-10-10 21:59:21 +02:00