about summary refs log tree commit diff stats
path: root/settings.c
Commit message (Collapse)AuthorAgeFilesLines
* added "open search in new tab" (using C-Enter on search) perader2014-05-021-0/+1
| | | | https://github.com/conformal/xombrero/issues/61
* Fix several more issues with float/double settings.Josh Rickmar2013-09-101-12/+13
| | | | | | | | All floats are now doubles, and are represented as such with the XT_S_DOUBLE macro. struct settings fval field is now renamed to dval. Doubles are read in as %lf (double precision) instead of %f (single precision). Finally, a floating point comparison using != was removed.
* Strip whitespace for config inputsJosh Rickmar2013-07-111-0/+1
|
* Fix types and bounds checking on config inputs.Josh Rickmar2013-07-081-4/+11
|
* support :favadd [title]David Hill2013-06-131-1/+2
|
* add myself to copyrightDavid Hill2013-06-121-0/+1
|
* Fix runtime set so it actually sets somethingJosh Rickmar2013-06-101-0/+5
| | | | | Disabling at runtime looks to work, but enabling it again seems to only take effect on open tabs once the page is reloaded. webkit bug?
* use a define for js_auto_open_windows settingDavid Hill2013-06-091-3/+3
|
* make js_auto_open_windows a runtime settingDavid Hill2013-06-091-1/+27
|
* add a new config option js_auto_open_windows = 0|1, default being 1.David Hill2013-06-081-1/+2
| | | | | | | | | If enabled (the default), javascripts will be allowed to automatically open windows (popups) based on the current browser_mode setting. This is the current behavior. If disabled (set to 0), the automatic opening of windows will never be allowed, even if the site is whitelisted.
* remove a debugging printf that snuck inDavid Hill2013-06-081-1/+0
|
* constifyDavid Hill2013-06-071-1/+1
|
* make sure an invalid proxy cannot be used.David Hill2013-06-071-26/+42
|
* add local ipv6 unicast addresses to proxy_exclude list.David Hill2013-06-071-1/+1
|
* Fix loads of memory issuesJosh Rickmar2013-06-061-11/+18
|
* libsoup proxy-resolver supportDavid Hill2013-06-051-10/+36
|
* cache is disabled by defaultDavid Hill2013-05-141-1/+1
|
* add new configuration option 'enable_cache'David Hill2013-05-141-0/+34
| | | | When set to 1, web caching will be enabled. Default is 0.
* gtk_widget_modify_font is deprecated. Use gtk_widget_override_font if using ↵David Hill2013-05-131-8/+8
| | | | gtk 3.0.
* add urlmod plus and minMarco Peereboom2013-01-021-0/+2
|
* plug memleak if SOUP_URI_VALID_FOR_HTTP fails.David Hill2013-04-201-1/+5
|
* add tor icon toggle for proxyMarco Peereboom2012-11-281-2/+5
| | | | requested by many
* Add a button to the toolbar to toggle the proxyJosh Rickmar2012-11-281-1/+5
|
* Kill whitespace in aliases. Fixes FS240.Josh Rickmar2012-10-301-0/+4
| | | | | | | This prevents displaying any extra whitespace between the comma and the url in the alias definition from being displayed in the statusbar. Found by Cody Write (writecode on Flyspray)
* Implement header changes as requested by jy-pJosh Rickmar2012-10-101-6/+14
| | | | | | | | | | | | | | | | | | | This change introduces a new RB tree to keep track of identities (defined as being different combinations of modified HTTP headers, so far only User-Agent and Accept). Whenever a site is visited, this tree is checked to see if it has been accessed before, and if it has, the previously used Accept and User-Agent headers will be used. If the site has not been visited before during the browser's lifetime, a new entry will be created in this tree to keep track of which headers to use the next time. A site is defined as a FQDN, so requests made to cross site resources or resources on a different subdomain will generate a new saved identity. The second change adds two new config files to the resource dir to read in additional user_agent and http_accept values scraped from the logs of www.bitrig.org. The idea of this is to keep rotating through each of these on every new site visit to provide more anonymity and thwart web tracking by looking at the headers being sent.
* Add regex support to whitelistsJosh Rickmar2012-09-181-13/+17
| | | | | | | | | | | | | | This modifies the whitelist and https forcing code to internally use unix extended regular expressions to match domains. The old config syntax converted to an appropiate regular expression. Inputing of raw regular expressions is possible by prepending the string "re:" in front of a regular expression, for example: js_wl = re:^(.*\.)*cyphertite\.com$ would be the same as js_wl = .cyphertite.com
* Fix back/forward handling with about pages.Josh Rickmar2012-08-291-2/+2
| | | | | | | | | This change makes the can_go_* and go_* back/forward functions use the same logic when determining whether we are on an about page, and makes it so about:secviolation warning pages do not save the page that generated the warning to t->item. This prevents hitting back and going back to the exact same page that generated the warning (triggering the warning a second time).
* Add a setting to disable the tabs feature (same as -t flag)Josh Rickmar2012-08-241-1/+10
| | | | Thanks to user njw on FS for the patch.
* Add an unbind keybinding action, and document in the manpage.Josh Rickmar2012-08-231-5/+13
| | | | | Patch provided by Vadim Zhukov <persgray@gmail.com>, manpage bits by me.
* Add a new setting, gnutls_priority_string.Josh Rickmar2012-08-021-1/+34
| | | | | | This may be used to modify the GnuTLS priority string used for the soup session to enable or disable specific ciphers or TLS/SSL versions. Default is empty (uses libsoup's defaults).
* Give each tab its own session key for xtp links.Josh Rickmar2012-08-161-6/+2
| | | | While here, kill a bunch of trailing whitespace.
* Distinguish between toplevel domains and FQDNs in whitelist code.Josh Rickmar2012-08-011-2/+1
| | | | | | | | | This fixes the behavior of the whitelist code so that whitelist toggling toggles the FQDN (not the domain and all subdomains), unless domain is explicitly used. This was the intended behavior but the old code would automatically assume all subdomains anyways. This also makes the new force_https stuff work correctly with FQDNs (no subdomains) for the preloaded HSTS list.
* Don't run the (struct setting).ismodified function in the as on of theJosh Rickmar2012-08-011-1/+4
| | | | | | parameters to the g_strdup_printf() call. This makes the tooltips appear correctly on about:runtime when compiled with gcc (clang never exposed this issue).
* Implement an about:runtime page and :runtime command to view andJosh Rickmar2012-07-311-172/+1140
| | | | | | change runtime settings. Settings that have been modified show in a highlighted color in the table. Tooltips describe the setting's function, as well as the default values.
* Add a force_https setting (using the same domain syntax as theJosh Rickmar2012-07-311-0/+35
| | | | | | | | | | | | | | | whitelist settings) to make all requests to that domain use the HTTPS scheme, similar to HSTS. Install a new file, hsts-preload, into the resource dir. This is a regular config file with a bunch of force_https = ... lines, which is used to implement a preloaded HSTS list. Right now all the domains in this file, except for conformal.com and cyphertite.com, are taken directly from chromium's preloaded HSTS list (and should be synced with this file every so often). Also implement a new setting, preload_strict_transport (enabled by default), to enable or disable the loading of this preloaded HSTS list. Document force_https and preload_strict_transport in the manpage.
* Enable DNT by default in whitelist mode.Josh Rickmar2012-07-251-0/+3
|
* Implement a do_not_track feature to set the Do Not Track HTTP header.Josh Rickmar2012-07-251-0/+20
|
* Make all the statusbar elements GtkLabel widgets instead of GtkEntryJosh Rickmar2012-07-131-3/+3
| | | | | | | | | | widgets (with the exception of the uri, we need this for the progressbar). Because labels only take up as much room as they need, the statusbar elements now dynamically fit together in a GtkBox instead of giving GtkEntry a fixed size. Because the background color of labels can not be colored directly, place a GtkEventBox underneath the packing GtkBox (which is also transparent) and color that when changing the colors for HTTPS sites.
* Always create the items in the toolbar, even if they aren't going toJosh Rickmar2012-07-131-4/+12
| | | | | | | | | | | | be immediatelly shown due to fancy_bar = 0 or an empty search_string. We need these to be created in case they are shown again by changing these gui settings at runtime later. This also prevents a lot of Gtk-CRITICAL warnings due to trying to set various widgets active or inactive based on the current page status (for example, stop and the js toggle button). While here, kill some useless boxes around both the uri and search entries in the toolbar.
* Instead of erroring out when unable to set special settings, add aJosh Rickmar2012-07-111-1/+2
| | | | warning to about:startpage. While in here, clean up some #ifdefs.
* Add a show_scrollbars option to disable showing of scrollbars. EnableJosh Rickmar2012-07-111-0/+26
| | | | | (keep current behavior) for gui_mode = normal, and disable for gui_mode = minimal. Requires GTK3.
* Remove xterm_workaround as this has been fixed upstream, and make yJosh Rickmar2012-07-111-20/+0
| | | | | | and p work with CLIPBOARD in addition to PRIMARY. Yanking copies to both, and pasting tries PRIMARY first, and if empty, reads from CLIPBOARD. This should make y/p/P work on windows.
* Alphabetize try #2Josh Rickmar2012-07-031-22/+20
|
* Alphabetize settings so :set has a sensible order.Josh Rickmar2012-07-021-13/+11
|
* Add two new settings, allow_insecure_content andJosh Rickmar2012-07-021-0/+64
| | | | | | | | | | allow_insecure_scripts, which, if WebKitWebSettings has the enable-display-of-insecure-content and/or enable-running-of-insecure-content properties, sets those to enable or disable viewing or running of insecure content from secure websites. Make these default to 0 in whitelist mode, and 1 otherwise. * * * Document in manpage.
* Iterate through each tab when enabling/disabling fancy_bar.Josh Rickmar2012-06-281-14/+14
|
* Replace manual file:// insertions and removals with theJosh Rickmar2012-06-281-6/+8
| | | | | | g_filename_to_uri() and g_filename_from_uri() functions. These functions automatically encode/decode the urls or paths, which wasn't being done before.
* Change user_agent to rotate on a connection per tab (instead ofJosh Rickmar2012-06-191-9/+48
| | | | | globally for all connections), and implement http_accept which acts the same way but sets the HTTP Accept header.
* add statusbar_styleMichal Mazurek2012-06-161-0/+61
|
* Add an 'p' option to statusbar_elems to show if the http_proxy isJosh Rickmar2012-06-151-1/+11
| | | | currently enabled or disabled in the statusbar.