summaryrefslogtreecommitdiffstats
path: root/surf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix synchronization issue with atomsGravatar Quentin Rameau 2017-05-121-1/+2
| | | | | Be sure to sync after setting an atom. Sync too before reading one.
* There's no need to call geturi() again in loadchangedGravatar Quentin Rameau 2017-05-121-7/+7
| | | | | Also call the variable “uri” instead of “title” which was ambiguous regarding what it is.
* Add config option for smooth scrolling activationGravatar Quentin Rameau 2017-05-111-0/+5
|
* Add config option for Java activationGravatar Quentin Rameau 2017-05-111-0/+5
|
* Add config option for setting default charset.Gravatar Quentin Rameau 2017-05-111-0/+5
| | | | This will be used for pages with no specified charset.
* Improve parameters handlingGravatar Quentin Rameau 2017-05-111-4/+17
| | | | | | There's no need to reload all parameters each time a new url is loaded, instead set only custom parameters and restore those to defaults when needed.
* Simplify usage()Gravatar Quentin Rameau 2017-05-041-3/+3
| | | | | There's no real need for using the real executable call name, especially with basename requiring special care.
* Simplify version messageGravatar Quentin Rameau 2017-05-041-2/+1
|
* Use Ctrl-t for showcert instead of Ctrl-xGravatar Ivan Tham 2017-05-021-1/+1
|
* Fix forgotten options in surf.1Gravatar Quentin Rameau 2017-05-011-1/+1
|
* setcert: check uri before adding a certificateGravatar Hiltjo Posthuma 2017-04-301-5/+7
| | | | | Also directly check for https scheme, we won't need a certificate for others.
* fix mini typoGravatar Hiltjo Posthuma 2017-04-301-1/+1
|
* Add a flag for custom certificatesGravatar Quentin Rameau 2017-04-291-4/+12
| | | | | | I don't think a keybinding would be useful here because we can't remove a custom certificate which is alread set anyway. I'll add it if somebody convince me of it's usefulness.
* Move xid printing option from -x to -wGravatar Quentin Rameau 2017-04-291-2/+2
|
* Add a keybinding to show current TLS certificateGravatar Quentin Rameau 2017-04-291-3/+38
|
* Display an error message and certificate on tls errorGravatar Quentin Rameau 2017-04-291-0/+51
|
* Free temporary certificate in setcertGravatar Quentin Rameau 2017-04-291-0/+1
|
* Do not build SiteSpecific file when regex is invalidGravatar Quentin Rameau 2017-04-281-9/+10
|
* Add support for using custom certificates per urlGravatar Quentin Rameau 2017-04-281-0/+55
|
* Avoid using global name stylefile in setstyle()Gravatar Quentin Rameau 2017-04-271-4/+4
|
* Change site styles structure for a more generic oneGravatar Quentin Rameau 2017-04-271-5/+5
|
* Fix 27cec48 Add a flag/keybinding for strict TLSGravatar Quentin Rameau 2017-04-231-2/+9
| | | | Forgot to add changes in main(), usage() and newwindow() too.
* Fix a981959 Move -t stylefile flag to -C stylefileGravatar Quentin Rameau 2017-04-231-5/+5
| | | | Forgot to modify usage() and newwindow() too.
* Fix possible oob access of cmd in newwindow()Gravatar Quentin Rameau 2017-04-231-1/+1
| | | | Thanks to tarug0 for spotting this!
* Bump year in programGravatar Quentin Rameau 2017-04-201-1/+1
|
* Add a flag and toggle keybinding for strict TLSGravatar Quentin Rameau 2017-04-201-3/+4
|
* Move -t stylefile flag to -C stylefileGravatar Quentin Rameau 2017-04-201-3/+3
|
* Rename SSL instances to TLSGravatar Quentin Rameau 2017-04-191-4/+4
|
* Set strict ssl by default and handle insecure contentGravatar Quentin Rameau 2017-04-191-10/+19
| | | | | Non-https content in https pages is now handled separately from https connection establishment.
* Add a configure option for default window sizeGravatar Quentin Rameau 2017-04-191-1/+1
|
* Install Atoms before initializing gtkGravatar Quentin Rameau 2017-03-221-6/+9
| | | | | | | There a race condition in gtkplug/socket which is raised when setting Atoms. Use this workaround until https://bugzilla.gnome.org/show_bug.cgi?id=778680 is fixed.
* Fix font-size setting parameter value type in newviewGravatar Quentin Rameau 2017-03-061-1/+1
|
* Add support for loading Webkit extensionsGravatar Quentin Rameau 2016-09-221-0/+9
|
* Reload on SIGHUPGravatar Charles Lehner 2016-07-081-0/+14
| | | | | | | | | | | | | | | | | | | ratiueratuie rstiure tiurest aruite rautie rautier tiue rtaruit ratiuera This patch makes surf reload its pages when it receives a SIGHUP signal. This makes it easier for shell scripts to trigger surf to reload. I'm aware of using xdotool to trigger ctrl+r keypresses for reloading but I wasn't able to get that to work in a general way. [1] I'm sending this here in case surf maintainers and users would like to include this in core - if not I will submit it to the wiki. Regards, Charles [1] http://surf.suckless.org/files/autorefresh Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Add a few configuration optionsGravatar Quentin Rameau 2016-07-051-0/+15
| | | | | | | | | “enable-accelerated-2d-canvas” “media-playback-requires-user-gesture” “enable-site-specific-quirks” Lookup those at https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html
* Fix GdkDisplay assignment in setup()Gravatar Quentin Rameau 2016-07-051-1/+2
| | | | Init GTK before trying to get the default display.
* Get rid of getkbdeviceGravatar Quentin Rameau 2016-07-051-19/+3
| | | | | The GTK guys nicely took in account our request and pushed in a convenience function to get default keyboard device.
* Fixing the last patch to the surf style.Gravatar Christoph Lohmann 2016-07-051-15/+18
|
* Check $HOME and home dir of $USER before getpwuid()->pw_dirGravatar Dmitry Bogatov 2016-07-051-7/+36
| | | | | | | | | | | | | getpwnam(3) recommends to use $HOME instead of getpwuid()->pw_dir, as it allows users to point programs to a different path. Using getpwuid() also breaks namespaces-related use cases, like `unshare -r`. Patch was submitted by Dmitry Bogatov on the Debian bug tracker: https://bugs.debian.org/825397 Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Fix url parsing in load()Gravatar Quentin Rameau 2016-07-051-1/+4
|
* Apply domain parameters each time url is changedGravatar Quentin Rameau 2016-07-051-5/+2
| | | | | Urls are only changed at load (initial requested one), or while redirected. When the page is committed, url is already final.
* Fix inspector togglingGravatar Quentin Rameau 2016-07-051-8/+5
| | | | | Always get the inspector object, and let the user eventually close it even if it's disabled for the current page.
* Rectify how parameters are handled in setparameter()Gravatar Quentin Rameau 2016-07-051-22/+23
| | | | | Access parameters through given Arg parameter instead of accessing global parameters.
* Fix parameter initialization and assignmentGravatar Quentin Rameau 2016-07-051-30/+34
|
* Adapting the whole surf structure to new settingsGravatar Quentin Rameau 2016-07-051-154/+233
|
* Introduce new data structure for handling settingsGravatar Quentin Rameau 2016-07-051-2/+38
|
* Get rid of JavaScript for scrolling in viewsGravatar Quentin Rameau 2016-03-021-11/+51
| | | | | | 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.
* Fix title handlingGravatar Quentin Rameau 2015-12-011-4/+8
| | | | | | | Don't forget to always set the title to the current uri, this way it's up to date when there is no title on the page (ie for local file exploration). Thanks to pickfire for reporting the issue.
* Fix clickexternplayer(), no need to test the target againGravatar Quentin Rameau 2015-11-241-4/+2
|
* Fix user agent command-line parameterGravatar Quentin Rameau 2015-11-231-1/+1
| | | | Thanks to yui for seeing that!