Christian Dywan
6411603058
Fix one too many argument in handle_link_hints
2012-07-05 22:09:34 +02:00
Christian Dywan
66a47613b0
Implement "Readable" which applies readable.css
...
The initial code comes with no stylesheet.
2012-07-05 21:56:40 +02:00
Joe Nahmias
21b643c825
Handle link hints that use an accessKey
...
Fixes: https://bugs.launchpad.net/midori/+bug/927277
2012-07-05 00:44:10 +02:00
Joe Nahmias
e1fe41f3d7
Refactor handling of link hints
2012-07-05 00:43:57 +02:00
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
Christian Dywan
d94da1f69d
Show at most 3 search engines in completion
...
If that's not enough, 'Search With...' appears.
2012-03-14 00:24:42 +01:00
Christian Dywan
ecbc8d0772
Recognize open search description links
2012-03-13 20:04:46 +01:00
Christian Dywan
5e2b7fdca7
Always use var in javascript for loops
...
Otherwise it may re-use global functions.
2012-03-11 22:29:41 +01:00
Christian Dywan
c6bdd62f67
Correctly skip link items if there is no |
...
Parsing will still ignore items containing a , anywhere.
2012-03-11 21:38:02 +01:00
André Stösel
85c2f4a8e1
Handle download request in frames
2012-03-09 01:28:27 +01:00
André Stösel
2837494ade
Display file name in download dialog
2012-03-06 21:39:29 +01:00
Christian Dywan
4f180216a1
Fix declaration and deprecation warnings
2012-03-06 01:12:20 +01:00
Christian Dywan
4beffc57e9
Avoid string copies in webkit_web_view_load_finished_cb
2012-03-05 22:34:46 +01:00
Christian Dywan
7c7be5644d
Honor site data policy when requesting HTML5 databases
...
See: https://bugs.launchpad.net/midori/+bug/767442
2012-02-26 00:03:15 +01:00
Christian Dywan
307c79274d
Replace libunique/ hildon line with single instance
...
Only one can be used at any one time.
2012-02-26 00:03:14 +01:00
Tomasz Szatkowski
127595f527
Close tabs by middle clicking on close button
...
Fixes: https://bugs.launchpad.net/midori/+bug/936317
2012-02-25 03:03:58 +01:00
Christian Dywan
1488301535
Spacing and use ascii checkmarks for codecs in about:
2012-02-25 02:42:50 +01:00
Christian Dywan
18b6b48ef5
Abstract availability of Netscape plugin support
...
Disable if MOZ_PLUGIN_PATH is / or MIDORI_UNARMED.
2012-02-25 02:06:46 +01:00
Christian Dywan
b20a1e7efd
Pick fallback extension based on MIME type
2012-02-19 22:57:45 +01:00
Christian Dywan
f549824b66
Move data source saving into MidoriView
2012-02-19 22:43:38 +01:00
Christian Dywan
cc7cf39150
Unify getting an image for an item
2012-02-14 00:24:22 +01:00
Christian Dywan
8b766ca2a8
Ensure consistent fallback for no MIME type
2012-02-11 04:55:36 +01:00
Christian Dywan
15fd840a9d
Split midori_view_unset_icon from _update_icon
2012-02-11 04:27:57 +01:00
Alexander Butenko
01f6279a92
Load icons without indirection and no extra passes
2012-02-11 01:33:46 +01:00
Christian Dywan
f0c4b3d538
Return saved boolean from button_press in button_release
...
It may or may not happen that WebKit reacts on clicks
regardless of the boolean returned in button_press, as
a work-around button_release returns the same value now.
Fixes: https://bugs.launchpad.net/midori/+bug/707024
2012-01-29 19:14:24 +01:00
Christian Dywan
fe1b21a73f
Re-order about:private, no title case, no URI
2012-01-27 23:08:42 +01:00
Christian Dywan
ce527689c6
Split about.css from error.html for about:private
2012-01-27 23:06:37 +01:00
Christian Dywan
f1e168b569
Implement informative text for private browsing
...
Internally about:private is shown when private browsing
is invoked without any URLs.
Fixes: https://bugs.launchpad.net/midori/+bug/768572
2012-01-27 21:42:04 +01:00
Christian Dywan
41a0ab4bc7
Add missing > when generating about:widgets
2012-01-19 01:39:38 +01:00
Peter Hatina
b045c01d06
Implement Open in Image Viewer menu item
...
Add helper functions to handle filenames:
midori_browser_download_prepare_destination_uri
midori_browser_download_prepare_filename
Fixes: https://bugs.launchpad.net/midori/+bug/699992
2012-01-13 23:53:09 +01:00
Alexander Butenko
b850dd3da2
Reduce URL copying in _midori_web_view_load_icon
2012-01-06 01:48:22 +01:00
Christian Dywan
1bff3b12a3
Introduce midori_view_always_same_tab to include mailto
2012-01-06 01:41:05 +01:00
Alexander Butenko
20228cfdd6
Open all Javascript: links in same tab and adjust menu
2012-01-06 01:26:52 +01:00
Christian Dywan
bf7cfa902c
Handle = key for inline search in Ukrainian layout
...
Fixes: https://bugs.launchpad.net/midori/+bug/715082
2012-01-03 22:12:30 +01:00
Christian Dywan
5261fdcf87
Multi file upload and slider fallback to widget demo
2012-01-03 20:18:07 +01:00
Christian Dywan
6d68f52b8e
Inspector should use same icon name as browser
2012-01-03 20:18:07 +01:00
Christian Dywan
c242639558
Allow hiding of titlebar when window is maximized
2012-01-03 20:18:07 +01:00
Christian Dywan
34c7d601c6
Always unset delay on about: pages
...
These pages are not affected by delay but going to
a different page will honor the still set delay.
2011-12-18 02:12:36 +01:00
Paweł Forysiuk
ee055334ce
Implement dragging of speed dial shortcuts
2011-12-18 01:51:10 +01:00
Christian Dywan
d20f05f9a6
Use classes in widget demo including file controls
2011-12-17 22:50:57 +01:00
Christian Dywan
46f94eddf5
Use appearance in widget demo instead of colors
2011-12-17 21:45:13 +01:00
Christian Dywan
11cfe7db2b
Fix progress element in demo and add missing comma
2011-12-17 20:23:01 +01:00
Christian Dywan
d3a065c259
Implemment about:widgets page for HTML5 widgets
2011-12-17 19:09:27 +01:00
Christian Dywan
568461c6c5
Set appropximate minimum size on inspector
...
Fixes: https://bugs.launchpad.net/midori/+bug/867582
2011-12-17 11:18:01 +01:00
Christian Dywan
de26c19a01
Undo 'Refactor icons handling. Reducing strdups, improve memory cache usage'
...
That change was unstable and is better revisited after release
2011-12-17 10:40:23 +01:00
Christian Dywan
1984c69d07
Use previously cached icon in error pages
...
This notably includes delayed pages.
2011-12-16 00:55:07 +01:00
Alexander Butenko
9e5fb1ef27
Refactor icons handling. Reducing strdups, improve memory cache usage
2011-12-16 00:55:07 +01:00
Alexander Butenko
b32d0d86dc
Speeddial MIME type is text/html
2011-12-15 04:29:44 +01:00
Christian Dywan
1966875e98
Correct accidental _modify_fg rather than _text
...
Fixes: https://bugs.launchpad.net/midori/+bug/904276
2011-12-15 04:29:44 +01:00
Christian Dywan
9a45f8976e
Distinguish a view that can be saved, view source
...
Looking at the data source determines if there's a
way to save the data. The prime use case is having
images in tabs.
Fixes: https://bugs.launchpad.net/midori/+bug/903499
2011-12-14 01:37:14 +01:00
Christian Dywan
7e50bb18f8
Set minimize property from item when creating view
...
Fixes: https://bugs.launchpad.net/midori/+bug/903325
2011-12-14 01:15:26 +01:00