about summary refs log tree commit diff stats
path: root/xombrero.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add for support for, and enable GTK3 as default.Josh Rickmar2012-07-091-0/+6
| | | | | | GTK2 is still supported. To build against GTK2, use: $ GTK_VERSION=gtk2 make
* More #ifdef nonsense so this compiles with older webkits.Josh Rickmar2012-07-091-0/+2
|
* Make the autofocus code a bit smarter by first saving the originalJosh Rickmar2012-07-051-0/+1
| | | | | | | | | text in the text box and seeing if it's any different from the new text before attempting to enter command mode. Before, there was only a check to see if there was any text. This also only sets t->active if it is not NULL, so only the page's default text entry box is ever used when entering insert_mode, instead of the last text box that was typed into.
* add some missing debug defines, bad jrickMarco Peereboom2012-07-031-0/+3
|
* add PSC and only set defaults if not set yetMarco Peereboom2012-07-031-0/+1
|
* Add two new settings, allow_insecure_content andJosh Rickmar2012-07-021-0/+5
| | | | | | | | | | 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.
* Implement a tabonly command that deletes all tabs except the currentlyJosh Rickmar2012-06-281-0/+1
| | | | focused one. Document in manpage.
* Modify the allocation of the scrollbar and GTK adjustment so they areJosh Rickmar2012-06-281-2/+0
| | | | | | | | 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.
* Save a pointer to the text entry box that is focused when the page isJosh Rickmar2012-06-281-1/+3
| | | | | | | | | | 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.
* Use glib's g_spawn_async() function instead of OS-specific fork/execJosh Rickmar2012-06-281-3/+0
| | | | | or spawning functions. Remove the SIGCHLD handling as that is no longer required to stop zombie processes.
* Change user_agent to rotate on a connection per tab (instead ofJosh Rickmar2012-06-191-7/+20
| | | | | 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/+6
|
* Remove the "Loading", "Downloading", and "Download Failed" tab titlesJosh Rickmar2012-06-151-0/+1
| | | | | | 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-151-0/+2
| | | | currently enabled or disabled in the statusbar.
* Add a userstyle setting to change the default stylesheet that is usedJosh Rickmar2012-06-151-1/+3
| | | | | | | 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.
* add tab number statusbar element. for small displays that have the tab bar ↵Michal Mazurek2012-06-131-0/+1
| | | | disabled
* Implement a warn_cert_changes setting to warn users when the remoteJosh Rickmar2012-06-071-0/+27
| | | | | | | 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).
* Some tweaks to xombrero's proxy support.vext012012-06-071-0/+1
| | | | | | | | | | | * 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-3/+3
| | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* Replace the home directory in the about:about page with the path toJosh Rickmar2012-06-011-2/+4
| | | | | the config file, and make the last part of the path an link to spawn external_editor to edit the configuration.
* Fix some random stuff the rebasing lost. At least the build stillJosh Rickmar2012-06-011-0/+1
| | | | | 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-1/+52
| | | | 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-0/+8
| | | | it in the manpage.
* Add a custom_uri setting to check if a URI should be handled by anJosh Rickmar2012-06-011-0/+8
| | | | | external script rather then through xombrero. This makes it possible to use scripts to support things such as mailto URIs. Fixes FS#253
* add an os init functionunknown2012-05-311-0/+2
|
* Xombrero -> xombreroMarco Peereboom2012-05-301-1/+1
|
* Add an about:search page to notify users we are not in a position toJosh Rickmar2012-05-251-0/+5
| | | | | recommend any search engine. Save their choice to runtime, and document how runtime is being read in the manpage.
* add un.h in required locationsMarco Peereboom2012-05-181-0/+4
|
* make xombrero compile on windowsMarco Peereboom2012-05-171-2/+3
|
* rename xxxterm to xomreroMarco Peereboom2012-05-171-0/+725