Commit graph

688 commits

Author SHA1 Message Date
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
Christian Dywan c522706d63 Only copy icon_uri when needed in _midori_web_view_load_icon 2011-12-14 00:03:02 +01:00
Christian Dywan c8b19b2eeb Avoid copying of strings and making tiny allocations 2011-12-11 02:57:04 +01:00
Christian Dywan c4cf5affc5 Ensure title from item is set and uri can be NULL 2011-12-11 02:52:37 +01:00
Christian Dywan cd05d0a351 Use new _with_item constructor everywhere 2011-12-09 21:01:29 +01:00
Christian Dywan c44f76abb9 Avoid setting the same URI on the item given 2011-12-07 23:19:32 +01:00
Christian Dywan 64f9028eea Handle 'append' as meta, neither object data nor argument
This is more in line with 'dont-write-history' and 'delay'.
2011-12-07 23:15:04 +01:00
Christian Dywan bd3c1b50fb Handle 'delay' without the pseudo pause: scheme
Behavior change: Tabs won't remain delayed beyond the session.
If some users rely on this, it will need discussion.
2011-12-07 23:08:11 +01:00
Christian Dywan 6143654279 Introduce and use midori_view_new_with_item 2011-12-07 21:27:38 +01:00
Alexander Butenko 42387e9b8b Remove conext-ready signal from browser and view 2011-12-07 20:34:11 +01:00
Alexander Butenko 312d321ff9 Skip window_object_cleared in non-http-frames 2011-12-07 20:30:42 +01:00
Christian Dywan f50ec92a81 Print cairo versions in about:version 2011-12-01 20:04:32 +01:00
Christian Dywan 59b3d9319c Implement midori_view_web_view_get_snapshot for GTK+ 3 2011-11-20 22:36:55 +01:00
Christian Dywan 0d2a6cd72f Sort out boxes and scrollables with GTK+ 3.2
There is only GtkBox, neither GtkHBox nor GtkVBox.

Constructors and defaults have changed, we need
to set "orientation" for vertical boxes.

The panel takes care of its pages, and the view
of itself.

gtk_container_add on GtkBox is different to GtkVBox
so we must use gtk_box_pack_start.

GtkScrollable exists as a proper interface now.
2011-11-20 22:14:30 +01:00
Christian Dywan 963747523e Retain 'settings' group and highest slot for empty 2011-11-18 23:54:49 +01:00
Christian Dywan 1515b1e8d9 Only show one empty speed dial shortcut at the end
And discard invalid groups automatically.
2011-11-18 22:34:56 +01:00
Christian Dywan e0168e5a94 Undo "Don't show empty speed dial shortcuts in-between"
This needs more work. The way it is, dial count is broken.
2011-11-18 21:21:50 +01:00
Christian Dywan 4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan 524a4bb0a7 Fix compilation broken by wrong speed dial change 2011-11-15 22:42:03 +01:00
Christian Dywan 8ecfdd701e Don't show empty speed dial shortcuts in-between
It is confusing a lot of users.
2011-11-15 21:13:49 +01:00
Christian Dywan 52ae8c90e8 Define navigator.javaEnabled and .mimeTypes
In private browsing 'navigator' is overridden.
2011-11-15 18:34:19 +01:00
Peter Hatina 9572ff99cc Hide all bars in fullscreen and a menu to Unfullscreen
Fixes: https://bugs.launchpad.net/midori/+bug/783675
2011-11-11 01:22:15 +01:00
Christian Dywan a762ba5a16 Only look for missing speed dial thumbs in the first pass
Otherwise updating after loading a thumb may trigger an
infinite loop by looking for the very same thumb again.
2011-11-10 23:17:18 +01:00
Paweł Forysiuk db51b7d575 Center speed dial via percentual margin 2011-11-10 22:24:21 +01:00
Christian Dywan 6f6a57a623 Undo "Don't queue thumbs already waiting, 5 seconds timeout"
For now the behavior isn't reliable enough and should
be investigated more.
2011-11-10 19:45:23 +01:00
Christian Dywan eed822dc8b Add gtk_image_menu_item_set_always_show_image to gtk3-compat.h 2011-11-08 22:42:02 +01:00
Christian Dywan 0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Christian Dywan 90410efa5d Render home in command line as ~ in about:version 2011-11-01 00:29:31 +01:00
Christian Dywan 686fee50b7 Colons after each video format in about:version 2011-11-01 00:28:41 +01:00
Christian Dywan 8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Christian Dywan 42c1b70c7d unique, notify, and system details in about:version
Introduce midori_web_settings_get_system_name helper.

