about summary refs log tree commit diff stats
path: root/xombrero.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Some tweaks to xombrero's proxy support.vext012012-06-071-2/+12
| | | | | | | | | | | * Display a message when toggling proxy. * Add a 'http_proxy_disabled' config option allowing a proxy to be disabled at xombrero start. * Add a note in the manual that polipo works with xombrero aswell as tsocks. * In the config file, provide examples for polipo and tsocks running on localhost with default ports. OK marco
* Set default char * setting pointers to NULL and g_strdup the defaultJosh Rickmar2012-06-071-10/+14
| | | | | | | | | | | | | | | | | values from static memory, as they will be g_free()'d later if changed at runtime or from parsing the config. "Special" settings (struct special) do not need this as they use their own set functions. This also fixes a bad bug where default_script pointed to "" somewhere in static memory instead of an array of PATH_MAX size. This fixes a crash when compiled with clang where changing this setting would try to write a string possibly as large as PATH_MAX and overwrite other static data. Finally, make ssl_ca_file static to match all the other strings that represent files or directories. Make it a special setting so static memory is never freed. As an added bonus, ssl_ca_file is now tilde expanded.
* This fixes a bunch of things that probably should have gone in my lastJosh Rickmar2012-06-061-19/+41
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fix a bug that made the statusbar display "Loading: ..." even after theMichal Mazurek2012-06-061-5/+7
| | | | | | | | | | page has been loaded (caused by hovering over links) Minor style fix (add space). Fix memleak, t->status was not freed. OK marco
* Replace the home directory in the about:about page with the path toJosh Rickmar2012-06-011-3/+2
| | | | | the config file, and make the last part of the path an link to spawn external_editor to edit the configuration.
* Fix keybound promptsJosh Rickmar2012-06-011-42/+46
|
* Ugh. I guess I'll have to do a lot of these. This fixes the socketJosh Rickmar2012-06-011-1/+1
| | | | command running on the wrong tab.
* Fix some random stuff the rebasing lost. At least the build stillJosh Rickmar2012-06-011-0/+29
| | | | | works, will have to check later to make sure all the other features got in.
* Make all runtime settings unsettable by using the ':set setting ='Josh Rickmar2012-06-011-8/+8
| | | | command. This will reset the value to its default.
* Add a cmd_alias feature to set an alias for a :command, and documentJosh Rickmar2012-06-011-20/+43
| | | | it in the manpage.
* Add a custom_uri setting to check if a URI should be handled by anJosh Rickmar2012-06-011-1/+31
| | | | | external script rather then through xombrero. This makes it possible to use scripts to support things such as mailto URIs. Fixes FS#253
* Fix the behavior of show_url and fancy_bar so they actually act likeJosh Rickmar2012-06-011-81/+78
| | | | | | the manpage says they do. Setting show_url = 1 and fancy_bar = 0 will now only display the url bar on the toolbar and not draw the buttons and search box.
* Parse keybound commands for if they begin with a ':'. If they do,Josh Rickmar2012-06-011-42/+46
| | | | | | | | | | | | don't try to execute them, but instead open a prompt with that current command. Can be used to create custom prompts, and should fix FS#233. This change also adds the ability to replace strings in keybound prompts. So far the only string replacement is <uri> which is replaced by the current tab's uri. This also kills the old prompt* commands as they only existed so they could be bound to a key. However with the addition of the <uri> substitution, these are no longer necessary. Document these changes in the manpage.
* Run the socket command on the current tab, not the last one. ThisJosh Rickmar2012-06-011-1/+1
| | | | fixes FS#251.
* move os_init to right before read configMarco Peereboom2012-05-311-3/+4
|
* add an os init functionunknown2012-05-311-0/+3
|
* Add my copyright to the files I've added code toJosh Rickmar2012-05-301-0/+1
|
* Add an about:search page to notify users we are not in a position toJosh Rickmar2012-05-251-8/+2
| | | | | recommend any search engine. Save their choice to runtime, and document how runtime is being read in the manpage.
* Be sure to clear any show_oops messages before navigating to a newJosh Rickmar2012-05-241-0/+1
| | | | URL. This wasn't working before with the back/forward buttons.
* Truncate the startofday file before writing the current version to it.Josh Rickmar2012-05-231-1/+2
| | | | Noticed and patched by henrix@camandro.org.
* gdk_flush -> GDK_FLUSH in run_scripts_lockedDavid Hill2012-05-181-1/+1
|
* Prevent a nasty bug where saved certificates were not being completelyJosh Rickmar2012-05-181-1/+1
| | | | | | checked for differences. This will cause the URL bar to be colored red if there are any differences between a saved and remote certificate.
* remove a couple of long long variables that confuse various compilerMarco Peereboom2012-05-181-4/+6
|
* make xombrero compile on windowsMarco Peereboom2012-05-171-4/+5
|
* rename xxxterm to xomreroMarco Peereboom2012-05-171-0/+8090