summaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)Author
2017-06-03Disable media autoplay by defaultQuentin Rameau
2017-05-22Use priority values instead of “forced” parametersQuentin Rameau
This makes parameter handling a bit easier and lets the user override parameters as he sees fit.
2017-05-22Get rid of config parameter MACROsQuentin Rameau
There's no need to obfuscate so much what is done, the user can deal with a few extra knobs to set instead.
2017-05-22Get rid of integer member b in ArgQuentin Rameau
There's no need to keep another integer member there, use directly the i integer one.
2017-05-22Add config option for cross requests from file URLsConstantine Bytensky
I use it to open local .xml files with .xsl style-sheets.
2017-05-21Add config option for microphone and webcam accessQuentin Rameau
2017-05-11Add config option for smooth scrolling activationQuentin Rameau
2017-05-11Add config option for Java activationQuentin Rameau
2017-05-11Add config option for setting default charset.Quentin Rameau
This will be used for pages with no specified charset.
2017-05-11Change PROMPT_GO from "URL:" to "Go:"ssd
This looks more apropriate because URL is too specific and _SURF_GO can be set to other things.
2017-05-08Add prompts for SETPROPQuentin Rameau
Imported from __20h__ repo, thanks to him and Ben Woolley.
2017-05-08Embed dmenu into the surf window by defaultQuentin Rameau
2017-05-08Simplify DOWNLOAD macroQuentin Rameau
No need to spawn an extra sh. Use short flags for curl and quote operands. Replace sleep with read, let the user close the download window instead of waiting for an arbitrary time. Rename d to reflect what it's 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-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.