| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This displays pages based on your locale information e.g. 'google.com'
will be in French when your locale is set to 'fr'. We use our
associated SoupSession to set the "accept-language-auto" property [1]
which will set the 'accept-language' header when making requests based
on the return value of g_get_language_names() [2]. This does
replace our custom code that did determine the locale information
and the 'intl.accept_languages' [3] property before.
[1] http://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--accept-language-auto
[2] http://developer.gimp.org/api/2.0/glib/glib-I18N.html#g-get-language-names
[3] http://kb.mozillazine.org/About:config_entries#Intl.
Signed-off-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brings back the download functionality to
Browse using WebKit, it handles the cases when you
click on a link and the Browser is not setup to view
this file.
Requesting a download through Palettes is still to
come.
The code is inspired by the download code in Surf.
Signed-off-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
| |
'_shared_activity' has been deprecated use 'get_shared_activity()' now.
Signed-off-by: Simon Schampijer <simon@laptop.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
When hovering over a link we show the link information at
the lower left corner, like Epiphany does. Needs styling
to be eve nicer.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
| |
The sqlite backend to store the global history is maintained. There
are two fields in the database that are left unused: bookmark and
gecko_flags.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
| |
The thumbnails are now made with Cairo.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
The webkitgtk API [1] does return None if the title is not
set. Adopt to that change.
[1] http://webkitgtk.org/reference/webkitgtk-webkitwebview.html#WebKitWebView--title
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the review from Simon Schampijer of commit
14102bcd65f015dcbf12d1406df8ef7ffb64d13d .
* the sessionstore code is moved into Browser, we do have
set_history_index/get_history_index already there, the TabbedView
does use that path for their requests about the history
* Rename a few bits s/session/history and the return value from
self.get_back_forward_list() Use back_forward_list as variable
* Fold _get_history and _set_history into their appropriate 'mother'
methods
* Make set_history_index a bit cleaner, the API provided by webkitgtk
does not seem to cleanly allow our usage like:
get_current_item_index and go_to_back_forward_item(index) also the
API does seem to miss a back_forward_list.get_length() (see the code
we have to do in _items_history_as_list) there only exist a
back_forward_list.get_back_length() and
back_forward_list.get_forward_length().
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
| |
For going to a specific item in the history, it uses go_back() method
of WebKit.WebView. I tried also with WebKit.WebHistoryItem go_back(),
seemed the proper solution, but the page wouldn't update.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- Added logging in the keystrokes
- Changed Gdk.EventMask.CONTROL_MASK for Gdk.ModifierType.CONTROL_MASK,
it was badly converted by the pygi-convert.sh script in commit
dec602fda0890bdbfb121107b9bb39f7954a9cd5
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
| |
Using pyflakes to check.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
| |
This commit breaks a lot of Browse functionality. This is marked in
the code with a FIXME keyword.
Original work was done by Daniel Drake.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
| |
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
| |
Was done running the pygi-convert.sh script.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
| |
Reviewed-by: Manuel Quinones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Add Tab button has been relocated next to the tab labels, allowing
more space for the URL entry.
Tabs are always shown. There is at least one tab. In that case, it
cannot be closed. We prevent the closing by hiding the 'X' button.
Also, the close image was sugarized.
There is now a fixed width for tabs. The label text does ellipsize.
The width depends on the amount of tabs. There is a maximum size that
is used when there is extra space. There is a minimum size to prevent
hiding the information.
When a new tab is opened, it now shows an empty page, not the default
page. In the future, we will add a hint in this empty page, similar
to what we have for an empty Journal.
Added the option to "follow link in new tab" in the link's palette.
Added an icon for this item, and also the icon for "follow link" is
also updated.
When a new tab is opened via the '+' button, the focus goes to the URL
entry in the toolbar.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
| |
Fixes regression introduced by e15a091101223456dc770b9b5e02db8146d05da8
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
When Browse starts removes all files in the instance directory that where not modified in a long time(1 day).
Since there is no way to pause a download and continue later, this files are failed downloads that should be eliminated.
this is the ''cache'' case of an already fixed issue, by Jose Prous joseprous@gmail.com
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With todays plethora of sites using passwords for authentication a password
manager in the browser is important not just for convenience, but also for
security. Most humans can't remember more than a few secure passwords.
Without storing passwords in the browser they use weak passwords and/or the
same password for many sites.
Passwords are stored unencrypted by default. This is consistent with the
security model of most deployments (no login passwords either).
Individual users can set a password by accessing the internal URL
chrome://pippki/content/changepassword.xul . However this password needs to
be entered once per Browse session. Solutions like disk encryption that are
at the same time more convenient (a single password per login) and more secure
(all data gets encrypted, not just passwords to websites).
The UI isn't pretty [1], but we can still improve on that later on.
[1] http://wiki.sugarlabs.org/go/File:Browse-save-password.png
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
|