Commit graph

357 commits

Author SHA1 Message Date
Christian Dywan
7aaf59ec9a Format addresses nicely, with no percents and no punycode 2009-10-05 20:50:08 +02:00
Christian Dywan
a6ee2320e8 Add Copy to the refactored context menu 2009-10-02 00:00:00 +02:00
Christian Dywan
1535bc8970 Show 'Send a message to <mail address>' when hovering email links 2009-09-30 23:55:39 +02:00
Christian Dywan
037be4dda4 Offer 'Send message to <mail address>' for selections 2009-09-30 23:45:02 +02:00
Christian Dywan
96093d9067 Implement drag (finger) and kinetic scrolling with KatzeScrolled
The feature is primarily interesting for mobile devices and
by default enabled with gtk-touchscreen-mode.
2009-09-28 22:12:41 +02:00
Christian Dywan
f294d79a74 Show "Menubar" menu in context menu if menubar and navibar are hidden
It happens that users hide all toolbars and don't find a way to make
them visible again. A menu item will be there for this case.
2009-09-26 22:19:34 +02:00
Christian Dywan
55a2ecf710 Enable new context menu code with WebKitGTK+ 1.1.15 afterall
To avoid regressing we keep the hacked document menu for now
and add a small improvement to fix image context menus with
older WebKitGTK+ versions.
2009-09-26 22:19:34 +02:00
Christian Dywan
1ead8e8886 Save back and forward history in the session (disabled) 2009-09-26 22:19:34 +02:00
Christian Dywan
d5ed3e9b28 Reset the statusbar text (in the location) when leaving the view 2009-09-23 02:10:08 +02:00
Christian Dywan
d26113fa1e Bump new context menu handling to WebKitGTK+ 1.1.16
The API in 1.1.15 is not sufficient to implement the context menu
without regressions.
2009-09-21 23:49:42 +02:00
Christian Dywan
ebb3b5f374 Fix build with WebKit < 1.1.14 2009-09-20 21:49:57 +02:00
Christian Dywan
72ba3a700b Implement Ask for destination folder
The option determines whether 'Save image' and 'Save link destination'
in the context menu prompt for a location or not.
2009-09-20 21:23:52 +02:00
Christian Dywan
d73ccf2c3f Forward mailto: links to external default application 2009-09-20 20:56:52 +02:00
Christian Dywan
0250d762c1 Implement menu items after refactoring the context menu changes 2009-09-20 17:26:28 +02:00
Christian Dywan
eaba9f0acf Improve context menu and middle click pasting using hit test result 2009-09-19 04:06:44 +02:00
Christian Dywan
9d1fdd7a05 Remember the scrolled positions of views 2009-09-16 23:37:39 +02:00
Christian Dywan
06bd549cb1 Lookup page icons via javascript 2009-09-16 03:06:09 +02:00
Christian Dywan
f65b87f05f Fix a misplaced #endif that breaks WebKit < 1.1.14 builds 2009-09-10 15:57:59 +02:00
Christian Dywan
d1b672068b Add Undo and Redo menu items to the menubar and context menu 2009-09-10 02:36:26 +02:00
Christian Dywan
2bff26f90a Don't middle click open when there's an editable
This is still not a complete solution but better than before.
2009-09-04 23:37:00 +02:00
Christian Dywan
f259d082f2 Say 'Error - URI' in place of 'Error' in the title
When several pages fail at the same time, for instance due to
network issues, it can be important to tell those pages apart.
2009-09-02 23:58:53 +02:00
Christian Dywan
b4a6de2e96 Show Print background images option in print dialog 2009-08-24 23:30:09 +02:00
Christian Dywan
6fac0fa22c Do not make the inspector window transient 2009-08-24 23:30:08 +02:00
Christian Dywan
74457cfd75 Always show news feed icon, and show URI if no aggregator was specified 2009-08-14 23:28:18 +02:00
Christian Dywan
4f0cb14f2b Avoid a warning in case the speed dial head isn't available
Ideally we wouldn't depend on a file for essential data, for
now we ignore it.
2009-08-08 23:52:51 +02:00
Christian Dywan
49bd5762fc Show the view when duplicating a tab 2009-07-31 00:52:05 +02:00
Christian Dywan
0057f32f1e Apply URI magic when opening selected text in a tab 2009-07-30 23:30:07 +02:00
Christian Dywan
d0d0b3bba7 Ellipsize titles and show tooltips in the tab panel 2009-07-27 03:40:38 +02:00
Christian Dywan
b478db85ab Enforce icons for webpage menu items and search menu items 2009-07-25 23:06:17 +02:00
Christian Dywan
414f9412b8 Add a New Tab menu item to the tab context menu 2009-07-22 23:56:16 +02:00
Christian Dywan
7192fa38f9 Implement "minimized" views, with a context menu option
The flag is saved as meta data of the proxy item. A new signal
meta-data-changed is implemented in KatzeItem to allow the view
to update the tab state as the meta data value is changed.
2009-07-22 01:49:09 +02:00
Christian Dywan
7a3535afac Load data files from system data dirs
A new helper function in sokoke is added to keep the code simple.
2009-07-20 09:10:53 +02:00
Christian Dywan
143ec96581 Don't do LRE title trick on Win32, it doesn't work as expected 2009-07-20 07:49:04 +02:00
Christian Dywan
35f11238a4 No Print or Reset Zoom in context menu, but Print in compact menu 2009-07-17 19:37:49 +02:00
Christian Dywan
3f62d9e0e6 Add Duplicate Tab to tab context menu 2009-06-30 22:54:55 +02:00
Christian Dywan
c76a468d16 Refactor tab context menu into public midori_view_get_tab_menu 2009-06-27 23:52:48 +02:00
Christian Dywan
85cdadcdee Implement a basic context menu for tab labels 2009-06-25 01:02:01 +02:00
Christian Dywan
eb98806722 Add Encoding menu to the context menu 2009-06-22 22:18:16 +02:00
Christian Dywan
35ef1f7485 Add zooming items to the context menu 2009-06-22 21:29:39 +02:00
Christian Dywan
7e01ea42df Remove Preferences and Menubar items from the context menu 2009-06-22 21:27:52 +02:00
Christian Dywan
75e3dae39a Implement a tree view of open tabs in the Tab Panel 2009-06-21 19:30:51 +02:00
Christian Dywan
18fa1d0fa3 Use an index to iterate news feeds to avoid compiler warnings 2009-06-19 03:06:22 +02:00
Christian Dywan
4c3ac6f86f Remove now unused speed dial menu item callback 2009-06-19 03:03:06 +02:00
Christian Dywan
6e2f1db63b Use action proxies for context menu items that correspond to actions 2009-06-19 02:58:06 +02:00
Christian Dywan
6a38cb7ed6 Add Menubar and Preferences to the default context menu 2009-06-19 02:36:36 +02:00
Christian Dywan
2834db080b Always show Open in Download dialogues, regardless of the file type
Just too often the reported MIME type is wrong or undetermined, so
we give the user the opportunity to know better.
2009-06-13 03:43:49 +02:00
Christian Dywan
491b89bcb3 Adjust mnemonics to not conflict when used in the same context 2009-06-11 23:57:42 +02:00
Christian Dywan
ce455c2986 Disable thumbnails in tab label tooltips
For now they aren't acceptable because they effectively slow
switching tabs with the mouse wheel down significantly.
2009-06-08 20:46:53 +02:00
Michael Opitz
891d89e3fd Propagate button press event explicitly from the view
Apparently the button events tend to be stuck and not properly
propagated, so we resort to emitting the signal ourselves.
2009-06-07 00:48:19 +02:00
Christian Dywan
fb316e7873 Use MDATA instead of DATA to avoid naming conflict
The header file objidl.h on Windows uses DATA in a different way,
so we need to avoid that name.
2009-06-06 06:22:35 +02:00
Christian Dywan
e9ee1bcfbe Render tab tooltip thumbnails smaller and a lot faster 2009-06-04 01:00:50 +02:00
Christian Dywan
28b9571444 Special case reloading speed dial views 2009-06-02 19:05:42 +02:00
Christian Dywan
af25a8bc0f Show the title in tab tooltips if available, not the URI 2009-06-01 19:47:14 +02:00
Christian Dywan
ec4a10c385 Show Open in download dialogue only with known file types 2009-06-01 19:45:10 +02:00
Christian Dywan
842a83d481 Implement a Save As button in the download dialogue 2009-06-01 19:33:44 +02:00
Christian Dywan
1bd94a4d28 Show thumbnail tab tooltips with Gtk 2.12 if speed dial is enabled 2009-06-01 09:35:16 +02:00
Enrico Tröger
1dee538e41 Revisit inline find bindings to support the numpad '/' key 2009-05-31 03:43:15 +02:00
Christian Dywan
a2d89bc37b Load thumbnails when needed and not from a filename
We actually pack views solely needed to take snapshots in the
notebook of the parent browser but try to keep them hidden.
2009-05-28 02:44:24 +02:00
Christian Dywan
faae6e9b40 Move midori_view_get_snapshot to MidoriView 2009-05-27 23:38:51 +02:00
Christian Dywan
5bf2662bad Don't re-implement New Window in context menus, it just works
This in fact prevents a second window from being opened.
2009-05-26 07:50:37 +02:00
Christian Dywan
441db87647 Don't show 'Add to speed dial' on blank pages 2009-05-23 00:16:39 +02:00
Christian Dywan
16912f4cdf Implement a hack to keep the text direction left-to-right 2009-05-22 04:01:56 +02:00
Christian Dywan
1b094dda75 Replace FindQuick with direct '.' and '/' search hotkey support
Using an action for a single character turned out to be a bad idea
and rather than trying to work around it, we implement '/' and '.'
hotkeys directly in the view.
2009-05-18 22:40:13 +02:00
Christian Dywan
7fc6c46c9a Allow WebKit to catch key presses first
If we connect to key presses after WebKit processes them this
resolves the conflict between hotkeys and inline search.
2009-05-18 02:43:56 +02:00
Christian Dywan
907f7a72ce Implement Open new pages in: New window preference 2009-05-17 20:29:31 +02:00
Christian Dywan
c8493b4c04 Treat "about:blank" and "" equally in midori_view_set_uri
This solves the problem of open speed dial tabs in the session
coming back as blank tabs after a restart of Midori.
2009-05-17 00:01:52 +02:00
Jean-François Guchens
0717e42458 Protect speed dial against quoting in titles 2009-05-15 23:49:01 +02:00
Christian Dywan
c217609403 Title the speed dial as Speed dial instead of Blank page 2009-05-15 18:56:14 +02:00
Christian Dywan
b0babb3c17 Moving tab title update to a function and fix tab titles 2009-05-15 17:26:09 +02:00
Christian Dywan
8b3a74b6f0 Update address and actions properly when navigating in-page 2009-05-15 01:18:14 +02:00
Christian Dywan
ade0f16053 Fix a crash caused by a mistaken attempt at plugging a leak 2009-05-15 00:58:58 +02:00
Christian Dywan
03a6f54d25 Plug a few memory leaks in MidoriView and MidoriWebSettings 2009-05-14 22:26:02 +02:00
Jean-François Guchens
760553f374 Store speed dial as JSON instead of actual HTML source
This will make it possible to change the layout of the page
without losing shortcuts.
2009-05-13 23:56:55 +02:00
Christian Dywan
8588c3b43f Ellipsize tab labels differently to emphasize subtitles 2009-05-12 01:27:51 +02:00
Christian Dywan
906ccf632d Go back to referring to Speed Dial in the user interface
The term customized homepage is somewhat unclear and speed dial
is known from phones and other browsers.
2009-05-10 16:07:28 +02:00
Jean-François Guchens
e5276907e9 Add an 'edit' icon to emphasize that shortcut can be renamed 2009-05-10 15:06:15 +02:00
Christian Dywan
db826d348a Make AddSpeedDial visible/ hidden instead of sensitive/ grayed 2009-05-10 14:57:26 +02:00
Christian Dywan
64b60d7f94 Use the correct config folder to store speed dial
This is important when using the -c or --config switch
2009-05-10 14:48:12 +02:00
Jean-François Guchens
56c1231d7a Move speed dial to browser and add an AddSpeedDial action 2009-05-10 14:39:20 +02:00
Jean-François Guchens
2e250b66e8 Fix the search in the custom homepage and optimize the saving 2009-05-09 23:29:35 +02:00
Alexander Butenko
5916815daf Work around broken reloading of "alternate content" 2009-05-09 22:45:21 +02:00
Christian Dywan
7fcb3d9095 Add a mnemonic to Add to customized homepage 2009-05-09 17:30:54 +02:00
Jean-François Guchens
bd6c23cc71 Allow adding speed dial shortcuts from the context menu 2009-05-09 16:41:01 +02:00
Christian Dywan
5e1b3a0bad Rename Speed dial in news tabs to Customized homepage in new tabs 2009-05-08 17:41:40 +02:00
Christian Dywan
581c69f4e8 Use "Search" to label Search button and entry, not "Suchen" 2009-05-08 13:15:08 +02:00
Christian Dywan
5dc0b3d0cc Recognize {stock} in error page template 2009-05-08 13:13:39 +02:00
Christian Dywan
f60b8ab9b6 Add a preference Show speed dial in new tabs 2009-05-08 03:29:25 +02:00
Christian Dywan
68bb3d2378 Localize "Search" in quick dial and use the user's default search 2009-05-08 02:56:26 +02:00
Christian Dywan
b0c069730f Fix opening any page when having the speed dial open 2009-05-07 23:08:13 +02:00
Christian Dywan
e5621fc44f Don't declare print function for WebKit >= 1.1.6 2009-05-07 23:00:29 +02:00
Jean-François Guchens
c89651c05f Implement quick launch page code named Tandoori
The quick launch page replaces the blank page unless it turns out
to be a bad idea.
2009-05-07 22:22:43 +02:00
Christian Dywan
6ab464075d Fix setting the news-feeds property of MidoriView 2009-05-03 21:41:31 +02:00
Christian Dywan
9d472f4054 Introduce 'news-feeds' property on MidoriView
This is a KatzeArray of KatzeItems with the feeds of the loaded
web page, particularly useful for extensions.
2009-05-03 03:11:33 +02:00
Christian Dywan
1d7293a2a8 Quote the page address in the error page 2009-05-03 01:53:49 +02:00
Christian Dywan
ca98c68e70 Support error pages with the load-error signal in WebKitGTK+ 1.1.6 2009-05-02 21:44:20 +02:00
Christian Dywan
bd002e9a7b Fix 'Refresh' menu item localization in the context menu 2009-04-29 00:16:26 +02:00
Christian Dywan
d328d2afab Implement transfer completion notification via libnotify 2009-04-27 00:22:16 +02:00
Matthew Gyurgyik
db0c626ec1 Catch and ignore mouse buttons meant for horizontal scrolling 2009-04-23 04:08:28 +02:00
Christian Dywan
ca8d181329 Unify opening URIs externally with good fallbacks 2009-04-20 19:10:13 +02:00
Christian Dywan
192084d48e Unify how search URI and keywords are combined
This handles the presence of a %1 and encoding the keywords.
2009-04-20 00:39:36 +02:00
Enrico Tröger
59f4a3acdb Move search engine items in selection context menus to a submenu 2009-04-18 19:39:17 +02:00
Christian Dywan
a9863cfb40 Add News Aggregator preference
The program set here is called if the user clicks on the news feed
icon, with the address of the current website as argument.

