Christian Dywan
120f7440f6
Split connecting and adding tabs
...
This is necessary to correctly use Granite notebook API.
Fixes: https://bugs.launchpad.net/midori/+bug/1020346
2012-07-04 22:45:47 +02:00
Christian Dywan
f9d32072f4
Port dynamic notebook to API rewrite
...
Fixes: https://bugs.launchpad.net/midori/+bug/1019710
2012-07-03 00:27:48 +02:00
Paweł Forysiuk
262ded5222
Fix "view source" always being disabled on win32
2012-07-01 21:26:06 +02:00
Daniel P. Fore
6cdc67a21e
Replace threesomes of periods with ellipsises
...
Also updated all translations accordingly.
Fixes: https://bugs.launchpad.net/midori/+bug/1018065
2012-06-28 23:27:25 +02:00
Christian Dywan
d100604bba
Use a bigger icon for error pages
...
Fixes: https://bugs.launchpad.net/midori/+bug/699935
2012-06-28 22:52:22 +02:00
Christian Dywan
8ddc7ac787
Reset title when setting new URI
...
Otherwise there's a race until committed.
2012-06-28 22:02:12 +02:00
André Stösel
0ecfd696ba
Change "delay" to "-2" after delaying the page load.
...
This is needed in order to check the truth page status.
2012-06-11 23:35:59 +02:00
Christian Dywan
f71ebb53a9
mime_type shouldn't be const in webkit_web_view_download_requested_cb
2012-06-11 23:08:47 +02:00
Christian Dywan
4a4887b511
Find res in executable or build folder
...
We can drop the versioned filename.
2012-06-01 00:57:49 +02:00
Christian Dywan
94f729f6b3
Fallback for missing filename in midori_browser_save_uri
...
If there's only a path, eg. pastebin services do this, take
the URI as a fallback and add an extension if it makes sense.
2012-05-22 00:00:57 +02:00
Christian Dywan
650efa2aea
Get MIME type for description from content type
...
GIO needs content type. Users expect MIME.
2012-05-20 22:03:38 +02:00
Christian Dywan
9ee6612f62
Check download-mime-type which may not be set
...
Not all downloads go through MIME type policy.
2012-05-20 22:03:38 +02:00
Christian Dywan
fe72235e83
Show expected download size in dialog if available
...
Switch to using a GString to add lines as needed.
2012-05-20 18:15:39 +02:00
Christian Dywan
9fe40ad850
Guess MIME type (content type) if not known
2012-05-20 18:12:15 +02:00
Christian Dywan
4fb6292bb4
Back out GLib/ libSoup source work-around
...
Re-opened https://bugs.launchpad.net/midori/+bug/780133
2012-05-14 23:20:00 +02:00
Christian Dywan
81d2567226
Put webkit&soup and gtk&glib in the same line in about:
...
This makes pasting in a chat much easier.
2012-05-14 23:05:03 +02:00
Christian Dywan
8ba3053b41
Keep a reference on the geolocation decision
2012-05-14 23:05:03 +02:00
Christian Dywan
cd9bb96c44
Add missing view cast in webkit_web_view_mime_type_decision_cb
2012-05-13 23:42:06 +02:00
Alexander Strasser
f5dd1f9ab5
midori_view_set_uri: Work-around about:version crash
...
On some systems (e.g. x86_64 linux) midori crashes when
trying to visit "about:version".
The crash happens in some printf function deeper in the
call stack. But I have a theory that much stack space is
occupied already before calling g_strdup_printf. I have
not analyzed the situation more closely.
This fixes the crash by splitting the generation of the
version information page into multiple calls. If my theory
is correct, it should now only work because I reduced peak
stack usage.
2012-05-13 23:40:35 +02:00
André Stösel
184a664731
Option to open the focused frame in a new tab
...
Fixes: https://bugs.launchpad.net/midori/+bug/985850
2012-05-13 02:57:02 +02:00
Christian Dywan
654950f254
Work-around GLib/ libSoup source issue with downloads
...
Fixes: https://bugs.launchpad.net/midori/+bug/780133
2012-05-13 02:22:39 +02:00
Christian Dywan
23d51753fd
Handle NULL datasource in webkit_web_view_download_requested_cb
2012-05-13 02:22:39 +02:00
Christian Dywan
94c6fca20f
Use WebKitFaviconDatabase as of WebKit 1.8.0
...
Fixes: https://bugs.launchpad.net/midori/+bug/902456
2012-05-13 02:22:38 +02:00
Christian Dywan
32a480e80c
Use midori-prefixed temp folder in midori_view_save_source
2012-05-12 04:26:02 +02:00
Christian Dywan
b29e1278f9
Reset and update icon after checking main frame
...
Fixes: https://bugs.launchpad.net/midori/+bug/974783
2012-05-12 03:02:32 +02:00
Christian Dywan
e3e15973cc
Distinguish Simplified and Traditional Chinese
2012-05-11 23:48:47 +02:00
Martin Natano
0b8a080695
Refactor webkit_web_view_download_requested_cb
...
See: https://bugs.launchpad.net/midori/+bug/973646
2012-04-16 19:46:26 +02:00
Martin Natano
6cbf8031bf
Don't manually start download from request
...
See: https://bugs.launchpad.net/midori/+bug/973646
2012-04-16 19:41:41 +02:00
Martin Natano
d2059fcec1
Handle frame load interrupted in the unholy trinity
...
See: https://bugs.launchpad.net/midori/+bug/973646
2012-04-16 19:40:20 +02:00
Christian Dywan
2d9f3bbfcf
Move geolocation diagnostics to about:geolocation
2012-04-11 21:02:40 +02:00
Martin Natano
afd6b652c9
Handle delete event in mime_type_decision_cb
2012-04-10 22:33:26 +02:00
Christian Dywan
12d49e36c2
List available about: URLs in about:version
...
Strings are built with GString to avoid printf limits.
2012-04-10 22:26:55 +02:00
Christian Dywan
f76d538564
Make webkit_web_view_mime_type_decision_cb more explicit
2012-04-10 21:29:56 +02:00
Martin Natano
e0c021de3d
Replace illegal characters in filenames
...
Fixes: https://bugs.launchpad.net/midori/+bug/972931
2012-04-10 21:29:56 +02:00
Christian Dywan
cbec9bcb74
Include geolocation info in about:version
2012-04-04 22:55:23 +02:00
Christian Dywan
d7aafda6db
Re-use JSContextRef for about:version scripts
2012-04-04 22:36:00 +02:00
Christian Dywan
79942f24aa
Fallback midori_view_search_text to overlay
2012-03-31 03:33:00 +02:00
Christian Dywan
19f6fefe9b
Introduce midori_view_get_for_widget
...
Analogous to midori_browser_get_for_widget.
2012-03-25 19:35:58 +02:00
André Stösel
f7d85602f8
Due to GtkOverlay there's another parent widget
2012-03-25 18:39:32 +02:00
André Stösel
a695a91410
Ctrl + middle click is handled twice
...
Ctrl middle click set the zoom level to 0 but it is supposed to open
a link (selected text) in a new tab, too
If a link is selected it should open and otherwise set the zoom level to 1.0.
So if you click on a link with Ctrl + middle click
you get a new tab and your zoom isn't changed.
2012-03-22 22:18:47 +01:00
Peter Hatina
357187e264
Context menus on Back and Forward toolbar items
...
Fixes: https://bugs.launchpad.net/midori/+bug/699991
2012-03-22 22:10:17 +01:00
André Stösel
90eaea3dca
Double-check that view->selected_text is set
...
Sometimes view->selected_text isn't set even if
context has WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION
2012-03-22 21:29:52 +01:00
Christian Dywan
d98edca5f2
Fix one more missing check in midori_view_save_source
2012-03-19 19:09:32 +01:00
Christian Dywan
5aa526d106
Show app instance name in about:version
2012-03-18 14:14:09 +01:00
Christian Dywan
e75b814432
Show inline find while typing in an overlay
2012-03-18 14:06:13 +01:00
Christian Dywan
f3af1983ed
Don't modify const gchar* in midori_view_get_uri_extension
...
Fixes: https://bugs.launchpad.net/midori/+bug/957678
2012-03-18 09:32:32 +01:00
Christian Dywan
a3d8a5aa94
midori_view_save_source needs to handle data == NULL
...
Fixes: https://bugs.launchpad.net/midori/+bug/957674
2012-03-18 09:32:32 +01:00
André Stösel
ee8824b93b
Show statusbar text in overlay instead of urlbar
...
If the statusbar is hidden in GTK+ 3.2 or newer the
text appears in an overlay on the view.
midori_view_set_overlay_text sets the overlay label.
2012-03-18 09:32:32 +01:00
Lucas Baudin
9f6c4d3e03
Initial Granite.Widgets.DynamicNotebook support
...
The always-show-tabbar is ineffective if we have Granite
and 'Add Tab' won't appear in the toobar.
Modified patched.
2012-03-14 21:48:37 +01:00
Christian Dywan
09c041f740
Optionally use Granite and show in about:version
...
See bzr branch lp:granite
See: https://bugs.launchpad.net/midori/+bug/898497
2012-03-14 21:02:16 +01:00