about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Backout commitsJosh Rickmar2012-08-094-215/+118
| | | | | | | Accidentally pushed a bunch of stuff to master that wasn't ready yet when making the FreeBSD Makefile changes. Sorry marco for the merges in the logs. This should revert everything back to how it was at d397399c349d36f611a5aac6fa53528d2fe2eaea.
* Include . and .. when building on FreeBSDJosh Rickmar2012-08-091-1/+1
|
* Make sure LOGIN_NAME_MAX is defined properly for FreeBSDJosh Rickmar2012-08-091-0/+2
|
* Merge in my about:allthethings toplevel changesJosh Rickmar2012-08-081-11/+20
|\
| * Don't recurse for toplevel windows and use proper glib foreachJosh Rickmar2012-08-081-11/+20
| | | | | | | | functions.
* | Merge in todd's about:allthethings changes for extra debugging.Josh Rickmar2012-08-082-104/+177
|\|
| * nix unused varTodd T. Fries2012-08-081-1/+0
| |
| * fix for() loop, s/settings/name of gtk widget/, nix main_windowTodd T. Fries2012-08-081-4/+11
| |
| * initial stab at toplevel window infozTodd T. Fries2012-08-081-0/+10
| |
| * breakout deeply nested function and comment soup sessionTodd T. Fries2012-08-082-97/+105
| | | | | | | | | | soup session will be exploded in about:allthethings once the warnings associated with exploding it are fixed
| * comment soup session bits for nowTodd T. Fries2012-08-081-0/+2
| | | | | | | | once the associated warnings go away, this can be re-enabled
| * cast warnings to oblivionTodd T. Fries2012-08-081-2/+2
| |
| * This diff munges and massages the show_g_object_settings functionTodd T. Fries2012-08-081-54/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | o move from 'var = g_value_get_foo(&value); valstr = g_strdup_printf("%XX", foo);' to 'valstr = g_strdup_printf("%XX", g_value_get_foo(&value));' .. shrinks code, no change in behavior o add G_TYPE_{{U,}CHAR,LONG} o introduce xt_append_settings() to simplify allthethings() and about_webkit() o rework output to look much more c like o spend way too much effort aligning the /* number flags=0x.... */ comments o compact output and be as c like as possible
* | Unref t->completion when deleting a tab to destroy the completionJosh Rickmar2012-08-071-0/+2
| | | | | | | | window.
* | Destroy a hidden arrow menu instead of simply unreferencing it. ThisJosh Rickmar2012-08-071-6/+10
| | | | | | | | | | keeps the toplevel window count from incrementing each time the arrow is clicked.
* | Only hide when switching switching tabsJosh Rickmar2012-08-061-4/+6
| | | | | | | | | | | | | | | | | | We need to hide t->cmd, t->oops, and t->buffers when creating a new tab, because when the tab is switched to, they are automatically hidden in the notebook callback. Removing this also prevents focusing the url GtkEntry when using middle click to create a new tab, since t->focus_wv would not have been set to 1 yet in the create_new_tab() function.
* | Attach t->cmd to the hide signal to focus t->wvJosh Rickmar2012-08-061-7/+12
|/ | | | | | Whenever t->cmd is hidden we need to make a decision about what to focus (in most cases, the webview). Before this may not have always happened if t->cmd was hidden and no focus was explicitly set.
* Fix reminder message on about:aboutJosh Rickmar2012-08-061-1/+1
| | | | | The browser needs to be restarted, not just "reloaded" (which could be misinterpreted as reloading the about page).
* Drop the insensitive background color for all insensitive widgets.Josh Rickmar2012-08-061-1/+1
| | | | | This makes the images for insensitive items in the right-click menus have the same look as in the toolbar.
* Sync preloaded HSTS list with ChromiumJosh Rickmar2012-08-061-0/+5
|
* Prevent expanding tabs when using the P keybinding.Josh Rickmar2012-08-021-0/+6
| | | | | | | | This change modifies the paste_uri function to change all newlines in the uri with spaces. This stops the new tab from expanding to twice it's correct height when using the P command, if pasting a link that contains any newlines (usually these would come from copying the newline out of a terminal).
* Add a :https commandJosh Rickmar2012-08-015-11/+149
|
* Distinguish between toplevel domains and FQDNs in whitelist code.Josh Rickmar2012-08-014-46/+47
| | | | | | | | | 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.
* Undo the backout of the changes made to xombrero.conf.Josh Rickmar2012-08-021-51/+51
|
* Backout all changes I've made to inputfocus.c.Josh Rickmar2012-08-024-236/+105
| | | | | | | It was likely something from one of these changes that introduced all of our focus bugs. We can reintroduce these commits again, much slower than as I first developed them, and see if the focus issues still appear.
* 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).
* Use the correct javascriptcoregtk on linux with gtk3.Josh Rickmar2012-07-181-1/+6
|
* sanity check better to fix a warning only perl on linux reports, how odd!Todd T. Fries2012-08-011-1/+1
|
* Re-add more google domains to the preloaded HSTS list. AccidentlyJosh Rickmar2012-07-311-0/+16
| | | | | removed these earlier as we had .google.com, which was later removed as .google.com was only there for cert pinning.
* Implement an about:runtime page and :runtime command to view andJosh Rickmar2012-07-3111-322/+1719
| | | | | | 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.
* Make the GTK3 tabs smaller like they were in GTK2.Josh Rickmar2012-07-301-0/+7
|
* More focus improvements. Disable the can-focus property for a lot ofJosh Rickmar2012-07-272-16/+44
| | | | | | widgets that should not be receiving focus, and try focusing the HTML body to try to prevent some of the focus bugs that have been popping up. No idea if this will solve our problems but they can't hurt.
* Add a force_https setting (using the same domain syntax as theJosh Rickmar2012-07-3111-11/+228
| | | | | | | | | | | | | | | 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.
* Oops broke the last commitJosh Rickmar2012-07-261-1/+1
|
* Another g_strdup_vprintf. No s/free/g_free/ here since the value isJosh Rickmar2012-07-261-1/+1
| | | | | never freed, and doesn't like it should ever be in case you want to see about:startpage again after closing it.
* vasprintf -> g_strdup_vprintfJosh Rickmar2012-07-261-2/+2
|
* missed a strdup() -> g_strdup()Todd T. Fries2012-07-261-1/+1
|
* two more free() -> g_free(); ok jrickTodd T. Fries2012-07-261-3/+2
|
* last free() -> g_free; ok marco@Todd T. Fries2012-07-261-2/+2
|
* Remove malloc callsJosh Rickmar2012-07-262-8/+7
|
* Prepare for release 1.2.2.Marco Peereboom2012-07-251-1/+1
|
* Enable DNT by default in whitelist mode.Josh Rickmar2012-07-252-1/+5
|
* Implement a do_not_track feature to set the Do Not Track HTTP header.Josh Rickmar2012-07-255-1/+35
|
* Fix marco's last commit so the donothing binary doesn't show warningsJosh Rickmar2012-07-243-2/+10
| | | | | with show_oops, and document how donothing behaves in the manpage and example conf.
* make warnx a show_oopsMarco Peereboom2012-07-241-1/+1
|
* Make this compile again with XT_DEBUG defined. Tsk tsk meJosh Rickmar2012-07-241-6/+6
|
* Always add the callback function to the soup message to enable HSTS ifJosh Rickmar2012-07-211-6/+6
| | | | | enable_strict_transport is set. Before, if referer_mode was set to XT_REFERER_ALWAYS, this code would never be run. Found by dhill.
* Oops, we don't want to blindly re-enter command mode if the oldJosh Rickmar2012-07-191-1/+0
| | | | focused entry is no longer active.
* Always be sure to check if t->active is still a valid entry beforeJosh Rickmar2012-07-191-11/+51
| | | | | | | | calling any DOM functions on it. It wasn't clear before, but the WEBKIT_DOM_IS_HTML_INPUT_ELEMENT() and WEBKIT_DOM_IS_HTML_TEXT_AREA_ELEMENT() macros also seem to work for this test, even after a DOM node has been destroyed and/or garbage collected.
* Modify the keybindings in the example config so they match the same asJosh Rickmar2012-07-182-59/+60
| | | | | | | | the keys[] structure in settings.c. Before, they were missing all the !'s to set the use_in_entry flag in struct key_binding. Also, change the behavior of command_mode to find the current active element and blur that instead of t->active (which was the "page's default" entry, set from javascript).