about summary refs log tree commit diff stats
path: root/externaleditor.c
Commit message (Collapse)AuthorAgeFilesLines
* Make editsrc on about:blank not bomb the browserJosh Rickmar2012-08-231-2/+3
|
* Give each tab its own session key for xtp links.Josh Rickmar2012-08-161-1/+1
| | | | While here, kill a bunch of trailing whitespace.
* Replace all signaling code and a mkstemps call with glib functions.Josh Rickmar2012-07-171-66/+90
| | | | | With this change, external_editor should now be able to edit HTML input elements on Windows.
* Use glib's g_spawn_async() function instead of OS-specific fork/execJosh Rickmar2012-06-281-35/+25
| | | | | or spawning functions. Remove the SIGCHLD handling as that is no longer required to stop zombie processes.
* remove noop assignment, found by clang analyzeMichal Mazurek2012-06-131-1/+0
| | | | OK marco
* This fixes a bunch of things that probably should have gone in my lastJosh Rickmar2012-06-061-30/+19
| | | | | | | | | | | | | | | | | | | | | | | push. Make the set_ssl_ca_file pointer logic not suck. 'M' isn't a valid key modifier, use 'M1' in the manpage. Add a function to escape an html string and use this for displaying settings. Now things like <file> and <uri> are not interpreted as html tags. Kill a system() when running a custom uri script. Tildes are now also expanded instead of being interpreted by the no-longer-being-called system shell. Plug a leak Replace the system() call for external_editor with an execvp and while here, kill a dangerous sprintf. Remove an unused variable
* rename xxxterm to xomreroMarco Peereboom2012-05-171-3/+3
|
* also fixup PS over hereMarco Peereboom2012-01-241-2/+2
|
* include using <> instead of ; this will have falloutMarco Peereboom2012-01-231-1/+1
|
* replace enable external editor with enable signalsMarco Peereboom2012-01-231-1/+2
|
* make external editor a compile time decissionMarco Peereboom2012-01-231-1/+1
|
* style stuffMarco Peereboom2012-01-041-6/+11
|
* use a #define for buffer sizeMarco Peereboom2012-01-041-7/+7
| | | | | Make buffer size 64k instead of 1k to minimize churn. Also move a variable to where $DEITY intended it.
* fix a fd leak and shorten code someMarco Peereboom2012-01-041-21/+16
|
* warn when webkit version is too old for external editorMarco Peereboom2012-01-041-0/+2
|
* comment out WIFEXITED(status) to make it clear this is not usefulTodd T. Fries2012-01-041-1/+1
| | | | | | | if this is uncommented, we get a bogus status that tells us to unlink the file the instant system() is inplay in the child. So it is a race with this uncommented. Adding a "sleep 1" in a script to call the editor makes this 100% reproducable. With this fix externaleditor works great for me
* Missing spacesStevan Andjelkovic2012-01-031-2/+2
|
* Merge external editor stuff.Stevan Andjelkovic2012-01-031-0/+372