Add version numbers for libunique and libnotify if available.

Show platform and architecture if possible.

Merge debug string into the full version number.

Render video formats as a one-liner.
2011-10-31 04:01:41 +01:00
Christian Dywan 55227d2a3b Don't queue thumbs already waiting, 5 seconds timeout 2011-10-31 04:01:41 +01:00
Christian Dywan 0c69e6ff64 Define MidoriLoadStatus as alias to WebKitLoadStatus 2011-10-30 14:29:04 +01:00
Christian Dywan 6bb66ed111 Queue thumbnails for speed dial, and load if missing 2011-10-29 03:33:43 +02:00
Christian Dywan a25c34e280 Support res directly in sokoke_find_data_filename
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan cd8cb11ea2 Check that selection range count is not 0
Fixes: https://bugs.launchpad.net/midori/+bug/883157
2011-10-28 23:14:25 +02:00
Christian Dywan be04be8303 Introduce and use Midori.URI.is_http
Also make further uses of Midori.URI.parse.
2011-10-28 22:49:10 +02:00
Paweł Forysiuk 948301f086 NULL-check new speed dial titles to avoid "(null)" 2011-10-27 23:20:10 +02:00
Paweł Forysiuk 6f41311242 No need to handle thumb size when saving speed dial 2011-10-27 20:12:45 +02:00
Paweł Forysiuk 3c116eab7e Use versioned speed dial template filename 2011-10-25 01:22:30 +02:00
Christian Dywan 990b6b77bd Look for localized "next page" link and unify code 2011-10-25 01:22:29 +02:00
Christian Dywan b360541552 Use CSS style fixup to tweak tab size with GTK+ 3
For consistency, an analogous GtkRc snippet is used with GTK+ 2.

Based on a patch by Lucas Baudin.

Fixes: https://bugs.launchpad.net/midori/+bug/871085
2011-10-21 02:44:01 +02:00
Christian Dywan 77428fe44c Introduce Midori.URI to unitfy all URI logic
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02:00
Paweł Forysiuk a12a8e26d6 Re-add enter_shortcut_name placeholder in speeddial-head.html
It is used in renaming dialog
2011-10-20 19:14:27 +02:00
Christian Dywan 30f4225cd9 Work-around libSoup not setting a proper directory title
Fixes: https://bugs.launchpad.net/midori/+bug/872123
2011-10-19 09:26:58 +02:00
Christian Dywan 2bb7fe3c2d Rework --run feature based on a hidden browser
Scripts can use console.info to print and create new
windows to have a UI or open websites.

Internal "pass-through-console" is introduced to print
all messages to the console.