For example liferea-add-feed works like that.
2009-04-14 19:44:48 +02:00
Christian Dywan
5d360b065b Fix search engines without %s in the context menu 2009-04-14 19:19:50 +02:00
Christian Dywan
c27642e912 Display the news feed icon again
The code for looking up news feeds on websites was disabled
and is now back in simplified form. 'liferea-add-feed' is
hardcoded for the moment.
2009-04-13 22:40:57 +02:00
Christian Dywan
377f45d3ad Work around failure to reload Not found pages 2009-04-13 04:05:05 +02:00
Christian Dywan
78813a03e5 Be generous if middle click pastes contain spaces and line breaks 2009-04-13 03:38:28 +02:00
Christian Dywan
e7d20f467c Show all search engines in selection context menu
This replaces the generic Search the Web unless no search engines
are defined, which is actually a corner case.
2009-04-12 01:32:06 +02:00
Christian Dywan
88ebdf3944 Support external Download Manager with newer WebKit 2009-04-10 15:52:01 +02:00
Christian Dywan
1ddceece8f Adjust mouse wheel zooming to do the same as keyboard shortcuts 2009-04-07 02:39:11 +02:00
Christian Dywan
2d0e3b4c7e Don't try to check the prefix of a NULL URI 2009-04-02 00:02:58 +02:00
Christian Dywan
1e68d8fa40 Use the file icon in the download dialog if possible 2009-03-27 00:40:28 +01:00
Christian Dywan
73b26c53f9 Support mailto: by passing it to gtk_show_uri or Exo 2009-03-26 23:46:36 +01:00
Christian Dywan
e6ea06afd3 Display only the MIME type if there is no description 2009-03-26 22:37:33 +01:00
Christian Dywan
1aa158d78f Add a missing variable declaration 2009-03-23 21:09:29 +01:00
Christian Dywan
863f2db611 Always reset the flag to open the downloaded file 2009-03-21 20:07:38 +01:00
Christian Dywan
9e76f7e072 Move download dialog to the view and don't show an error page
We have to handle the dialog when the MIME type is requested,
otherwise we don't know the type. Plus we stop the loading now
to avoid seeing an error page.
2009-03-21 15:06:57 +01:00
Christian Dywan
2421a3163f Strip selection from spaces when middle click opening
It happens every so often that you quickly select an address
and there's leading or trailing space you accidentally hit.
So we strip the selection, otherwise such addresses don't work.
2009-03-19 23:40:31 +01:00
Christian Dywan
7af8baee8b Initial support for WebKitDownload
At this point all downloads run automatically and appear in the
statusbar. The destination folder can be chosen in the preferences.
Download can be cancelled. The context menu works as well.
2009-03-19 18:28:50 +01:00
Christian Dywan
bbaa0fb9e6 Implement source view with GIO and drop internal source view
We use GIO to choose a text editor unless a text editor was
specified in the Preferences. We drop our internal source view
now which used to serve as a fallback.
2009-03-17 21:35:05 +01:00
Christian Dywan
b40c7b0f87 Drop compile time and runtime conditionals for libSoup and WebKit 2009-03-16 01:54:22 +01:00
Christian Dywan
cea8294a18 Enclose MIME type in single quotes in the error message 2009-03-15 18:44:16 +01:00
Christian Dywan
7c10d2078a Make sure there actually is a web view when returning the level 2009-03-05 23:09:22 +01:00
Christian Dywan
1fb5222a3f Fix zooming, and make Zoom Normal work again 2009-03-05 22:45:34 +01:00
Christian Dywan
7708e90214 Implement bypassing cache when reloading with Shift 2009-03-04 23:23:23 +01:00
Enrico Tröger
40f36328c2 Add WebKit version check to compat.h and use it in Preferences 2009-03-04 23:07:29 +01:00
Christian Dywan
d9f90f13e6 Avoid having no main frame, this fixes a g_signal_connect warning 2009-03-04 02:03:38 +01:00
Christian Dywan
2433019856 Mention the MIME type of a document that cannot be displayed. 2009-03-01 20:21:35 +01:00
Christian Dywan
73feaf9ae1 Add a Preference to disable automatic inline find while typing 2009-03-01 19:21:27 +01:00
Christian Dywan
0380d8bd2e Use libSoup to percent decode scripts, ie. bookmarklets 2009-03-01 00:29:44 +01:00
Christian Dywan
f799af8c0c Report to the web view we didn't handle if the MIME type is fine
This caused blank pages to erroneously look as thought they were
loading infinitely. In fact it is due to a bug in WebKit that
this ever worked at all.
2009-02-28 22:33:37 +01:00
Christian Dywan
5b2380433b Only apply settings on the web view if we actually have any 2009-02-28 14:03:23 +01:00
Christian Dywan
9662e99354 Do not actually search less than 3 characters in 'typing' search 2009-02-22 16:12:58 +01:00
Christian Dywan
d2c5d89def Make sure we exclude control characters from search 2009-02-22 02:20:04 +01:00
Christian Dywan
51c6fb1cdf Implement a primitive find-as-you-type 2009-02-22 01:45:22 +01:00
Christian Dywan
f5e6006954 Remove destroy callback from web view 2009-02-21 22:12:34 +01:00
Christian Dywan
aebd111453 Fix mime-type and icon property lookup 2009-02-19 23:04:47 +01:00
Christian Dywan
3535c6e767 Localize menu items provided by WebKit 2009-02-14 13:30:10 +01:00
Christian Dywan
e5000a48e0 Don't set the session unless we actually have libSoup 2009-02-14 02:32:01 +01:00
Enrico Tröger
d810faf933 Implement a hack to make Search the Web menu item useful 2009-02-12 23:38:48 +01:00
Enrico Tröger
d1967241fd Fix a memory leak when obtaining the selection from the web view 2009-02-12 22:43:31 +01:00
Enrico Tröger
45b4747868 Let midori_view_get_selected_text work as expected again 2009-02-12 22:37:08 +01:00
Christian Dywan
6b2d8df6af Instead of adding multiple same history items, update the original item 2009-01-26 03:43:59 +01:00
Christian Dywan
cf9ec7755f Properly synchronize the proxy item of the view 2009-01-24 22:28:07 +01:00
Christian Dywan
93bb9f6c5b Notify URI even before it is "committed" and add an error check 2009-01-17 19:38:00 +01:00
Nick Schermer
f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00
Christian Dywan
8f2c5befb2 Introduce Zoom Text and Images preference 2009-01-16 05:05:50 +01:00
Christian Dywan
03678a16b1 Use WebKitWebView:session property if it exists 2009-01-15 03:29:47 +01:00
Christian Dywan
0d24549112 Display a message if a document cannot be displayed 2009-01-12 00:26:45 +01:00
Christian Dywan
d55b6ddd00 Only set the proxy icon of the View if we have an item 2009-01-10 20:18:26 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +01:00
Christian Dywan
2c1b05913a Propagate mime icons from views to proxy items 2009-01-06 02:09:35 +01:00
Christian Dywan
001945d86b Revisit the failed attempt to correct MidoriView 2009-01-05 18:41:45 +01:00
Christian Dywan
167af26029 Correct handling of settings in MidoriView 2009-01-04 21:50:07 +01:00
Christian Dywan
6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan
813a29de94 Obtain the MIME type from WebKit, for the icon and View Source 2009-01-02 02:28:04 +01:00
Christian Dywan
d8ace08277 Miscellaneous improvements and cleanup in MidoriView 2008-12-21 17:52:10 +01:00
Christian Dywan
aeb71dd7b4 Add support for javascript: bookmarklets 2008-12-09 00:02:38 +01:00
Christian Dywan
426eb74c91 Support Mouse Back and Forward buttons 2008-12-08 23:45:38 +01:00
Christian Dywan
191a613fc8 Share one session among all KatzeNet instances 2008-12-07 21:36:42 +01:00
Christian Dywan
6f4b895dfb Fix view context menu items such as View source 2008-12-06 14:25:42 +01:00
Christian Dywan
cc329ec706 Support opening of new windows
The preference determining where to open those windows
is not currently honored, so everything goes in a new tab.

