summaryrefslogtreecommitdiffstats
path: root/common.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-08Unobfuscate MakefileGravatar Quentin Rameau 1-40/+25
2018-10-08ext: get the right DOM on msgGravatar Quentin Rameau 1-15/+7
When navigating history, the document-loaded signal isn't triggered and we can't directly get back the previous webview, so we have no other choice than to look it up everytime a new message is received.
2018-10-08Add a file for shared functionsGravatar Quentin Rameau 5-18/+24
New common.[hc] files where shared functions between surf and webkitextension will be put. First addition is die().
2018-10-08Communicate with webextension via a pipeGravatar Quentin Rameau 4-47/+213
2018-10-08ext: first commit for surf libGravatar Quentin Rameau 3-14/+59
2018-10-08Request cookiemanager only once at creationGravatar Quentin Rameau 1-5/+6
2018-10-08Exit more gracefully on web process crash.Gravatar Quentin Rameau 1-0/+14
2018-10-08Allow tilde expansion in loaduriGravatar nzl 1-23/+40
also fixed a bug that ~foo/ was expanded to /home/fo/o/
2018-06-18Fixed wording in FAQ.mdGravatar Eddie Thieda 1-5/+5
2018-06-09Force printing the winid when requestedGravatar Quentin Rameau 1-0/+1
Do not wait for the libc to decide flushing buffers, force it ourselves. Thanks to koniu for reporting the issue.
2018-02-23Document SIGHUP in manpageGravatar Jochen Sprickerhof 1-0/+3
2018-02-23Script text shouldn't go through formatted conversionGravatar nzl 1-1/+1
2018-02-23Add support for WebGLGravatar Eon S. Jeon 2-0/+6
Allows enabling and disabling WebGL support built into WebKit. The feature is turned off by default.
2017-06-03Disable media autoplay by defaultGravatar Quentin Rameau 1-1/+1
2017-05-30Store modified parameters listGravatar Quentin Rameau 1-18/+11
2017-05-22Use priority values instead of “forced” parametersGravatar Quentin Rameau 2-46/+49
This makes parameter handling a bit easier and lets the user override parameters as he sees fit.
2017-05-22Get rid of config parameter MACROsGravatar Quentin Rameau 2-72/+87
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 ArgGravatar Quentin Rameau 2-81/+80
There's no need to keep another integer member there, use directly the i integer one.
2017-05-22Only apply parameters when neededGravatar Quentin Rameau 1-14/+60
Specify which parameter should be applied on which load state.
2017-05-22Fix handling of uri-specific parametersGravatar Quentin Rameau 1-9/+19
We need to (re)apply uri-specific parameters for each new uri even if the parameter has already been set to get the correct value. Thanks to Julien STEINHAUSER <julien.steinhauser@orange.fr> for the report!
2017-05-22Unset previous user styles before applying another oneGravatar Quentin Rameau 1-3/+2
2017-05-22Add config option for cross requests from file URLsGravatar Constantine Bytensky 2-0/+8
I use it to open local .xml files with .xsl style-sheets.
2017-05-21Add config option for microphone and webcam accessGravatar Quentin Rameau 2-6/+26
2017-05-12Fix synchronization issue with atomsGravatar Quentin Rameau 1-1/+2
Be sure to sync after setting an atom. Sync too before reading one.
2017-05-12There's no need to call geturi() again in loadchangedGravatar Quentin Rameau 1-7/+7
Also call the variable “uri” instead of “title” which was ambiguous regarding what it is.
2017-05-11Add config option for smooth scrolling activationGravatar Quentin Rameau 2-0/+6
2017-05-11Add config option for Java activationGravatar Quentin Rameau 2-0/+6
2017-05-11Add config option for setting default charset.Gravatar Quentin Rameau 2-0/+6
This will be used for pages with no specified charset.
2017-05-11Improve parameters handlingGravatar Quentin Rameau 1-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.
2017-05-11Change PROMPT_GO from "URL:" to "Go:"Gravatar ssd 1-1/+1
This looks more apropriate because URL is too specific and _SURF_GO can be set to other things.
2017-05-08Add prompts for SETPROPGravatar Quentin Rameau 1-7/+10
Imported from __20h__ repo, thanks to him and Ben Woolley.
2017-05-08Embed dmenu into the surf window by defaultGravatar Quentin Rameau 1-1/+1
2017-05-08Simplify DOWNLOAD macroGravatar Quentin Rameau 1-6/+5
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 macroGravatar Quentin Rameau 1-6/+6
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-04Simplify usage()Gravatar Quentin Rameau 1-3/+3
There's no real need for using the real executable call name, especially with basename requiring special care.
2017-05-04Simplify version messageGravatar Quentin Rameau 1-2/+1
2017-05-02Use Ctrl-t for showcert instead of Ctrl-xGravatar Ivan Tham 3-3/+3
2017-05-01Cleanup and fix formatage issues in surf.1Gravatar Quentin Rameau 1-23/+23
2017-05-01Fix forgotten options in surf.1Gravatar Quentin Rameau 2-9/+5
2017-04-30setcert: check uri before adding a certificateGravatar Hiltjo Posthuma 1-5/+7
Also directly check for https scheme, we won't need a certificate for others.
2017-04-30fix mini typoGravatar Hiltjo Posthuma 1-1/+1
2017-04-30surf.1: remove trailing spacesGravatar Hiltjo Posthuma 1-5/+5
2017-04-29Add forgotten tT indicator description in surf.1Gravatar Quentin Rameau 1-0/+3
2017-04-29Add forgotten fF indicator description in surf.1Gravatar Quentin Rameau 1-0/+3
2017-04-29Add a flag for custom certificatesGravatar Quentin Rameau 2-4/+21
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.
2017-04-29Move xid printing option from -x to -wGravatar Quentin Rameau 2-3/+3
2017-04-29Add a keybinding to show current TLS certificateGravatar Quentin Rameau 3-3/+42
2017-04-29Display an error message and certificate on tls errorGravatar Quentin Rameau 2-3/+55
2017-04-29Arrange MakefileGravatar Quentin Rameau 2-38/+43
Let the user specify his own C and LD FLAGS. Remove unuseful and non portable CFLAGS like pendantic and Wall.
2017-04-29Free temporary certificate in setcertGravatar Quentin Rameau 1-0/+1