Fixes: https://bugs.launchpad.net/midori/+bug/875318
2011-10-19 09:15:47 +02:00
Paweł Forysiuk 7b4f2254ff No need to check for rows and columns in speed dial now 2011-10-17 02:47:56 +02:00
Christian Dywan 756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +02:00
Christian Dywan edb01a11f6 Speed dial should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan 2f40eee0a5 Only show close in speed dial if it can be saved
And un-negate return value of sokoke_is_app_or_private().
2011-10-11 02:48:47 +02:00
Christian Dywan 7bd92bc67c Set speed dial shortcut title without asking 2011-10-11 01:53:12 +02:00
Paweł Forysiuk a5ea7607d4 Properly position speed dial close and show on hover 2011-10-11 01:52:39 +02:00
Christian Dywan be6d6932f8 Avoid allocating empty mime_type and news_feeds 2011-10-10 21:58:19 +02:00
Christian Dywan d013cc85a9 Use goto to not leak parts in midori_view_update_icon 2011-10-10 21:55:12 +02:00
Paweł Forysiuk 5eb5663cf6 Implement embossed speed dial with custom close buttons
The close button position is wrong.
2011-10-10 01:38:39 +02:00
Christian Dywan 73354dbbab Use GtkOffscreenWindow for speed dial thumbnails
Fixes: https://bugs.launchpad.net/midori/+bug/736427
2011-10-09 14:31:27 +02:00
Paweł Forysiuk 76a9bc38ff Introduce and use midori_view_save_speed_dial_config 2011-10-07 21:07:21 +02:00
Lucas Baudin b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Lucas Baudin b46db9b170 Use DOM API to get selected text in WebKitGTK+ 1.4.3
Related to https://bugs.launchpad.net/midori/+bug/799603
2011-10-05 20:51:18 +02:00
Christian Dywan 76a8f160f2 Close inspector with Ctrl+W just like a tab
Fixes: https://bugs.launchpad.net/midori/+bug/797865
2011-09-28 18:01:51 +02:00
Christian Dywan b8c707f1cb Fix bogus semicolon in midori_view_set_uri 2011-09-22 00:27:55 +02:00
Christian Dywan 648d869e4f Use DOM API to get selected text in WebKitGTK+ 1.5.1
Fixes: https://bugs.launchpad.net/midori/+bug/799603
2011-09-21 23:50:51 +02:00
Christian Dywan bac3dc1842 Introduce MIDORI_EVENT_CONTEXT_MENU in midori-platform.h
The new header contains all state and event handling.
2011-09-21 23:04:20 +02:00
Paweł Forysiuk c1321b0072 Remove spurious slot_id variable fom prepare_speed_dial_html 2011-09-14 01:39:14 +02:00
Christian Dywan a51f70e33a Repack the alignment of the tab close button
Fixes: https://bugs.launchpad.net/midori/+bug/827089
2011-08-18 18:08:24 +02:00
Paweł Forysiuk 3e2e8906fb Remove leftover version guards for WebKit > 1.1.17 2011-08-15 22:56:38 +02:00
Paweł Forysiuk c5151ff09a Clean up usage of pseudo-uris in special pages 2011-08-15 21:30:22 +02:00
Paweł Forysiuk 5a0e6099c3 Drop res_root argument from midori_view_load_alternate_string.
It is never actually used in the function body.
2011-08-08 15:32:48 +02:00
Paweł Forysiuk aeef4e4ee3 Use static variable to store speeddial markup.
While it does not make anything faster, it causess way less I/O.
2011-08-08 15:30:38 +02:00
Paweł Forysiuk 1cdda41b59 Measure the whole load time not just preparing speed dial markup 2011-08-08 15:26:59 +02:00
Christian Dywan a3ab258819 Don't show startup preference in private browsing
Introduce sokoke_is_app_or_private helper function.
2011-08-04 23:59:16 +02:00
Christian Dywan 504188151e Mention online FAQ if documentation is not installed 2011-08-02 00:02:00 +02:00
Paweł Forysiuk 630e23412a Resurrect KatzeNet-based page icon loading
Accidentally removed as part of 0dbee646b7 .
2011-08-01 21:57:59 +02:00
Christian Dywan 053dcb98ca Return empty string if there's no speed dial
'markup' is not set at this point.
2011-07-28 23:12:46 +02:00
Christian Dywan 0b880b8a9b Fallback to URI for delayed page if there's no title 2011-07-28 22:58:16 +02:00
André Stösel 25cdc7161b Make the infobar labels selectable. 2011-07-27 23:04:39 +02:00
Christian Dywan 338ddf8ea7 Consider all about: URIs as blank
about:version is prominently not rendered as "" so we need
to check the prefix.