Incidentally compile time checks guarding the web inspector
are replaced with runtime checks here, and the same
approach is used for the create-web-view signal. The
features are used if available.
2008-12-03 04:16:19 +01:00
Christian Dywan
a4e6720fd7 Localization string improvements 2008-11-30 02:08:28 +01:00
Christian Dywan
687179a747 Tab labels should adjust to the notebook orientation 2008-11-25 23:51:10 +01:00
Christian Dywan
4b06ec3c1f Replace window-object-cleared with context-ready
Introduce MidoriBrowser::load-status and also
midori_view_execute_script while we are at it.
2008-11-23 05:22:58 +01:00
Christian Dywan
24ca48cc1e Move variable declarations to the beginnings of blocks 2008-11-16 02:00:17 +01:00
Enrico Tröger
c49ed67ab0 Correct usage of datatypes in a number of places 2008-11-16 01:04:12 +01:00
Enrico Tröger
bd65ef323b Make mouse click handling more consistent 2008-11-12 00:47:09 +01:00
Enrico Tröger
30086f10ed Use custom key modifier mask 2008-11-12 00:16:03 +01:00
Enrico Tröger
c634ff7395 Use event->state instead of manually retrieving the state 2008-11-11 23:42:22 +01:00
Alexander Hesse
819dfd8d77 Open links in new tabs using Control and Left mouse button 2008-11-11 22:12:26 +01:00
Christian Dywan
91e2cb4129 Unset the tab icon if it is destroyed 2008-11-10 22:02:43 +01:00
Christian Dywan
0bfb12f0b1 Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
2008-11-10 01:08:38 +01:00
Christian Dywan
38c6ad5dad Implement Save As for arbitrary links 2008-11-09 22:07:42 +01:00
Christian Dywan
7c63a0b480 Make Open selected URL in New Tab work again 2008-11-09 19:51:12 +01:00
Christian Dywan
3c450ebc97 Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
2008-11-08 03:05:30 +01:00
Christian Dywan
02751ee575 Simplify Download menu item and hide WebKit's item 2008-11-01 19:25:13 +01:00
Christian Dywan
96ddc8ae0a Initial support for the Web Inspector 2008-11-01 19:15:58 +01:00
Christian Dywan
d1b64e6d48 Fix tab icon alignment and hiding throbber fallback when needed 2008-10-30 22:17:19 +01:00
Christian Dywan
80128d9315 Apply some cleanup with regard to referencing and more 2008-10-30 02:21:19 +01:00
Christian Dywan
4a3501a279 Share net between browser and views 2008-10-27 04:23:41 +01:00
Christian Dywan
e83f93742d Change tab components again, correct close button placement 2008-10-26 17:08:26 +01:00
Christian Dywan
c82624f16a Change tab close buttons so they are less missaligned 2008-10-26 01:36:15 +02:00
Christian Dywan
b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Christian Dywan
dd45aed139 Blank tabs should be titled "Blank page". 2008-10-24 00:25:17 +02:00
Christian Dywan
5c69e0269d Implement KatzeNet as a generic URI loader
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.

Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.

