Commit graph

3582 commits

Author SHA1 Message Date
Christian Dywan
0d65588651 Support Adblock with earlier Webit versions
With WebKit < 1.1.14 we use libSoup directly.
2009-10-14 21:51:32 +02:00
Christian Dywan
c49a7d1e04 Keep the thumbnail view around to avoid a WebKitGTK+ bug
The thumbnail view will be destroyed when the tab is closed, so
it's a minor memory surplus if a user actually opens many
speed dial pages.
2009-10-14 21:29:04 +02:00
Christian Dywan
6a590a3125 Implement tick marks to enable/ disable adblock filters 2009-10-14 03:35:40 +02:00
Christian Dywan
fa030cbaca Use the correct counter when storing adblock filters
This crash was tricky since 'length' looked correct while in fact
it is the number of items including invalid items, which can be
more than we store.
2009-10-14 03:17:23 +02:00
Alexander Butenko
5f30199df5 Add unit test for prefetching that tests which URIs to prefetch 2009-10-14 00:56:17 +02:00
Christian Dywan
1451026160 Implement app menu and progress indicator on Hildon 2.2 2009-10-14 00:48:25 +02:00
Christian Dywan
b2c9fb3cfc Manually pack OK button for crash dialogue on Hildon 2.2 2009-10-13 23:26:48 +02:00
Christian Dywan
847f18f643 Implement tap and hold with emulated motion and button click events
There is no pointer movement on a touchscreen, so we need to pretend
there is, to trigger a proper context menu.
2009-10-13 22:58:50 +02:00
Christian Dywan
8636d3b9c6 Bail out of DNS prefetch if the host is NULL 2009-10-13 13:25:29 +02:00
Christian Dywan
8a9599d5a9 Hide redundant items from the default context menu on Hildon 2009-10-13 02:40:38 +02:00
Alexander Butenko
e4f163447c Don't prefetch IP addresses and bail out if the soup URI is invalid 2009-10-13 02:37:52 +02:00
Alexander Butenko
8a62c9ee7a Void Page Up/ Page down in the address entry
It is presumably not an important binding, and accidentally
using it is more annoying than helpful.
2009-10-12 23:17:57 +02:00
Christian Dywan
625ad79631 Remove unused variable and MidoriLocationEntryItem struct 2009-10-12 23:11:53 +02:00
Christian Dywan
8fdb284b54 Implement Compact Add button, and readjust the Hildon toolbar
Actions AddNewsFeed and AddDesktopShortcut are introduced and the
toolbar layout for Hildon is changed.

Desktop shortcuts are not implemented yet.
2009-10-12 23:06:04 +02:00
Christian Dywan
7e8f6d5633 Omit any icons in the location in the Hildon version 2009-10-12 23:06:04 +02:00
Alexander Butenko
ad04c92e30 Initialize hosts for prefetching with an empty string 2009-10-12 23:06:04 +02:00
Christian Dywan
9702fbf5e4 Check the length of form fields to save only once 2009-10-12 23:06:04 +02:00
Enrico Tröger
2fc3116f77 Only fetch form values when the message is accumulative 2009-10-12 23:06:04 +02:00
Evaggelos Balaskas
195b763b53 l10n: Updates to Greek (el) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-10-12 20:05:07 +00:00
Robert Hartl
64c898d038 l10n: Updates to Slovak (sk) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-10-12 14:32:39 +00:00
Masato Hashimoto
67071d52fe l10n: Updates to Japanese (ja) translation
Transmitted-via: Transifex (translations.xfce.org)
2009-10-12 14:08:34 +00:00
Christian Dywan
123475d6ea Don't advertise zooming when having an image open
Images cannot be zoomed.
2009-10-12 13:17:53 +02:00
Christian Dywan
406572c4fb Be sure to focus the web view rather than the scrolled widget 2009-10-12 13:05:43 +02:00
Christian Dywan
641553d312 Use compact menu as the main menu when building for Maemo 2009-10-12 13:02:39 +02:00
Christian Dywan
c3217c6365 Pass HILDON library (if used) when building extensions 2009-10-12 13:01:17 +02:00
Christian Dywan
e97a198e98 Cache scriptcode generated by adblock instead of generating on load 2009-10-12 12:12:38 +02:00
Christian Dywan
5f300fd8ba Add DNS prefetching and form history extensions to translatable files 2009-10-10 23:39:30 +02:00
Christian Dywan
b9d4266d27 Refactor IDN handling and related unit tests
Most code is shared despite different available libraries now and
can more effeciently be tested.
2009-10-10 11:09:10 +02:00
Christian Dywan
94db485293 Initialize adblock unit tests with an empty pattern 2009-10-10 11:08:29 +02:00
Christian Dywan
223e9be7e3 Don't leak blockcss but free it before replacing it 2009-10-09 17:20:55 +02:00
Alexander Butenko
2718e47ca0 Add a DNS prefetching extension which fetches hovered links 2009-10-09 17:13:24 +02:00
Alexander Butenko
63b25561ff Re-use one hashtable instead of replacing it 2009-10-09 17:05:07 +02:00
Christian Dywan
0ac4de8aa5 Properly pass external addresses with libSoup 2.27.90 2009-10-09 14:21:55 +02:00
Christian Dywan
fa8f109da9 Conditionalize restoring of the scrolling position
Ensure that we differentiate an unset value from a valid value
as well as having restored the position already so we don't
accidentally restore a wrong position.