Fixes: https://bugs.launchpad.net/midori/+bug/784337
2011-07-24 22:50:15 +02:00
Christian Dywan eb7245c30a Zoom in steps of 10% instead of 25% by default
Related to: https://bugs.launchpad.net/midori/+bug/707026
2011-07-09 21:43:02 +02:00
Alexander Butenko aafd5bc0a0 Dont crash on unvalid geo: links
Fixes: https://bugs.launchpad.net/midori/+bug/804866
2011-07-04 23:42:24 +02:00
Paweł Forysiuk e1c79b3a60 Properly rename speed dial item containing multiple spaces 2011-07-04 23:26:55 +02:00
Paweł Forysiuk 12aed6c566 Compose complete markup inside prepare_speed_dial_html() 2011-06-25 00:10:30 +02:00
Paweł Forysiuk 01c353366d Remove legacy code from midori_view_populate_popup
Delete code which was ommited by mistake in commit
46de9f7767.
Only version check was removed, whithout actually
removing legacy code.
2011-06-17 11:57:20 +02:00
Christian Dywan 8bac897a88 Purge unused web_frame in midori_view_construct_web_view 2011-06-17 11:54:21 +02:00
Christian Dywan 783bed774a Remove erroneous title check in set_uri
The condition was written this way due to the now gone legacy
workaround, the title shouldn't be checked at all.
2011-06-17 11:13:41 +02:00
Paweł Forysiuk 46de9f7767 Remove further support for WebKitGTK+ < 1.1.14 2011-06-09 00:45:34 +02:00
Paweł Forysiuk 0dbee646b7 Require WebKitGTK+ 1.1.14, remove backwards compatibility 2011-06-08 22:38:05 +02:00
Paweł Forysiuk 11dd3d758f Drop thumb:// pseudo-uri since it is not reliable enough 2011-06-02 01:03:10 +02:00
Christian Dywan 3a8ce008ad Use a form for the Try Again button in error pages
Fixes: https://bugs.launchpad.net/midori/+bug/784931
2011-05-20 22:04:11 +02:00
Christian Dywan 476c20aae4 Revert "Render empty speed dial shortcuts as Add icons" 2011-05-15 01:35:55 +02:00
André Stösel 64bb60afd8 Don't fail on network cancelled errors 2011-05-13 16:07:28 +02:00
Christian Dywan 1f99c1fe9d Render empty speed dial shortcuts as Add icons
And only show the icons if scripts are enabled.
2011-05-06 02:07:11 +02:00
Christian Dywan 9ff5114b76 Perform fewer string allocations preparing shortcuts 2011-05-06 01:55:39 +02:00
Christian Dywan 023c64fa97 Don't assign boolean to icon_size variable 2011-05-06 01:48:50 +02:00
Christian Dywan 414997b236 Implement support for geo URI RFC 5870 2011-05-05 21:49:51 +02:00
Paweł Forysiuk b74d00abe6 Set speed dial size without javascript
So the layout is right with and without javascript. And we
also hide the Edit and Remove buttons and options appropriately.
2011-05-04 22:45:00 +02:00
Paweł Forysiuk 2b2df20dd0 Use proper markup for empty dials 2011-05-03 20:42:59 +02:00
Paweł Forysiuk 2a9282df75 Look for logo in folder midori/res, not midori/ 2011-05-01 18:56:39 +02:00
Christian Dywan 4bab11061c Render search engine icons via the action 2011-05-01 18:49:09 +02:00
Christian Dywan 47437114c7 Implement new libsoup cache for >= WebKitGTK+ 1.3.11
The web cache extension is automatically hidden/ disabled if
WebKitGTK+ is new enough, the new cache is a core feature.

By default 100 MB of pages can be cached on disk.

The 'Applications' preference tab is resurrected.

The same folder ~/.cache/midori/web is used for old and new cache.
2011-05-01 06:59:00 +02:00
Paweł Forysiuk 12f353f8ea Use platform specific separator for res:// path 2011-05-01 01:05:22 +02:00
Paweł Forysiuk 7dec022471 Build correct logo path for not found error page 2011-04-30 12:13:07 +02:00
Christian Dywan e6d8e10606 Show libSoup version from pkg-config in about:version 2011-04-30 12:00:12 +02:00
Christian Dywan 4b272c0459 Don't ignore unset title but fallback to the URI 2011-04-29 02:58:45 +02:00
Christian Dywan 1011d5c5b5 Address leaked strings and item references 2011-04-26 01:29:26 +02:00
Christian Dywan bb2f6fbf2e Render filename as title of patches 2011-04-25 21:04:28 +02:00
Paweł Forysiuk 17d458b0ca Ellipsize label in infobars created by MidoriView
So overly long messages don't cause the window to grow.
2011-04-21 20:51:03 +02:00
Christian Dywan 7614e319ce Remove 'Open' from tab context menu 2011-04-21 00:11:43 +02:00
Cyril Brulebois d6c2be8042 Make sure speed dial is shown in blank tabs
The speed dial is now mandatory, but it's still possible to get
a blank tab. With an empty home page and a displayed speed dial
on a new tab, going to any page and coming back leads to a blank page.

