about summary refs log tree commit diff
path: root/common.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-07Makefile: fix a typo in clean: targetLeonardo Taccari1-1/+1
2019-02-06Makefile: include common to webextQuentin Rameau2-9/+14
2019-02-06Makefile: fix a typo for the webext CFLAGSQuentin Rameau1-1/+1
Thanks to Justin Keogh <[email protected]> for spotting this
2018-10-15Send message size inside messages through pipesQuentin Rameau3-26/+39
2018-10-09Use pkg-config for X11{INC,LIB}Leonardo Taccari1-4/+4
2018-10-09Makefile: fix dependenciesQuentin Rameau1-2/+2
2018-10-08Fix, again, webext directory in MakefileQuentin Rameau1-1/+1
2018-10-08Fix webext directory in MakefileQuentin Rameau1-5/+5
2018-10-08Remove libtool depencency, reorganise MakefileQuentin Rameau2-52/+34
We don't need libtool anymore, just build the library directly. This lets us simplify the Makefile too.
2018-10-08Unobfuscate MakefileQuentin Rameau1-40/+25
2018-10-08ext: get the right DOM on msgQuentin Rameau1-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 functionsQuentin Rameau5-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 pipeQuentin Rameau4-47/+213
2018-10-08ext: first commit for surf libQuentin Rameau3-14/+59
2018-10-08Request cookiemanager only once at creationQuentin Rameau1-5/+6
2018-10-08Exit more gracefully on web process crash.Quentin Rameau1-0/+14
2018-10-08Allow tilde expansion in loadurinzl1-23/+40
also fixed a bug that ~foo/ was expanded to /home/fo/o/
2018-06-18Fixed wording in FAQ.mdEddie Thieda1-5/+5
2018-06-09Force printing the winid when requestedQuentin Rameau1-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 manpageJochen Sprickerhof1-0/+3
2018-02-23Script text shouldn't go through formatted conversionnzl1-1/+1
2018-02-23Add support for WebGLEon S. Jeon2-0/+6
Allows enabling and disabling WebGL support built into WebKit. The feature is turned off by default.
2017-06-03Disable media autoplay by defaultQuentin Rameau1-1/+1
2017-05-30Store modified parameters listQuentin Rameau1-18/+11
2017-05-22Use priority values instead of “forced” parametersQuentin Rameau2-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 MACROsQuentin Rameau2-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 ArgQuentin Rameau2-81/+80
There's no need to keep another integer member there, use directly the i integer one.
2017-05-22Only apply parameters when neededQuentin Rameau1-14/+60
Specify which parameter should be applied on which load state.
2017-05-22Fix handling of uri-specific parametersQuentin Rameau1-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 <[email protected]> for the report!
2017-05-22Unset previous user styles before applying another oneQuentin Rameau1-3/+2
2017-05-22Add config option for cross requests from file URLsConstantine Bytensky2-0/+8
I use it to open local .xml files with .xsl style-sheets.
2017-05-21Add config option for microphone and webcam accessQuentin Rameau2-6/+26
2017-05-12Fix synchronization issue with atomsQuentin Rameau1-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 loadchangedQuentin Rameau1-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 activationQuentin Rameau2-0/+6
2017-05-11Add config option for Java activationQuentin Rameau2-0/+6
2017-05-11Add config option for setting default charset.Quentin Rameau2-0/+6
This will be used for pages with no specified charset.
2017-05-11Improve parameters handlingQuentin Rameau1-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:"ssd1-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 SETPROPQuentin Rameau1-7/+10
Imported from __20h__ repo, thanks to him and Ben Woolley.
2017-05-08Embed dmenu into the surf window by defaultQuentin Rameau1-1/+1
2017-05-08Simplify DOWNLOAD macroQuentin Rameau1-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 macroQuentin Rameau1-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()Quentin Rameau1-3/+3
There's no real need for using the real executable call name, especially with basename requiring special care.
2017-05-04Simplify version messageQuentin Rameau1-2/+1
2017-05-02Use Ctrl-t for showcert instead of Ctrl-xIvan Tham3-3/+3
2017-05-01Cleanup and fix formatage issues in surf.1Quentin Rameau1-23/+23
2017-05-01Fix forgotten options in surf.1Quentin Rameau2-9/+5
2017-04-30setcert: check uri before adding a certificateHiltjo Posthuma1-5/+7
Also directly check for https scheme, we won't need a certificate for others.
2017-04-30fix mini typoHiltjo Posthuma1-1/+1