Restoring after having loaded a page is still not ideal but there
doesn't seem to be a better way at this point.
2009-10-08 20:56:24 +02:00
Christian Dywan
0706bdbbe7 Don't leak form suggestions and don't return from the loop 2009-10-07 23:04:30 +02:00
Alexander Butenko
37e2c84b2b Install formhistory resources, don't fill in passwords
Reading post data is there but nothing is written to disk yet.
2009-10-07 22:30:16 +02:00
Christian Dywan
3ed9e482cd Fix display formatting of URIs and unit test it properly 2009-10-07 01:50:10 +02:00
Christian Dywan
ca81aeb034 Regard file:// URIs as valid for bookmarks 2009-10-06 20:40:43 +02:00
Alexander Butenko
50c159e9bb Initial code for the form history extension 2009-10-06 20:35:56 +02:00
Christian Dywan
c624048c21 Enable integrated page setup combo box for printing 2009-10-05 20:52:34 +02:00
Christian Dywan
7aaf59ec9a Format addresses nicely, with no percents and no punycode 2009-10-05 20:50:08 +02:00
Christian Dywan
1998219933 Refactor location action to not use MidoriLocationEntryItem 2009-10-04 05:13:37 +02:00
Christian Dywan
acb2104128 Encode IDN addresses passed externally
Apparently libUnique can't handle international domains and
won't pass them onto the destined instance, so we encode
them beforehand.
2009-10-04 03:12:10 +02:00
Christian Dywan
b53c39b82e Remember text typed in the location when switching tabs
The API of the location action is adjusted so that any typed
text can be retrieved, distinguished from a confirmed URI.
2009-10-04 02:32:50 +02:00
Christian Dywan
d4c9c87f79 Fix a leaked folder string when activating extensions 2009-10-04 00:02:52 +02:00
Christian Dywan
2ff14cf64d Fix a leaked URI string when injecting user scripts 2009-10-04 00:02:23 +02:00
Christian Dywan
136f5d981f Use "orientation" property of the toolbar instead of the function
The function is superseded with the introduction of the orientable
interface in new GTK+ releases, but the property is the same.
2009-10-03 23:59:57 +02:00
Alexander Butenko
53b3c6aee3 Measure the performance of adblock parsing with a unit test 2009-10-03 23:57:12 +02:00
Alexander Butenko
c812efad2b Go back to the previous, faster pattern handling in adblock 2009-10-03 23:52:59 +02:00
Enrico Tröger
b13c69a365 Add a module.xml for cgit 2009-10-03 18:17:59 +02:00