Work around that by checking whether the view is empty and setting the
uri to an empty string in this case, to hit the code path which makes
the speed dial kick in.
2011-04-20 00:31:52 +02:00
Cyril Brulebois 474358d972 Fix signedness warning in midori_view_tab_label_data_received 2011-04-20 00:19:41 +02:00
André Stösel a9a220f96c Don't destroy inspector window that will be re-used 2011-04-19 23:21:31 +02:00
Christian Dywan a2fc8f405c Show a notification upon opening a tab or window
The notification is shown when in fullscreen mode or the window
is maximised, and a window is opened or a tab is opened while
the tab bar is not visible.
2011-04-19 23:16:34 +02:00
Christian Dywan 7152189d82 Mask timezone, language, architecture and plugins 2011-04-19 23:07:22 +02:00
Christian Dywan feb69e8fd9 Video format availability in about:version 2011-04-18 01:28:38 +02:00
Christian Dywan 10c5ac4597 Use setting for old and new prefetching option
So prefetching in private mode is disabled regardless of
whether prefetching is done in Midori or in new WebKit
versions.
Menu items also adhere to that same setting now.

And use the chance to correct version checks.
2011-04-17 22:29:51 +02:00
Christian Dywan 7dc01d70ef Render themed icon as native SVG if available 2011-04-17 03:32:35 +02:00
Christian Dywan 08b756b0a6 Revert "Left mouse button and mouse wheel changes zoom level"
This reverts commit c2e0342bb3.

The feature is unusable on some touchpads.

Fixes: https://bugs.launchpad.net/midori/+bug/761106
2011-04-16 04:08:16 +02:00
Christian Dywan b06d7192e6 Always 'var' in for and wrapping functions
Related to https://bugs.launchpad.net/midori/+bug/716887
2011-04-14 21:46:01 +02:00
Christian Dywan 9ab1349c54 Remove the Download Manager preference
Many users are confused about the way the feature works and
nobody cares enough to improve it.
2011-04-14 03:23:08 +02:00
Christian Dywan e53c36e32d Handle closing of the inspector window 2011-04-13 23:57:47 +02:00
Christian Dywan 4a8b55400b Reset alert counter when loading a new page
All infobars including alerts are destroyed, so we can assume
no alerts are visible.
2011-04-13 23:56:00 +02:00
Paweł Forysiuk 28e269365d Remove thumbnail files from cache by uri 2011-04-13 23:50:06 +02:00
Christian Dywan c2e0342bb3 Left mouse button and mouse wheel changes zoom level
The left mouse button behaves identical to Control.
2011-04-10 22:43:05 +02:00
Paweł Forysiuk 09a92c16bb Save speed dial thumbnails by uri rather than by dial id 2011-04-10 20:35:28 +02:00
Christian Dywan 3d4f288ba0 Don't consider 'Plugin will handle load' an error 2011-04-07 20:59:08 +02:00
Paweł Forysiuk e314892818 Check for thumbnail directory when saving thumbnail files 2011-04-05 23:52:21 +02:00
Alexander Friesen 867d8ce87e Show access keys distinct from numbers in link search
Keys are invoked with Alt+key.

