about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Set default char * setting pointers to NULL and g_strdup the defaultJosh Rickmar2012-06-073-33/+52
| | | | | | | | | | | | | | | | | 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-066-63/+81
| | | | | | | | | | | | | | | | | | | | | | | 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-013-58/+144
| | | | | 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-014-65/+81
|
* 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-013-0/+33
| | | | | works, will have to check later to make sure all the other features got in.