Commit graph

2337 commits

Author SHA1 Message Date
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
Christian Dywan
cd238fa46e Add sentinel in midori_browser_edit_bookmark_dialog_new 2012-05-13 23:41:46 +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
Christian Dywan
fb6b01759d Calculate action name length for --help-execute
Fixes: https://bugs.launchpad.net/midori/+bug/998597
2012-05-13 04:46:29 +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
89bae74a32 MIDORI_EVENT_NEW_TAB must check evt != NULL
In Ubuntu 12.04 Unity global menu evt is NULL
2012-05-13 02:22:38 +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
Vincent Cappe
cb8b27f14e Enable SQL tracing on the bookmark db
If built with G_ENABLE_DEBUG and the MIDORI_BOOKMARKS_DEBUG variable
is set, all SQL queries on the bookmark db will be printed to stderr.

See: https://bugs.launchpad.net/midori/+bug/983821
2012-05-12 04:05:54 +02:00
Vincent Cappe
45ac40d614 Move bookmarks code out of midori/main.c 2012-05-12 04:03:14 +02:00
Christian Dywan
bc967c5563 On X11 display name :0 is equivalent to :0.0
Fixes: https://bugs.launchpad.net/midori/+bug/874719
2012-05-12 03:21:01 +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
5b4759c045 Fix tooltip and icon left-over from security icon changes 2012-05-11 23:49:31 +02:00
Christian Dywan
e3e15973cc Distinguish Simplified and Traditional Chinese 2012-05-11 23:48:47 +02:00
Christian Dywan
1ce2a57f4b Use go-jump-symbolic for 'Go to' if available
Fixes: https://bugs.launchpad.net/midori/+bug/772106
2012-04-21 22:55:37 +02:00
Christian Dywan
e29af0b634 Only show 'go to' in location to indicate focus
Fixes: https://bugs.launchpad.net/midori/+bug/699965
2012-04-21 22:55:37 +02:00
Christian Dywan
1a5f96013d Render security status on the left side, no favicon
Fixes: https://bugs.launchpad.net/midori/+bug/906575
2012-04-21 22:55:37 +02:00
Martin Natano
7e04c76bce Handle empty tabs due to download links with a target
Fixes: https://bugs.launchpad.net/midori/+bug/973646
2012-04-16 19:55:09 +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
Peter Hatina
410eabea40 Focus search bar tab according to background option
Fixes: https://bugs.launchpad.net/midori/+bug/777510
2012-04-16 19:22:39 +02:00
Paweł Forysiuk
182268a82b Work around black border around widgets on Win32 2012-04-14 03:28:11 +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
Paweł Forysiuk
3a833296b0 Use ShellExecuteEx in sokoke_show_uri on Win32
An 'Open With' dialog opens if needed.
2012-04-06 20:20:01 +02:00
Christian Dywan
461c3ad440 Use sokoke_show_uri in midori_browser_download_status_cb
On Windows plain GLib is not smart enough.
2012-04-06 16:52:55 +02:00
Christian Dywan
f62964264e Don't ever pass NULL to soup_uri_set_path (not _new)
Follow-up on https://bugs.launchpad.net/midori/+bug/930630
2012-04-06 15:48:53 +02:00
Christian Dywan
c4d1a96ca4 Don't ever pass NULL to soup_uri_new
Fixes: https://bugs.launchpad.net/midori/+bug/930630
2012-04-05 23:26:19 +02:00
André Stösel
d0ef9c6575 New property "key" for Midori.Extension object
This property is needed if the module contains more than one extension.

Add properties "website" and "key" to the vapi.

If the extension has a key, it should be used as part of the config filename.
2012-04-05 22:43:58 +02:00
Christian Dywan
4d311a9d4b Typo fix downlaod/ download
Fixes: https://bugs.launchpad.net/bugs/973492
2012-04-04 23:00:08 +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
1f56e0af6f Don't enforce tabbar in app mode 2012-04-04 21:49:29 +02:00
Christian Dywan
b838023289 Deprecate redundant midori_findbar_find 2012-03-31 03:36:00 +02:00
Christian Dywan
79942f24aa Fallback midori_view_search_text to overlay 2012-03-31 03:33:00 +02:00
Alexander Butenko
3e0dc32017 Use sqlite WAL mode for history if available 2012-03-31 03:28:06 +02:00