Numeric access keys don't work and are not shown as such.
2011-04-05 00:40:15 +02:00
Alexander Friesen 2460c161dd Remove link labels on navigation decision
Otherwise stale labels can appear when going back
and forward which are not backed by the view.
2011-04-05 00:13:13 +02:00
Alexander Friesen 850438daee Count link labels separately from actual elements
Not all link elements will have visible labels.
2011-04-05 00:02:14 +02:00
André Stösel 2ffd780bb6 Fix detaching and reattaching the inspector to browser
Probably related to https://bugs.launchpad.net/midori/+bug/746540

Special thanks to Andy Kittner, who helped me with debugging.
2011-04-04 21:56:21 +02:00
Christian Dywan 8134789973 Show infobars instead of dialogues for alerts
Also limit the number of alerts to 5 at any one time.
2011-04-04 03:02:03 +02:00
Paweł Forysiuk ae1a3aafb9 Properly close H4 tag in empty Speed Dial slots. 2011-04-04 00:22:27 +02:00
Paweł Forysiuk ac875f73de Remove unneded notebook variable from midori_view_speed_dial_save 2011-04-04 00:20:42 +02:00
Paweł Forysiuk 599bd748df Free up resources of encoded thumbnails 2011-04-03 22:28:20 +02:00
Christian Dywan 912fdf7f30 Don't honor the deprecated find-while-typing option 2011-03-23 23:20:49 +01:00
Paweł Forysiuk e13bebf4de Only encode and insert images of existing thumbnails 2011-03-23 22:32:49 +01:00
Paweł Forysiuk 0efdd74c77 Take care to not leak speed dial markup 2011-03-23 22:14:30 +01:00
Tomasz Szatkowski 6721c0592d Drop files or URLs onto tab labels
Fixes: https://bugs.launchpad.net/midori/+bug/735769
2011-03-23 22:05:40 +01:00
Tomasz Szatkowski a9a5b38c29 Grow and shrink tabs dynamically to available space
Fixes: https://bugs.launchpad.net/midori/+bug/735993
2011-03-23 20:41:40 +01:00
Christian Dywan c1f9d6f796 'When Midori starts' should say Speed Dial, not Blank
While we are at it, use title case in the tab title.
2011-03-23 00:54:32 +01:00
Christian Dywan 0163806daa Make speed dial in blank tabs mandatory
Fixes: https://bugs.launchpad.net/midori/+bug/699961
2011-03-23 00:28:04 +01:00
Paweł Forysiuk d3edddea90 Rename midori_view_speed_dial_inject_thumb function since it no longer injects anything.
Additionally drop filename argument which was never used in function body.
2011-03-23 00:12:52 +01:00
Christian Dywan 34ef20ce4e Update tabs if speed dial changes or thumbnail loaded 2011-03-23 00:07:52 +01:00
Paweł Forysiuk 616f49605b Generate speed dial from key file without JSON
A timer for speed dial is shown if MIDORI_STARTTIME is defined.
2011-03-22 23:02:00 +01:00
Christian Dywan b6ffbff40e Treat about: like an alias to about:version 2011-03-21 20:56:13 +01:00
Christian Dywan 7ac71b6bba Don't try to load icons of special pages 2011-03-14 01:03:37 +01:00
Christian Dywan ab04194ee4 Check a and link elements for next/ previous page 2011-03-13 15:03:45 +01:00
Christian Dywan e06c2052a0 Don't show link numbers if there is no href
Those can't actually be opened so it's confusing.
2011-03-13 15:03:45 +01:00
Christian Dywan 1bedc8a76c Check if _midori_web_view_load_icon actually has a URI
A blank page wouldn't have one.
2011-03-12 21:10:01 +01:00
Christian Dywan 9ca1271020 Implement MD5 and SHA1 Link Fingerprint support
If a URL has an embedded link fingerprint the checksum
and algorithm is shown in the download prompt. After a
file has been saved to disk a warning icon will be shown
if the checksum doesn't match and clicking the icon will
explain that the file is erroneous and not open it.

