summaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)Author
2017-05-08Simplify SETPROP macroQuentin Rameau
Get rid of xargs by using a subshell instead. Use two replacement commands in sed because back-references in BRE are too differently implemented in different libc. Rename p, q, to reflect what they're used for. Reorder sh positional arguments. Set $0 to a command name and shift other positional parameters to clarify the "sh -c" command.
2017-05-02Use Ctrl-t for showcert instead of Ctrl-xIvan Tham
2017-04-29Add a keybinding to show current TLS certificateQuentin Rameau
2017-04-28Add support for using custom certificates per urlQuentin Rameau
2017-04-27Change site styles structure for a more generic oneQuentin Rameau
2017-04-20Add a flag and toggle keybinding for strict TLSQuentin Rameau
2017-04-19Rename SSL instances to TLSQuentin Rameau
2017-04-19Set strict ssl by default and handle insecure contentQuentin Rameau
Non-https content in https pages is now handled separately from https connection establishment.
2017-04-19Add a configure option for default window sizeQuentin Rameau
2016-07-05Add a few configuration optionsQuentin Rameau
“enable-accelerated-2d-canvas” “media-playback-requires-user-gesture” “enable-site-specific-quirks” Lookup those at https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html
2016-07-05Adapting the whole surf structure to new settingsQuentin Rameau
2016-07-05Adapt default parameters to new config styleQuentin Rameau
2016-03-06Disable globbing in curl commandDmitrij D. Czarkoff
Curl is invoked for downloading particular files. Without "-g" flag it would apply globbing rules to URLs, which may end badly in case URL is not properly quoted.
2016-03-02Get rid of JavaScript for scrolling in viewsQuentin Rameau
This is still a hack, until WebKitGTK gives us a more practical and stable way to do that. Manipulating directly the DOM inside a webextension is a pain and only usable with unstable API atm.
2015-11-22Add webkit language settingsQuentin Rameau
You can now set your prefered website languages in order. It is also possible to enable spell checking in the same way.
2015-11-22Un(g)boolify to separate GTK dependant code from the restQuentin Rameau
2015-11-22Style update for indentationQuentin Rameau
2015-11-21Add mouse function to play medias in external playerQuentin Rameau
Control + left click launches mpv with the target media url.
2015-11-21Style change in functions orderingQuentin Rameau
Try to group and order functions in a logical manner. Same thing for config keybindings.
2015-11-20Adapt user agent handlingQuentin Rameau
Now we can only append Surf version to the default WebKit user agent instead of setting the whole string (while this remains possible to do).
2015-11-20Adapt config MACROs SETPROP, DOWNLOAD, PLUMBQuentin Rameau
As we now use directly const strings from WebKitGTK, “constify” arg void pointer.
2015-11-20Rename mouse functions to clickFUNCTION()Quentin Rameau
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