summaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)Author
2015-11-20Adapt toggle(), clean some config parametersQuentin Rameau
Regroup all toggles in an enum and handle them with a unique function via a switch. That lets us take different actions for each toggle. Add a frame flatenning and a dns preteching options.
2015-11-20Adapt find()Quentin Rameau
Slightly new behaviour: searching again for the same string (via MOD+/) resets the search (ie restarts search from document top). Searching for an empty string stops the search (ie all highlights are removed).
2015-11-20Remove togglescrollbars()Quentin Rameau
We do not have access to scrollbars and will have to manipulate DOM to do that.
2015-11-20Adapt scrollingQuentin Rameau
In fact, we have a scrolling handle ersatz for now using JavaScript calls as we don't have access anymore to scrollbars. We'll have to manipulate the DOM directly (later).
2015-11-20Adapt inspector handlingQuentin Rameau
The inspector is now easily manageable via API, there's no need for keeping its state in the Client.
2015-11-20Rename fullscreen() to togglefullscreen()Quentin Rameau
And handle c->fullscreen value in winevent(). This way we keep track of fullscreen state even if we did not directly initiate the fullscreen.
2015-11-20Adapted buttonrelease()Quentin Rameau
Use the current hit test (c->mousepos) to determine where the mouse pointer is. It is possible to link an action to a click and still propagate the event after that by setting the “stop event” parameter of a Button to 0.
2015-11-20Modify the context name of the hit testsQuentin Rameau
These relate more to the position of the pointer when an event occurs.
2015-11-20Move all necessary initialisation to newview()Quentin Rameau
Most all the settings and callbacks are set before view creation. Create a related view (with inherited settings) if asked to.
2015-11-18Remove source(), it has been removed from webkit2gtkQuentin Rameau
WebKit2GTK doesn't provide a direct way to view source anymore, we'll have to do that ourselves with a GtkSourceView if we still need that.
2015-11-17Port surf to gtk3Quentin Rameau
2015-11-03Be more specific about what enablestyles parameter does.Quentin Rameau
The enablestyles configuration variable and parameter flag manages the global application of styles, not just the site-specific styles. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-10-31Style changes in config.def.h.Christoph Lohmann
2015-10-13Fix atom value parsing in SETPROPQuentin Rameau
xprop(1) encloses the returned atom string value in double quotes while it doesn't when the value is unset. Original simple parsing would fail and parse the atom name instead of getting an empty value. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-07-13Fix type of strictssl property.Quentin Rameau
Thanks to Mark Edgar <medgar123@gmail.com> for having spotted this.
2015-02-10allow buttonrelease customization in config.hMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-01-19Add some description for the plumb feature.Christoph Lohmann
2015-01-19Add plumbing functionality.Christoph Lohmann
2015-01-18Add a comment about how the styles are iterated.Christoph Lohmann
Thanks quing for noticing.
2015-01-17Adding disk cache support for soup.Christoph Lohmann
This is a merge of the patch of Ben Woolley <tautolog@gmail.com>
2015-01-17Major styles update.Christoph Lohmann
In config.h there is now some styles array to apply site-specific styles. This can be toggled using the -mM flags. If a stylefile is manually specified, then this will overwrite everything.
2014-02-28fix some indentation in config.def.hMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-01-30Change the accept no third party in the doc to the right meaning.Christoph Lohmann
2014-01-30Add a way to define the cookie policy.Christoph Lohmann
This adds the -a flag to define a string of the toggle string for the cookie policy modes. There is now a new »cookiepolicies« string in config.h and the Mod+Shift+a now can toggle the policy but will not cause a reload, because this would only add a burden when toggling through accept and not accept. Thanks Quentin Rameau <quinq.ml@gmail.com> for the suggestions!
2013-10-19Add zoom level support.Christoph Lohmann
2013-08-25Add fullscreen mode as flag and config option.Christoph Lohmann
2013-07-20applied Nick's 96dpi patch, thanksAnselm R Garbe
2013-04-28Allowing geo location policy decisions.Christoph Lohmann
2013-04-14Add an option to disable the indicators.Christoph Lohmann
2013-03-31Ensure curl follows redirects for downloadsNick White
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-03-30A typo in SETPROP macro: should be ``printf %b'', not ``printf''.Alexander Sedov
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-03-21Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.Alexander Sedov
xprop prints information in format PROPERTY(STRING) = "escaped string", which causes problem with repeated Ctrl-F: any non-ascii turns into \ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape string, printf(1) is used, getting information from xargs -0; without -0 xargs will try to handle escapes by itself and also do shenanigans with quotes, which is totally undesired. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-03-14Adding a default font size option.Christoph Lohmann
Thanks Alexander Sedov <alex0player@gmail.com>!
2013-03-11Adding kiosk mode.Christoph Lohmann
Thanks to Christian Hesse <mail@eworm.de>!
2013-02-25disable/toggle scrollbarsCarlos J. Torres
* add flag to main * add flag to manual * add signal handler to block default scrollbar policy * add toggle of scrollbars (hacky - but no reload) with a twitch * add key map to manual * add commandline flag to children surfers * update TODO * sort stuff alphabetically for the style inquisition Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-16Add a toggle command for the stylefile.Christoph Lohmann
The patch adds some better formatting for the manpage too. Thanks to Nick <suckless-dev@njw.me.uk> for the toggle patch!
2013-02-13fix DOWNLOAD macro to use cookiefile variableCarlos J. Torres
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-12Removed progress indicatorJens Nyberg
This removes the progress indicator and replaces it with letters in the window title. T/U: Trusted, Untrusted P/-: Proxy, No proxy Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-02Fixing cookie handling for https/http by using curl.Christoph Lohmann
2013-01-26Making more than one Modkey to work in keys.Christoph Lohmann
2013-01-26Adding web inspector support to surf.Christoph Lohmann
Thanks Gregor Best <gbe@ring0.de>!
2012-12-04Changing the default DOWNLOAD to use st.Christoph Lohmann
2012-12-03Implementing fullscreen mode. Thanks Krol, Willem van de!Christoph Lohmann
2012-12-02Resolving some conflicts in the shortcuts.Christoph Lohmann
2012-12-02Making zoom available when used in tabbed.Christoph Lohmann
2012-11-20Fix some styling in the config.def.h, fix the DOWNLOAD macro and unify theChristoph Lohmann
variable naming a bit.
2012-11-20Add a referer argument to the DOWNLOAD macro. Some sites need this. ThanksChristoph Lohmann
Hiltjo Posthuma!
2012-11-16Useragent strings do not count anymore. This is adding some text so everyChristoph Lohmann
website (especially Google) is fooled to believe us to be compatible. The right way seems to be to add Surf at the end and let the big guys handle their useragent header war.
2012-11-16Adding a surf-open.sh script for easier tabbed(1) integration.Christoph Lohmann
2012-11-16Moving some preprocessor config options to the standard suckless style.Christoph Lohmann