See http://mdhashtool.mozdev.org/lfinfo.html
2011-03-12 21:10:01 +01:00
Christian Dywan 02d095cae0 Check for 'rel' links should be case insensitive 2011-03-12 03:38:26 +01:00
Paweł Forysiuk 88f7b72526 Introduce thumb:// pseudo-uri to serve thumbnails from disk cache 2011-03-09 02:10:41 +01:00
Christian Dywan fb9629c1aa Work around copying bug in WebKitGTK+
Fixes: https://bugs.launchpad.net/midori/+bug/707888
2011-03-06 18:13:54 +01:00
Christian Dywan de0ede905f Focus the view on key press if nothing's focussed 2011-03-06 17:26:41 +01:00
Alexander Friesen 353924a117 Always links by number with Return and remove styles
Return is always required to confirm the typed number, which
is consistent and more usable with Control for new tab.

Hiding links now actually removes the extra spans.

Opening links in a new tab keeps the links visible.

Escape resets the typed digits.
2011-03-05 00:23:33 +01:00
Christian Dywan 0e30ea3779 Propagate URI changes and update Back, Forward actions
Fixes: https://bugs.launchpad.net/midori/+bug/725826
2011-02-27 01:48:06 +01:00
Tomasz Szatkowski ddd660b45a Copy email addresses without mailto: prefix
Fixes: https://bugs.launchpad.net/midori/+bug/358650
2011-02-26 16:05:39 +01:00
Christian Dywan 3eba817d50 Move plugin list from about:plugins to about:version 2011-02-26 03:31:52 +01:00
Paweł Forysiuk 66544898fa Show 'No plugins' if there are no plugins installed
Also free the return values.
2011-02-24 23:26:55 +01:00
Christian Dywan 667c94389a Implement internal about:plugins page 2011-02-24 22:27:55 +01:00
Christian Dywan ac7ce0f792 Move 'Menubar' menuitem down and make it 'Navigationbar'
The menu item that appears in the context menu if all toolbars
are hidden is easy to miss, so moving it to the bottom makes it
more visible. It should also show the Navigationbar.
2011-02-24 21:26:49 +01:00
Christian Dywan 997db05a9e Rename 'Download link destination' to 'Save as'
Fixes: https://bugs.launchpad.net/midori/+bug/699989
2011-02-21 19:42:48 +01:00
Paweł Forysiuk 00b116a940 Use page title for inspector window tile 2011-02-17 21:38:54 +01:00
Christian Dywan d19396a065 Add hidden setting for close buttons on the left
This value can be changed by distributions using window
decorations on the left side.

Fixes: https://bugs.launchpad.net/midori/+bug/699972
2011-02-17 20:57:57 +01:00
Christian Dywan f4875ceb7c Escape title to be set on error pages 2011-02-17 19:54:35 +01:00
Christian Dywan 296ede80f7 Append fallback icon instead of checking the theme 2011-02-15 21:32:08 +01:00
Christian Dywan b55ab3afa9 Fallback to file icon if no MIME icon is found 2011-02-15 00:58:34 +01:00
Christian Dywan 6ebcc4e21c Translate explanation in about:version 2011-02-02 01:46:14 +01:00
Christian Dywan 2d4afde696 Make download folder and notifications obligatory 2011-02-02 01:31:16 +01:00
Christian Dywan e8d2dc3ee7 Show error dialogue for invalid bookmark export filename 2011-02-02 01:31:16 +01:00
Christian Dywan 8f489ca872 Unify settings update and title assignment 2011-01-11 21:08:27 +01:00
Christian Dywan 7e00e760ba Allow image zoom if text and images can be zoomed 2011-01-05 19:21:50 +01:00
Alexander Butenko 1f15d17c5f Use existing event if available to ensure link URI
This partially resolves problems with Midori opening the
wrong link when opening tabs in the background.
2011-01-02 01:24:50 +01:00
Christian Dywan 9b3d90ec73 Always construct the child web view right away 2011-01-01 21:43:29 +01:00
Christian Dywan 6780ed8be3 Replace midori_view_new_with_uri with _new_with_title
The old function is actually being removed because it breaks
monitoring of page loading. It was only used internally so far.

