about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* init path to NULLMarco Peereboom2012-07-031-1/+1
|
* Prevent the use of an uninitialized variable. My earlier change inJosh Rickmar2012-07-031-2/+3
| | | | | f284a63967c1f5f349abdfbb7b3f8710b6c419fd was wrong due to some forgotten braces after the if statement.
* Check if a pointer points to some memory before blindly freeing it.Josh Rickmar2012-07-031-2/+3
|
* Add two new settings, allow_insecure_content andJosh Rickmar2012-07-025-1/+95
| | | | | | | | | | 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.
* Prevent the use a depreciated function (as of webkit 1.8), and onlyJosh Rickmar2012-06-291-2/+14
| | | | | | | | attempt to get the webview's pixbuf if the page is valid (has a non-null uri). This prevents glib warnings when attempting to load the webview's favicon. * * * Remove unnecessary braces.
* Do a g_object_set on the soup session so that ssl_strict_certs actually ↵Josh Rickmar2012-06-291-0/+2
| | | | changes behavior if set before ssl_ca_file in the configuration.
* Use #if for the webkit_dom_html_element_click function, as it appears this ↵Josh Rickmar2012-06-291-1/+7
| | | | is new to webkit 1.8.x
* Import the latest OpenBSD tree.h, as we make calls to RB_FOREACH_SAFE, which ↵Josh Rickmar2012-06-291-1/+11
| | | | the old one did not have.
* Update manpage with current date, and add myself to the AuthorsJosh Rickmar2012-06-281-2/+3
| | | | section at the bottom.
* Focus and highlight the current tab when viewing the buffers/ls list.Josh Rickmar2012-06-281-0/+13
| | | | Fixes FS#304.
* Implement a tabonly command that deletes all tabs except the currentlyJosh Rickmar2012-06-283-1/+10
| | | | focused one. Document in manpage.
* Modify the allocation of the scrollbar and GTK adjustment so they areJosh Rickmar2012-06-282-8/+5
| | | | | | | | allocated by the gtk_scrolled_window_new command instead of allocating them first and then passing them as args. I was seeing some segfaults from invalid t->adjust_h pointers earlier, and although I couldn't figure out why the pointers were invalid, I have not yet seen that crash after this change.
* Add a link to the top of about:history to remove all items from theJosh Rickmar2012-06-281-8/+13
| | | | | | history. Make the "No History" row expand across 4 columns instead of 3.
* Save a pointer to the text entry box that is focused when the page isJosh Rickmar2012-06-283-39/+78
| | | | | | | | | | load for each tab. Try to use this first when using the insert_mode command instead of just focusing on the first text box in the html. Don't switch to command mode if the currently-focused input box contains any text in it. This prevents an annoying switch to command after the page has focused a particular element and the user has already begun typing something.
* Send a click event to the focused input fields so using theJosh Rickmar2012-06-281-0/+2
| | | | | insert_mode command runs any javascript the page may specify when clicking on the textbox.
* Use g_strcmp0() instead of g_str_equal() which is meant for hashJosh Rickmar2012-06-281-1/+1
| | | | tables.
* Iterate through each tab when enabling/disabling fancy_bar.Josh Rickmar2012-06-281-14/+14
|
* Respect the current tab's ordering when showing the drow down menuJosh Rickmar2012-06-281-4/+9
| | | | (clicking the arrow).
* Replace manual file:// insertions and removals with theJosh Rickmar2012-06-283-37/+97
| | | | | | 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.
* Use glib's g_spawn_async() function instead of OS-specific fork/execJosh Rickmar2012-06-285-160/+76
| | | | | or spawning functions. Remove the SIGCHLD handling as that is no longer required to stop zombie processes.
* Pass the correct argument to the attach-window signal.Josh Rickmar2012-06-211-1/+1
|
* Allocate the soup session before attempting to change its settingsJosh Rickmar2012-06-211-1/+3
| | | | when parsing the config file.
* Fix a possible segfault (null pointer dereference) and makeJosh Rickmar2012-06-211-0/+1
| | | | | userstyle_global = 1 work again on startup if userstyle isn't set to anything.
* Replace a manual tilde expansion with the expand_tilde function.Josh Rickmar2012-06-211-5/+1
|
* Change user_agent to rotate on a connection per tab (instead ofJosh Rickmar2012-06-194-24/+134
| | | | | globally for all connections), and implement http_accept which acts the same way but sets the HTTP Accept header.
* move statusbar initialisation to statusbar_create()Michal Mazurek2012-06-191-100/+101
|
* add statusbar_styleMichal Mazurek2012-06-164-5/+86
|
* rewrite set_statusMichal Mazurek2012-06-161-45/+28
|
* Kill a debugging printf I left in.Josh Rickmar2012-06-151-1/+0
|
* Remove the "Loading", "Downloading", and "Download Failed" tab titlesJosh Rickmar2012-06-152-17/+35
| | | | | | and rely on other already-implemented features for these notifications instead. This fixes a bug where Loading would remain in the tab title after requesting a download by following a link.
* Add an 'p' option to statusbar_elems to show if the http_proxy isJosh Rickmar2012-06-154-11/+41
| | | | currently enabled or disabled in the statusbar.
* Make the fancy_bar setting dynamic by showing or hiding the gtkJosh Rickmar2012-06-151-1/+34
| | | | buttons and search entry box
* Replace "%s" in alias and search_string manually with the encodedJosh Rickmar2012-06-152-12/+24
| | | | | | replacement instead of relying on a correct format string. This prevents directly passing a user-defined format string as the first arg to a printf-style function and avoids the format string exploit.
* Add a userstyle setting to change the default stylesheet that is usedJosh Rickmar2012-06-155-15/+131
| | | | | | | instead of the low-contrast one. Allow the userstyle and usersyle_global commands to take an optional argument to use a user-specified stylesheet instead of the default. Document in the manpage.
* Make the Copy Link Location, Copy Image Address, and Copy Video LinkJosh Rickmar2012-06-151-1/+43
| | | | | items of the context menu also copy to the PRIMARY clipboard. Slightly modified from a Patch by Lazaros Koromilas <lostd@2f30.org>.
* set progress unconditionally on both statusbar and url_entry given we don't ↵Todd T. Fries2012-06-131-7/+4
| | | | check on hide/show if we need to set the proper progress indicator
* show url fixesTodd T. Fries2012-06-131-5/+5
|
* add tab number statusbar element. for small displays that have the tab bar ↵Michal Mazurek2012-06-133-1/+41
| | | | disabled
* rewrite recolor_compact_tabsMichal Mazurek2012-06-131-11/+10
|
* normalise styleMichal Mazurek2012-06-131-5/+5
|
* add break in a for loop when switching tabsMichal Mazurek2012-06-131-0/+1
|
* remove noop assignment, found by clang analyzeMichal Mazurek2012-06-131-1/+0
| | | | OK marco
* make install should also scaffold the manual dir.vext012012-06-121-0/+1
| | | | OK marco
* tabopen is not a command; replace it with tabnew in the config.Josh Rickmar2012-06-111-2/+2
|
* Don't recolor the statusbar when opening the command prompt. ThisJosh Rickmar2012-06-081-1/+0
| | | | fixes FS#301.
* Unbreak some of the keybinding logic that I broke inJosh Rickmar2012-06-071-9/+13
| | | | 29e1c7496a0f6b7812e083aac8da186932fc8daf.
* Fix manpage. Users are no longer required to manually remove the oldJosh Rickmar2012-06-071-6/+0
| | | | cached certificate manually (although they still may, if inclined).
* Implement a warn_cert_changes setting to warn users when the remoteJosh Rickmar2012-06-076-42/+334
| | | | | | | ssl certificate is different from a previously cached certificate to help prevent against MITM attacks. Prompt the user with an action to take (show remote cert, allow for that session, or cache the new remote cert).
* FIX: Makefile fails to scaffold ${PREFIX}/binvext012012-06-071-0/+1
| | | | | | | | | % PREFIX=/opt/xombrero make install ... install -c -S -o root -g bin -m 555 xombrero /opt/xombrero/bin/xombrero install: /opt/xombrero/bin/INS@qSFSXMG9Df: No such file or directory OK marco
* Some tweaks to xombrero's proxy support.vext012012-06-075-5/+30
| | | | | | | | | | | * 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