All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.

Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.

Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00
Christian Dywan
e848d1df6e Require Gtk 2.10 and don't treat GIO specially anymore 2008-10-20 00:41:52 +02:00
Christian Dywan
7f8fc2b31d Implement viewing source with libsoup 2008-10-20 00:13:41 +02:00
Christian Dywan
a6e4d7b84b Load and cache favicons with libsoup instead of GIO
The previous code relied on GIO implementing HTTP
with libsoup, so this is effectively not a new
dependency. And since many people don't have GVfs
and even if they do, somehow GIO doesn't work as
good as one should expect, direct use of libsoup
is actually an improvement. Plus the new code
caches icons on disk which we didn't do before.
2008-10-19 22:18:07 +02:00
Christian Dywan
952729e4ae Show URL in New Tab menu item only over selections 2008-10-18 23:21:06 +02:00
Enrico Tröger
51d111d85c Optimize view popup population 2008-10-18 22:50:58 +02:00
Christian Dywan
3f5ac14b45 Disconnect view settings notification in finalize 2008-10-17 21:12:16 +02:00
Christian Dywan
7849f28e08 Display a shaded logo in error pages 2008-10-16 03:51:39 +02:00
Christian Dywan
58255d19aa Do not localize object properties, except WebSettings
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.
2008-10-15 03:32:11 +02:00
Christian Dywan
7597e2026d Undo tabs-in-processes, it didn't work out
We are not literally undoing in the sense of
reverting, this is actually about undoing
the individual parts of the last refactoring
that implemented the socket/ plug logic.

As turned out, the idea was nice but the
implementation was absolutely not, embedding
of processes in a graphical way is not
at all reliable enough for complex use cases.

Naturally this change should solve all sorts
of peculiar issues, including actual
regressions in functionality. Relieving.
2008-10-15 03:07:38 +02:00
Christian Dywan
b7bc4af7ce Make titles show URIs again instead of only about:blank 2008-10-12 15:33:28 +02:00
Christian Dywan
cee341f407 Add --single-process command line option 2008-10-11 05:53:59 +02:00
Christian Dywan
06aa03c6a6 Prevent blank pages from landing in the trash
This actually used to work but meanwhile the
definition of a blank view changed.
2008-10-10 22:50:56 +02:00
Brandon Mercer
16e47a6a1f Don't use 'stdin' or 'stdout' as variable names 2008-10-08 15:45:34 +02:00
Christian Dywan
9abfe87be9 The URI of blank tabs is "", the title is "about:blank".
Something in the stack seems to magically turn
empty strings into about:blank, which is a problem
if we want to be able to start typing right away
when opening blank tabs.

We simply enforce the desired behaviour now.
2008-10-07 22:30:09 +02:00