Moreover a warning is now emitted when loading an URI before
adding a view to a browser.
2011-01-01 20:05:34 +01:00
Christian Dywan 6b38ed85cf Check if typed link number exists and check result 2011-01-01 19:25:21 +01:00
Christian Dywan fcb4a3c3e0 Handle oddities in Russian keyboard layouts 2010-12-15 01:08:50 +01:00
Christian Dywan f9b2a75ae4 Note on about:version that runtime versions are in brackets. 2010-11-30 18:15:33 +01:00
Christian Dywan 8cfc7c654f Use property proxy for custom print setting 2010-11-24 19:10:53 +01:00
Christian Dywan 97a7ae9955 Reference the hit test result before using it
It actually is owned by the WebKitWebView.
2010-11-23 22:59:19 +01:00
Christian Dywan 70de71d6a3 Do middle click and menu on tabs on button press
Doing close on middle click on a tab can cause the new tab
to be immediately closed because the mouse pointer happens
to be released under the tab after it appears.
2010-11-19 22:51:50 +01:00
Christian Dywan f3831c5157 Turn view->memory into a static variable 2010-11-13 15:20:46 +01:00
Christian Dywan 61e51ea1d2 Cancel Find Links when pressing Escape key 2010-11-02 22:46:01 +01:00
Christian Dywan a9244ad817 Use function to access web view and adjustments 2010-11-01 16:48:07 +01:00
Christian Dywan 985912a9cd Go back to conservative page next from 0.2.6
This reverts to behaviour as of commit c2be3d67cf.
2010-10-30 21:53:44 +02:00
Christian Dywan 80bd531d58 Always create a new style element for link find
Otherwise adding rules for link find on pages with
no stylesheets doesn't work.
2010-10-26 23:50:59 +02:00
Christian Dywan 95f2278542 Find links opens tabs with Control and Shift respectively 2010-10-26 23:04:22 +02:00
Christian Dywan ad6905db4d Make link number style more robust
Use bold, small font, white background, 1 line high and displayed.

Mark attributes with !important to ensure the style is not
changed due to styling on the page.
2010-10-26 23:04:21 +02:00
Christian Dywan 8b7640731d Don't display link numbers at all instead of hiding 2010-10-26 23:04:21 +02:00
Christian Dywan 39253b94c5 Implement Find Links with '.', type number and Return
Inline Find is now ',' because '.' is common in some browsers
which have a Find Links feature.
2010-10-26 00:26:54 +02:00
Christian Dywan ba161aeeae Don't show 'Add to Speed Dial' with no configuration
As it won't be saved, it's not helpful to offer it.
2010-10-24 23:48:58 +02:00
Christian Dywan 1e12cb208b Ensure action menu items don't show all 2010-10-24 21:06:26 +02:00
Christian Dywan 68c12e950e Slice allocations in addons, net, scrolled, transferbar 2010-10-21 21:09:01 +02:00
Christian Dywan b25f27cd66 Add static keywords, fix #ifdefs and spurious lines 2010-10-20 23:48:36 +02:00
Christian Dywan fc23eac478 Ask GIO for supported URI schemes
sokoke_external_uri supersedes hardcoded support for tel:
and callto: and notably doesn't count http(s).
2010-10-20 20:56:05 +02:00
Christian Dywan 26081c67f6 Expose midori_view_add_info_bar properly
All infobars are automatically removed if the location changes
or reloads now. The button arguments are dynamic. The infobar
look-alike is also closer to a real GtkInfoBar.
2010-10-20 01:24:43 +02:00
Christian Dywan 32988e55af Use accessors for window and allocation of a widget 2010-10-19 00:53:01 +02:00
Christian Dywan 5d7bbe6eb1 Plug leak of icon path when loading icons 2010-10-14 21:07:55 +02:00
Christian Dywan 54d037f689 Free script code in thumb_view_load_status_cb with g_free
Allocating and releasing must match.
2010-10-14 21:07:55 +02:00
Christian Dywan 89c0975e66 Present an infobar when an HTML5 database is saved
The infobar code is refactored into midori_view_add_info_bar
2010-10-14 01:37:10 +02:00
Christian Dywan bcc622c456 Let private mode inherit preferences
Private mode should retain most preferences, while menus for
Bookmarks, Tools and Panel are hidden.

App mode now hides the navigationbar by default.
2010-10-13 23:41:11 +02:00