| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The url is shown in the URL entry so we are able to edit it,
it gives us another feedback hint which page could not be loaded
and if you connect to the Internet after that we can reload
the page.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When Browse starts it shows just one tab sized half of the whole
canvas. Every time a new tab is added they are resized and expanded
over the full canvas width to make them fit. Once the 9th[1] tab is
reached, all of them keep the same size and two buttons are added
to be able to scroll over them.
[1] this decision was taken here 959f86e0406914267047dc10302f98a059b6ba21
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
| |
This is safer because the space could be used for separating the parts
of the user agent. The change in ASLO has been made:
http://git.sugarlabs.org/slo-activities/mainline/commit/f0299da4794371ac5cc4df15be2e8b965313ecf8
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This error is raised when the mimetype policy suffers a change. When
this happens __load_error_cb is called and we were showing the error
page in any case.
With this patch that case is properly handled in __load_error_cb and
the error page is not shown on the current tab. In fact, we keep the
same page where the user clicked the link in the tab.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user right clicks over a link, an image or selected text the
Sugar's Palette is shown with the proper menu's items for each case.
There are 4 possibilities. When the click is done over:
- Link:
- Title and subtitle (if they are availables)
- title is the content text of the link
- subtitle is the uri
- Copy link (copy the link into the clipboard)
- Keep link (download the .html to the Journal)
- Follow link in new tab (open a new tab with the url pointed)
- Follow link (follow the link inside the current tab)
- Image:
- Title and subtitle (if they are availables)
- title is the "title" property of the <img>
- subtitle is the uri
- Keep image (download the image to the Journal)
- Copy image (copy the image into the clipboard)
- Image with a link:
- Title and subtitle (if they are availables)
- title is the "title" property of the <img>
- subtitle is the uri
Same Items than "Link" option
- Selected Text:
- Title and subtitle (not implemented because the function
webkit_web_view_get_selected_text was removed:
https://bugs.webkit.org/show_bug.cgi?id=62512)
- Copy text (copy the text into the clipboard)
Signed-off-by: Simon Schampijer <simon@laptop.org>
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
Added an 'X' to clear the url entry easily. This button is shown when
the url entry has focus and the user is not reading a .pdf
webpage. When the focus is left the icon changes again to the correct
one (reload, stop loading or none)
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
| |
The Title of the current page is no longer shown in the URL
entry. Now, it's only shown in the tab and the current URL is visible
all the time in the URL entry.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Added an "Error page" with Sugar style that informs the users about
the the page could not be loaded for any reason.
This patch contains a HTML template (error_page.tmpl) that is used to
generate the error page with the correct language.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Show WATCH Cursor when the page is loading and LEFT_PTR when the load
finishes.
This changes take in consideration the tab that the user is watching,
so the cursor refers to the state of the current browser / tab.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
New functionality to go back to the original zoom value. Added
an icon next to zoom properties in View Toolbar. This function
can be used with the hotkey "Control + 0" as well.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The run-file-chooser signal can be used to intercept a request
for a file upload and display a custom file chooser.
We want to do this to allow the user to upload files from the journal.
By default, the standard GTK+ file chooser was being shown.
run-file-chooser is present in WebKit2 and has been submitted for
final review for inclusion in WebKit1.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Browse has to restore the previous title in the tab and in the URL
entry when the loading finishes with WEBKIT_LOAD_FAILED status.
This fixes bug #3620 in Sugarlabs trac. The WEBKIT_LOAD_FAILED
status is reached in the current webview when the loading is
manually handled in the mime-type-policy-decision-requested callback.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Tested-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|