| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
The browser needs to be restarted, not just "reloaded" (which could be
misinterpreted as reloading the about page).
|
|
|
|
|
| |
This makes the images for insensitive items in the right-click menus
have the same look as in the toolbar.
|
| |
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
|
| |
removed these earlier as we had .google.com, which was later removed
as .google.com was only there for cert pinning.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
never freed, and doesn't like it should ever be in case you want to
see about:startpage again after closing it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
with show_oops, and document how donothing behaves in the manpage and
example conf.
|
| |
|
| |
|
|
|
|
|
| |
enable_strict_transport is set. Before, if referer_mode was set to
XT_REFERER_ALWAYS, this code would never be run. Found by dhill.
|
|
|
|
| |
focused entry is no longer active.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
invisible on windows, and add some additional inline CSS hacks for
Windows into the source to beautify the tabs a bit. With this change,
we should be ready to re-enable the default windows gtk3 theme instead
of disabling user themes.
|
| |
|
|
|
|
|
| |
being respected for the statusbar eventbox and the statusbar was not
being colored properly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when the spinner is shown. Doing this in a way so that the text
doesn't bounce around when the spinner is shown and hidden requires a
ugly ugly hack of giving the label a fixed size instead of letting the
GtkBox give it an appropiate width, but afaik this isnecessary (and
the old gtk2 code was using the same hack).
While in here, give the Arrow name to the arrow button itself and not
the GtkArrow it holds, and remove the .button#Arrow CSS as we don't
want to remove the border from this button, only the tab close and
fancy_bar buttons.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
With this change, external_editor should now be able to edit HTML
input elements on Windows.
|
| |
|
| |
|
| |
|
|
|
|
| |
on about:about.
|
| |
|
|
|
|
| |
entirely if we activate 'set show_scrollbar=0'
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correctly in GTK3, maybe it was turned into a windowless widget) and
instead use a GtkEventBox behind the compact tab bar. Give this
GtkEventBox the same background color as the old separator, and put a
2 pixel spacing gap between each compact tab. This simplifies the
code required to paint these separators, and works for both GTK2 and
GTK3.
* * *
Call gtk_label_set_ellipsize() on the compact tab labels. This
prevents the main window from forcefully expanding when there's not
enough room for all of the compact tab labels.
|
|
|
|
| |
warning to about:startpage. While in here, clean up some #ifdefs.
|
|
|
|
|
| |
(keep current behavior) for gui_mode = normal, and disable for
gui_mode = minimal. Requires GTK3.
|