Compare commits

...

2955 commits

Author SHA1 Message Date
Sergio Durigan Junior 7a890f5dad Update changelog for 0.5.11-2 release 2015-09-18 15:29:44 -04:00
Sergio Durigan Junior 2826d650dc Remove "Force SSL verification" patch
The patch "force-ssl-cert-verification.patch" was mistakenly included
in the last Midori release; this cased a regression because the user
cannot access a website that has a self-signed SSL/TLS certificate
anymore.  This change removes the patch and allows the user to trust
self-signed certificates again.

Closes: #799337
2015-09-18 15:24:04 -04:00
Sergio Durigan Junior 732e898e6e Update changelog for 0.5.11-1 release 2015-09-15 12:38:05 -04:00
Sergio Durigan Junior 7e2916f0ea Rewrite manpage
The old manpage was too simple and did not cover many of the options
supported by Midori on the command line.  Fixed that by rewriting it
almost completely, including many missing options, updating dates and
author, and improving the formatting.
2015-09-15 12:37:45 -04:00
Sergio Durigan Junior 91090b3e92 Adding shlibs and lintian-overrides files
Due to the way libraries (i.e., plugins) are built by Midori (without
a proper SONAME), it is necessary (or at least recommended) to provide
a shlibs file that contains trustworthy information about the
libraries being installed on the system.

Unfortunately, it is also necessary to provide a lintian-overrides
file in order to silence some lintian warnings (mostly about the
shlibs mentioned above).  We'll have to work with upstream in order to
solve this problem.

Another lintian error that needed to be silenced was related to the
data/midori.swf file, present at the original tarball.  This file is
used just for testing (i.e., it is not installed in the system), and
is actually generated using the png2swf utility (from the swftools
package), which means it can be verified.
2015-09-15 12:37:45 -04:00
Sergio Durigan Junior 7fa139b241 Revamp build system (use cmake instead of waf)
- Update debian/rules, removing old stuff (from waf) and adding new,
  simpler rules for the cmake-based build.

- Update debian/control, listing the new package maintainer and
  reviewed dependencies.

- Delete debian/waf-unpack file.

- Rename debian/config/{Debian,Ubuntu}.h files to
  debian/config/{Debian,Ubuntu}.conf.

With this change, it is now unnecessary to create a DFSG-modified
version of the package, because Waf is not used as the build system
anymore (for more details, see Bug 645191).

It is possible to build the package now, but it still has some lintian
warnings that will be fixed in the following changes.

Closes: #663185
Closes: #758103
Closes: #787878
2015-09-15 12:00:58 -04:00
Sergio Durigan Junior a84927af41 Update debian/patches for the new Midori version (0.5.11). 2015-09-11 20:49:27 -04:00
Sergio Durigan Junior bb954d02ba Merge tag 'upstream/0.5.11'
Upstream version 0.5.11
2015-09-11 20:47:13 -04:00
Sergio Durigan Junior ccd28b22eb Imported Upstream version 0.5.11 2015-09-11 20:47:06 -04:00
Sergio Durigan Junior a5c70e7b08 Updating section names on debian/gbp.conf 2015-09-11 20:46:28 -04:00
Sergio Durigan Junior 6121e4d3ef Changing gbp.conf to not override the default tag name for releases. 2015-09-11 20:46:25 -04:00
Andres Salomon 597a50019b Merge branch 'nmu-0.2'
Conflicts:
	debian/changelog
	debian/rules
2015-06-27 20:52:24 -07:00
Andres Salomon ab72120436 Import Debian patch 0.4.3+dfsg-0.2 2015-06-27 20:26:39 -07:00
Yves-Alexis Perez 2d27f4a46f remove myself from uploaders. 2014-03-09 10:11:28 +01:00
Ryan Niebur a92607d4fb Improve dh_auto_clean target in d/rules to handle some leftover files from quilt and waf 2013-10-23 21:06:12 -07:00
Ryan Niebur cd6899f136 add new Build-Dep on libzeitgeist-dev 2013-10-23 21:01:10 -07:00
Ryan Niebur 3c395daddb refreshed patches 2013-10-23 20:56:05 -07:00
Ryan Niebur 5aa73dea25 new upstream version, including the waf unpack changes made thanks to the NMU by Koichi Akabe 2013-10-23 20:46:24 -07:00
Ryan Niebur f5a8cd23ac bump version with +dfsg suffix 2013-10-23 20:45:40 -07:00
Ryan Niebur 50549da7c3 Imported Upstream version 0.5.2+dfsg 2013-10-23 20:45:02 -07:00
Ryan Niebur 7509079965 Merge tag '0.5.2+dfsg'
Upstream version 0.5.2+dfsg
2013-10-23 20:45:02 -07:00
Ryan Niebur f5457c8c6a put files back after the merge to allow proper upgrade to new upstream version 2013-10-23 20:44:53 -07:00
Ryan Niebur 14564ce6cc Merge branch 'wip' 2013-10-23 20:29:10 -07:00
Koichi Akabe a9def3c602 Imported Debian patch 0.4.3+dfsg-0.1 2013-10-23 20:26:27 -07:00
Ryan Niebur 405f565df8 Imported Upstream version 0.4.3+dfsg 2013-10-23 20:26:27 -07:00
Ryan Niebur 60d455a553 add a gbp.conf that I think might work with the existing use of this repository 2013-10-23 20:26:16 -07:00
Yves-Alexis Perez fae7cfdb3d Merge branch 'upstream-unstable' 2012-09-20 07:36:31 +02:00
Yves-Alexis Perez fd240475ed Merge tag '0.4.7' into upstream-unstable
Bump version to 0.4.7
2012-09-20 07:36:03 +02:00
Christian Dywan de4fca9402 Bump version to 0.4.7 2012-09-19 23:17:43 +02:00
Christian Dywan 147acdcaef Update FAQ from the wiki
url http://wiki.xfce.org/_export/xhtml/midori/faq | sed 's@<link rel="style.*>@<link rel="stylesheet" href="faq.css" />@g' > data/faq.html
git add data/faq.html
git commit -e -m 'Update FAQ from the wiki' -v
2012-09-19 23:16:40 +02:00
Christian Dywan 4e786f10be faq.css: Remove overflow, padding and pre-line for body
Our own FAQ in particular was broken (too much spacing).
2012-09-19 23:11:39 +02:00
André Stösel 5f8cd5c12d If "marshal" says OBJECT use G_TYPE_OBJECT instead of _POINTER
This fixes a crash in a full debug build.
2012-09-19 19:02:33 +02:00
Boram Kim b8f2e25698 l10n: Updated Korean (ko) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-19 18:16:57 +02:00
Pjotr vertaalt 035c2a386b l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-19 16:56:01 +02:00
Sergio Marques f2e4e162c5 l10n: Updated Portuguese (pt) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-19 15:53:22 +02:00
Christian Dywan 01b36c5fc4 Enclose screen saver and root window in IS_X11_DISPLAY
If building with a Wayland-enabled GTK+3 the GdkDisplay
can be something other than GdkX11Display at runtime.

Fixes: https://bugs.launchpad.net/midori/+bug/975355
2012-09-18 21:29:38 +02:00
Christian Dywan 7e39d05a17 Remove is_email API and needless hard-coding of mailto: 2012-09-18 21:25:59 +02:00
Christian Dywan b4b795e156 Remove generic browser creation and property set tests 2012-09-18 21:00:56 +02:00
Christian Dywan 2e3882db4b Copy Image s/Address// always copy both URL and data 2012-09-18 01:51:17 +02:00
Paweł Forysiuk 55c11850bb Adblock: search a couple more lines for update metadata 2012-09-18 00:34:00 +02:00
Paweł Forysiuk 00bd3f0818 sokoke_js_script_eval should not crash when js_message is NULL 2012-09-18 00:33:07 +02:00
Christian Dywan d88b9776f2 Consistently use readonly_config_filename for loading 2012-09-18 00:29:33 +02:00
André Stösel 13b735e382 HistoryWindow isn't a Midori.Browser 2012-09-17 19:26:56 +02:00
Christian Dywan dd39dab307 Form action NULL or "": assume relative path 2012-09-17 19:26:56 +02:00
Christian Dywan b3984ab252 Groundwork to make finding search engines testable 2012-09-17 19:26:56 +02:00
Christian Dywan 09432b2d12 Initial download tests for extension and unique filename 2012-09-17 19:26:55 +02:00
Christian Dywan 7d5fd0d319 Fix tooltip on preferred language entry 2012-09-17 19:26:55 +02:00
Christian Dywan 5f18e39221 Don't mix up filesystem and file info 2012-09-17 19:26:55 +02:00
Christian Dywan 0da919f4d9 Pack addon text column with expand TRUE 2012-09-17 19:26:55 +02:00
Paweł Forysiuk 616633d502 Javascript clean-up in speed dial head 2012-09-17 19:26:55 +02:00
David Štancl 5bb5b17986 l10n: Updated Czech (cs) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-17 10:01:05 +02:00
David Štancl cd21f66217 l10n: Updated Czech (cs) translation to 99%
New status: 610 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-17 09:58:49 +02:00
Cristian Marchi a902248bae l10n: Updated Italian (it) translation to 97%
New status: 598 messages complete with 5 fuzzies and 8 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-16 18:23:57 +02:00
Andhika Padmawan 5db5a0b6cb l10n: Updated Indonesian (id) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-15 05:26:04 +02:00
Christian Dywan ddc1bec3fe Default to tabs in background, it's trendy not scary these days 2012-09-15 01:19:59 +02:00
Christian Dywan 29716305b5 Use file info can-write instead of Posix.Access 2012-09-15 01:19:58 +02:00
Christian Dywan 5fdd9bdee0 Colons must be part of translatable strings 2012-09-15 01:19:58 +02:00
André Stösel 1929c51d9d new extension to download a file with a specified command 2012-09-15 01:19:58 +02:00
André Stösel ec04a1a274 Fix race condition by introducing switch_page (old, new)
So there's no confusion which one is the new, current tab.
2012-09-15 01:19:58 +02:00
Boram Kim 7124e36dd5 l10n: Updated Korean (ko) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-13 20:38:16 +02:00
Christian Dywan ad4e075051 Test gaps in numbering and swapping in speed dial 2012-09-12 22:36:57 +02:00
Christian Dywan 00cb292b80 Add AdblockPlus website link to adblock dialog 2012-09-12 22:36:57 +02:00
Christian Dywan 13c884b5cb Introduce SpeedDialError and test invalid save messages 2012-09-12 22:36:57 +02:00
Masato Hashimoto 55c06a4285 l10n: Updated Japanese (ja) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-12 14:50:29 +02:00
Paweł Forysiuk 5f43dceef0 Drop dialing from keyboard in speed dial for now 2012-09-12 14:12:08 +02:00
Christian Dywan 55e4823c30 Check that Shift+Space won't advance to the next page 2012-09-12 14:12:08 +02:00
Christian Dywan f185bcb42d Set a sensible default window size in plain mode 2012-09-12 14:12:08 +02:00
Christian Dywan ca07fe3cec Use <code> tags in about:version and :paths 2012-09-12 14:12:08 +02:00
Christian Dywan 4b533d2f51 Give readable names to numeric debug tokens 2012-09-12 14:12:08 +02:00
Christian Dywan 886ad1b765 Refresh open speed dials when it changes 2012-09-12 14:12:08 +02:00
Yarema aka Knedlyk 2bdaf5057e l10n: Updated Ukrainian (uk) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-11 11:12:27 +02:00
Christian Dywan bae360e3f8 Fix build of unit tests: speed dial, hsts, bookmarks 2012-09-11 00:44:09 +02:00
Paweł Forysiuk f29318af7c Adblock: use fs modification time to prevent unneded downloads 2012-09-10 23:19:01 +02:00
Paweł Forysiuk 9af985e7e8 Adblock: use queue to prevent endless update loop 2012-09-10 23:19:01 +02:00
Paweł Forysiuk 419d4c1ae5 Adblock: handle files with dates in future 2012-09-10 23:19:01 +02:00
Paweł Forysiuk 82242a8c2e Adblock: check if file contains any metadata first 2012-09-10 23:19:01 +02:00
Paweł Forysiuk 8de05bc07d Adblock: add some unit tests for update metadata 2012-09-10 23:19:01 +02:00
Christian Dywan fefc3b2cbe Merge build_thumbnail_path into Midori.SpeedDial 2012-09-09 22:34:33 +02:00
Christian Dywan 1ad675e24e Dissolve keyfile "default" wrappers into Midori.Extension 2012-09-09 22:34:33 +02:00
Christian Dywan f715e11ebf Remove cleared downloads from transfer panel 2012-09-09 22:34:33 +02:00
Christian Dywan 33efb94666 Proper extension fallback for temporary files 2012-09-09 22:34:33 +02:00
Christian Dywan dd90c2b65b Expand text column of the addons panel 2012-09-09 22:34:33 +02:00
Christian Dywan 49da17badd Fix bogus speed display by removing old values 2012-09-09 22:34:33 +02:00
Christian Dywan c8b6e07f27 No speed or remaining time for finished transfers 2012-09-09 22:34:32 +02:00
Paweł Forysiuk ad99fb1ebb Fix slot and dial name mixups when preparing/ saving 2012-09-09 22:34:32 +02:00
prflr88 fe2a5c048c l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-09 21:34:25 +02:00
Christian Dywan e3a71596bc Rework downloading into Midori.Download interface
Midori.URI
    get_folder
Midori.Download
    is_finished
    get/set_type
    get_progress
    get_tooltip
      Consistent estimation of remaining time and speed.
    get_content_type
      Icons in dialog and panel.
    has_wrong_checksum
      Verification in both panel and toolbar.
    action_clear, action_stock_id, open
      Consistent behavior in both panel and toolbar.
    fallback_extension
    clean_filename
        Merged two separate functions.
    get_suggested_filename
    get_filename_suggestion_for_uri
        Now handles MIME types.
    get_extension_for_uri
    get_unique_filename
        Renamed from prepare_filename.
    prepare_destination_uri
    has_enough_space
2012-09-09 14:07:30 +02:00
Jakob Kramer b3e604881b l10n: Updated German (de) translation to 99%
New status: 610 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-08 10:39:35 +02:00
Pjotr vertaalt b62602d28a l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-07 12:39:55 +02:00
Sergio Marques dd0607316b l10n: Updated Portuguese (pt) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-06 14:59:09 +02:00
Christian Dywan 3ff4483736 Uppercase P as one-letter switch for --portable 2012-09-05 19:16:46 +02:00
Christian Dywan 3bb03bfc56 Provide --plain mode akin to GtkLauncher 2012-09-05 19:16:46 +02:00
Paul Menzel ccd5b5ac99 wscript: Fix check for version of GTK+-2.0
After "Move thumbnail generation into SpeedDial class" building Midori failed.

1. Separately pass each digit of version to `check_version()` to fix the following build error.
2. Convert module name with `conf.check_cfg (modversion='gtk+-2.0')` to fix the following build error.

Fixes: https://bugs.launchpad.net/midori/+bug/1046172
2012-09-05 18:30:20 +02:00
Christian Dywan a6744f64ee Move midori_view_get_memory into WebKit guards 2012-09-05 18:30:20 +02:00
Ardjuna 3717185834 l10n: Updated Indonesian (id) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-05 17:10:44 +02:00
Paweł Forysiuk 3f4b0da5a0 Use lib prefix for library filenames everywhere 2012-09-05 01:26:35 +02:00
Christian Dywan 646b41b256 Get rid of meaningless can functions 2012-09-05 00:57:32 +02:00
Paweł Forysiuk e75348c463 nsis: Make installing doc folder and Faenza icons mandatory.
Disabling them would not save much space and leave broken user experience.
2012-09-05 00:06:07 +02:00
Christian Dywan e2c9660b3a Limit data: for main content to images 2012-09-05 00:06:07 +02:00
Christian Dywan 6210c59e31 Move thumbnail generation into SpeedDial class 2012-09-05 00:06:06 +02:00
Christian Dywan f2960a910d Ensure temporary download dir exists 2012-09-05 00:06:06 +02:00
Christian Dywan fec04dd1b0 Allow lazy URLs for -s/ --snapshot switch 2012-09-05 00:06:06 +02:00
David Štancl be6ea33642 l10n: Updated Czech (cs) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-04 23:22:11 +02:00
Rafael Ferreira de47f61360 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-04 04:12:43 +02:00
Yarema aka Knedlyk 407c46d2f4 l10n: Updated Ukrainian (uk) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-03 23:55:33 +02:00
Sergio Marques 0e7cf9eb6d l10n: Updated Portuguese (pt) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-03 17:40:20 +02:00
Christian Dywan 2b134da7d9 Always use exec_path based paths on Win32
Nobody expects system-wide folders.
And LIBDIR won't exist on the system.
2012-09-02 22:46:16 +02:00
Paweł Forysiuk 81179e175b Don't use g_strconcat when building extensions path 2012-09-02 22:01:32 +02:00
Paweł Forysiuk d426a4df9e Adblock: Try to parse more update metadata 2012-09-02 22:01:32 +02:00
Paweł Forysiuk 414a5f07ae Don't inline adblock_update_css_hash, GCC complains
warning: inlining failed in call to ‘adblock_update_css_hash’:
function not considered for inlining [-Winline]
2012-09-02 21:59:49 +02:00
Christian Dywan c1d387f958 Cache HSTS directives and handle sub domains 2012-09-02 21:14:49 +02:00
Christian Dywan fee43b8be6 Progress tweaks in view, unify progres in browser
Fixes: https://bugs.launchpad.net/bugs/1020910
2012-09-02 21:14:49 +02:00
Pjotr vertaalt 5555b88959 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-02 21:09:11 +02:00
Christian Dywan 7e1f2655bc Use remove() to remove Soup message header 2012-09-01 18:25:44 +02:00
Paweł Forysiuk be61f96bc2 Adblock: Check if file is up to date before parsing it 2012-09-01 18:13:14 +02:00
Christian Dywan c49fb82e87 Support HSTS as a SoupFeature
Parse the Strict-Transport-Security header and
enforce https on any listed domains (and subdomains).
2012-09-01 18:13:14 +02:00
Christian Dywan 64c9517459 Fix token parsing in midori_debug 2012-09-01 18:13:14 +02:00
Christian Dywan 373ddd5d0b Remove special case from search_engines_new_from_file 2012-09-01 18:13:14 +02:00
jc jc1 253a11d7ef l10n: Updated French (fr) translation to 98%
New status: 603 messages complete with 7 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-01 17:36:06 +02:00
prflr88 acd116361b l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-01 10:22:01 +02:00
Boram Kim 14abefcea9 l10n: Updated Korean (ko) translation to 100%
New status: 610 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-09-01 08:46:04 +02:00
Christian Dywan bc1ff81410 Pass around SpeedDial and move messages in there 2012-09-01 02:08:48 +02:00
Paweł Forysiuk 9b09760839 Update Adblock filters according to Last modified/ Expires 2012-09-01 02:00:12 +02:00
Christian Dywan db0ae6ab60 Introduce Midori.SpeedDial and unit test
Fixes: https://bugs.launchpad.net/midori/+bug/1038634
2012-08-31 23:47:03 +02:00
Christian Dywan 287fc53da9 No need for setlocale, GTK+ does this automatically 2012-08-31 22:02:15 +02:00
Christian Dywan b955713b4e Ensure temporary folder before viewing source 2012-08-31 22:02:15 +02:00
Christian Dywan aa5d387cc7 Move translations out of settings class
Remove a fair number of unnecessary strings.
Move trivial settings to Midori.Settings.
2012-08-31 22:02:15 +02:00
Christian Dywan fd49037ae6 Move simple settings into Midori.Settings class 2012-08-31 01:00:37 +02:00
Christian Dywan f4a3e69096 Don't unconditionally render XML as source
Fixes: https://bugs.launchpad.net/midori/+bug/1043698
2012-08-30 22:07:43 +02:00
Christian Dywan ebd0847a39 NULL placeholder text should unset it (gtk3 compat)
Fixes: https://bugs.launchpad.net/midori/+bug/1043681
2012-08-30 22:00:08 +02:00
Christian Dywan a0d9517053 Add get_command_line_str for debugging output 2012-08-30 00:43:21 +02:00
Christian Dywan 1ce2b96680 Move Win32 stdout work-around to the top
Otherwise Midori.Paths debugging won't be visible.
2012-08-30 00:43:21 +02:00
Christian Dywan 58d1436d4e Check that valid IP address has no leading 0 2012-08-30 00:43:21 +02:00
Christian Dywan 1c1fd1740e Remove obsolete KatzeNet instanciation 2012-08-30 00:43:20 +02:00
Christian Dywan f5d0c3ad5d Ellipsize text column in Addons panel 2012-08-30 00:43:20 +02:00
Christian Dywan 0668aba7cc Move config/ data/ res_filename/ lib_path to Midori.Paths 2012-08-30 00:43:20 +02:00
Yves-Alexis Perez 194aab3473 update homepage address. 2012-08-29 15:33:00 +02:00
jc jc1 3fbd36f3f5 l10n: Updated French (fr) translation to 98%
New status: 669 messages complete with 7 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-29 14:30:16 +02:00
David Štancl fdff73182e l10n: Updated Czech (cs) translation to 100%
New status: 676 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-29 12:39:14 +02:00
Christian Dywan 0f1f26480d Validate IP address in proxy server preference
Fixes: https://bugs.launchpad.net/midori/+bug/783044
2012-08-29 01:09:25 +02:00
Christian Dywan 36c3a4925a Render invalid URI in entry with underline in GTK+3
GTK+2 shows a red background in this case.
2012-08-29 01:09:25 +02:00
Christian Dywan de771db75d Update copyright and URL in --version and about
Fixes: https://bugs.launchpad.net/midori/+bug/977423
2012-08-29 01:09:25 +02:00
Christian Dywan 915955c0da Strip HTTP Host to outsmart some filter proxies 2012-08-29 01:09:25 +02:00
Christian Dywan 3fb42ef2d7 Stop using magic test folder name 2012-08-29 01:09:24 +02:00
Boram Kim 503f1be5c5 l10n: Updated Korean (ko) translation to 100%
New status: 676 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-28 15:04:15 +02:00
Paweł Forysiuk 8bf93fcad0 Move portable setup code path down 2012-08-27 23:36:44 +02:00
Paweł Forysiuk 910e2d4842 Use #ifdef for ZEITGEIST and GCR 2012-08-27 22:50:33 +02:00
Christian Dywan a6606a9cee Use new Paths API in web cache extension 2012-08-27 22:29:13 +02:00
Christian Dywan cc4fbca8e3 Disable GtkRecentManager in private and portable mode 2012-08-27 22:27:48 +02:00
Christian Dywan 7f37162fe0 Introduce Midori.Paths and Midori.RuntimeMode
Also introduce initial "portable" mode on Win32.
2012-08-27 21:52:24 +02:00
Christian Dywan 49dae87d36 Reverse certificate check in navigation_decision_cb 2012-08-27 21:52:23 +02:00
Christian Dywan cfb0db3b60 Zoom text and images by default 2012-08-27 21:52:23 +02:00
Christian Dywan f41498e16c Exact debug token check and verify tokens are listed 2012-08-27 21:52:23 +02:00
Alex Z b5ff08c4c0 l10n: Updated Russian (ru) translation to 99%
New status: 674 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-27 13:45:48 +02:00
Mario Blättermann 6226d9847b l10n: Updated German (de) translation to 99%
New status: 674 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-26 16:18:14 +02:00
Mario Blättermann 78eaf31e30 l10n: Updated German (de) translation to 99%
New status: 673 messages complete with 1 fuzzy and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-26 15:48:29 +02:00
Christian Dywan 6757898c95 Re-use saved ellipsize in midori_view_update_tab_title 2012-08-25 17:03:59 +02:00
Paweł Forysiuk 879d6c41a7 nsis: Clean up and sync required icon names with current usage 2012-08-25 17:03:59 +02:00
Paweł Forysiuk 52c8b4aea9 makedist.midori: Copy MS-Windows theme only for GTK2 builds 2012-08-25 17:03:59 +02:00
Gheyret Kenji d641a52de1 l10n: Updated Uyghur (ug) translation to 98%
New status: 665 messages complete with 0 fuzzies and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-24 09:55:35 +02:00
Ivica Kolić 944e9107ff l10n: Updated Croatian (hr) translation to 81%
New status: 547 messages complete with 0 fuzzies and 128 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-24 02:48:36 +02:00
Efstathios Iosifidis 4e996d1824 l10n: Updated Greek (el) translation to 99%
New status: 670 messages complete with 0 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-23 23:41:58 +02:00
Paweł Forysiuk de1e603eb3 nsis: Don't bother with *.icon files in scalable icon folders 2012-08-23 21:28:41 +02:00
Paweł Forysiuk bf20c2b7ab nsis: Be sure to copy 24x24 icons too 2012-08-23 21:28:32 +02:00
Paweł Forysiuk fd5daab3e2 nsis: Update Copyright and website url info 2012-08-23 21:28:23 +02:00
Christian Dywan f6595ea15e Handle and cache Accept-Language in WebSettings 2012-08-23 21:25:44 +02:00
Paweł Forysiuk 06341b8ecf nsis: Make icon theme switchable 2012-08-22 02:06:04 +02:00
Paweł Forysiuk 57777d402f nsis: Drop icons larger than 48x48 2012-08-22 02:06:04 +02:00
André Stösel 43d3a6b07e use MidoriDownloadType to check if the download should be started 2012-08-22 02:06:04 +02:00
André Stösel 06b3a3a1ad add MidoriDownloadType to VAPI 2012-08-22 02:06:04 +02:00
Efstathios Iosifidis 373769cffd l10n: Updated Greek (el) translation to 97%
New status: 656 messages complete with 2 fuzzies and 17 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-19 18:03:53 +02:00
Christian Dywan 544dc08760 Introduce a merged NextForward akin to StopReload
Fixes: https://bugs.launchpad.net/midori/+bug/823736
2012-08-19 15:32:48 +02:00
Daniel P. Fore 2e94548d70 Improve insensitive button work-around
Fixes: https://bugs.launchpad.net/midori/+bug/1036483
2012-08-19 14:22:38 +02:00
Mikalai Udodau c4693a5084 l10n: Updated Belarusian (be) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-18 18:59:22 +02:00
Sergio Marques 8c39b1f341 l10n: Updated Portuguese (pt) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-18 02:20:17 +02:00
Efstathios Iosifidis 8f015c6340 l10n: Updated Greek (el) translation to 99%
New status: 652 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-17 01:09:20 +02:00
Paweł Forysiuk 78a317d42f Silence some "defined but not used" warnigs when crosscompiling 2012-08-16 00:19:48 +02:00
Paweł Forysiuk 870ecca738 Make Midori.URI.get_fingerprint more legible 2012-08-16 00:19:48 +02:00
Paweł Forysiuk 21e7464226 makedist.midori: use debug.log as debuggin output 2012-08-16 00:19:48 +02:00
Mikalai Udodau 1dcf70bd9d l10n: Updated Belarusian (be) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-15 18:09:04 +02:00
Rafael Ferreira 9b59026233 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-15 03:37:43 +02:00
Christian Dywan 50f38f4b91 Ellipsize text in Transfers panel 2012-08-14 00:38:04 +02:00
Paweł Forysiuk 6f3eb6fd62 Workaround grey background on inactive buttons with GTK+3 2012-08-14 00:38:04 +02:00
Paweł Forysiuk 3fbcc93bac makedist.midori: Add debug helper to bin folder in debug builds 2012-08-14 00:38:04 +02:00
prflr88 605953ebe6 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-13 07:03:38 +02:00
Yarema aka Knedlyk b5cd9766f1 l10n: Updated Ukrainian (uk) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-12 23:55:16 +02:00
Pjotr vertaalt af47197ed5 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-11 21:15:45 +02:00
David Štancl a544de436e l10n: Updated Czech (cs) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-11 11:47:48 +02:00
Boram Kim a3a46be77f l10n: Updated Korean (ko) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-11 08:40:01 +02:00
Christian Dywan b97140d3fd Show opener or tab domain of download in dialog
An attacker may try to abuse the fact that a download
can start on an unrelated tab.
See http://lcamtuf.coredump.cx/fldl/ http://lcamtuf.coredump.cx/switch/
2012-08-10 19:11:37 +02:00
Paweł Forysiuk 5c26087e62 Return no search engine if there's no form
Such as http://valadoc.org/#!wiki=index
2012-08-10 19:11:36 +02:00
Walter cheuk cb7e28b11f l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-09 17:36:29 +02:00
Christian Dywan 35dfebd1c6 Fix inconsistency in test initializations 2012-08-09 01:02:56 +02:00
Paweł Forysiuk e5da45a40e Don't mixup tokens starting with the same letters 2012-08-09 01:02:56 +02:00
Christian Dywan 2e17639201 Completion: Fix PageUp/Down, Shift+Tab and wrap
This is consistent with GTK+ (excluding Tab) and Firefox.

Fixes: https://bugs.launchpad.net/midori/+bug/905078
2012-08-09 01:02:56 +02:00
Paweł Forysiuk 3c159386c8 Show page title in tooltips on speeddial items 2012-08-09 01:02:56 +02:00
Christian Dywan da4c27f673 Change Focus Current Tab to Ctrl+Alt+Home
Ctrl+Home conflicts with horizontally scrolling left.
2012-08-09 01:02:56 +02:00
Christian Dywan 60f93f157a Check sokoke_has_default instead of placeholder text
It is set if there's a placeholder (and GTK+ 3 returns NULL text).
2012-08-09 01:02:56 +02:00
Mikalai Udodau f145efaabc l10n: Updated Belarusian (be) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-08 19:18:06 +02:00
Christian Dywan 364345f57f Always initialize checkbox in save dialog
Related: https://bugs.launchpad.net/midori/+bug/1025894
2012-08-07 01:08:25 +02:00
Paweł Forysiuk db37fbcc74 Enable netscape plugins on win32 2012-08-07 01:08:25 +02:00
Christian Dywan b45222111b Distinguish events for new from modified bookmarks 2012-08-07 01:08:24 +02:00
Christian Dywan 75345d5047 Bail out if building with soup/ glib exposing download bug 2012-08-07 01:08:24 +02:00
Kris Thomsen 2fa42e0a33 l10n: Updated Danish (da) translation to 98%
New status: 667 messages complete with 0 fuzzies and 8 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-07 00:06:17 +02:00
Mișu Moldovan 90f22c7a28 l10n: Updated Romanian (ro) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-06 15:35:13 +02:00
Gheyret Kenji 457c89f829 l10n: Updated Uyghur (ug) translation to 98%
New status: 665 messages complete with 0 fuzzies and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-06 10:52:01 +02:00
Piarres Beobide 3d7b28567d l10n: Updated Basque (eu) translation to 78%
New status: 533 messages complete with 13 fuzzies and 129 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-06 00:43:17 +02:00
Piarres Beobide 324263d3a6 l10n: Updated Basque (eu) translation to 77%
New status: 525 messages complete with 15 fuzzies and 135 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-06 00:39:55 +02:00
Christian Dywan 9fb173ba69 Merge gtk_init into midori_app_setup
gtk_init must come before stock items but we
need to copy the arguments before.

Fixes: https://bugs.launchpad.net/midori/+bug/1033043
2012-08-06 00:32:01 +02:00
Christian Dywan b925dbca33 Consolidate search entries in sokoke_search_entry_new 2012-08-06 00:32:01 +02:00
Christian Dywan 4cd88d5746 Log bookmarks, history and downloads to zeitgeist
Fixes: https://bugs.launchpad.net/midori/+bug/783588
2012-08-06 00:32:01 +02:00
Yarema aka Knedlyk eb0238328e l10n: Updated Ukrainian (uk) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-05 23:17:39 +02:00
prflr88 9ab7b07377 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-05 03:20:54 +02:00
Pjotr vertaalt 4ddab57690 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-04 21:32:22 +02:00
Mikalai Udodau 6bf77b45d8 l10n: Updated Belarusian (be) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-04 01:32:47 +02:00
Christian Dywan fa3ab67cef Ellipsize panel treeviews instead of scrolling
Fixes: https://bugs.launchpad.net/midori/+bug/1020353
2012-08-03 21:45:16 +02:00
Paweł Forysiuk 242a1baf0b Use bigger factor for large speed dials
Fixes: https://bugs.launchpad.net/midori/+bug/904492
2012-08-03 21:29:46 +02:00
Paweł Forysiuk 8cfebb7dcc Update documentation about bookmarks debug variable 2012-08-03 21:17:56 +02:00
Christian Dywan 3ecdcf0826 Don't search for place holder text in panels 2012-08-03 21:07:28 +02:00
Paweł Forysiuk bf026bd905 Check if path is absolute before building exec_path 2012-08-03 21:07:28 +02:00
prflr88 acd6ef7eac l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-03 20:45:09 +02:00
mbouzada 42ec8e205b l10n: Updated Galician (gl) translation to 98%
New status: 666 messages complete with 0 fuzzies and 9 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-03 20:16:05 +02:00
mbouzada 81cca6c586 l10n: Updated Galician (gl) translation to 97%
New status: 660 messages complete with 2 fuzzies and 13 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-03 20:08:03 +02:00
mbouzada 2ecb48893a l10n: Updated Galician (gl) translation to 96%
New status: 654 messages complete with 4 fuzzies and 17 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-03 20:03:49 +02:00
Mikalai Udodau 290a53ab6d l10n: Updated Belarusian (be) translation to 99%
New status: 670 messages complete with 0 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-03 19:54:31 +02:00
Ivica Kolić 43303dffbf l10n: Updated Croatian (hr) translation to 81%
New status: 547 messages complete with 0 fuzzies and 128 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-02 17:22:09 +02:00
Mikalai Udodau 270b57deac l10n: Updated Belarusian (be) translation to 91%
New status: 619 messages complete with 3 fuzzies and 53 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-08-01 23:30:30 +02:00
David Štancl 5d7aae4942 l10n: Updated Czech (cs) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-31 09:33:00 +02:00
Sergio Marques ea89eb4ff7 l10n: Updated Portuguese (pt) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-29 21:41:38 +02:00
Christian Dywan 21387841d2 Improve usage of Granite about dialog
Fixes: https://bugs.launchpad.net/midori/+bug/1020392
2012-07-29 13:02:37 +02:00
Masato Hashimoto 6c0e9c43f6 l10n: Updated Japanese (ja) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-29 08:37:25 +02:00
Boram Kim a87f881149 l10n: Updated Korean (ko) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-28 20:47:33 +02:00
Boram Kim 2bdd3be8ed l10n: Updated Korean (ko) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-28 20:37:38 +02:00
Christian Dywan 0f525a99fd Hide forward tool button when it's insensitive
Fixes: https://bugs.launchpad.net/midori/+bug/823736
2012-07-28 13:41:33 +02:00
Christian Dywan dfec166691 Use content view class for panel contents
Fixes: https://bugs.launchpad.net/midori/+bug/1026390
2012-07-28 11:13:37 +02:00
Christian Dywan 96f616a237 Use secondary toolbar class for panel title
Also introduce a utility function to make adding
the class more readable.

Fixes: https://bugs.launchpad.net/midori/+bug/1026384
2012-07-28 11:06:40 +02:00
Christian Dywan 5bed5082ed Hinted text in bookmarks, history and cookie manager
Fixes: https://bugs.launchpad.net/midori/+bug/1026392
2012-07-28 10:46:04 +02:00
Christian Dywan 92e21d50ad No "New Tab" in toolbar editor with Granite
Fixes: https://bugs.launchpad.net/midori/+bug/1029616
2012-07-28 10:46:04 +02:00
Enrico Tröger 7f91e0985f Use g_hash_table_lookup() instead of newer g_hash_table_contains()
This retains compability with GLib 2.30.
2012-07-28 10:46:04 +02:00
Paweł Forysiuk 1e6793330f Make text wrap in Readable mode 2012-07-28 10:46:04 +02:00
prflr88 917b62e91b l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-28 04:45:00 +02:00
Yarema aka Knedlyk 0f98a0579d l10n: Updated Ukrainian (uk) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-27 17:20:06 +02:00
Piotr Sokół 5d03d030f3 l10n: Updated Polish (pl) translation to 98%
New status: 663 messages complete with 1 fuzzy and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-27 10:17:35 +02:00
Piotr Sokół 1673f0218f l10n: Updated Polish (pl) translation to 97%
New status: 658 messages complete with 1 fuzzy and 15 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-27 01:34:16 +02:00
Sergio Marques c71aae37a8 l10n: Updated Portuguese (pt) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-26 17:23:22 +02:00
David Štancl daebca32c0 l10n: Updated Czech (cs) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-26 12:34:46 +02:00
Gheyret Kenji 3e38c0bb69 l10n: Updated Uyghur (ug) translation to 93%
New status: 629 messages complete with 0 fuzzies and 45 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-26 07:33:14 +02:00
Gheyret Kenji 381ae720ed l10n: Updated Uyghur (ug) translation to 93%
New status: 627 messages complete with 2 fuzzies and 45 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-26 07:31:27 +02:00
Paweł Forysiuk de4ea9b3bf Move token to the front in Manage Search Engines 2012-07-25 23:21:05 +02:00
Paweł Forysiuk 75d7a7024c Guess a suitable token for a form-based search 2012-07-25 23:05:47 +02:00
Christian Dywan 16a0f666da Add list style select to about:widgets
See: https://bugs.launchpad.net/midori/+bug/1029059
2012-07-25 23:05:47 +02:00
Christian Dywan 6809231e54 Singular/ plural in Close Other Tab(s)
And make it insensitive if there's only one tab.
2012-07-25 23:05:47 +02:00
Mikalai Udodau 94a997a289 l10n: Updated Belarusian (be) translation to 79%
New status: 535 messages complete with 39 fuzzies and 100 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-25 21:23:55 +02:00
Pjotr vertaalt 29fdd92fe1 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-25 11:40:32 +02:00
Paweł Forysiuk cc0d81345b Don't bother with adblocked items when saving pages with resources 2012-07-24 23:16:50 +02:00
Christian Dywan 21d95c62f4 Correctly use nth tab, not n - 1 to append 2012-07-24 23:10:43 +02:00
Paweł Forysiuk d95513226d Prefill description when adding search engine 2012-07-24 23:10:43 +02:00
Stéphane Marguet dce8096593 Harden check_version to handle pico version
Fixes: https://bugs.launchpad.net/midori/+bug/1026667
2012-07-24 23:10:43 +02:00
Christian Dywan 5425f1c3ad Set default size on certificate details with GTK+2 2012-07-24 23:10:43 +02:00
Yarema aka Knedlyk e02a90d844 l10n: Updated Ukrainian (uk) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-24 23:07:49 +02:00
Sergio Marques 04417c37c0 l10n: Updated Portuguese (pt) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-24 14:01:13 +02:00
Christian Dywan f82a06afa5 Remove "icon" field from search engines 2012-07-23 21:41:08 +02:00
Christian Dywan d49d314c0b Avoid -1 to append tabs and use tab page in tab-switched 2012-07-23 21:41:07 +02:00
Christian Dywan 2adb54ae8d Add X-GNOME-Fullname to .desktop
Latest GNOME Shell uses it, and it's necessary that
translators can tweak the final string.
2012-07-23 21:41:07 +02:00
prflr88 f74a210c48 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-23 17:57:54 +02:00
David Štancl 21c8fb6d84 l10n: Updated Czech (cs) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-23 11:08:43 +02:00
David Štancl 00db3195a8 l10n: Updated Czech (cs) translation to 99%
New status: 668 messages complete with 0 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-23 11:05:42 +02:00
Rafael Ferreira 0ed991b170 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 99%
New status: 670 messages complete with 4 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-22 19:36:10 +02:00
Yarema aka Knedlyk f67822736f l10n: Updated Ukrainian (uk) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-22 15:03:48 +02:00
Yarema aka Knedlyk 100f45a9db l10n: Updated Ukrainian (uk) translation to 99%
New status: 672 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-22 15:00:25 +02:00
Masato Hashimoto 4eef6a4534 l10n: Updated Japanese (ja) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-22 05:39:11 +02:00
Boram Kim 2ee0065e34 l10n: Updated Korean (ko) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-22 04:04:17 +02:00
Pjotr vertaalt e6ee98b8db l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-21 18:15:51 +02:00
Pjotr vertaalt 8e1b6d23c2 l10n: Updated Dutch (Flemish) (nl) translation to 99%
New status: 669 messages complete with 1 fuzzy and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-21 18:08:29 +02:00
Sergio Marques da0ecd928e l10n: Updated Portuguese (pt) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-21 15:30:38 +02:00
Christian Dywan 1ea3c81643 Warn if executing a non-existing action remotely 2012-07-21 00:35:05 +02:00
Christian Dywan 3ec314c7f8 Use Gtk.HScale with GTK+2 instead of Gtk.Scale
Fixes: https://bugs.launchpad.net/midori/+bug/1026945
2012-07-21 00:12:04 +02:00
Christian Dywan 6597f1f0b4 Draggable favicon as URL or text 2012-07-21 00:02:08 +02:00
Paweł Forysiuk 6b1abeed69 Add "Add search engine" context menu to forms
Fixes: https://bugs.launchpad.net/midori/+bug/802279
2012-07-20 23:46:26 +02:00
André Stösel 7461925615 New option to delay the page reload 2012-07-20 01:24:00 +02:00
Christian Dywan 2cf8d9323e Require GTK+ 2.16 or later 2012-07-20 01:22:38 +02:00
Christian Dywan d057ab4ddb Fix uninitialized request in download_requested_cb 2012-07-20 01:19:30 +02:00
Christian Dywan 4daaa98232 Add gcr version to about:version 2012-07-19 22:27:50 +02:00
Paweł Forysiuk ae18206f7b Fix typos in midori_debug uses 2012-07-19 21:40:27 +02:00
Christian Dywan 91befb0ccc Render error message if granting trust fails 2012-07-19 21:37:13 +02:00
Christian Dywan b8b0bc341d Destroy security details when clicking icon again 2012-07-19 21:14:10 +02:00
Christian Dywan b7f438589f Consistently use ifdef HAVE_GRANITE 2012-07-19 21:14:10 +02:00
Christian Dywan 27f5cbfb25 Change browser_save_uri to clear up variable initialization 2012-07-19 21:14:10 +02:00
Christian Dywan 218a6d0b2e Add Export button to certificate details 2012-07-19 21:14:10 +02:00
Christian Dywan 2c77e2d1dd Introduce about:paths listing common locations 2012-07-19 21:14:09 +02:00
Christian Dywan 5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Boram Kim d8de8285ef l10n: Updated Korean (ko) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-19 12:58:45 +02:00
Sergio Marques 03045fdf53 l10n: Updated Portuguese (pt) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-19 10:56:35 +02:00
Gheyret Kenji 32da4d8f0c l10n: Updated Uyghur (ug) translation to 93%
New status: 628 messages complete with 0 fuzzies and 43 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-19 08:04:05 +02:00
Christian Dywan 7c5410468f Fix regression causing wrong tab URL "ghost" in urlbar 2012-07-19 02:26:22 +02:00
Christian Dywan 31fe130f87 Look for GTK+2 version of gcr-3 2012-07-19 02:26:22 +02:00
Gheyret Kenji d549cfd203 l10n: Updated Uyghur (ug) translation to 84%
New status: 570 messages complete with 0 fuzzies and 101 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-18 10:41:38 +02:00
Christian Dywan 3d14faf9be Save non-text as single file, checkbox otherwise
Fixes: https://bugs.launchpad.net/midori/+bug/1025894
2012-07-18 01:21:36 +02:00
Christian Dywan 3259ab1be2 Allow trusting a website inside the error message 2012-07-18 01:21:36 +02:00
Christian Dywan 7eb4aa78aa Automatically close security details on focus out 2012-07-18 01:21:36 +02:00
André Stösel 7bcc270b05 Show view->overlay_label 2012-07-18 01:21:36 +02:00
Christian Dywan 760f4895a3 Replace _web_view_open with _load_uri 2012-07-18 01:21:36 +02:00
Sergio Marques 2f2b33abee l10n: Updated Portuguese (pt) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-17 16:49:04 +02:00
Christian Dywan 65844ecf4c Fix typo and missing casts in show_page_info 2012-07-17 13:48:46 +02:00
Cheng-Chia Tseng 96ad359d34 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-17 08:22:45 +02:00
Christian Dywan 05d58f8287 Don't block sites with pinned certificates 2012-07-17 01:34:17 +02:00
Christian Dywan c096b46ff3 TLS error in-page and Trust/ Revoke in details dialog 2012-07-17 01:09:15 +02:00
Christian Dywan 301bb89dd3 Render certificate, optionally with GCR 2012-07-16 21:23:07 +02:00
Christian Dywan 19f291d2be Re-introduce window flashing, except on Win32 2012-07-16 21:23:06 +02:00
Christian Dywan ed2a7fea6f Replace Print with Share with Granite
Fixes: https://bugs.launchpad.net/midori/+bug/963903
2012-07-16 21:23:06 +02:00
Masato Hashimoto 20d70d2ac7 l10n: Updated Japanese (ja) translation to 100%
New status: 661 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-16 12:18:53 +02:00
Cheng-Chia Tseng 8c85d0f08c l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 661 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-16 10:36:50 +02:00
Ivica Kolić 4995e6fd6f l10n: Updated Croatian (hr) translation to 82%
New status: 545 messages complete with 0 fuzzies and 116 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-16 01:14:24 +02:00
Christian Dywan 4eb8553012 Implement details dialog/ pop-over on left icon
Fixes: https://bugs.launchpad.net/midori/+bug/898495
2012-07-15 17:25:07 +02:00
Christian Dywan 015c6e8428 GIcon for MIME icons, findbar and security 2012-07-15 17:25:07 +02:00
Christian Dywan 83609a1a88 Confirmation for insecure sites instead of urlbar color
Fixes: https://bugs.launchpad.net/midori/+bug/996697
2012-07-15 17:25:07 +02:00
Sergio Marques 377a01948f l10n: Updated Portuguese (pt) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-15 11:18:30 +02:00
Christian Dywan 8c54bd5d38 Create window by dragging the tab with Granite 2012-07-15 00:13:44 +02:00
Christian Dywan 7d293b5c19 Fix tabbar after fullscreen with Granite 2012-07-15 00:13:44 +02:00
Christian Dywan 9ac0175899 Move tab removal out of the signal
Every caller should use the API to remove a tab to
produce consistent behavior.
The destroy callback takes care of UI updates.
2012-07-15 00:13:44 +02:00
Christian Dywan 3627c75e0b Add missing noundo and help_button classes 2012-07-15 00:13:43 +02:00
Christian Dywan 49957c95d1 Handle RTL in special pages (errors) 2012-07-15 00:13:43 +02:00
Christian Dywan 81543161df Move GTK+3 built-in CSS to gtk3.css 2012-07-15 00:13:43 +02:00
Piotr Sokół e28ccf12ac l10n: Updated Polish (pl) translation to 99%
New status: 654 messages complete with 1 fuzzy and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-14 22:00:27 +02:00
Christian Dywan 649d079b04 Use explicit old and new page when switching
Also pass the view when updating the statusbar.
2012-07-13 17:56:52 +02:00
Henrique P. Machado 612d22bbe3 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-13 02:04:44 +02:00
Christian Dywan d2ebd4797d With GTK+3 we have to put-in for progressbar text 2012-07-13 00:10:08 +02:00
Christian Dywan c13da3b1b3 Free frozen extension list as GDestroyNotify 2012-07-12 23:20:09 +02:00
Christian Dywan 00ca0c4687 Always copy the filename of extension modules
There's a suspected memory corruption otherwise.
2012-07-12 22:53:54 +02:00
Paweł Forysiuk 23f9fa606a Package CA bundle for windows 2012-07-12 22:37:31 +02:00
Paweł Forysiuk 470b666d6c Use Faenza icon when packaging for win32 2012-07-12 22:37:20 +02:00
Johannes Sasongko cd377bb7a8 Include config.h before HAVE_GRANITE
Fixes: https://bugs.launchpad.net/midori/+bug/980355
2012-07-12 00:22:13 +02:00
Christian Dywan 93ef102c23 Deal with moving and switching in dynamic notebook 2012-07-12 00:14:48 +02:00
Christian Dywan 9ca795eec2 Render url icon in url entries
Notably in the bookmark dialog and the homepage.
2012-07-11 22:55:41 +02:00
Christian Dywan 125bec6974 Rename news-feed to internet-news-reader
Faenza, Oxygen and Tango use it, and Elementary will.
2012-07-11 22:25:33 +02:00
Christian Dywan 68a4ed6c99 Rememember whether inspector was attached 2012-07-11 21:28:10 +02:00
Christian Dywan d260e71a23 Add edit, stop and url icon to midori-stock.h 2012-07-11 18:41:18 +02:00
Niels Avonds 6f47ae75fc Use bookmark/ folder-new in bookmark panel
Fixes: https://bugs.launchpad.net/midori/+bug/940536
2012-07-11 18:41:18 +02:00
prflr88 28c5af1458 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-11 18:23:37 +02:00
Christian Dywan c236e4da9e Drop compatibility layer for legacy icon names
Fixes: https://bugs.launchpad.net/midori/+bug/988231
2012-07-11 18:04:59 +02:00
Paweł Forysiuk 33cede91a7 Use ca-bundle.crt from res on Windows
System-wide certificates don't work.
2012-07-10 23:19:34 +02:00
Christian Dywan 7a6bc50d0a Don't set background on suggestions on Win32
The color from the native theme is wrong.
2012-07-10 19:41:40 +02:00
Christian Dywan 7f7668048e Use website title as filename when saving 2012-07-10 19:41:40 +02:00
Cheng-Chia Tseng 831a185621 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-10 14:00:46 +02:00
Gheyret Kenji 846853f2db l10n: Updated Uyghur (ug) translation to 98%
New status: 618 messages complete with 0 fuzzies and 11 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-10 07:41:50 +02:00
Christian Dywan 0dcf146b1f Save resources when saving a website
Fixes: https://bugs.launchpad.net/midori/+bug/959449
2012-07-09 22:23:25 +02:00
Christian Dywan d089634f6c Null-check keys in midori_load_extensions 2012-07-09 20:46:56 +02:00
Christian Dywan 41dda877ba Correct typo icon/#icon in about.css 2012-07-09 20:46:10 +02:00
Christian Dywan 6a4a506f24 Consolidate download types as MidoriDownloadType 2012-07-08 23:55:39 +02:00
Christian Dywan 3bdf2e7b73 Manually start save-as type downloads 2012-07-08 23:04:56 +02:00
Christian Dywan 57397ee229 External download manager should skip image viewer 2012-07-08 23:04:27 +02:00
Christian Dywan c4791e4a9a Handle tmp folder as midori_view_get_tmp_dir 2012-07-08 23:03:47 +02:00
Christian Dywan f9005c63a7 Ensure folder existing when saving source 2012-07-08 21:28:53 +02:00
Christian Dywan a0b2020550 Don't quote commands containing tokens 2012-07-08 21:02:06 +02:00
Christian Dywan 4073c14546 Optimize extension loading at startup
Only load modules in the list of active extensions and
get the remaining extensions when showing the dialog.
2012-07-08 20:12:39 +02:00
Christian Dywan 0c201ca2b8 Handle more tokens in sokoke_spawn_program 2012-07-08 20:12:38 +02:00
Christian Dywan 8ad44b86c3 Hide navigation or collapsible items in Readable 2012-07-08 20:12:38 +02:00
Masato Hashimoto 184c1133e6 l10n: Updated Japanese (ja) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-08 12:19:35 +02:00
David Štancl 1d366e4913 l10n: Updated Czech (cs) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-07 20:14:35 +02:00
Piotr Sokół ec0591ab8b l10n: Updated Polish (pl) translation to 99%
New status: 654 messages complete with 1 fuzzy and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-07 19:11:51 +02:00
Sergio Marques fcaba281fc l10n: Updated Portuguese (pt) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-06 15:55:19 +02:00
Andhika Padmawan 043e786572 l10n: Updated Indonesian (id) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-06 13:32:27 +02:00
Yarema aka Knedlyk 6e466f3083 l10n: Updated Ukrainian (uk) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-06 12:40:21 +02:00
Pjotr vertaalt 14dd9c645d l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-06 12:04:09 +02:00
Gheyret Kenji e4c1e6ec7f l10n: Updated Uyghur (ug) translation to 98%
New status: 618 messages complete with 0 fuzzies and 11 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-06 07:13:16 +02:00
Christian Dywan 75657d1fb4 Enhance faq.css for use with Readable
See: https://bugs.launchpad.net/midori/+bug/743998
2012-07-06 01:36:20 +02:00
Paweł Forysiuk db30c9a3d7 Re-group app menu to place fullscreen better 2012-07-06 01:36:20 +02:00
Gheyret Kenji 8679a5b19e l10n: Updated Uyghur (ug) translation to 98%
New status: 618 messages complete with 0 fuzzies and 11 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-06 01:26:03 +02:00
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
Christian Dywan d319d40416 Replace Panel in app menu with individual panels
So users will see "Bookmarks" and "History" and hopefully
that's more discoverable than "Sidepanel".
2012-07-05 20:34:09 +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 e8cbe34aeb Use optimized code path for current tab 2012-07-04 23:55:31 +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
Ivica Kolić 74d711d2bd l10n: Updated Croatian (hr) translation to 82%
New status: 546 messages complete with 0 fuzzies and 112 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-04 01:20:12 +02:00
Yarema aka Knedlyk f598f91208 l10n: Updated Ukrainian (uk) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-03 13:48:32 +02:00
Christian Dywan f1db28a6ce No need to connect to tab-removed
By default the widget will be destroyed.
2012-07-03 01:46:02 +02:00
Christian Dywan 64d9533f7b Use constructor to create static notebook 2012-07-03 01:46:02 +02:00
Christian Dywan ec2a7446e4 Add work-around for dynamic notebook current tab 2012-07-03 01:46:02 +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
Christian Dywan d5bf30ec03 Follow API changes of Granite static notebook
Fixes: https://bugs.launchpad.net/midori/+bug/1018474
2012-07-03 00:27:30 +02:00
Christian Dywan 708d74038f One parent less to get resources in the build folder 2012-07-02 20:50:01 +02:00
Johannes Lips 225e13c06b l10n: Updated German (de) translation to 97%
New status: 641 messages complete with 17 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-01 22:25:51 +02:00
Christian Dywan ef4ee2f634 Remove window flashing on new tabs
The flashing can be distracting to some users. We
may re-visit the feature if we find a better behavior.

The setting stays to avoid resetting old config files.
2012-07-01 22:16:12 +02:00
Christian Dywan 4e51fa1f00 Inlcude unistd.h in bookmarks.c for F_OK 2012-07-01 21:55:46 +02:00
Christian Dywan 264582f557 Fix building of tests with GTK+3 2012-07-01 21:26:06 +02:00
Christian Dywan aa1ffbf1d0 Rework sokoke_spawn_command internals
Caller decides if the command and the argument are quoted,
otherwise quoting only affects %s. The actual quoting is
split to allow use in test cases.

The Hildon version was dropped.
The GAppInfo version was dropped.
A test case with a cuple examples was added.
2012-07-01 21:26:06 +02:00
Paweł Forysiuk 262ded5222 Fix "view source" always being disabled on win32 2012-07-01 21:26:06 +02:00
Boram Kim 103664a8f0 l10n: Updated Korean (ko) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-01 19:48:11 +02:00
Sergio Marques 7eac618c5b l10n: Updated Portuguese (pt) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-01 12:30:15 +02:00
Andhika Padmawan 3e80912a03 l10n: Updated Indonesian (id) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-01 04:14:14 +02:00
Johannes Lips c3a7e53c0c l10n: Updated German (de) translation to 97%
New status: 641 messages complete with 17 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-07-01 01:23:08 +02:00
prflr88 616fc49048 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-30 06:37:12 +02:00
prflr88 0592f19446 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-30 06:19:02 +02:00
prflr88 1be88cee24 l10n: Updated Spanish (Castilian) (es) translation to 98%
New status: 651 messages complete with 7 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-30 06:14:39 +02:00
prflr88 b6081086bd l10n: Updated Spanish (Castilian) (es) translation to 98%
New status: 651 messages complete with 7 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-30 06:05:14 +02:00
Rafael Ferreira f44a09d6ad l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 98%
New status: 646 messages complete with 12 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-29 15:27:17 +02:00
Pjotr vertaalt 5e5f68c8b3 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-29 14:39:01 +02:00
David Štancl 36f451fd97 l10n: Updated Czech (cs) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-29 13:15:01 +02:00
Ivica Kolić 860f85eeaa l10n: Updated Croatian (hr) translation to 82%
New status: 546 messages complete with 0 fuzzies and 113 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-29 00:22:52 +02:00
Daniel P. Fore 2ac581519c Remove bookmark bar item from app menu
Fixes: https://bugs.launchpad.net/midori/+bug/1018225
2012-06-28 23:30:20 +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
Daniel P. Fore fd7171298d Remove 'Customize Toolbar' from app/ tools menu
Fixes: https://bugs.launchpad.net/midori/+bug/699933
2012-06-28 23:21:43 +02:00
Christian Dywan 8dccae9303 Rename Toplevel folder to Bookmarks
Fixes: https://bugs.launchpad.net/midori/+bug/1018135
2012-06-28 23:11:21 +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
Paweł Forysiuk 627f367837 Apply dark-widgets-workaround style for win32 only for gtk2 builds 2012-06-28 22:23:34 +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
David Štancl 611ca5b43d l10n: Updated Czech (cs) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-28 13:51:27 +02:00
Pjotr vertaalt 46ed599c19 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-28 11:45:55 +02:00
Christian Dywan a6fd514030 Correct show_all after latest bookmark dialog tweak
Otherwise the web app check box isn't visible.
2012-06-28 01:50:52 +02:00
Christian Dywan b18667220c Handle abp: and abp:// links
Fixed: https://bugs.launchpad.net/midori/+bug/942978
2012-06-27 23:58:07 +02:00
Christian Dywan 2cec07a6ea Cast Granite about dialog 2012-06-27 22:54:54 +02:00
Christian Dywan 6a58d790b8 Add icon to Add Bookmark dialog and remove labels 2012-06-27 22:50:00 +02:00
Christian Dywan 82741b139b Move Private Browsing menu item next to New Tab/ Window 2012-06-27 01:11:30 +02:00
Christian Dywan d455382a22 Use Granite about dialog if available
FAQ and Report items are part of the dialog.

Fixes: https://bugs.launchpad.net/midori/+bug/1016807
2012-06-27 01:07:00 +02:00
Christian Dywan 959fc712bd Remove 'INspect page' from app menu
Fixes: https://bugs.launchpad.net/midori/+bug/1017332
2012-06-26 23:49:18 +02:00
Christian Dywan ebd0ef2a46 Use granite static notebook for preferences
Fixes: https://bugs.launchpad.net/midori/+bug/1018074
2012-06-26 23:38:30 +02:00
Christian Dywan 3effb9a4ce Remove 'Open' menu item from app menu
Fixes: https://bugs.launchpad.net/midori/+bug/1018044
2012-06-26 23:15:05 +02:00
Paweł Forysiuk fb00824541 makedist.midori: Guess current version number automatically 2012-06-26 23:07:19 +02:00
Paweł Forysiuk a15d4009c2 makedist.midori: Handle GTK3 builds too 2012-06-26 23:07:14 +02:00
David Štancl 12708f535c l10n: Updated Czech (cs) translation to 100%
New status: 660 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-25 12:03:34 +02:00
Andhika Padmawan 5ad8d5b85a l10n: Updated Indonesian (id) translation to 100%
New status: 660 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-23 17:51:43 +02:00
Yarema aka Knedlyk e62894c3ed l10n: Updated Ukrainian (uk) translation to 100%
New status: 660 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-23 14:39:13 +02:00
Christian Dywan e840a52a0e Implement "items" string list in Statusbar Features
eg. items=proxy-type;preferred-encoding;enable-spell-checking
2012-06-22 16:15:40 +02:00
Pjotr vertaalt ab7358c460 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 660 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-22 11:20:32 +02:00
Christian Dywan 50fea06389 Switch to a Chrome-based "automatic" identification
The primary motivation is to stop posing as OS X.

Fixes: https://bugs.launchpad.net/midori/+bug/916884
2012-06-21 17:33:28 +02:00
Christian Dywan 448905015c Add Chrome as an identification option 2012-06-21 17:33:27 +02:00
David Štancl 0ece556d7a l10n: Updated Czech (cs) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-21 15:47:22 +02:00
Cristian Marchi 28aefc59ec l10n: Updated Italian (it) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-21 15:09:43 +02:00
Yarema aka Knedlyk 5b8b2f4b28 l10n: Updated Ukrainian (uk) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-21 13:24:58 +02:00
Pjotr vertaalt b295462e06 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-20 12:01:37 +02:00
Oliver Hanraths f840f0508c Bookmarks: Database structure improved
The new format uses bookmarks_v2.db.

We require sqlite 3.6.19 now due to foreign keys.

Fixes: https://bugs.launchpad.net/midori/+bug/836707
2012-06-20 01:19:30 +02:00
Ivica Kolić bc37926516 l10n: Updated Croatian (hr) translation to 83%
New status: 547 messages complete with 0 fuzzies and 111 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-19 02:04:08 +02:00
Sergio Marques 2496ae13e1 l10n: Updated Portuguese (pt) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-18 17:49:26 +02:00
Pjotr vertaalt ddd7a887e2 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-17 20:26:32 +02:00
Yarema aka Knedlyk d40b3ed233 l10n: Updated Ukrainian (uk) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-17 13:05:39 +02:00
Andhika Padmawan 3a2afa8d65 l10n: Updated Indonesian (id) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-16 17:22:36 +02:00
Christian Dywan aa51909f69 Move Midori 0.2.6 era bookmarks to import dialog 2012-06-16 00:33:45 +02:00
Ivica Kolić cb0d99484e l10n: Updated Croatian (hr) translation to 83%
New status: 546 messages complete with 0 fuzzies and 111 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-12 19:02:54 +02:00
David Štancl af67397456 l10n: Updated Czech (cs) translation to 100%
New status: 657 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-12 12:50:41 +02:00
Pjotr vertaalt 803a8451b3 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 657 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-12 12:25:52 +02:00
Sergio Marques a96d21213f l10n: Updated Portuguese (pt) translation to 100%
New status: 657 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-12 11:36:28 +02:00
André Stösel cef295aae9 New extension to delay page loading until page displays
Fixes: https://bugs.launchpad.net/midori/+bug/1010219
2012-06-12 00:12:24 +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
André Stösel 8e3d770e09 Add basic KatzeItem and meta data accessors to katze.vapi 2012-06-11 23:35:12 +02:00
André Stösel eafbc37f0b Add MidoriStartup, can_/reload to midori.vapi
+ add missing enum MidoriStartup
+ add functions to check if the view is loadable and actually load the view
2012-06-11 23:30:21 +02:00
Christian Dywan bc3ce47d7d Underscore-prefix desktop shortcuts to allow translation
Fixes: https://bugs.launchpad.net/midori/+bug/1000099
2012-06-11 23:08:48 +02:00
Paweł Forysiuk fa364f5e71 MidoriApp: midori_app_get_lib_path should fallback to LIBDIR 2012-06-11 23:08:48 +02:00
Paweł Forysiuk b9b6f512ce MidoriApp: Add missing include for g_access 2012-06-11 23:08:48 +02:00
Paweł Forysiuk 0b14449f68 Cast MidoriView in _midori_browser_set_statusbar_text 2012-06-11 23:08:48 +02:00
Christian Dywan 4a1e547cdb Resolve symlink before looking for exec path 2012-06-11 23:08:48 +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
Мирослав Николић 9650dd3779 l10n: Updated Serbian (sr) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-08 05:41:28 +02:00
Piarres Beobide aef1d06ffc l10n: Updated Basque (eu) translation to 80%
New status: 528 messages complete with 5 fuzzies and 123 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-05 11:39:20 +02:00
Xavier Devlamynck 290c424bb5 l10n: Updated French (fr) translation to 98%
New status: 646 messages complete with 5 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-03 15:44:45 +02:00
Xavier Devlamynck 5f8f6ad0a4 l10n: Updated French (fr) translation to 98%
New status: 646 messages complete with 5 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-03 15:44:08 +02:00
Xavier Devlamynck f1e7036406 l10n: Updated French (fr) translation to 98%
New status: 645 messages complete with 5 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-03 15:31:29 +02:00
Ardjuna 5b40b6d238 l10n: Updated Indonesian (id) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-06-01 22:53:21 +02:00
André Stösel f38715efb2 Bugfix: "save as" doesn't download anything
Fixes: https://bugs.launchpad.net/midori/+bug/1005881
2012-06-01 00:57:49 +02:00
Christian Dywan 25d8b8ddfc Find extensions in runtime lib path
Setting MIDORI_EXTENSION_PATH is no longer needed.
2012-06-01 00:57:49 +02:00
Christian Dywan c6f81c62e0 Don't load speed dial in --app or --private
We can't guarantee URIs don't contain sensitive values.
2012-06-01 00:57:49 +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
Boram Kim af315513a8 l10n: Updated Korean (ko) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-31 13:38:50 +02:00
Gheyret Kenji 0fc322f393 l10n: Updated Uyghur (ug) translation to 97%
New status: 612 messages complete with 0 fuzzies and 17 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-31 07:08:15 +02:00
Per Kongstad 066d592c9f l10n: Updated Danish (da) translation to 99%
New status: 655 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-28 17:01:45 +02:00
David Štancl fdc6151ac3 l10n: Updated Czech (cs) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-28 14:12:45 +02:00
Christian Dywan a0a0325db4 Rewrite Midori.Viewable in Vala 2012-05-27 16:30:09 +02:00
Christian Dywan 85153f3b49 Rewrite Midori.PanedAction in Vala
Also fix errors in the build.
2012-05-27 15:08:23 +02:00
Paweł Forysiuk cece70cc68 Drop panel detachment support code 2012-05-25 23:46:17 +02:00
Christian Dywan 117b057edc Label Dummy menu as Tools since it shows up in HUD 2012-05-25 23:46:04 +02:00
Mișu Moldovan 8f0950bc5a l10n: Updated Romanian (ro) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-24 19:58:27 +02:00
Yarema aka Knedlyk 80572b0480 l10n: Updated Ukrainian (uk) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-24 16:49:59 +02:00
Sergio Marques 982687646e l10n: Updated Portuguese (pt) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-23 23:06:47 +02:00
Cristian Marchi a131388af1 l10n: Updated Italian (it) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-23 22:25:20 +02:00
Masato Hashimoto 11bedd68d5 l10n: Updated Japanese (ja) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-23 14:54:31 +02:00
Pjotr vertaalt 6934d8dafd l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 656 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-23 11:03:01 +02:00
Christian Dywan 01541da48f Confirm Caret Browsing before enabling it
Fixes: https://bugs.launchpad.net/midori/+bug/797923
2012-05-23 00:43:49 +02:00
Paweł Forysiuk b854931cfc Also list non-existant system addon folders 2012-05-23 00:32:40 +02:00
Yarema aka Knedlyk d0ca6467cd l10n: Updated Ukrainian (uk) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-22 19:48:29 +02:00
David Štancl 96843dadbf l10n: Updated Czech (cs) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-22 09:57:47 +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
Paweł Forysiuk 7a172fff27 List all addon directories even non-existant
Folders may be created after setting up monitors.
2012-05-21 23:09:01 +02:00
Paweł Forysiuk 5cd78ae297 Create as needed when opening user addon target folder 2012-05-21 23:07:31 +02:00
Boram Kim 7fad1fedf7 l10n: Updated Korean (ko) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-21 19:38:02 +02:00
Boram Kim 41fcbcd4a1 l10n: Updated Korean (ko) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-21 19:37:29 +02:00
Boram Kim 7dd4b5c88a l10n: Updated Korean (ko) translation to 99%
New status: 652 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-21 19:36:39 +02:00
Pjotr vertaalt f7a7f06b84 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-21 10:31:27 +02:00
محمد الحرقان e6d75db8d5 l10n: Updated Arabic (ar) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-20 23:13:24 +02:00
محمد الحرقان dda3058776 l10n: Updated Arabic (ar) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-20 22:21:06 +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
Sergio Marques be0dc79448 l10n: Updated Portuguese (pt) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-20 21:51:53 +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
Paweł Forysiuk 2c89501bf4 makedist.midori: Drop unused static build files 2012-05-20 18:00:28 +02:00
Saïd Bouras e6e6fe4363 l10n: Updated French (fr) translation to 98%
New status: 641 messages complete with 6 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-19 03:04:52 +02:00
Masato Hashimoto 6dda0afa77 l10n: Updated Japanese (ja) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-17 13:43:10 +02:00
玉堂 白鹤 bcff2fb07b l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-17 08:09:16 +02:00
玉堂 白鹤 e9f8a7efd6 l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 652 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-17 08:03:57 +02:00
Yves-Alexis Perez 13dcb271ea debian/compat bumped to 9. 2012-05-15 23:43:47 +02:00
Yves-Alexis Perez 9b1cba045f Merge branch 'upstream-unstable' 2012-05-15 23:31:03 +02:00
Yves-Alexis Perez d26b1fb745 Merge tag '0.4.6' into upstream-unstable
Bump version to 0.4.6

Conflicts:
	ChangeLog
	wscript
2012-05-15 23:30:39 +02:00
Sergio Marques 218255bd95 l10n: Updated Portuguese (pt) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-15 17:06:50 +02:00
Tomáš Vadina 0ec2d92573 l10n: Updated Slovak (sk) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-15 16:41:02 +02:00
Piotr Sokół e549a6fb6c l10n: Updated Polish (pl) translation to 98%
New status: 644 messages complete with 4 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-15 09:43:56 +02:00
Cristian Marchi a21ebb3b74 l10n: Updated Italian (it) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-15 08:36:49 +02:00
Christian Dywan d139f1bac8 Bump version to 0.4.6 2012-05-15 00:13:42 +02:00
Christian Dywan db2869f0a2 Typo reodered/ reordered
Fixes: https://bugs.launchpad.net/midori/+bug/993969
2012-05-15 00:04:40 +02:00
Christian Dywan 2429c10752 Update FAQ from the wiki
url http://wiki.xfce.org/_export/xhtml/midori/faq | sed 's@<link rel="style.*>@<link rel="stylesheet" href="faq.css" />@g' > data/faq.html
git add data/faq.html
git commit -e -m 'Update FAQ from the wiki' -v
2012-05-14 23:57:08 +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
Pjotr vertaalt 3d720c5303 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-14 11:05:49 +02:00
David Štancl 369261a299 l10n: Updated Czech (cs) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-14 08:33:34 +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
Ivica Kolić 109ed3cd92 l10n: Updated Croatian (hr) translation to 83%
New status: 545 messages complete with 0 fuzzies and 108 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-13 21:41:16 +02:00
Sergio García b4d9cd7acc l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-13 19:55:07 +02:00
Yarema aka Knedlyk 678ef8a5c6 l10n: Updated Ukrainian (uk) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-13 11:21:46 +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
Ivica Kolić 564ac17d73 l10n: Updated Croatian (hr) translation to 83%
New status: 544 messages complete with 0 fuzzies and 108 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-13 02:30:58 +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 cf1321fe21 Add katze_item_get_pixbuf and use in panels 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
Ivica Kolić cb40b36c0e l10n: Updated Croatian (hr) translation to 81%
New status: 529 messages complete with 0 fuzzies and 123 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-13 02:19:50 +02:00
Pjotr vertaalt a230b497b8 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-12 19:43:27 +02:00
Per Kongstad 1ad1517368 l10n: Updated Danish (da) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-12 11:12:19 +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 986a7acad6 Add semi-useful unit test for bookmarks
well, it's more of a skeleton, really
2012-05-12 04:03:14 +02:00
Vincent Cappe 45ac40d614 Move bookmarks code out of midori/main.c 2012-05-12 04:03:14 +02:00
André Stösel 66abde2db9 Check "cancel-download" as well as "open-download"
Fixes: https://bugs.launchpad.net/midori/+bug/986839
2012-05-12 03:51:25 +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
Yves-Alexis Perez ee57ca1056 force-ssl-cert-verification added, set ssl-strict to TRUE so connections are not done if the ssl certificate can't be trusted. 2012-05-08 15:42:14 +02:00
Asier Iturralde Sarasola c8106ee0ec l10n: First commit to Basque translation
New status: 526 messages complete with 0 fuzzies and 125 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-07 22:29:50 +02:00
Andrei Zakharevich 2e498992df l10n: Updated Belarusian (be) translation to 0%
New status: 3 messages complete with 0 fuzzies and 649 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-04 23:08:10 +02:00
Andrei Zakharevich b91182cb30 l10n: Start of Belarussian translation
New status: 0 messages complete with 0 fuzzies and 652 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-04 23:05:31 +02:00
Leandro Regueiro 5319ce19a3 l10n: Updated Galician (gl) translation to 98%
New status: 644 messages complete with 2 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-04 12:53:33 +02:00
mbouzada 374aa30390 l10n: Updated Galician (gl) translation to 97%
New status: 638 messages complete with 5 fuzzies and 9 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-03 16:00:46 +02:00
Roger Pueyo Centelles 317f32fd89 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-05-02 12:13:32 +02:00
Sergio García 2d5762dcaf l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-28 23:23:42 +02:00
Sergio García 80a6fd3a8f l10n: Updated Spanish (Castilian) (es) translation to 99%
New status: 650 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-28 09:37:47 +02:00
Chipong Luo b09446e0f5 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-27 05:10:57 +02:00
Jakob Kramer 1ba786edf1 l10n: Updated German (de) translation to 99%
New status: 647 messages complete with 5 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-25 16:37:30 +02:00
Masato Hashimoto c71a531f85 l10n: Updated Japanese (ja) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-25 13:31:17 +02:00
Ivica Kolić 63039722f2 l10n: Updated Croatian (hr) translation to 81%
New status: 530 messages complete with 0 fuzzies and 122 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-25 00:03:20 +02:00
Boram Kim 832afc13da l10n: Updated Korean (ko) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-24 20:03:09 +02:00
Yarema aka Knedlyk 76d6d8fb85 l10n: Updated Ukrainian (uk) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-24 01:14:30 +02:00
David Štancl 2e1da00ab4 l10n: Updated Czech (cs) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-23 14:19:42 +02:00
Pjotr Anon 48f28a7081 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-23 12:41:37 +02:00
Tomáš Vadina 934ba363c5 l10n: Updated Slovak (sk) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-23 09:50:11 +02:00
Jeff Bailes f567143e29 l10n: Updated English (United Kingdom) (en_GB) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-23 02:10:41 +02:00
Per Kongstad 6748db48f2 l10n: Updated Danish (da) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-22 20:28:10 +02:00
Sergio Marques dc225e6ec0 l10n: Updated Portuguese (pt) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-22 16:01:32 +02:00
Masato Hashimoto 8d08e47746 l10n: Updated Japanese (ja) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-22 09:50:02 +02:00
Cristian Marchi de5eb758d2 l10n: Updated Italian (it) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-22 08:59:00 +02:00
Algimantas Margevičius da52b65fea l10n: Updated Lithuanian (lt) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-22 07:48:26 +02:00
Chipong Luo a0b614f9ce l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-22 04:17:56 +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
Gabor Kelemen 6bcf3d9912 l10n: Updated Hungarian (hu) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-21 05:17:00 +02:00
Chipong Luo 1f2f7ca05b l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-20 11:38:11 +02:00
Chipong Luo 81a0fa1a48 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-20 11:16:05 +02:00
Mario Blättermann 9fc17a11b8 l10n: Updated German (de) translation to 99%
New status: 647 messages complete with 4 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-19 11:40:29 +02:00
Jeff Bailes 81c942e082 l10n: Updated English (United Kingdom) (en_GB) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-19 08:57:19 +02:00
Efstathios Iosifidis a61bc0bca9 l10n: Updated Greek (el) translation to 97%
New status: 632 messages complete with 8 fuzzies and 11 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-18 20:46:19 +02:00
Sergio García 4d2836f858 l10n: Updated Spanish (Castilian) (es) translation to 98%
New status: 642 messages complete with 2 fuzzies and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-18 06:46:18 +02:00
Yves-Alexis Perez fd5d3ee02c fix libsoup detection 2012-04-17 23:07:00 +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
Christian Dywan c7c172f7ff Fix libsoup version check #defines
Fixes: https://bugs.launchpad.net/midori/+bug/983137
2012-04-16 19:17:23 +02:00
André Stösel fc7e30f516 Cleanup unused variable in adblock 2012-04-15 19:31:40 +02:00
Paweł Forysiuk 2a540a0878 Include gstreamer-0.10 files with Win32 build 2012-04-14 23:58:05 +02:00
Yves-Alexis Perez a489245d13 Merge branch 'upstream-unstable' 2012-04-14 23:53:10 +02:00
Yves-Alexis Perez d80c050119 Merge tag '0.4.5' into upstream-unstable
Bump version to 0.4.5
2012-04-14 23:52:32 +02:00
Christian Dywan 21c047a9b3 Bump version to 0.4.5 2012-04-14 21:18:47 +02:00
Christian Dywan e88b69be02 Bump version to 0.4.5 2012-04-14 21:17:35 +02:00
Yves-Alexis Perez 73c6fc5068 upload 2012-04-14 14:51:11 +02:00
Yves-Alexis Perez da4f15e9bb don't repack waf for now 2012-04-14 14:47:18 +02:00
Masato Hashimoto c75861ca5f l10n: Updated Japanese (ja) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-14 14:42:25 +02:00
Paweł Forysiuk 182268a82b Work around black border around widgets on Win32 2012-04-14 03:28:11 +02:00
Iliyas Jorio 57d2362a8d l10n: Updated French (fr) translation to 98%
New status: 642 messages complete with 2 fuzzies and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-14 01:20:49 +02:00
André Stösel 3f795a62cb Ignore request if the source is a redirect and of the main frame
Fixes: https://bugs.launchpad.net/midori/+bug/979767
2012-04-13 23:40:27 +02:00
André Stösel da5f257314 Fix for "tab registration" in adblock
Fixes: https://bugs.launchpad.net/midori/+bug/977981
2012-04-13 23:34:43 +02:00
Algimantas Margevičius 53b9923108 l10n: Updated Lithuanian (lt) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-13 11:06:49 +02:00
Christian Dywan a006013cb4 Require GTK+3 for granite, but only if enabled 2012-04-13 00:07:40 +02:00
André Stösel 8d0d2554ca Ignore request if the source is a navigation request
Fixes: https://bugs.launchpad.net/midori/+bug/979767
2012-04-12 23:43:50 +02:00
André Stösel 08d890e20e adblock_deactivate_tabs had the wrong user data
Fixes: https://bugs.launchpad.net/midori/+bug/977981
2012-04-12 23:43:50 +02:00
Masato Hashimoto ee4fb4f7ef l10n: Updated Japanese (ja) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-12 15:31:17 +02:00
André Miranda f7d0e29c41 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-12 03:19:08 +02:00
Vincent Cappe 3428fbb586 Update extension test to extension_init changes 2012-04-12 02:35:14 +02:00
Christian Dywan e5a793c9e7 Update description in README 2012-04-12 00:31:53 +02:00
Christian Dywan 13b7e0114f Require Vala 0.14 unconditionally
It's more predictable and by now fairly well available.
2012-04-12 00:30:43 +02:00
Christian Dywan e6240e0ee4 Require Vala 0.14 for GTK+3/ extensions 2012-04-11 21:02:59 +02:00
Christian Dywan 2d9f3bbfcf Move geolocation diagnostics to about:geolocation 2012-04-11 21:02:40 +02:00
André Stösel 7400114eac Fix download manager compilation with Vala >= 0.16
Fixes: https://bugs.launchpad.net/midori/+bug/976139
2012-04-10 22:35:49 +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
Paweł Forysiuk 89dbbcc1b0 Work-around too many apps in preferences on Win32 2012-04-10 21:29:56 +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
Leandro Regueiro 3d00303230 l10n: Updated Galician (gl) translation to 97%
New status: 637 messages complete with 4 fuzzies and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-10 12:14:15 +02:00
Per Kongstad acfe263ce1 l10n: Updated Danish (da) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-09 08:59:39 +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
Paweł Forysiuk 3d4ee81ee4 Update FAQ from the wiki
faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.

A phrase referring to the source was added to the first paragraph.
2012-04-06 20:19:34 +02:00
Christian Dywan 2d921d4416 Don't build external download manager on Win32 2012-04-06 20:19:34 +02:00
Paweł Forysiuk 24a50fbb78 Update build folder name in .gitignore 2012-04-06 20:19:33 +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
Paweł Forysiuk a01c0fd224 Accomodate docs for build dir renaming 2012-04-05 23:47:48 +02:00
André Stösel 2377ee3c94 Display error dialog on external download failure 2012-04-05 23:37:56 +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 b5d5c17396 Pass cookies to Aria2 2012-04-05 22:43:58 +02:00
André Stösel 8bba8f9aad New extension to download files with Aria2. 2012-04-05 22:43:58 +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 a32cc0908e Ensure adblock config folder when blocking images 2012-04-05 22:43:58 +02:00
David Štancl f8ab9eaec0 l10n: Updated Czech (cs) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-05 11:54:57 +02:00
Yaron Shahrabani b272a2cdd5 l10n: Updated Hebrew (he) translation to 93%
New status: 611 messages complete with 6 fuzzies and 34 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-05 10:33:21 +02:00
Yaron Shahrabani d9318f9ee5 l10n: Updated Hebrew (he) translation to 92%
New status: 603 messages complete with 11 fuzzies and 37 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-05 09:30:41 +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
Per Kongstad 2d07cbfe45 l10n: Updated Danish (da) translation to 99%
New status: 648 messages complete with 2 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-04 18:53:47 +02:00
Ivica Kolić f9d56a9a98 l10n: Updated Croatian (hr) translation to 80%
New status: 524 messages complete with 0 fuzzies and 127 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-04-03 00:42:29 +02:00
Carles Muñoz Gorriz dde5014956 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-31 19:24:50 +02:00
Carles Muñoz Gorriz 9790d0016f l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-31 19:17:14 +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
Christian Dywan 4c4c849441 Show at most 10 back/ forward history items
Consistent with trash.
2012-03-31 02:50:51 +02:00
André Stösel a6f9bea939 Typo: Instead of the array each item should be checked 2012-03-31 02:48:01 +02:00
Benoit THIBAUD 63ac08c6a3 l10n: Updated French (fr) translation to 95%
New status: 622 messages complete with 11 fuzzies and 18 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-28 09:28:08 +02:00
Saïd Bouras eccc0eb5d8 l10n: Updated French (fr) translation to 91%
New status: 595 messages complete with 31 fuzzies and 25 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-28 00:31:33 +02:00
André Stösel 1de28a8a7a Minimum Katze.Array vapi including add_item signal 2012-03-27 00:54:48 +02:00
André Stösel ebf2c2d1d9 Allow more than one extenstion for each module 2012-03-27 00:54:48 +02:00
Yaron Shahrabani dc19951a21 l10n: Updated Hebrew (he) translation to 88%
New status: 575 messages complete with 23 fuzzies and 53 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-26 14:00:09 +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
Christian Dywan 5cb1c04481 Allow relative -c/ --config path
Fixes: https://bugs.launchpad.net/midori/+bug/962713
2012-03-25 18:10:26 +02:00
Olivier Duchateau 7789bafc68 Implement low_memory_profile for FreeBSD
Fixes: https://bugs.launchpad.net/midori/+bug/963833
2012-03-25 18:10:26 +02:00
Paweł Forysiuk 76be3b9aea Check stricly for relative path in midori_prepare_uri
Fixes: https://bugs.launchpad.net/midori/+bug/963899
2012-03-25 18:10:26 +02:00
Kamil Polczak a371ef99ef l10n: Updated Polish (pl) translation to 98%
New status: 644 messages complete with 3 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-25 17:47:41 +02:00
Kamil Polczak 70e0223212 l10n: Updated Polish (pl) translation to 98%
New status: 640 messages complete with 5 fuzzies and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-25 17:43:04 +02:00
Utku Berberoğlu 7e6dcd5df0 l10n: Updated Turkish (tr) translation to 92%
New status: 606 messages complete with 34 fuzzies and 12 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-25 16:27:19 +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 532335702a Always show the tabbar by default 2012-03-22 21:27:52 +01:00
Christian Dywan ae7a09a087 Try to use ubuntu-bug if it exists 2012-03-22 21:26:49 +01:00
Cheng-Chia Tseng 9751a60dbc l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-21 15:18:07 +01:00
Christian Dywan 70a894a9fc Toggle sensitivity of Add Speed Dial/ Bookmark button
Rather than visibility.

Fixes: https://bugs.launchpad.net/midori/+bug/957382
2012-03-19 19:38:15 +01:00
André Stösel 0b16c9c95c Use original event to determine midori tab mod
Cast from GdkEventKey* to GdkEventKey* doesn't always work out
2012-03-19 19:16:30 +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 edc88b7b47 Fix MidoriView.download_requested signal in vapi 2012-03-19 19:08:11 +01:00
Christian Dywan 5aa526d106 Show app instance name in about:version 2012-03-18 14:14:09 +01:00
Christian Dywan 7e64370a8e Only check libsoup once in configuration 2012-03-18 14:12:17 +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
Andhika Padmawan bf2ca1c370 l10n: Updated Indonesian (id) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-18 04:09:52 +01:00
Sergio Marques e18a39d88c l10n: Updated Portuguese (pt) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-16 13:55:20 +01:00
André Stösel f92fa1a33f External Download manager extension for Steadyflow
As it is activated, the Save button uses Steadyflow.
2012-03-16 00:09:58 +01:00
André Stösel d93c96daf3 added signal "download_requested" to the vapi 2012-03-15 23:40:46 +01:00
André Stösel f4697742af connect download request handler in the "signal-after" slot 2012-03-15 23:40:30 +01:00
Christian Dywan 2fa5059cc4 Render bookmark dialog as a pop-over on buttons 2012-03-15 19:57:57 +01:00
Boram Kim 7d4cdfe462 l10n: Updated Korean (ko) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-15 12:58:34 +01:00
Pjotr Anon 50c091f43d l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-15 11:17:18 +01:00
Yves-Alexis Perez 23b89cca6b rebuild waf script
* debian/rules:
  - rebuild waf script before using it.                       closes: #645191
2012-03-15 11:06:51 +01:00
Algimantas Margevičius 37c0e0270f l10n: Updated Lithuanian (lt) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-15 07:02:10 +01:00
Yarema aka Knedlyk efa634d939 l10n: Updated Ukrainian (uk) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-15 00:03:47 +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 7d61f1b897 Esc/ closing "downloads still active" should cancel, not continue 2012-03-14 21:02:16 +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 48368e9951 Add and use midori_browser_(page_num/n_pages) API
To hide the GtkNotebook as an implementation detail.
2012-03-14 21:02:16 +01:00
Cristian Marchi 4391693cdd l10n: Updated Italian (it) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-14 17:58:42 +01:00
Chipong Luo 4d9eb6cfc7 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-14 15:40:27 +01:00
Roman K c1238bd82b l10n: Updated Russian (ru) translation to 99%
New status: 650 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-14 12:50:45 +01:00
Tomáš Vadina 9c2a17b4a5 l10n: Updated Slovak (sk) translation to 100%
New status: 652 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-14 09:44:30 +01:00
Christian Dywan 5aebcd7b30 Ctrl+j to toggle statusbar aka downloads
This is the same as downloads in Firefox.
2012-03-14 00:29:34 +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 2612267e4d Speed Dial shouldn't be bookmarkable
Fixes: https://bugs.launchpad.net/midori/+bug/954298
2012-03-13 22:33:47 +01:00
Christian Dywan 2c9f219b7a Don't replace existing onclick/blur with autosuggest 2012-03-13 20:04:46 +01:00
Paweł Forysiuk 1edfd88d2f Implement low_memory_profile for Win32 2012-03-13 20:04:46 +01:00
Christian Dywan ecbc8d0772 Recognize open search description links 2012-03-13 20:04:46 +01:00
Sergio Marques 3184b5226e l10n: Updated Portuguese (pt) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-13 17:43:13 +01:00
Andhika Padmawan 7b2c87a573 l10n: Updated Indonesian (id) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-12 02:36:44 +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
Christian Dywan 7066679bcf Document Adblock syntax and support status 2012-03-11 20:43:24 +01:00
Christian Dywan 0cd1c158d7 Guard formhistory_suggestions_hide_cb for GDOM 2012-03-11 18:50:36 +01:00
Masato Hashimoto 9742511800 l10n: Updated Japanese (ja) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-11 07:31:11 +01:00
Johannes Lips 9b0f7203ae l10n: Updated German (de) translation to 98%
New status: 644 messages complete with 7 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-10 20:47:48 +01:00
Johannes Lips 1b64505d9d l10n: Updated German (de) translation to 99%
New status: 645 messages complete with 6 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-10 20:46:57 +01:00
Johannes Lips 3f1c59ac82 l10n: Updated German (de) translation to 99%
New status: 645 messages complete with 5 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-10 20:43:33 +01:00
Algimantas Margevičius 8446a0a426 l10n: Updated Lithuanian (lt) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-10 14:11:38 +01:00
Cheng-Chia Tseng 09fb0e2fd1 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-10 11:04:52 +01:00
Mișu Moldovan 91a784574a l10n: Updated Romanian (ro) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-09 20:26:16 +01:00
Cristian Marchi e4bc034389 l10n: Updated Italian (it) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-09 09:07:31 +01:00
Xavier Devlamynck e4a2f732c2 l10n: Updated French (fr) translation to 91%
New status: 594 messages complete with 30 fuzzies and 27 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-09 08:57:14 +01:00
André Stösel 85c2f4a8e1 Handle download request in frames 2012-03-09 01:28:27 +01:00
Yves-Alexis Perez b104b685da add bug # 2012-03-08 23:58:56 +01:00
Yves-Alexis Perez ca25b39213 debian/midori.maintscript:
* debian/midori.maintscript:
  - handle the /etc/xdg/midori/extensions/libadblock.so removal there.
2012-03-08 23:57:16 +01:00
Yves-Alexis Perez 794c71685c New upstream release.
* New upstream release.
* debian/control:
  - update standards version to 3.9.3.
2012-03-08 23:48:54 +01:00
Yves-Alexis Perez bf2d83aba2 Merge branch 'upstream-unstable' 2012-03-08 23:42:46 +01:00
Yves-Alexis Perez 6ae8631809 Merge tag '0.4.4' into upstream-unstable
Bump version to 0.4.4
2012-03-08 23:42:16 +01:00
Christian Dywan 5588a05c8a Bump version to 0.4.4 2012-03-08 23:34:45 +01:00
Christian Dywan 8c8f985a5c Disable page cache with < 352 MB RAM 2012-03-08 23:33:04 +01:00
Slavko 472cbfa5b1 l10n: Updated Slovak (sk) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-08 22:20:59 +01:00
Christian Dywan 8b78ae5491 Split clearing of page icons from cache again
We need to re-visit this with an idea to preserve icons
from search engines or otherwise being in use.
2012-03-08 22:20:05 +01:00
Christian Dywan 7940a02ae8 Don't re-add toplevel items in recursive item query 2012-03-08 22:20:04 +01:00
Seong-ho Cho 11aa4f437a l10n: Updated Korean (ko) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-08 19:42:18 +01:00
Boram Kim d47806bc12 l10n: Updated Korean (ko) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-08 17:53:24 +01:00
Algimantas Margevičius 5e0ac8ebbf l10n: Updated Lithuanian (lt) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-08 14:06:46 +01:00
Christian Dywan 323177c429 Realize completion treeview early for the style
Fixes: https://bugs.launchpad.net/midori/+bug/947635
2012-03-08 01:10:54 +01:00
Christian Dywan f9aa8aed9c Fix browser notebook callback naming 2012-03-08 01:10:54 +01:00
Christian Dywan 6e6faabad9 midori_browser_notify_new_tab_timeout_cb must be boolean 2012-03-08 01:10:54 +01:00
Christian Dywan 6c57f7db42 Guard transferbar packing against GTK+3 2012-03-08 01:10:54 +01:00
Christian Dywan 537d002a6f Unify file handling in midori_prepare_uri and magic_uri 2012-03-08 01:10:54 +01:00
Christian Dywan f3a5d49434 Use _katze_array_update consistently internally 2012-03-08 01:10:54 +01:00
Olexandr Nesterenko 1309a77aae l10n: Updated Ukrainian (uk) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-08 00:21:06 +01:00
Olexandr Nesterenko 0c1716447b l10n: Updated Ukrainian (uk) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-07 21:41:09 +01:00
Olexandr Nesterenko 81cdb802fc l10n: Updated Ukrainian (uk) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-07 21:16:12 +01:00
Michael Moroni 3757852ae7 l10n: Updated Esperanto (eo) translation to 20%
New status: 132 messages complete with 0 fuzzies and 519 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-07 12:01:46 +01:00
Pjotr Anon c7dfd851b0 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-07 11:48:40 +01:00
David Štancl 1145c7417e l10n: Updated Czech (cs) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-07 09:10:50 +01:00
Chipong Luo 7faa9d54c4 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 651 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-07 00:48:45 +01:00
André Stösel 2837494ade Display file name in download dialog 2012-03-06 21:39:29 +01:00
Christian Dywan fa22841ec9 Skip empty, invalid and comment lines in adblock_parse_line 2012-03-06 20:14:15 +01:00
Christian Dywan a83cea4964 Allow asynchronous cookie database
Arguably cookies are like a cache, so we prefer
prefer performance over data integrity.
2012-03-06 20:08:51 +01:00
Christian Dywan 1e7ee7db5c Don't change window icon in _midori_browser_set_statusbar_text 2012-03-06 20:07:30 +01:00
Christian Dywan 4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan 66d4e4c531 Fix typo fix in katze_throbber_get_preferred_height 2012-03-05 22:34:46 +01:00
Christian Dywan bf07220bc3 midori_browser_notebook_resize must consider n = 7 2012-03-05 22:34:46 +01:00
Christian Dywan ba51341786 Reverse packing of transferbar into statusbar 2012-03-05 22:34:46 +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 2bc867054a Enable experimental fullscreen API if available
Such as used by YouTube and other sites for HTML5 video.
2012-03-05 22:34:46 +01:00
Tomáš Vadina c669cef230 l10n: Updated Slovak (sk) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-05 08:48:51 +01:00
Utku Berberoğlu 782271d47c l10n: Updated Turkish (tr) translation to 93%
New status: 606 messages complete with 31 fuzzies and 13 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-04 17:48:47 +01:00
Yarema aka Knedlyk f060b6ed1f l10n: Updated Ukrainian (uk) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-03 19:14:59 +01:00
Masato Hashimoto 387b782760 l10n: Updated Japanese (ja) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-03-02 06:42:11 +01:00
Christian Dywan 7361a80e24 Tweak is_ip_address and add IPv6 test cases
Stop wrongly mistaking foo::bar for IPv6.
2012-02-29 23:17:02 +01:00
Christian Dywan 7e61fce9ca katze_array_find_token may yield token without keywords
Also adapt the magic uri test.
2012-02-29 22:58:16 +01:00
Christian Dywan df8284f650 Fix misleading typos in katze_throbber_get_preferred_height 2012-02-29 22:41:59 +01:00
Christian Dywan cbe84b6820 Reverse packing of statusbar features bbox
Apparently with GTK+3 this makes a difference.
2012-02-29 00:54:03 +01:00
Christian Dywan 079403a806 Free hostname in midori_web_settings_get_site_data_policy 2012-02-28 23:54:52 +01:00
Christian Dywan 70b85bf600 Skip site data rule policy check on empty rules 2012-02-28 23:51:31 +01:00
Paweł Forysiuk 271cdf670b makedist.midori: Ensure that iconv.dll is copied into archive 2012-02-28 23:21:36 +01:00
Paweł Forysiuk 17cccfb672 makedist.midori: Include default settings for gtk2 2012-02-28 23:21:36 +01:00
Paweł Forysiuk 74bf490880 makedist.midori: Explicitly state folder for ssl engines
Othewise we would match gtk twice.
2012-02-28 23:21:36 +01:00
Paweł Forysiuk f3de5b1112 makedist.midori: Remove debug files after grabbing all files
Otherwise we would not remove debug files from folder other than bin
2012-02-28 23:21:36 +01:00
Paweł Forysiuk 4fa5bcf721 makedist.midori: Fix packaging of translations 2012-02-28 23:21:36 +01:00
Michael Moroni 24884ccafb l10n: Updated Esperanto (eo) translation to 3%
New status: 24 messages complete with 0 fuzzies and 626 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-28 17:40:26 +01:00
Michael Moroni 82991c695c l10n: Updated Esperanto (eo) translation to 1%
New status: 11 messages complete with 0 fuzzies and 639 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-28 17:36:09 +01:00
Michael Moroni 3c3836f485 l10n: Komenca traduko / Initial translation
New status: 9 messages complete with 0 fuzzies and 641 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-28 17:35:03 +01:00
Sergio Marques 970d50726d l10n: Updated Portuguese (pt) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-27 17:00:09 +01:00
David Štancl c19c5bdee8 l10n: Updated Czech (cs) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-27 12:15:05 +01:00
Chipong Luo 63f2690265 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-26 07:13:59 +01:00
Christian Dywan 61af413407 Ensure we have a window in _action_reload_stop_activate 2012-02-26 00:03:15 +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 6fd666aa9f Honor site data policy when clearing web cookies 2012-02-26 00:03:15 +01:00
Christian Dywan 4c142e7688 Implement basic site data policy and unit tests
See: https://bugs.launchpad.net/midori/+bug/836729
2012-02-26 00:03:14 +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
Christian Dywan d3a60802ac Consider GTK_DISABLE_DEPRECATED in gtk3-compat.h 2012-02-26 00:03:14 +01:00
Christian Dywan 81526df6d6 Use correct callback when activating statusbar features 2012-02-26 00:03:14 +01:00
Boram Kim 95a7e7f3b8 l10n: Updated Korean (ko) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-25 16:40:31 +01:00
Pjotr Anon d23ad7374a l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-25 15:14:49 +01:00
Andhika Padmawan eefc27b2b2 l10n: Updated Indonesian (id) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-25 13:51:38 +01:00
Cristian Marchi 85948e8c19 l10n: Updated Italian (it) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-25 11:24:17 +01:00
Algimantas Margevičius 4d96182f73 l10n: Updated Lithuanian (lt) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-25 06:53:06 +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 9275a6cd24 Handle Flash cookies on Windows and OS X 2012-02-25 00:52:55 +01:00
Christian Dywan 569b8e4779 Merge cookies, other data and caches in Clear Private Data 2012-02-25 00:52:55 +01:00
Dmitry Nikitin a2ebb7e671 l10n: Updated Ukrainian (uk) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-24 09:23:41 +01:00
Dmitry Nikitin 198aaeffa1 l10n: Updated Ukrainian (uk) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-24 09:10:01 +01:00
Michal Várady 799d983eac l10n: Updated Czech (cs) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-24 01:27:05 +01:00
Michal Várady b0c36f318b l10n: Updated Czech (cs) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-24 01:12:09 +01:00
Christian Dywan 77d095f6ef Versioned prgname to override menuproxy blacklist
Fixes: https://bugs.launchpad.net/midori/+bug/874334
2012-02-23 01:09:59 +01:00
Paweł Forysiuk f25b677d0c makedist.midori: automate shipping with(out) debug info 2012-02-23 00:54:40 +01:00
Christian Dywan 973e481068 Proxy update should be > not >= array update 2012-02-23 00:50:51 +01:00
Christian Dywan 403d17400b Harden katze_array_action_generate_menu
Add assertions and increase consistency.
2012-02-23 00:46:59 +01:00
Christian Dywan bcc6711f27 Use updated, unique arrays for Bookmarks and Tools 2012-02-22 22:00:23 +01:00
Christian Dywan 8ad470caf5 Distinguish the current year from the past
Today a year ago shouldn't display as Today.
2012-02-22 21:48:26 +01:00
Christian Dywan 90ee1384a7 Keep a timestamp of KatzeArray changes around
To avoid re-populating array actions when unneeded.

This also increases compatibility with global menubar
support which otherwise flickers.
2012-02-21 22:24:42 +01:00
Christian Dywan 5c0255f7cb Make the browser aware of native menubars
Most notably a native menubar can't be hidden.
2012-02-21 21:52:30 +01:00
Christian Dywan 5176b38120 Allow DuckDuckGo to distinguish Midori
Users who customize the search engine
won't be affected by this.
2012-02-21 21:47:56 +01:00
Christian Dywan ffb86ce7ff Use GDateTime instead of GDate if available
GDate depends on broken msvcrt code.
2012-02-21 21:47:07 +01:00
Christian Dywan f586c3004b katze_item_get_image check if icon is set 2012-02-21 21:47:07 +01:00
Christian Dywan 599de9cb74 Fix colorful tabs by checking icon, not load status
Otherwise delayed tabs would never be colored.
2012-02-21 21:47:07 +01:00
Michal Várady 51e3e8e495 l10n: Updated Czech (cs) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-21 01:00:54 +01:00
Christian Dywan 55c6dd38d0 Remove remnant openssl availability checks 2012-02-20 23:14:10 +01:00
Christian Dywan 7af5019d86 Fix katze_widget_popup_position_menu for GTK+
The window NULL-check was wrong in any case. The
key issue here is that GtkEntry internals changed
in GTK+3 and we need to take that into account.
2012-02-20 23:02:21 +01:00
Christian Dywan 79b29a9362 Avoid string split in midori_location_action_popup_timeout_cb 2012-02-20 21:58:03 +01:00
Christian Dywan f3a4bd4b6a Show description or URI below search suggestions
In fact, laying out the completion popup is problematic
if we have rows of different heights.
2012-02-20 21:56:06 +01:00
Christian Dywan a064a5f120 Make sure completion window is not user-resizable
Otherwise window managers may ignore programmatic
resizing entirely.
2012-02-20 21:54:26 +01:00
Christian Dywan 8960da4c2f Revamp completion popup positioning 2012-02-20 21:53:10 +01:00
Christian Dywan af9ec62b25 Remove password openssl-based encryption support 2012-02-19 23:18:41 +01:00
Christian Dywan 5643728994 Fix warnings in midori_location_action_set_security_hint 2012-02-19 22:58:54 +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 bbbfa0d677 Consider focus when toggling clear button
Fixes: https://bugs.launchpad.net/midori/+bug/934083
2012-02-19 21:53:58 +01:00
Christian Dywan d2fe0791e1 Drop OpenSSL support from socket code 2012-02-19 20:21:37 +01:00
Alexander Butenko c6b15ff4dc Get rid of exec_query_with_try_create_table 2012-02-19 20:08:16 +01:00
Christian Dywan 63d7df5a0a Remove bogus widget_destroyed callback in Shortcuts
Fixes: https://bugs.launchpad.net/midori/+bug/933082
2012-02-19 18:45:56 +01:00
Christian Dywan d2aa1919aa Move the right window after dragging a tab out
Fixes: https://bugs.launchpad.net/midori/+bug/931294
2012-02-19 17:59:54 +01:00
Vincent Cappe 62f0ef746c When removing bookmarks, folder must not be NULL
If folder is NULL, we end up with "(NULL)" in sqlite.

Modified patch to use katze_str_non_null.

Fixes: https://bugs.launchpad.net/midori/+bug/926914
2012-02-19 17:52:14 +01:00
Alexander Butenko 69c319d62a Sqlite pragma tuning for formhistory and history 2012-02-19 17:52:12 +01:00
Alexander Butenko 29d6de3c6e Speeddial CSS speedup 2012-02-19 17:52:07 +01:00
Alexander Butenko 69f7e176ab Optimize cookies loading 2012-02-19 17:51:53 +01:00
Olexandr Nesterenko cd4928ebd7 l10n: Updated Ukrainian (uk) translation to 99%
New status: 650 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-18 20:21:28 +01:00
Cristian Marchi 57afee2b9b l10n: Updated Italian (it) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-18 19:57:52 +01:00
Cristian Marchi 05427d6967 l10n: Updated Italian (it) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-18 19:54:02 +01:00
Per Kongstad 4e2f69cc40 l10n: Updated Danish (da) translation to 98%
New status: 645 messages complete with 3 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-18 11:17:22 +01:00
Andhika Padmawan 71c2a52cb7 l10n: Updated Indonesian (id) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-18 05:18:46 +01:00
Sergio Marques a517a02d02 l10n: Updated Portuguese (pt) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-17 17:14:14 +01:00
Thomas Schütz 99cd9b00af l10n: Updated German (de) translation to 99%
New status: 651 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-17 10:59:56 +01:00
Thomas Schütz 1ce879e6f6 l10n: Updated German (de) translation to 99%
New status: 650 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-17 09:45:50 +01:00
Chris Leick 83143c4e5a l10n: Updated German (de) translation to 97%
New status: 639 messages complete with 14 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-16 18:33:19 +01:00
Aleksandr Ponomarenko a4f2854217 l10n: Updated Russian (ru) translation to 99%
New status: 650 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-16 13:29:09 +01:00
Aleksandr Ponomarenko f1603202ac l10n: Updated Russian (ru) translation to 98%
New status: 640 messages complete with 7 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-16 13:23:52 +01:00
Algimantas Margevičius e5ffa134a2 l10n: Updated Lithuanian (lt) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-15 07:35:25 +01:00
David Štancl f9af2ae05d l10n: Updated Czech (cs) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-14 09:45:40 +01:00
Yves-Alexis Perez 9050091b93 remove old maintainer scripts 2012-02-14 08:02:42 +01:00
Yves-Alexis Perez fd63447c9c Apply patch from Colin Watson to improve conffile handling, using new debhelper features. closes: #659773 2012-02-14 08:02:30 +01:00
Christian Dywan 94236e1a9f Pass URI in _action_private_browsing_activate
We need to, to avoid using GIO-based launching which
would mixup the arguments.
2012-02-14 00:24:22 +01:00
Christian Dywan cc7cf39150 Unify getting an image for an item 2012-02-14 00:24:22 +01:00
Masato Hashimoto e268ffecfc l10n: Updated Japanese (ja) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-13 15:36:44 +01:00
Pjotr Anon 51462b0748 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-13 11:34:57 +01:00
Cristian Marchi 35b11cad17 l10n: Updated Italian (it) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-13 11:04:06 +01:00
Tomáš Vadina c05f2a86b4 l10n: Updated Slovak (sk) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-13 10:33:39 +01:00
Boram Kim e20ec3fb74 l10n: Updated Korean (ko) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-13 06:21:16 +01:00
Chipong Luo 961ed90a01 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 653 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-13 02:31:57 +01:00
Paweł Forysiuk b68b092c51 makedist.midori: Dereference symlinks when copying 2012-02-13 01:47:18 +01:00
Paweł Forysiuk d152163957 makedist.midori: we need to package gdk-pixbuf loaders as well 2012-02-13 01:47:07 +01:00
Paweł Forysiuk 523afa1014 makedist.midori: Be sure to grab configs for pango and freetype 2012-02-13 01:45:33 +01:00
Alexander Butenko 7bf5005617 Fix declaration and signedness warnings in gdom frontend 2012-02-13 01:34:47 +01:00
Christian Dywan 669167eb9e Plug leaks in formhistory_suggestion_remove 2012-02-13 01:31:02 +01:00
Christian Dywan 93bec3142f Keep a reference on the DOM element 2012-02-13 01:27:41 +01:00
Christian Dywan 6c87ccc3b3 Handle CapsLock in form history 2012-02-13 00:46:31 +01:00
Christian Dywan 3aa37f7953 Assert if element is unset in formhistory_editbox_key_pressed_cb 2012-02-13 00:27:01 +01:00
Christian Dywan cad539dfed Store password with g_strdup instead of strcpy 2012-02-13 00:16:21 +01:00
Christian Dywan 62ed57bde3 Free strings in _suggestions_show and fix signature 2012-02-13 00:14:44 +01:00
Alexander Butenko 1e941210db Move form history globals into private struct 2012-02-12 22:48:52 +01:00
Christian Dywan 66484a7e02 Ensure zoom level combo is initially preset 2012-02-12 22:06:33 +01:00
Alexander Butenko 5e052422f5 Password manager 1.0 2012-02-12 22:06:33 +01:00
Christian Dywan 8b766ca2a8 Ensure consistent fallback for no MIME type 2012-02-11 04:55:36 +01:00
Paweł Forysiuk 50a4cda60c makedist.midori: Be sure to check for pango modules
They can be either compiled in or modular.
If our case is the latter we want them packaged as well.
2012-02-11 04:30:30 +01:00
Christian Dywan 15fd840a9d Split midori_view_unset_icon from _update_icon 2012-02-11 04:27:57 +01:00
Christian Dywan f1289721b6 Correctly redraw in katze_throbber_set_animated 2012-02-11 04:19:23 +01:00
Alexander Butenko 01f6279a92 Load icons without indirection and no extra passes 2012-02-11 01:33:46 +01:00
Paweł Forysiuk a1cb33c046 makedist.midori: Fix typo in env variable name 2012-02-11 00:31:03 +01:00
Paweł Forysiuk 63e68a63e3 makedist.midori: Support for glib-networking would be nice too 2012-02-10 23:42:51 +01:00
Paweł Forysiuk 1d700e4ca4 makedist.midori: Make sure to copy webkitgtk directory from share
It contains for example files needed for Web Inspector
2012-02-10 23:42:33 +01:00
Paweł Forysiuk e582924a99 makedist.midori: use temp dir when assembling locale list 2012-02-10 23:42:21 +01:00
Paweł Forysiuk 6ff166f3ba makedist.midori: Refactor copying of files into a helper function 2012-02-10 23:40:37 +01:00
Paweł Forysiuk ef1928ad16 makedist.midori: Add workdir and version_tag variables for better readability 2012-02-10 23:40:13 +01:00
Paweł Forysiuk f387f9c29b makedist.midori: Warn if MINGW_PREFIX variable is not set 2012-02-10 23:39:36 +01:00
Paweł Forysiuk 93b352aa34 Don't use max compression in makedist script, it takes too much time
Compression can always be fine tuned after
2012-02-10 23:39:13 +01:00
Christian Dywan 5bb1c5025f Avoid allocations in _action_location_submit_uri
Skip whitespace without changing the string.

And take advantage of the fact that _find_token now
can deal with a complete URI.
2012-02-10 23:31:42 +01:00
Christian Dywan b6f86b0ca6 Optimize list-based katze_array_ functions 2012-02-10 23:31:42 +01:00
Christian Dywan 9c323ff149 Only use _action_copy_activate work-around < 1.4.3 2012-02-10 23:31:42 +01:00
Per Kongstad f045fb2a5b l10n: Updated Danish (da) translation to 98%
New status: 639 messages complete with 2 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-10 20:24:48 +01:00
Chipong Luo 4479a23319 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-08 09:57:32 +01:00
Chipong Luo a5c29d05f2 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-08 07:08:36 +01:00
Paul Seyfert 974a09ff6a l10n: Updated German (de) translation to 98%
New status: 640 messages complete with 3 fuzzies and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-07 19:02:58 +01:00
Tomáš Vadina 515123c0c7 l10n: Updated Slovak (sk) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-07 09:52:16 +01:00
Chipong Luo 9a1113dc42 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-07 05:49:16 +01:00
Masato Hashimoto cc5566105d l10n: Updated Japanese (ja) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-05 09:33:41 +01:00
Cristian Marchi e264342ea3 l10n: Updated Italian (it) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-04 15:18:42 +01:00
Cristian Marchi 52c4114639 l10n: Updated Italian (it) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-04 15:11:39 +01:00
Algimantas Margevičius 15b0cc2f23 l10n: Updated Lithuanian (lt) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-03 11:50:00 +01:00
Algimantas Margevičius 57e3264d66 l10n: Updated Lithuanian (lt) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-03 11:28:31 +01:00
Algimantas Margevičius 1f2fce9fd5 l10n: Updated Lithuanian (lt) translation to 88%
New status: 575 messages complete with 0 fuzzies and 72 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-03 08:13:30 +01:00
Yarema aka Knedlyk dbc0eac7dc l10n: Updated Ukrainian (uk) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-02 23:19:51 +01:00
Algimantas Margevičius ca56282b75 l10n: Updated Lithuanian (lt) translation to 72%
New status: 468 messages complete with 0 fuzzies and 179 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-02 16:07:58 +01:00
Sergio Marques 32bd432e2d l10n: Updated Portuguese (pt) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-02-02 14:05:13 +01:00
Boram Kim 49f945b421 l10n: Updated Korean (ko) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-31 17:17:18 +01:00
David Štancl 3ab5811c07 l10n: Updated Czech (cs) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-31 13:49:53 +01:00
محمد الحرقان 8e997590bd l10n: Updated Arabic (ar) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-31 06:37:41 +01:00
Chipong Luo eecfd42ca4 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-30 06:27:32 +01:00
Chipong Luo 53d27052aa l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-30 06:17:54 +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 e16e1d14d4 Add about.css, missing from 'Split about.css' 2012-01-29 18:10:37 +01:00
Cheng-Chia Tseng fa12a3fc52 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-29 12:58:25 +01:00
Algimantas Margevičius 955cf0b132 l10n: Updated Lithuanian (lt) translation to 62%
New status: 406 messages complete with 0 fuzzies and 241 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-29 09:08:56 +01:00
Andhika Padmawan 0a96a24fa3 l10n: Updated Indonesian (id) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-29 06:29:36 +01:00
Pjotr Anon 062c19d0d5 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-28 14:57:26 +01:00
Chipong Luo 43bbbbd7f3 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 647 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-28 06:25:06 +01:00
Chipong Luo 0effcd3b19 l10n: Updated Chinese (China) (zh_CN) translation to 98%
New status: 638 messages complete with 0 fuzzies and 9 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-28 06:13:27 +01:00
Chipong Luo 1647ff9638 l10n: Updated Chinese (China) (zh_CN) translation to 98%
New status: 638 messages complete with 0 fuzzies and 9 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-28 06:06:32 +01:00
Christian Dywan edcd8e1ae4 Word the comment in the .desktop as an action
Fixes: https://bugs.launchpad.net/midori/+bug/917023
2012-01-27 23:30:12 +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 32eb583cb5 Also reset icon when resetting location 2012-01-27 21:13:45 +01:00
Chipong Luo d3863a0abf l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-27 15:13:54 +01:00
Christian Dywan 3f8784213d Consistently use internal action toggling 2012-01-24 23:57:41 +01:00
Christian Dywan e4475b4c49 midori_location_action_set_icon_for_uri is unneeded 2012-01-24 23:57:40 +01:00
Christian Dywan 3464afd167 Get rid of the unused accel group in the app 2012-01-24 23:57:40 +01:00
Christian Dywan ab720a177d Consistently use public API to activate actions 2012-01-24 23:57:40 +01:00
Christian Dywan fb44d46db0 Handle window icon inside MidoriBrowser
Fixes: https://bugs.launchpad.net/midori/+bug/918567
2012-01-24 23:57:40 +01:00
Tomáš Vadina 7fd1c2e5e1 l10n: Updated Slovak (sk) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-24 09:42:55 +01:00
Andres Sanchez 0bd341496b l10n: Updated Spanish (Castilian) (es) translation to 99%
New status: 635 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-21 14:33:19 +01:00
Per Kongstad 9ef72e562f l10n: Updated Danish (da) translation to 99%
New status: 637 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-20 00:30:22 +01:00
Christian Dywan 1ef7182e95 Guarding 'autocomplete' with 1.6.1 is enough 2012-01-19 02:31:27 +01:00
Christian Dywan 26485b9be2 Guard 'autocomplete' with WebKitGTK+ 1.7.4 2012-01-19 01:39:38 +01:00
Christian Dywan 41a0ab4bc7 Add missing > when generating about:widgets 2012-01-19 01:39:38 +01:00
Sergio Marques 82f13bab12 l10n: Updated Portuguese (pt) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-17 19:31:56 +01:00
Boram Kim 0ae34774a6 l10n: Updated Korean (ko) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-17 05:07:08 +01:00
Gabor Kelemen 381a78dc08 l10n: Updated Hungarian (hu) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-16 03:51:02 +01:00
David Štancl ce7c34d724 l10n: Updated Czech (cs) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-16 00:50:52 +01:00
Carles Muñoz Gorriz d0a5c58ece l10n: Updated Catalan (Valencian) (ca) translation to 99%
New status: 637 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-15 18:52:51 +01:00
Yarema aka Knedlyk 7ff89970b2 l10n: Updated Ukrainian (uk) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-15 13:50:19 +01:00
Pjotr Anon fe131576a1 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-15 12:19:29 +01:00
Cheng-Chia Tseng 590ecc9c3b l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-15 03:45:05 +01:00
Gabor Kelemen 1b086f5e87 l10n: Updated Hungarian (hu) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-14 21:29:18 +01:00
Chipong Luo 9d900815f9 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 638 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-14 11:55:21 +01:00
Chipong Luo 9f044ee5e4 l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 637 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-14 11:53:24 +01:00
Christian Dywan fb2e4eea77 Use same clear icon handling in findbar and panels 2012-01-14 00:45:01 +01:00
Peter Hatina c0e0bee467 Implement sokoke_entry_set_clear_button_visible
Fixes: https://bugs.launchpad.net/midori/+bug/699954
2012-01-14 00:34:11 +01:00
Christian Dywan ff95e17f6f New download filename generation for all downloads 2012-01-14 00:13:52 +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
Peter Hatina c9f982633d Handle menubar in fullscreen like other bars
Related to: https://bugs.launchpad.net/midori/+bug/783675
2012-01-13 23:42:16 +01:00
Chipong Luo 8eaada95d0 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-13 06:08:43 +01:00
Yarema aka Knedlyk dc1a39f93d l10n: Updated Ukrainian (uk) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 14:16:35 +01:00
Sergio Marques d25cc1b132 l10n: Updated Portuguese (pt) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 13:45:41 +01:00
Pjotr Anon 055224a73e l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 12:02:50 +01:00
Yaron Shahrabani 713c7b5080 l10n: Updated Hebrew (he) translation to 88%
New status: 562 messages complete with 24 fuzzies and 48 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 10:39:58 +01:00
Yaron Shahrabani f500a36903 l10n: Updated Hebrew (he) translation to 86%
New status: 548 messages complete with 30 fuzzies and 56 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 10:15:39 +01:00
Tomáš Vadina 6385a32b99 l10n: Updated Slovak (sk) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 09:44:29 +01:00
Tomáš Vadina e791f3dce0 l10n: Updated Slovak (sk) translation to None%
New status: 0 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 09:41:15 +01:00
David Štancl 7fb7c27db3 l10n: Updated Czech (cs) translation to 100%
New status: 633 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-12 08:20:11 +01:00
Christian Dywan b20abf8a28 Update German translation 2012-01-12 02:25:06 +01:00
Christian Dywan 057bb5dc5a Update POTFILES.in reflecting form history changes 2012-01-12 02:24:27 +01:00
Christian Dywan 9236ffb4bb Add Bookmarkbar menu item to app menu below Panel 2012-01-12 02:23:42 +01:00
Alexander Butenko c3eb4e4403 More selective key code excludes 2012-01-11 21:04:46 +01:00
Alexander Butenko 164f016924 Implement del handling v.2 2012-01-11 21:04:34 +01:00
Yaron Shahrabani 976eda9157 l10n: Updated Hebrew (he) translation to 82%
New status: 521 messages complete with 42 fuzzies and 71 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-11 12:54:31 +01:00
Yaron Shahrabani 1c6980ddda l10n: Updated Hebrew (he) translation to 69%
New status: 439 messages complete with 82 fuzzies and 113 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-11 11:02:41 +01:00
Yaron Shahrabani aede773fb7 l10n: Updated Hebrew (he) translation to 67%
New status: 430 messages complete with 86 fuzzies and 118 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-11 11:00:22 +01:00
Paweł Forysiuk 4600ea19e6 Get rid of mouse out and remove handlers 2012-01-11 00:36:27 +01:00
Alexander Butenko 74ae33e232 Remove focus grabbing when showing suggestions 2012-01-11 00:36:27 +01:00
Michał Olber 274cf6f9d8 l10n: Updated Polish (pl) translation to 98%
New status: 626 messages complete with 6 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-10 16:50:01 +01:00
Chipong Luo 95c15f28e7 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-10 13:13:01 +01:00
Alexander Butenko fd03ff56b4 Avoid race condition storing view in element 2012-01-10 02:19:45 +01:00
Alexander Butenko 3d5d2f4766 Fix keyboard navigation in suggestions 2012-01-10 02:15:41 +01:00
Alexander Butenko 696b377b32 Process all the frames 2012-01-10 02:14:24 +01:00
Alexander Butenko 835f808115 Refactor JS code generation for adblock 2012-01-10 02:12:55 +01:00
Alexander Butenko 729e960cd6 Reorganize code in formhistory-gdom 2012-01-10 02:10:38 +01:00
Alexander Butenko 3d774d2d09 Optimize get_absolute_offset_for_element 2012-01-10 02:06:20 +01:00
Alexander Butenko 9445539c48 Refactor navigation handling 2012-01-10 02:02:24 +01:00
Alexander Butenko 43952508eb JS backend compilation fix + warnings fixes 2012-01-10 01:59:14 +01:00
Christian Dywan bf4ddd3358 Only define formhistory_suggestions_hide_cb with GDOM 2012-01-10 01:50:15 +01:00
Christian Dywan 556546320b Don't encode config hash in app name for socket 2012-01-10 01:42:37 +01:00
Alexander Butenko e61743db9c Formhistory 2.0 with GDOM frontend 2012-01-10 01:01:28 +01:00
Olexandr a87321d01c l10n: Updated Ukrainian (uk) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-09 16:25:23 +01:00
Henrique P. Machado fb22998273 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-08 21:34:16 +01:00
Sergio Marques 25498f30e2 l10n: Updated Portuguese (pt) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-08 13:58:01 +01:00
André Luiz Dias de Miranda 519b51a85c l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 99%
New status: 631 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-08 00:38:44 +01:00
Cristian Marchi e13a55981b l10n: Updated Italian (it) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-06 20:40:34 +01:00
Tomáš Vadina 6ed99e4e88 l10n: Updated Slovak (sk) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-06 09:56:00 +01:00
Alexander Butenko fe6acc509a Reload all rulesets instead of re-downloading one 2012-01-06 01:58:44 +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
Paweł Forysiuk 618fa82077 Use get_dial_div and classes for shortcut dragging 2012-01-06 00:28:45 +01:00
Per Kongstad 4de2048f85 l10n: Updated Danish (da) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-05 18:23:14 +01:00
Boram Kim 6f40fbc0a4 l10n: Updated Korean (ko) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-05 14:01:53 +01:00
Christian Dywan 451cd1fbea Allow search engine addresses prefixed with %s
Related to: https://bugs.launchpad.net/midori/+bug/909423
2012-01-05 00:01:09 +01:00
Pjotr Anon 64d21c2120 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-04 19:10:36 +01:00
David Štancl 2cc8beba41 l10n: Updated Czech (cs) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-04 13:02:13 +01:00
Thomas Schütz fe0f451865 l10n: Updated German (de) translation to 98%
New status: 627 messages complete with 7 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-04 10:07:41 +01:00
Chipong Luo 129da98bf5 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-04 05:23:02 +01:00
Christian Dywan 57b093293a Only strip referrer from valid Soup URI
Fixes: https://bugs.launchpad.net/midori/+bug/909415
2012-01-03 23:47:11 +01:00
Martin Robinson 5396456ec2 Add support for WebGL
WebKitGTK+ can be built with WebGL support and if we
are running under a version that includes it, expose
an option to enable it.

The feature is enabled by default for git builds.

Fixes: https://bugs.launchpad.net/midori/+bug/853665
2012-01-03 22:45:21 +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 c3efa0cd7b Disable unique by default when building for Win32 2012-01-03 21:52:41 +01:00
Alexander Butenko 3a2ad2d242 Don't reset NULL stmt in location popup
Fixes: https://bugs.launchpad.net/bugs/910353
2012-01-03 21:34:45 +01:00
Christian Dywan 98c87e7ca9 Treat string meta value "" the same as NULL 2012-01-03 21:28:45 +01:00
Christian Dywan 81250720de Introduce midori_array_query_recursive
This effectively fixes bookmark export.

Fixes: https://bugs.launchpad.net/bugs/906837
2012-01-03 21:15:19 +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
Tomáš Vadina fad246350e l10n: Updated Slovak (sk) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-03 15:20:57 +01:00
Tomáš Vadina a14be44ce2 l10n: Updated Slovak (sk) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-03 15:19:51 +01:00
Andres Sanchez 05a14dc273 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2012-01-03 14:59:03 +01:00
Chipong Luo 5fe2fc3a02 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-29 14:54:15 +01:00
Chipong Luo aaa803d2b4 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-28 17:04:15 +01:00
Cristian Marchi 9cbeffc696 l10n: Updated Italian (it) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-24 09:53:34 +01:00
Yves-Alexis Perez 01615716d0 upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-12-19 00:29:07 +01:00
Masato Hashimoto af2adeaf08 l10n: Updated Japanese (ja) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-18 15:00:29 +01:00
Yves-Alexis Perez b284fe9fbb New upstream release. 2011-12-18 14:57:46 +01:00
Yves-Alexis Perez df95876508 Merge branch 'upstream-unstable' 2011-12-18 14:47:56 +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
Alexander Butenko a87b4cd7d8 Move adblock element hiding logic from JS to C 2011-12-18 02:07:55 +01:00
Paweł Forysiuk ee055334ce Implement dragging of speed dial shortcuts 2011-12-18 01:51:10 +01:00
Christian Dywan b72e75d32c Bump version to 0.4.3 2011-12-17 23:47:28 +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 a19d798049 Always hide the border when going fullscreen
Fixes: https://bugs.launchpad.net/bugs/783675
2011-12-17 11:36:09 +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 e2816612c5 The dark themes are there since GTK+ 3.0 in fact
The Since in the documentation is wrong.
2011-12-17 11:06:11 +01:00
Christian Dywan cd8cb17b9e Use icon channel-(in)secure-symbolc if available
Fixes: https://bugs.launchpad.net/bugs/905086
2011-12-17 10:57:35 +01:00
Christian Dywan 1126ec1088 Use style classes for location entry in GTK+3
The classes are .security_trusted and .security_unknown.
2011-12-17 10:46:03 +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 849351554e Request dark style for private browsing windows
Fixes: https://bugs.launchpad.net/midori/+bug/905056
2011-12-16 02:15:07 +01:00
Christian Dywan ecac5fdce2 Add help_button class to help in preferences
Fixes: https://bugs.launchpad.net/midori/+bug/889238
2011-12-16 02:06:35 +01:00
Christian Dywan 330a782c1c No timeout for notebook sizing, but a size cache
The timeout was a bad idea because it means the user
can see what's happening for a short period of time.

Caching the last size is less efficent but there's
no visible delay and it's still a big win.
2011-12-16 01:15:50 +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
Per Kongstad 98bb257554 l10n: Updated Danish (da) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-14 16:07:19 +01:00
Christian Dywan 4af93301e3 Use new GTK+ 3 API to align coords of throbber
Once again existing API is no longer reliable.
2011-12-14 02:14:54 +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
Christian Dywan 00d8621fe7 Unify toolbar rebuilding in _action_menubar_activate
And merge _midori_browser_save_toolbar_items into it,
which was already not used anywhere else.

CompactMenu is now always skipped and automatically
added if the menubar is hidden. So it can no longer be
duplicated or appear in the toolbar editor.

Fixes: https://bugs.launchpad.net/midori/+bug/903003
2011-12-14 00:03:02 +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 0cde623901 Unset dont-write-history and append, instead of 0
So the values don't stay in the saved session.
2011-12-14 00:03:02 +01:00
Mișu Moldovan 353093f7de l10n: Updated Romanian (ro) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-11 12:24:21 +01:00
Christian Dywan b874009e00 Escape and unescape for unique and never otherwise
Also don't bother to apply magic when receiving the command,
it was already applied before.
2011-12-11 03:27:02 +01:00
Christian Dywan c8b19b2eeb Avoid copying of strings and making tiny allocations 2011-12-11 02:57:04 +01:00
Christian Dywan 622628b9c3 Use GString to build text in copy tabs extension 2011-12-11 02:53:25 +01:00
Christian Dywan c4cf5affc5 Ensure title from item is set and uri can be NULL 2011-12-11 02:52:37 +01:00
Paweł Forysiuk 8bd9045ce7 Don't skip blank pages in addons context ready 2011-12-11 02:52:37 +01:00
Christian Dywan 1b86c1d913 Use new color API in location action
Apparently back compatibility failed here.

Fixes: https://bugs.launchpad.net/midori/+bug/898445
2011-12-11 02:52:37 +01:00
Christian Dywan 566794a67e Use system ca file from libsoup if possible 2011-12-11 02:11:36 +01:00
Peter Hatina 35757c2842 Update toolbar menu items (actions) after changes
Fixes: https://bugs.launchpad.net/midori/+bug/853023
2011-12-10 19:31:00 +01:00
Christian Dywan 9ba0c2806e Iterate children in notebook_alloc_timeout 2011-12-10 19:30:48 +01:00
Christian Dywan 1845d0bcbc Reduce notebook alloc timeout and update each time 2011-12-10 19:27:05 +01:00
Christian Dywan 5d9a8d73f3 Obtain and store priv in cookie manager
Getting the private data is expensive, especially
in the cookie update callbacks.
2011-12-10 19:23:52 +01:00
Alexander Butenko b41367b735 Use gstring to build suggestions script in formhistory 2011-12-09 21:29:16 +01:00
Christian Dywan a57850e533 Rebase browser_set_current_tab on _set_current_page
The behavior should really match.
2011-12-09 21:11:01 +01:00
Christian Dywan 9c11fb1219 No need to move proxy item if it is appended 2011-12-09 21:01:29 +01:00
Christian Dywan 3d96749b93 Set a timeout on notebook size updates 2011-12-09 21:01:29 +01:00
Christian Dywan cd05d0a351 Use new _with_item constructor everywhere 2011-12-09 21:01:29 +01:00
Christian Dywan d81c80edb2 Ellipsize titles on error pages 2011-12-09 21:01:29 +01:00
Chipong Luo 1df4edab1d l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-09 14:25:59 +01:00
Cheng-Chia Tseng ce3a95360d l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-09 11:12:26 +01:00
Christian Dywan 652e392192 Manually building actions is a huge speedup 2011-12-08 02:55:25 +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 9888ad610d Avoid extra loop for adding delay to all items 2011-12-07 23:01:50 +01:00
Christian Dywan ef9e5b6e6c Avoid counting total pages when not necessary 2011-12-07 22:42:06 +01:00
Christian Dywan e698ba3380 Introduce helper for correctly restoring tabs
We need to ensure a reference on the item.
2011-12-07 22:31:13 +01:00
Christian Dywan 6143654279 Introduce and use midori_view_new_with_item 2011-12-07 21:27:38 +01:00
Alexander Butenko 98f2e3b572 Optimize private element hider algorithm 2011-12-07 20:34:54 +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 6e32883b68 Look for javascriptcoregtk-3.0 with webkitgtk-3.0 2011-12-06 23:14:39 +01:00
Christian Dywan 6a068b458b Teach _toggle_tabbar_smartly what fullscreen means
And introduce midori_browser_is_fullscreen

Related to: https://bugs.launchpad.net/midori/+bug/783675
2011-12-01 20:54:27 +01:00
Christian Dywan 5e784e9bcb Avoid superfluous _midori_browser_update_actions calls 2011-12-01 20:04:32 +01:00
Christian Dywan e2a2f96cf8 Don't set proxy sensitivity connecting KatzeArrayAction
In the case of the trash, the proxy should only be sensitive
if it is not empty, which MidoriBrowser takes care of.
2011-12-01 20:04:32 +01:00
Christian Dywan f50ec92a81 Print cairo versions in about:version 2011-12-01 20:04:32 +01:00
Christian Dywan d0db33711d Limit items in trash in private browsing 2011-12-01 20:04:32 +01:00
Nick Schermer 339e18aa03 l10n: Updated Croatian (hr) translation to 82%
New status: 520 messages complete with 1 fuzzy and 111 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 20:07:04 +01:00
mbouzada 9bb89daee1 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 19:30:58 +01:00
mbouzada 4958fa2e58 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 19:14:24 +01:00
mbouzada 169fa72063 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 18:59:12 +01:00
mbouzada c2cda76dd0 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 17:12:39 +01:00
mbouzada d82e3d8957 l10n: Updated Galician (gl) translation to 99%
New status: 631 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 17:11:47 +01:00
mbouzada 0b668e14b9 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 17:10:47 +01:00
mbouzada ee054703e7 l10n: Updated Galician (gl) translation to 99%
New status: 631 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 17:09:58 +01:00
mbouzada 4b2d2e6a64 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:33:12 +01:00
mbouzada d7363a55f2 l10n: Updated Galician (gl) translation to 99%
New status: 631 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:32:33 +01:00
mbouzada 112747d8a0 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:22:38 +01:00
mbouzada 0c17508dda l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:21:20 +01:00
mbouzada 18b89c7bec l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:19:53 +01:00
mbouzada 10c80ffdda l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:18:31 +01:00
mbouzada 173f2d85dc l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:16:45 +01:00
mbouzada 5613d265dd l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:14:11 +01:00
mbouzada 8e74115261 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 15:05:37 +01:00
mbouzada e2f9340b7e l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:52:11 +01:00
mbouzada a6dc35a37a l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:49:02 +01:00
mbouzada c35cabca23 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:48:16 +01:00
mbouzada 840d1813d1 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:37:57 +01:00
mbouzada df812b27d2 l10n: Updated Galician (gl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:34:24 +01:00
mbouzada 09d0c87505 l10n: Updated Galician (gl) translation to 98%
New status: 625 messages complete with 0 fuzzies and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:23:06 +01:00
mbouzada 77aa9beaac l10n: Updated Galician (gl) translation to 97%
New status: 614 messages complete with 3 fuzzies and 15 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 14:01:03 +01:00
mbouzada b89f4b38ca l10n: Updated Galician (gl) translation to 96%
New status: 611 messages complete with 3 fuzzies and 18 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 13:59:50 +01:00
mbouzada 6bc8c7e784 l10n: Updated Galician (gl) translation to 95%
New status: 601 messages complete with 13 fuzzies and 18 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-30 13:54:49 +01:00
Yarema aka Knedlyk 8c3834cb4c l10n: Updated Ukrainian (uk) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-29 23:25:41 +01:00
Boram Kim e7f1e17a11 l10n: Updated Korean (ko) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-29 12:47:19 +01:00
David Štancl 621a86518a l10n: Updated Czech (cs) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-29 11:53:54 +01:00
Chipong Luo ff21c222d8 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-29 10:50:43 +01:00
Alexander Butenko de89a988f0 Do reset sig in adblock_is_matched_by_key 2011-11-29 01:32:31 +01:00
Christian Dywan 0e93695979 Be sure to always initialize startup timers 2011-11-28 23:41:32 +01:00
Christian Dywan b3344bf6f7 Define H and V widget functions for GTK+3
The horizontal variants are gone from the API.

gtk_rc_get_theme_dir has been deprecated, there is
no replacement so we do the equivalent lookup.

Right-aligned menu items are deprecated.

For now defining gtk_widget_render_icon and
gtk_widget_set_size_request gets rid of warnings.
2011-11-28 23:37:34 +01:00
Christian Dywan 668689fd17 Use struct members in katze_item_set_value_from_column 2011-11-28 23:35:58 +01:00
Christian Dywan 5c08872066 Extra byte for NULL in addons_convert_to_simple_regexp 2011-11-28 23:32:28 +01:00
Christian Dywan 760270832a adblock_compile_regexp free data after checking it 2011-11-28 23:31:17 +01:00
Christian Dywan ffd3026baf Clean up allocations in adblock_add_url_pattern 2011-11-28 21:21:29 +01:00
Alexander Butenko 249619a631 Avoid memory allocated sig in adblock_is_matched_by_key 2011-11-28 21:03:37 +01:00
Alexander Butenko f8b6792756 Refactor adblock_is_matched_by_key into adblock_check_rule 2011-11-28 20:48:55 +01:00
Paweł Forysiuk 75c5f57f91 Attach Win32 console to stdout if not redirected 2011-11-28 20:42:08 +01:00
Christian Dywan 47445f8c94 Use gdk_display_get_app_launch_context if available 2011-11-28 20:42:08 +01:00
Sergio Marques da39524c6d l10n: Updated Portuguese (pt) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-25 14:00:29 +01:00
Chipong Luo 817807f34f l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-25 12:44:38 +01:00
Pjotr Anon 9e7d56d07d l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-25 12:11:23 +01:00
Paweł Forysiuk e6d97efa43 Check for existence of xmlgrep in opensuse mingw fetcher script 2011-11-25 00:59:49 +01:00
Christian Dywan e20a92e6ce Make sure x, y is set in KatzeScrolled button event 2011-11-25 00:59:49 +01:00
Christian Dywan d76b209f68 Add search and install keywords to desktop file
X-GNOME-Keywords is for matching in GNOME Shell or Unity.

X-AppInstall-Keywords is for Software Center.
2011-11-25 00:59:48 +01:00
Piotr Sokół fff54e27d6 l10n: Updated Polish (pl) translation to 97%
New status: 617 messages complete with 7 fuzzies and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-24 17:38:09 +01:00
Tomáš Vadina defbe30ecc l10n: Updated Slovak (sk) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-23 08:55:11 +01:00
Christian Dywan e4963aa324 Introduce midori_array_query to unify bookmark queries
This ensures querying is consistently quoted and ordered.
2011-11-23 00:23:41 +01:00
Christian Dywan 6ff2109adb Make Paste and Proceed insensitive if nothing to paste 2011-11-22 21:57:20 +01:00
Christian Dywan da8983b09f Return in adblock filter entry should Add the filter 2011-11-22 21:57:20 +01:00
Christian Dywan 24310fd4e9 Add easy privacy list to default Adblock filters 2011-11-22 21:57:20 +01:00
Christian Dywan 25d714d3a2 Keep Midori.URI.parse as an alias for compatibility 2011-11-22 21:57:20 +01:00
Sergio Marques a1f4eeaeba l10n: Updated Portuguese (pt) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-22 18:49:07 +01:00
Mișu Moldovan 641af71829 l10n: Updated Romanian (ro) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-22 16:26:28 +01:00
Dmitry Nikitin 340142c391 l10n: Updated Ukrainian (uk) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-21 09:22:30 +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 c60a9d220a Tweak last_folder handling to avoid warnings 2011-11-20 22:19:08 +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
Yaron Shahrabani 1cd86c32f4 l10n: Updated Hebrew (he) translation to 67%
New status: 429 messages complete with 85 fuzzies and 117 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-20 00:45:41 +01:00
Christian Dywan bfe8f9b879 Fix arguments given to midori_browser_save_source 2011-11-19 21:35:56 +01:00
Christian Dywan 1dc6e23b9e Define GtkV/HBox types to allow build with GTK+3.2 2011-11-19 21:35:56 +01:00
Per Kongstad 8021df8646 l10n: Updated Danish (da) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-19 17:33:11 +01:00
Christian Dywan 82323c43a0 Compare addon hostnames null-safely 2011-11-18 23:57:56 +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 bcc4373857 Only focus findbar when repeatedly triggering it
It can be closed with Escape.
2011-11-18 21:20:15 +01:00
Christian Dywan 4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan 532fa299d4 An extension_init returning NULL is no test error 2011-11-18 00:55:19 +01:00
Christian Dywan 975c244622 Ignore form history database errors in unit test 2011-11-18 00:54:32 +01:00
Christian Dywan 583c5be7ef Add simple regexp unit test to Addons extension 2011-11-18 00:54:32 +01:00
Christian Dywan c956b6cb75 Add .htm when viewing source if there's no extension 2011-11-18 00:00:41 +01:00
Christian Dywan 5eb229c9fb Remove duplicate box shadow in latest speed dial CSS 2011-11-17 01:55:04 +01:00
Christian Dywan a260fdce12 Disable shadows with WebKitGTK+ 1.2.7 2011-11-17 01:50:32 +01:00
Daniel Foré 9fca252512 Larger margin outside of shortcuts and more shadows 2011-11-17 01:26:49 +01:00
Daniel Foré e52288cdd2 Pop in close buttons when hovering
Fixes: https://bugs.launchpad.net/midori/+bug/889962
2011-11-17 01:26:30 +01:00
Christian Dywan 040a1670e4 Introduce MIDORI_PARAM_DELAYED_SAVING mechanism
The flag says which properties don't trigger saving
to avoid disk I/O.
2011-11-17 00:03:52 +01:00
Peter Hatina d809cd6040 Save paned actions as separate toolbar items 2011-11-17 00:03:52 +01:00
Pjotr Anon 9e02157c6a l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-16 15:38:06 +01:00
Chipong Luo 464fa71992 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-16 12:37:03 +01:00
Chipong Luo 5d617f22c3 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-16 11:50:33 +01:00
David Štancl 897ca14aec l10n: Updated Czech (cs) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-16 08:58:52 +01:00
Christian Dywan ed5561567b Enforce monospace font elements separately
Fixes: https://bugs.launchpad.net/bugs/888814
2011-11-16 02:08:30 +01:00
Christian Dywan 7cf7dea9ee Drop unused sokoke_combo_box_add_strings 2011-11-16 02:08:30 +01:00
Christian Dywan acc556e384 Don't initialize app name property
Otherwise lazy name generation is not triggered.
2011-11-16 02:08:29 +01:00
Chipong Luo e8472c8381 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 631 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-15 23:57:50 +01:00
Christian Dywan be7c663424 Add MidoriPanedAction implementation 2011-11-15 23:55:34 +01:00
Peter Hatina ccd0562d7d Split location and search entry
Fixes: https://bugs.launchpad.net/midori/+bug/738422
2011-11-15 23:43:14 +01:00
Christian Dywan 524a4bb0a7 Fix compilation broken by wrong speed dial change 2011-11-15 22:42:03 +01:00
Christian Dywan 5eda5a3faa Fix wrong handling of URI containing space 2011-11-15 21:48:59 +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
Christian Dywan 069ade42d0 No about dialog hooks since GTK+ 2.24, not 3.0 2011-11-15 18:34:19 +01:00
Christian Dywan 49758e4dd8 Ensure data is initialized in midori_array_to_file_format 2011-11-15 18:34:19 +01:00
Christian Dywan 77796803c5 Work around G_CONST_RETURN use in unique.h 2011-11-15 18:34:19 +01:00
Christian Dywan 8c14613673 Use Midori's name in midori-private.desktop 2011-11-15 18:34:19 +01:00
Yves-Alexis Perez ea12e9290a upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-11-14 20:56:20 +01:00
Yves-Alexis Perez 4067754ef0 handle /etc/xdg/midori/extensions/libadblock.so removal at postinst
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-11-14 14:26:09 +01:00
Yves-Alexis Perez 4db20c930e * debian/midori.{preinst,postinst,postrm}:
- handle adblock configuration file rename.
2011-11-14 13:08:47 +01:00
Yves-Alexis Perez adb6a6a703 New upstream release. 2011-11-14 11:31:51 +01:00
Yves-Alexis Perez f604ffd388 Merge branch 'upstream-unstable' 2011-11-13 20:31:57 +01:00
Per Kongstad a1103aa20b l10n: Updated Danish (da) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-13 11:05:07 +01:00
Cheng-Chia Tseng 3b491354fc l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-13 06:31:44 +01:00
Piotr Sokół 73ccdc38b8 l10n: Updated Polish (pl) translation to 95%
New status: 599 messages complete with 8 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-12 09:51:34 +01:00
Jean-Philippe Fleury f0f2da8927 l10n: Updated French (fr) translation to 95%
New status: 601 messages complete with 18 fuzzies and 11 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-12 04:41:27 +01:00
Evaggelos Balaskas a9f6f25c95 l10n: Updated Greek (el) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-11 12:53:09 +01:00
Sergio Marques 97ead6f466 l10n: Updated Portuguese (pt) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-11 11:45:01 +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 5a353d0ecd Bump version to 0.4.2 2011-11-11 00:21:06 +01:00
Christian Dywan 0f79f4f61f Update FAQ from the wiki
faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.

A phrase referring to the source was added to the first paragraph.
2011-11-11 00:18:03 +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
Ivica Kolić 37d14e16b7 l10n: Updated Croatian (hr) translation to 82%
New status: 520 messages complete with 0 fuzzies and 110 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-10 13:38:11 +01:00
Peter Hatina b5ce439a6f Don't enforce visibility of navigationbar while loading
Fixes: https://bugs.launchpad.net/midori/+bug/810838
2011-11-09 23:58:00 +01:00
Christian Dywan ac6e23680c For lack of a better way, don't scroll extension descriptions
Obscuring the settings icon is very bad for usability.
2011-11-09 23:04:23 +01:00
Christian Dywan 56818ca944 Replace slash (/) appearing in the display name 2011-11-09 23:03:35 +01:00
Christian Dywan 191339ec9e Allow buildiing with GTK+ 3 and libunique 2011-11-09 22:56:21 +01:00
Christian Dywan d9c4bb15c0 Remove obsolete MidoriLocationAction and panel boilerplate 2011-11-09 22:06:11 +01:00
Christian Dywan c12d8f1f25 Add bottom-toolbar style class to MidoriFindbar 2011-11-09 22:06:10 +01:00
Christian Dywan a121d24d35 sokoke_entry_set_default_text becomes gtk_entry_set_placeholder_text
GTK+ 3.2 and Hildon 2.2 have the exact same feature built-in.
2011-11-09 22:06:10 +01:00
Alexander Butenko 179e33d054 Fix handling of blockss in Adblock 2011-11-09 22:06:10 +01:00
Christian Dywan bcb0fa2569 Undo 'Recognize effectively empty prefixes of a stylesheet'
Styles can apply to at least about: and file:// URLs as well.
2011-11-09 22:06:10 +01:00
Christian Dywan 262e5c3304 Check style domains for other schemes than http(s)
The latest libSoup versions transparently opens file:// URLs
as directory listings and there may be more.
2011-11-09 22:06:10 +01:00
Christian Dywan 5a786354b5 Split -moz-document by both space and comma
Otherwise when only a comma was used only the first domain
value would be picked up.
2011-11-09 22:06:10 +01:00
David Štancl 26658711be l10n: Updated Czech (cs) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-09 14:09:20 +01:00
Pjotr Anon 543a3207ab l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-09 12:16:03 +01:00
Boram Kim a00906f010 l10n: Updated Korean (ko) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-09 09:47:14 +01:00
Chipong Luo e085a8787c l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-09 06:12:59 +01:00
Masato Hashimoto dde6770fb2 l10n: Updated Japanese (ja) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-09 05:33:59 +01:00
Christian Dywan 23f90e821a Faster Base64-concatenating CSS and stylesheet URI support
It is important to retain user-stylesheet-uri separate from
the value set at runtime and restore it to the config file.

Fixes: https://bugs.launchpad.net/midori/+bug/883879
2011-11-08 22:48:39 +01:00
Alexander Butenko fc2bac2e01 Append needed by Adblock correctly after blockcss 2011-11-08 22:22:01 +01:00
Christian Dywan 58066e7dcc Move naming logic into initialization of MidoriApp 2011-11-08 22:09:49 +01:00
Christian Dywan 4e30586f4c Add midori-private.desktop.in to POTFILES.in
Fixes:https://bugs.launchpad.net/bugs/887517
2011-11-08 22:42:03 +01:00
Christian Dywan eb205d53d4 Fix test issues due to unset settings, version, session 2011-11-08 22:42:03 +01:00
Christian Dywan 4cb498940d Remove unneeded action tooltips and add unit test
The tooltips used to be shown in the statusbar when hovering
the menubar.
2011-11-08 22:42:02 +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
Chipong Luo 75b9f809ae l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-08 08:57:07 +01:00
Peter Hatina 107bb2a58a Render verified secure sites in green, not yellow
Fixes: https://bugs.launchpad.net/midori/+bug/858701
2011-11-08 01:58:16 +01:00
Christian Dywan c5e6b7a020 Show mismatching build version suffix for extensions
MIDORI_VERSION_SUFFIX resolves to a string that needs to be
added to each extension's version at build time. If it is
different than the running Midori's, it is shown in the
extension list.
2011-11-08 01:53:53 +01:00
Peter Hatina 2b6ccad3f8 Insert Paste and Proceed menu item after default Paste menu item
Fixes: https://bugs.launchpad.net/midori/+bug/776861
2011-11-08 00:43:44 +01:00
Christian Dywan aa5aeaf23c Don't confuse filename and input in midori_browser_save_uri
The file chooser expects UTF-8 as if typed by the user, not
a filename in the local encoding.
2011-11-08 00:28:07 +01:00
Christian Dywan 49317da35c Use GIO to determine backup/ hidden files in Addons
So Windows-specific behavior is taken into account.
2011-11-08 00:28:07 +01:00
Christian Dywan 0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Aleksandr Ponomarenko e3962444ed l10n: Updated Russian (ru) translation to 99%
New status: 673 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-06 15:26:21 +01:00
Chipong Luo e8ba05e72e l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-06 05:01:50 +01:00
Chipong Luo 4ea6769f0c l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-05 11:36:50 +01:00
David Štancl 5724428069 l10n: Updated Czech (cs) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-04 10:20:14 +01:00
Olexandr 0bcb8433c4 l10n: Updated Ukrainian (uk) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-02 23:50:55 +01:00
Masato Hashimoto 0e6f72cc8b l10n: Updated Japanese (ja) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-02 14:25:53 +01:00
Tomáš Vadina 310ce80d1d l10n: Updated Slovak (sk) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-02 13:22:27 +01:00
Ričardas Vasiulis ba86f67cba l10n: Updated Lithuanian (lt) translation to 51%
New status: 346 messages complete with 36 fuzzies and 288 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-01 20:45:12 +01:00
Hunt Xu 0010c98e04 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-11-01 02:33:42 +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 8dd92c59a7 Update German translation 2011-10-31 22:24:49 +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
Jourdain Cyril 2bc0490bf0 l10n: Updated French (fr) translation to 96%
New status: 649 messages complete with 15 fuzzies and 11 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-31 21:19:13 +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
Adolfo Jayme Barrientos 6ea98c6569 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-30 17:05:31 +01:00
Christian Dywan ea15198b34 Support user-stylesheet-uri again through new API
Related to: https://bugs.launchpad.net/midori/+bug/826441
2011-10-30 16:26:56 +01:00
Alexander Butenko 34e0c98cb7 Use midori_web_settings_add_style for adblock CSS 2011-10-30 15:19:06 +01:00
Paweł Forysiuk e4601778c2 Fix installing of addons once again 2011-10-30 15:08:24 +01:00
Christian Dywan 7dee11c0b7 Only show crash dialog if session isn't empty
Fixes: https://bugs.launchpad.net/midori/+bug/830645
2011-10-30 14:42:52 +01:00
Christian Dywan 0c69e6ff64 Define MidoriLoadStatus as alias to WebKitLoadStatus 2011-10-30 14:29:04 +01:00
Paweł Forysiuk b2257bd19d Re-enable webkit and gstreamer, add new dep - libffi 2011-10-30 14:11:30 +01:00
Paweł Forysiuk 20e84c53c9 Fix typo in midori extension column name 2011-10-30 14:09:12 +01:00
Ivica Kolić dab4e52474 l10n: Updated Croatian (hr) translation to 82%
New status: 557 messages complete with 0 fuzzies and 118 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-29 19:04:47 +02:00
Christian Dywan 6bb66ed111 Queue thumbnails for speed dial, and load if missing 2011-10-29 03:33:43 +02:00
Christian Dywan ff569e8328 Use Midori.URI API in adblock_resource_request_starting_cb 2011-10-29 03:32:16 +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 b8a8272398 Correctly rewrite user style URI 2011-10-29 00:57:44 +02:00
Christian Dywan d39b62c73e Use Midori.URI API in sokoke_prefetch_uri 2011-10-29 00:43:03 +02:00
Christian Dywan cebf09e804 Midori.URI.parse shouldn't pass hostname with spaces 2011-10-29 00:40:34 +02:00
Christian Dywan 4d872505fb Use midori_uri_parse in Addons to handle installation 2011-10-28 23:53:14 +02:00
Christian Dywan 5244bda781 Don't color tabs of blank/ special pages 2011-10-28 23:22:03 +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 f6d3c29be5 Position the location completion correctly
Fixes: https://bugs.launchpad.net/midori/+bug/883143
2011-10-28 23:03:24 +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
Christian Dywan 8f540b3d86 sokoke_widget_set_pango_font_style can be static 2011-10-28 22:49:10 +02:00
Christian Dywan 2976f6ebb2 Avoid the rarely used sokoke_container_show_children 2011-10-28 22:49:10 +02:00
Christian Dywan 6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 2011-10-28 22:49:10 +02:00
Mișu Moldovan b0dafa8511 l10n: Updated Romanian (ro) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-28 21:39:56 +02:00
玉堂 白鹤 b517eacb7b l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 674 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-28 05:48:42 +02:00
Paweł Forysiuk 948301f086 NULL-check new speed dial titles to avoid "(null)" 2011-10-27 23:20:10 +02:00
Christian Dywan 0e5cb28e09 Copy styles passed to midori_web_settings_add_style
Style strings are usually allocated, unlike rule_id's.
2011-10-27 23:20:10 +02:00
Yarema aka Knedlyk 3a49943d10 l10n: Updated Ukrainian (uk) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-27 22:45:49 +02:00
Paweł Forysiuk 6f41311242 No need to handle thumb size when saving speed dial 2011-10-27 20:12:45 +02:00
Christian Dywan dc103bf017 Generate addon style in addons_activate_cb 2011-10-27 19:44:15 +02:00
Christian Dywan 9f37c58013 Recognize effectively empty prefixes of a stylesheet 2011-10-27 19:32:17 +02:00
Christian Dywan 4440d25e11 Update enforced font when font family changes 2011-10-27 19:32:17 +02:00
Christian Dywan 9937abe3fc No completion when typing token or leading space 2011-10-27 19:32:17 +02:00
Sergio Marques 2a03ba5b5b l10n: Updated Portuguese (pt) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-27 19:32:53 +02:00
Boram Kim 6a22d6ec44 l10n: Updated Korean (ko) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-27 09:37:35 +02:00
Pjotr Anon 42565a40ee l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 675 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-27 00:21:44 +02:00
Christian Dywan 19b22b9ae2 Don't skip user stylesheets on special pages 2011-10-26 23:10:24 +02:00
Christian Dywan 4854e2e2d7 Use new style API for global user stylesheets 2011-10-26 23:10:24 +02:00
Christian Dywan 968c967592 Implement Always use my font choices preference
Patch based on input from Peter Hatina.

Fixes: https://bugs.launchpad.net/midori/+bug/826441
2011-10-26 23:10:24 +02:00
Peter Hatina 0388f2fa39 Introduce midori_web_settings_add/remove_style API
The CSS stylesheets added by ID are globally applied.

Related: https://bugs.launchpad.net/midori/+bug/826441
2011-10-26 23:10:24 +02:00
Yarema aka Knedlyk beb4ed15e2 l10n: Updated Ukrainian (uk) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-26 22:45:09 +02:00
Christian Dywan 7cb16405f8 Commit missing file gtk3-compat.c
The file was intended to be part of 52de7471.
2011-10-26 20:07:11 +02:00
Christian Dywan 3b2d95c0e4 sokoke_widget_copy_clipboard must be NULL-safe 2011-10-26 20:07:11 +02:00
Christian Dywan 4b33fd2c7d Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT 2011-10-26 20:07:11 +02:00
Christian Dywan 9738f07429 Respect close button visibility for tab size
And use the themed icon size.
2011-10-26 20:07:11 +02:00
Christian Dywan 5ddcfa7be6 Clear Private Data: Merge Closed Tabs with History
It would be misleading to delete one but not the other and
assume the pages are actually gone.
2011-10-26 20:07:11 +02:00
Tomas Schertel 21529a9154 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-26 17:31:34 +02:00
Masato Hashimoto 1a8be39e6f l10n: Updated Japanese (ja) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-26 13:15:06 +02:00
Per Kongstad 423bc0259d l10n: Updated Danish (da) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-26 08:22:06 +02:00
Chipong Luo 20f21ce80e l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-25 17:56:09 +02:00
Chipong Luo 9769dcb752 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-25 17:50:07 +02:00
Pjotr Anon d9dc25e28d l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-25 11:26:43 +02:00
Chipong Luo 7472eba384 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-25 09:45:52 +02:00
Christian Dywan 2cc0341bf0 Correctly use user-home for Homepage
Since the stock item is re-registered, using GTK_STOCK_HOME
directly will wrongly take gtk-home as the icon name.
2011-10-25 02:17:08 +02:00
Christian Dywan 9159e72b58 Use bookmark-new for Add Bookmark
Fixes: https://bugs.launchpad.net/midori/+bug/880179
2011-10-25 02:13:18 +02:00
Paweł Forysiuk 3c116eab7e Use versioned speed dial template filename 2011-10-25 01:22:30 +02:00
Paweł Forysiuk b359341801 Make title on speed dial a bit easier to click for editing 2011-10-25 01:22:30 +02:00
Peter Hatina d707a8758d Split proxy server and port options into two fields
Fixes: https://bugs.launchpad.net/midori/+bug/699986
2011-10-25 01:22:29 +02:00
Christian Dywan 990b6b77bd Look for localized "next page" link and unify code 2011-10-25 01:22:29 +02:00
Per Kongstad 501a883a11 l10n: Updated Danish (da) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-24 17:42:09 +02:00
Pjotr Anon cabc6c57a6 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-24 12:16:35 +02:00
Adolfo Jayme Barrientos 76cbe8fe64 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-24 02:37:36 +02:00
Christian Dywan 1ed184ba1c No third-party cookies with soup 2.29.91/ WebKit 1.1.21 2011-10-24 00:20:48 +02:00
Christian Dywan 1d4f129d6c Use right paths in _action_bookmarks_import_activate 2011-10-24 00:20:47 +02:00
Per Kongstad 33cd9d57a4 l10n: Updated Danish (da) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-22 22:17:31 +02:00
Yves-Alexis Perez 8aa2d2afd9 * debian/control:
- update libwebkitgtk-dev build-dep to 1.4.3
* As a side effect, the rebuild against webkit 1.6.1 fix midori crashing
  because of missing webkit_web_view_get_selected_text()      closes: #646198
2011-10-22 22:03:26 +02:00
Boram Kim 17e583d2fb l10n: Updated Korean (ko) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-22 18:14:34 +02:00
Pjotr Anon 1d3f3267b1 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-22 12:18:42 +02:00
David Štancl d452b46ddc l10n: Updated Czech (cs) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-22 00:21:20 +02:00
Masato Hashimoto 61ba892eaf l10n: Updated Japanese (ja) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-21 17:24:15 +02:00
Christian Dywan 85eeb6d8d1 Properly check versions of Vala/ WebKitGTK+ in wscript 2011-10-21 02:51:33 +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
Hunt Xu c2af8376eb l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 661 messages complete with 0 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-21 02:42:34 +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
Christian Dywan 3f77b9f300 Avoid pre- and suffix with extension default configs
So this mainly matters to package maintainers, as the
configuration files for extensions have pre- and suffix
according to library naming of the platform. Basically
this only ever worked on Linux and Windows.
Now default configs are always installed with plain names.
2011-10-20 23:39:28 +02:00
Christian Dywan b29ee13da6 Use GTK_COMBO_BOX_TEXT with Statusbar Features 2011-10-20 23:36:34 +02:00
Christian Dywan 8f421d6cfc Use find_property for has-separator in History List
So we can avoid compile-time warnings.
2011-10-20 23:35:37 +02:00
Christian Dywan ee85789fc4 Use gtk_combo_box_text_new_with_entry in Statusbar Features
Fixes: https://bugs.launchpad.net/midori/+bug/878449
2011-10-20 22:48:51 +02:00
Christian Dywan 52de747198 Merge GLib and GTK+ compatibility in gtk3-compat.h 2011-10-20 22:46:43 +02:00
Christian Dywan c06fbee023 Merge bookmark folder combo into helper functions
Fixes: https://bugs.launchpad.net/midori/+bug/874592
2011-10-20 22:19:41 +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
Paweł Forysiuk 06620d014b Fix dialing with keyboard after some recent changes 2011-10-20 19:14:27 +02:00
Christian Dywan 2e203e746b Find Firefox profiles for import 2011-10-20 19:14:27 +02:00
Pjotr Anon 8521d98ed0 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 665 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-20 19:00:47 +02:00
Tomas Schertel 50ddc4f85c l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 665 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-20 17:53:43 +02:00
Leandro Regueiro 32f942fb37 l10n: Updated Galician (gl) translation to 96%
New status: 645 messages complete with 4 fuzzies and 16 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-20 12:37:53 +02:00
Christian Dywan ac5eb28d49 Error out if Vala < 0.13.2, GTK+ 3 and extensions
See https://bugs.launchpad.net/midori/+bug/871579
2011-10-20 09:47:11 +02:00
Peter Hatina b6469de5e6 Work-around icon being activatable by default
Fixes: https://bugs.launchpad.net/midori/+bug/770521
2011-10-20 09:14:33 +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
Christian Dywan 6494269ab9 Add certificate file location used on openSUSE 2011-10-19 09:05:08 +02:00
Christian Dywan e420c36860 Enable Vala debug symbols and disable deprecations 2011-10-19 09:01:28 +02:00
Paweł Forysiuk a023dc5471 Show speed dial close button only when hovering over thumbnail 2011-10-17 02:47:56 +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 3fa294d100 Require GLib 2.22 it's already an implicit dependency 2011-10-17 02:47:56 +02:00
Walther Maldonado eb45219936 Clear downloads when the transferbar is full
Fixes: https://bugs.launchpad.net/midori/+bug/851452
2011-10-17 02:47:56 +02:00
Christian Dywan a8bf171c62 Add 'Create desktop shortcut' to app menu 2011-10-17 02:47:55 +02:00
Christian Dywan 85b1b8509a Install form history always-load only if should_init 2011-10-17 02:47:55 +02:00
Christian Dywan 756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +02:00
Christian Dywan bf8b1d9375 Don't register recent files in app or private mode 2011-10-17 02:47:55 +02:00
Ričardas Vasiulis 910f07e466 l10n: Updated Lithuanian (lt) translation to 42%
New status: 284 messages complete with 38 fuzzies and 348 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-15 08:01:37 +02:00
André Stösel b639067520 Resize the history list treeview in GTK3, not the parent 2011-10-13 18:31:51 +02:00
Christian Dywan bd5c317ad9 Use function in midori_findbar_entry_clear_icon_released_cb 2011-10-13 18:31:51 +02:00
Christian Dywan eda8ac68f9 Findbar should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan edb01a11f6 Speed dial should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
David Štancl bb7c900144 l10n: Updated Czech (cs) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-12 07:30:31 +02:00
Christian Dywan fd643d72e9 Allow last tab to close private and app mode 2011-10-11 02:53:14 +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 19a8002eee Install close.png which is used by speed dial 2011-10-11 02:12:07 +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 8a8e59b598 Don't leak config_file in midori_load_soup_session_full 2011-10-10 23:23:19 +02:00
Alexander Butenko f5447b921f Implement sqlite3 cookie storage backend
From now on cookies are stored in an sqlite3 database, existing
cookies are imported on first startup.
2011-10-10 23:22:27 +02:00
Alexander Butenko eeb4b7b391 Reduce strlen usage in adblock by using GString 2011-10-10 22:37:57 +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
Christian Dywan 3071da6711 Use g_format_size with GLib 2.30.0 2011-10-10 21:53:00 +02:00
Christian Dywan cb6a4290d6 Don't save file dialog folder with GTK+ 3.1.10
The last used folder is restored by default.
2011-10-10 21:49:27 +02:00
Christian Dywan 2219399440 Only disable prefetch in private with WebKitGTK+ 1.3.11 2011-10-10 21:45:51 +02:00
Christian Dywan 9bd775b2d3 Make --snapshot save png images with GtkOffscreenWindow 2011-10-10 21:44:27 +02:00
Yves-Alexis Perez bfc7c9ddb1 upload to unstable
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-10-10 08:27:42 +02:00
Yves-Alexis Perez 377c67bbeb drop mootools.js rules
* debian/rules:
  - don't remove mootools.js since it's not even shipped anymore.
2011-10-10 08:24:41 +02:00
Yves-Alexis Perez c47e9b14cf correctly clear private data on quit when asked. closes: #644658 2011-10-10 07:45:29 +02:00
Yves-Alexis Perez f1443cd760 fix middle click on back/forward button. closes: #644840 2011-10-10 07:39:49 +02:00
Yves-Alexis Perez d72521fd63 drop libjs-mootools
* debian/control:
  - drop libjs-mootools from depends, it's not needed anymore.
2011-10-10 07:37:45 +02:00
Yves-Alexis Perez b7592032c4 drop patch included upstream
* debian/patches:
  - 0001-Fix-for-Bug-819688 dropped, included upstream.
2011-10-10 07:35:13 +02:00
Yves-Alexis Perez d3e42c12f8 New upstream release. 2011-10-10 07:34:12 +02:00
Yves-Alexis Perez 23af38a149 Merge branch 'upstream-unstable' 2011-10-10 07:33:38 +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 d3dbd33911 Bump version to 0.4.1 2011-10-10 00:41:47 +02:00
Christian Dywan ac272d2f48 Use secondary toolbar style for bookmarks bar
Fixes: https://bugs.launchpad.net/midori/+bug/870854
2011-10-09 14:48:12 +02:00
Christian Dywan b378554df2 Disable GTK+3 support by default, it's unfinnished 2011-10-09 14:31:27 +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 89ba05924e Add GDK_KEY_Return to gtk3-compat.h 2011-10-09 14:31:27 +02:00
Ričardas Vasiulis 8bcd2e8987 l10n: Updated Lithuanian (lt) translation to 41%
New status: 278 messages complete with 40 fuzzies and 356 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-09 13:14:51 +02:00
Ričardas Vasiulis 0c5b24a4ff l10n: Updated Lithuanian (lt) translation to 40%
New status: 274 messages complete with 21 fuzzies and 379 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-10-09 13:09:06 +02:00
Anton Shestakov a0b2ce34d6 Update Russian translation 2011-10-09 12:56:32 +02:00
Robert Roth 09d1950029 Don't show clear in inline find if there's no text
Fixes: https://bugs.launchpad.net/midori/+bug/772841
2011-10-09 12:41:46 +02:00
Christian Dywan 3e60f4424b Introduce Automatic user agent and allow quirks
The new Automatic user agent is meant to pick the string
that websites most likely check for. Right now this is
Safari. Quirks built-in to WebKit are also used.

The separate Midori identification has no quirks.

Fixes: https://bugs.launchpad.net/midori/+bug/865503
2011-10-09 12:20:13 +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
Guido Berhoerster bd5a85fb9f Link explicitly against libjavascriptcoregtk
Fixes: https://bugs.launchpad.net/midori/+bug/855978
2011-10-05 10:02:43 +02:00
Christian Dywan f303736ad0 Register successfully downloaded files as recent
So they show up in Recent menus and modern dash boards.
2011-10-05 09:59:02 +02:00
Christian Dywan 441191b4a1 Use correct enum value for Flash window on bg tabs
Fixes: https://bugs.launchpad.net/midori/+bug/859107
2011-09-28 22:18:11 +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 ae56fbf818 Introduce MIDORI_EVENT_NEW_TAB and use it
Fixes: https://bugs.launchpad.net/midori/+bug/797224
Fixes: https://bugs.launchpad.net/midori/+bug/797229
2011-09-28 17:45:37 +02:00
Cheng-Chia Tseng daa6fa0ee7 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-25 08:01:03 +02:00
Christian Dywan b8c707f1cb Fix bogus semicolon in midori_view_set_uri 2011-09-22 00:27:55 +02:00
Christian Dywan a49c6e8ad7 Switch to already open tab of external URI if possible 2011-09-22 00:26:49 +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
Paweł Forysiuk 24604a3db6 Save compiled addon regexpes instead of strings 2011-09-21 23:28:43 +02:00
Paweł Forysiuk e4d03290d3 Remove cookie feature after running cleanup callbacks 2011-09-21 23:07:53 +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
Ivica Kolić fc21488881 l10n: Updated Croatian (hr) translation to 83%
New status: 560 messages complete with 0 fuzzies and 114 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-21 02:37:24 +02:00
Christoph Wickert 98bcbdfbae l10n: Updated German (de) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-19 09:31:56 +02:00
Mișu Moldovan 1deed9804f l10n: Updated Romanian (ro) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-18 22:27:35 +02:00
Paweł Forysiuk 6e51e7014c Make Copy Link Location copy the original URI 2011-09-14 21:48:18 +02:00
André Stösel ec92c64dff Don't switch panels while destroying
Fixes: https://bugs.launchpad.net/midori/+bug/819688
2011-09-14 21:24:10 +02:00
Henrique P. Machado 6a8b4ae60c l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-14 06:36:00 +02:00
Paweł Forysiuk 043581547b Drop MooTools dependency in speed dial 2011-09-14 02:39:18 +02:00
Paweł Forysiuk 4cdc347287 Only run user scripts on the main frame 2011-09-14 02:38:22 +02:00
Paweł Forysiuk 602d0e1366 Properly omit user script / styles on special pages 2011-09-14 02:19:30 +02:00
Alexander Butenko b574501978 No adblock on special pages 2011-09-14 01:59:57 +02:00
Paweł Forysiuk cc2699f1b1 Remove mingw32 webkit and gstreamer for now, add unique 2011-09-14 01:57:10 +02:00
Christian Dywan e55a0a91cb Check that extension_path exists before opening it 2011-09-14 01:56:03 +02:00
Paweł Forysiuk 18a0d1da03 Check for folders other than LIBDIR in sokoke_find_lib_path 2011-09-14 01:47:21 +02:00
Paweł Forysiuk c1321b0072 Remove spurious slot_id variable fom prepare_speed_dial_html 2011-09-14 01:39:14 +02:00
Paweł Forysiuk f748a9b8a4 Drop midori_ from addon function names for consistency 2011-09-14 01:34:08 +02:00
Paweł Forysiuk b557233290 Don't bother with stock, res and favicons uris in adblock 2011-09-14 01:33:07 +02:00
Alper Tekinalp 91c69458fa l10n: Updated Turkish (tr) translation to 99%
New status: 671 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-13 00:37:16 +02:00
Christian Dywan feb83ea3a5 Use symbolic find and clear icons for inline find
Fixes: https://bugs.launchpad.net/midori/+bug/772842
2011-09-11 22:53:59 +02:00
Cristian Marchi 3237e1460d l10n: Updated Italian (it) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-10 10:28:41 +02:00
Cristian Marchi 1251affc57 l10n: Updated Italian (it) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-10 10:25:13 +02:00
Cristian Marchi 360af57d2f l10n: Updated Italian (it) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-10 10:21:07 +02:00
Cristian Marchi d228937eee l10n: Updated Italian (it) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-10 10:16:21 +02:00
Cristian Marchi 89abdbe5e4 l10n: Updated Italian (it) translation to 99%
New status: 671 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-10 10:10:00 +02:00
Cristian Marchi 24b0937703 l10n: Updated Italian (it) translation to 99%
New status: 671 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-10 10:07:07 +02:00
Pjotr Anon ec52fe39e7 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-08 17:17:42 +02:00
Yves-Alexis Perez bd8492b5c0 upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-09-06 09:35:20 +02:00
Yves-Alexis Perez 1b3bda9a17 * debian/patches:
- 0001-Fix-for-Bug-819688 added, correctly restore tab panel when needed.
2011-09-06 09:30:31 +02:00
André Stösel a568b29c38 Actually display the favicon in history list 2011-09-06 01:24:45 +02:00
Christian Dywan 54251cc368 Install a separate Private Browsing desktop file
This way private browsing can be added as a shortcut and
typing in Synapse, Unity or GNOME Shell suggests it.
2011-09-06 01:21:36 +02:00
Sergio Marques 6da6b133f5 l10n: Updated Portuguese (pt) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-09-05 15:16:04 +02:00
David Štancl 1290dfa5ad l10n: Updated Czech (cs) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-30 13:19:23 +02:00
Ardjuna e474a1bbaf l10n: Updated Indonesian (id) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-28 04:13:47 +02:00
Tomáš Vadina 68eeb9902c l10n: Updated Slovak (sk) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-26 14:45:54 +02:00
Masato Hashimoto 519257172a l10n: Updated Japanese (ja) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-24 14:54:20 +02:00
Fabian Nowak 28c9a22252 l10n: Updated German (de) translation to 99%
New status: 671 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-23 22:39:24 +02:00
Per Kongstad 695d1baaeb l10n: Updated Danish (da) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-23 21:46:46 +02:00
Yarema aka Knedlyk ffad484af4 l10n: Updated Ukrainian (uk) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-22 16:57:07 +02:00
Yarema aka Knedlyk d2ffc98eff l10n: Updated Ukrainian (uk) translation to 99%
New status: 672 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-21 13:03:26 +02:00
Boram Kim 9060012b0d l10n: Updated Korean (ko) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-21 10:23:26 +02:00
Evaggelos Balaskas 9ea24d4340 l10n: Updated Greek (el) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-20 12:41:40 +02:00
Sergio Marques 8ff9aaf1a4 l10n: Updated Portuguese (pt) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-19 18:10:06 +02:00
Pjotr Anon 1f14e21619 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-19 12:32:51 +02:00
Alper Tekinalp 2e6670887c l10n: Updated Turkish (tr) translation to 99%
New status: 669 messages complete with 3 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-19 01:13:06 +02:00
Alper Tekinalp 55faf91cbd l10n: Updated Turkish (tr) translation to 99%
New status: 668 messages complete with 4 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-19 01:12:16 +02:00
André Stösel 16d64a68a3 Update German translation 2011-08-18 22:18:32 +02:00
André Stösel 597ca48410 Fix spelling error in Switch to last viewed tab 2011-08-18 22:17:54 +02:00
Christian Dywan b8512f2532 Quote config folder when spawning private browsing
On Windows the folder typically contains spaces.
2011-08-18 22:10:57 +02:00
Per Kongstad 0b829401ae l10n: Updated Danish (da) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-18 21:45:22 +02:00
Yarema aka Knedlyk dc11bb4a57 l10n: Updated Ukrainian (uk) translation to 99%
New status: 669 messages complete with 3 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-18 19:09:02 +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
Christian Dywan 59a6438d52 Support creating new windows by dragging tabs outside 2011-08-18 18:06:34 +02:00
Christian Dywan 49f15f741e Use GLib timeout rather than the dusty GTK+ API 2011-08-18 18:05:57 +02:00
Andres Sanchez 74a1e66879 l10n: Updated Spanish (Castilian) (es) translation to 99%
New status: 669 messages complete with 5 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-18 13:47:16 +02:00
Paweł Forysiuk 1e8ca187c3 Sort bookmarks in the panel by title rather than URI 2011-08-17 23:04:54 +02:00
Boram Kim fedd36ac91 l10n: Updated Korean (ko) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-17 13:10:27 +02:00
Boram Kim 42dae31bf3 l10n: Updated Korean (ko) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-17 13:05:21 +02:00
Pjotr Anon 3382ee0f0f l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-16 18:53:30 +02:00
Paweł Forysiuk 3e2e8906fb Remove leftover version guards for WebKit > 1.1.17 2011-08-15 22:56:38 +02:00
Christian Dywan 8bca83572a Thunderbird only accepts feed://, Liferea doesn't mind
https://bugs.launchpad.net/midori/+bug/826444
2011-08-15 21:30:22 +02:00
Paweł Forysiuk c5151ff09a Clean up usage of pseudo-uris in special pages 2011-08-15 21:30:22 +02:00
André Stösel 32f71ef5e0 Flash browser window if new tab opened in background 2011-08-15 21:30:22 +02:00
André Stösel 2e532f1895 Allow users to enable form history per tab (Ctrl+Shift+F)
Note: you have to reload the page before the state change has any
effect.
2011-08-15 21:30:21 +02:00
Andhika Padmawan 2b6bf42ae0 l10n: Updated Indonesian (id) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-13 18:23:46 +02:00
كريم أولاد الشلحة 7a64728ea0 l10n: Updated Arabic (ar) translation to 99%
New status: 668 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-12 06:20:54 +02:00
محمد الحرقان 9b4f945a26 l10n: Updated Arabic (ar) translation to 99%
New status: 666 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-12 01:40:35 +02:00
Paul Garden 5f97728b5e l10n: Updated Catalan (Valencian) (ca) translation to 95%
New status: 640 messages complete with 28 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-11 18:15:23 +02:00
Andres Sanchez 2f459a6a07 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-10 19:46:41 +02:00
Piotr Sokół e025aea0d6 l10n: Updated Polish (pl) translation to 95%
New status: 638 messages complete with 9 fuzzies and 22 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-10 18:53:53 +02:00
كريم أولاد الشلحة e8cf193e2e l10n: Updated Arabic (ar) translation to 99%
New status: 665 messages complete with 0 fuzzies and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-09 07:24:17 +02:00
محمد الحرقان 84544fe434 l10n: Updated Arabic (ar) translation to 95%
New status: 638 messages complete with 3 fuzzies and 28 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-09 01:56:16 +02:00
محمد الحرقان b2c7aceb0b l10n: Updated Arabic (ar) translation to 93%
New status: 625 messages complete with 16 fuzzies and 28 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-09 01:55:21 +02:00
محمد الحرقان e5331acf79 l10n: Updated Arabic (ar) translation to 93%
New status: 625 messages complete with 6 fuzzies and 38 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-09 01:24:44 +02:00
محمد الحرقان a2794889d0 l10n: Updated Arabic (ar) translation to 92%
New status: 619 messages complete with 6 fuzzies and 44 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-08 16:20:54 +02:00
Christian Dywan 7b97c133dc Allow re-opening closed tabs in private browsing 2011-08-08 15:48:58 +02:00
Christian Dywan 5c08872db0 Only show cache preference if there is a cache
App and private mode never make use of the web cache.
2011-08-08 15:44:38 +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
tschertel 5774aa9e81 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-08 14:26:52 +02:00
محمد الحرقان 6de282bf44 l10n: Updated Arabic (ar) translation to 91%
New status: 612 messages complete with 8 fuzzies and 49 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-08 11:01:41 +02:00
محمد الحرقان efbd780a2e l10n: Updated Arabic (ar) translation to 88%
New status: 590 messages complete with 6 fuzzies and 73 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-08 05:28:24 +02:00
محمد الحرقان c8b5547d61 l10n: Updated Arabic (ar) translation to 83%
New status: 557 messages complete with 5 fuzzies and 107 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-05 19:41:50 +02:00
Cristian Marchi 9c1769f83f l10n: Updated Italian (it) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-05 08:50:28 +02:00
Christian Dywan ab22866cff Always uncheck spelling if it is not available 2011-08-05 00:02:17 +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 761ef8c4e6 Fix hiding of the empty extension list 2011-08-04 23:41:01 +02:00
Christian Dywan e6ecd20be4 Disable spell check option if there are no enchant modules 2011-08-04 23:29:56 +02:00
Christian Dywan 49d7ae1fad Disable Netscape plugin preference on Windows
They are not supported by Windows builds of WebKitGTK+.
2011-08-04 22:54:14 +02:00
Jérôme Guelfucci 8175e36e7f Fix middle click toolbar and menu actions.
This fixes a regression where a middle click would no longer open
'Homepage', 'Next', 'Previous', 'Back' and 'Forward' in a new tab.
2011-08-04 22:47:19 +02:00
Sergio Marques edf6192978 l10n: Updated Portuguese (pt) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-04 17:12:57 +02:00
Boram Kim 689f982102 l10n: Updated Korean (ko) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-03 17:53:34 +02:00
Yarema aka Knedlyk 2aa47a2154 l10n: Updated Ukrainian (uk) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-02 23:52:03 +02:00
Christian Dywan d3f27e54f8 Compare checksums without respecting case-sensitivity
Upper-case checksums would always fail to verify.
2011-08-02 22:55:46 +02:00
Masato Hashimoto 8c7f255c7e l10n: Updated Japanese (ja) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-02 11:18:58 +02:00
Yves-Alexis Perez b7fae5ebe9 upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-08-02 09:57:41 +02:00
Yves-Alexis Perez f1362e4d15 debian/control:
* debian/control:
  - bump webkit build-dep to 1.1.17.
  - bump valac build-dep to 0.10.
2011-08-02 09:44:07 +02:00
Yves-Alexis Perez af43580b61 New upstream release. 2011-08-02 07:43:33 +02:00
Yves-Alexis Perez 459dd9dffe Merge branch 'upstream-unstable' 2011-08-02 07:43:10 +02:00
Christian Dywan 889dcabc33 Bump version to 0.4.0 2011-08-02 00:06:36 +02:00
Christian Dywan d82bae1dd1 Update FAQ from the wiki
faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.

A phrase referring to the source was added to the first paragraph.
2011-08-02 00:03:31 +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
David Štancl ca1891765a l10n: Updated Czech (cs) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-08-01 14:59:28 +02:00
Pjotr Anon 3d60bd1a42 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-31 14:38:41 +02:00
محمد الحرقان b33755f019 l10n: Updated Arabic (ar) translation to 79%
New status: 530 messages complete with 5 fuzzies and 134 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-31 14:26:32 +02:00
محمد الحرقان 1e4909b6c5 l10n: Updated Arabic (ar) translation to 72%
New status: 483 messages complete with 11 fuzzies and 175 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-31 13:03:49 +02:00
محمد الحرقان 5b7bdcb5f5 l10n: Updated Arabic (ar) translation to 70%
New status: 471 messages complete with 11 fuzzies and 187 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-31 02:01:03 +02:00
محمد الحرقان 712d1f85bc l10n: Updated Arabic (ar) translation to 69%
New status: 463 messages complete with 12 fuzzies and 194 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-31 01:15:35 +02:00
Mișu Moldovan 6fae4e54db l10n: Updated Romanian (ro) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-30 23:13:11 +02:00
Christian Dywan b307801744 Provide buttons to choose how to startup after crash
Fixes: https://bugs.launchpad.net/midori/+bug/740798
2011-07-30 21:18:11 +02:00
Paweł Forysiuk e4d4ec26fb Always NULL-check database before using it
If the database is broken in whatever way the pointer is
unset. A good next step would be to give more user-friendly
feedback than the current rough dialog.
2011-07-30 20:11:45 +02:00
Masato Hashimoto 5f9497358c l10n: Updated Japanese (ja) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-30 09:03:57 +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 6a3c3d155a Never delay URIs given as command line arguments 2011-07-28 23:08:03 +02:00
Christian Dywan 0b880b8a9b Fallback to URI for delayed page if there's no title 2011-07-28 22:58:16 +02:00
Christian Dywan abe60b164b Space at the bottom of the page: Go to next page 2011-07-28 21:59:29 +02:00
Christian Dywan 32286215d6 Don't shadow web_view in _action_source_view_activate 2011-07-27 23:06:44 +02:00
André Stösel 25cdc7161b Make the infobar labels selectable. 2011-07-27 23:04:39 +02:00
Boram Kim 218c69880e l10n: Updated Korean (ko) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-27 17:16:45 +02:00
Christian Dywan 3fc44b6fdc Initialize session in app/ private before adding URIs
If the session is not prepared properly URIs loading of
the first page(s) breaks. Also it is a good idea to sort
out all settings before loading anything to begin with.

You will now see "midori_load_soup_session was not called!" if
any pages try to load before the session is prepared.

Fixes: https://bugs.launchpad.net/midori/+bug/814268
2011-07-27 01:23:56 +02:00
Yarema aka Knedlyk f2d1959e73 l10n: Updated Ukrainian (uk) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-26 21:36:29 +02:00
Yves-Alexis Perez 26ee3c60c0 upload to unstable
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-07-26 00:27:29 +02:00
Yves-Alexis Perez 71a9bd4a1d * debian/control:
- build-dep on libwebkitgtk-dev instead of libwebkit-dev.
2011-07-26 00:24:21 +02:00
David Štancl 9a4dc3ecab l10n: Updated Czech (cs) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-25 23:57:58 +02:00
Per Kongstad 520adfe8c9 l10n: Updated Danish (da) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-25 18:14:55 +02:00
Sergio Marques 03ec536618 l10n: Updated Portuguese (pt) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-25 14:50:22 +02:00
Pjotr Anon e281269063 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-25 00:55:29 +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 22a7862654 Add 'Last open tabs' option to Clear Private Data
Fixes: https://bugs.launchpad.net/midori/+bug/814739
2011-07-24 21:41:47 +02:00
André Stösel c277857ea4 Only sensitize preferences of active extensions 2011-07-24 12:40:48 +02:00
Christian Dywan bfc6a034ab Remove the according action when destroying panels
Fixes: https://bugs.launchpad.net/midori/+bug/699982
2011-07-21 18:18:58 +02:00
Paweł Forysiuk cf4499f54b Fix sokoke_prefetch_uri arguments in magic URI test 2011-07-21 18:04:21 +02:00
Slavko 9f99771db1 l10n: Updated Slovak (sk) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-21 15:49:36 +02:00
Christian Dywan 6c95ea19db Show kinetic scrolling option regardless of Hildon 2011-07-20 23:10:50 +02:00
Andres Sanchez f33644ed5b l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-20 00:36:46 +02:00
Andres Sanchez 4e6d666efa l10n: Updated Spanish (Castilian) (es) translation to 99%
New status: 664 messages complete with 2 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-20 00:27:03 +02:00
Andres Sanchez 35abe8d739 l10n: Updated Spanish (Castilian) (es) translation to 98%
New status: 656 messages complete with 2 fuzzies and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-20 00:21:55 +02:00
Christian Dywan 9bc26e97fe Interpret Shift+Backspace as going forward
Analogous to Backspace for back.
2011-07-19 22:14:07 +02:00
André Stösel 92e23d9d4e Don't destroy the current tab if it is last and blank
If you hit the shortcut for closing tabs over a long time
(to close all tabs), Midori hangs for some seconds.
2011-07-19 22:03:37 +02:00
Peter de Ridder 868dd3abf0 Merging dll-recursive.sh into makedist.midori.
This will make makedist.midori self-contained. And doesn't require
dll-recursive.sh to be in the current working directory.
2011-07-19 21:16:24 +02:00
Christian Dywan 09f4af3be7 Advertise SVG images as a supported MIME type
Fixes: https://bugs.launchpad.net/midori/+bug/805439
2011-07-11 21:19:16 +02:00
Christian Dywan 3331921cfc Interpret Ctrl+= as Zoom In for compatibility 2011-07-09 22:48:26 +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
Chipong Luo 142c8184ee l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-09 14:02:35 +02:00
Chipong Luo 7c987dc938 l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 664 messages complete with 1 fuzzy and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-09 14:01:05 +02:00
alpertekinalp 913ce7d233 l10n: Updated Turkish (tr) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-08 15:43:39 +02:00
alpertekinalp cd6c58b21f l10n: Updated Turkish (tr) translation to 99%
New status: 667 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-08 15:36:32 +02:00
alpertekinalp af14e373e9 l10n: Updated Turkish (tr) translation to 99%
New status: 664 messages complete with 2 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-08 15:17:37 +02:00
alpertekinalp 1ae284018f l10n: Updated Turkish (tr) translation to 97%
New status: 652 messages complete with 14 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-08 15:12:56 +02:00
alpertekinalp 7f891d61b8 l10n: Updated Turkish (tr) translation to 94%
New status: 632 messages complete with 33 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-08 15:03:46 +02:00
alpertekinalp 580fb3cde4 l10n: Updated Turkish (tr) translation to 91%
New status: 614 messages complete with 33 fuzzies and 21 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-08 14:51:20 +02:00
Paweł Forysiuk 7843145340 Add gdb and webkit-tools (GtkLauncher, inspector) mingw packages 2011-07-06 23:31:21 +02:00
Paweł Forysiuk b878020a90 Add glib-networking and it's deps to list of mingw packages 2011-07-06 23:31:10 +02:00
Alexander Butenko ac78646f83 Don't do pattern matching if link was matched by key 2011-07-05 03:55:53 +02:00
Alexander Butenko 3db46d2297 Always check rules options, not only in pattern matching 2011-07-05 03:54:31 +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
Sérgio Cipolla df47a2b8d4 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-04 14:57:50 +02:00
كريم أولاد الشلحة 4f84917e53 l10n: Updated Arabic (ar) translation to 58%
New status: 394 messages complete with 10 fuzzies and 264 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-03 16:24:09 +02:00
Cristian Marchi cd6c4c95a4 l10n: Updated Italian (it) translation to 99%
New status: 666 messages complete with 1 fuzzy and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-07-02 14:30:22 +02:00
Sergio Marques 902d6204f0 l10n: Updated Portuguese (pt) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-30 12:04:17 +02:00
محمد الحرقان 4f79c4ddbb l10n: Updated Arabic (ar) translation to 58%
New status: 390 messages complete with 10 fuzzies and 268 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-28 16:50:32 +02:00
محمد الحرقان cc0436a6ee l10n: Updated Arabic (ar) translation to 52%
New status: 348 messages complete with 14 fuzzies and 306 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-28 16:41:30 +02:00
محمد الحرقان 8db282087c l10n: Updated Arabic (ar) translation to 44%
New status: 299 messages complete with 30 fuzzies and 339 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-28 16:19:00 +02:00
Piotr Sokół 1137e80a44 l10n: Updated Polish (pl) translation to 95%
New status: 636 messages complete with 10 fuzzies and 22 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-27 23:00:45 +02:00
Boram Kim 50bfbdc243 l10n: Updated Korean (ko) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-27 13:51:22 +02:00
David Štancl 76573c86a5 l10n: Updated Czech (cs) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-27 13:31:06 +02:00
Per Kongstad 90064105c2 l10n: Updated Danish (da) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-26 12:07:09 +02:00
Yarema aka Knedlyk 93fc7f427d l10n: Updated Ukrainian (uk) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-26 10:54:49 +02:00
محمد الحرقان 9e8f6e17ed l10n: Updated Arabic (ar) translation to 42%
New status: 285 messages complete with 25 fuzzies and 358 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-26 10:10:46 +02:00
Pjotr Anon 1fe39afee1 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-25 21:17:44 +02:00
كريم أولاد الشلحة 03ac072550 l10n: Updated Arabic (ar) translation to 41%
New status: 280 messages complete with 25 fuzzies and 363 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-25 21:05:10 +02:00
Masato Hashimoto 907d5723d4 l10n: Updated Japanese (ja) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-25 11:36:04 +02:00
Paweł Forysiuk 12aed6c566 Compose complete markup inside prepare_speed_dial_html() 2011-06-25 00:10:30 +02:00
Alexander Butenko 15a06bbfe1 Integrate Adblock preferences with extension list 2011-06-24 23:55:08 +02:00
Alexander Butenko 4d7424adc4 Fix length calculation and typos in fixup function 2011-06-24 21:48:03 +02:00
Alexander Butenko 60cb44c846 Remove legacy code from adblock 2011-06-24 21:42:32 +02:00
Alexander Butenko bd10649982 Ignore rules with subdocument property 2011-06-24 21:26:05 +02:00
Alexander Butenko f093e55f85 Skip empty lines in adblock rules files 2011-06-24 21:20:08 +02:00
André Stösel ebf892e2de New shortcut to display the current selected tab in background 2011-06-24 21:04:48 +02:00
Piotr Sokół 0ecd54b1df l10n: Updated Polish (pl) translation to 94%
New status: 630 messages complete with 14 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-21 14:01:02 +02:00
Christoph Wickert 43111db54c l10n: Updated German (de) translation to 99%
New status: 663 messages complete with 4 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-20 21:35:53 +02:00
Masato Hashimoto 0796a707e3 l10n: Updated Japanese (ja) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-19 15:22:52 +02:00
Christian Dywan 16b63b9508 Don't list docutils as required, it's no longer used 2011-06-17 12:09:48 +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
Paweł Forysiuk e228e00090 Require at least 1.1.17 version of WebkitGTK+ 2011-06-17 11:55:39 +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 f0d39ad3aa Add the glib2 check back, for marshallers 2011-06-17 11:32:55 +02:00
Christian Dywan 4761949397 Do a simple Vala check without extra logic
Vala is mandatory at build-time. The extra check doesn't
respect VALAC.
2011-06-17 11:26:47 +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
Pjotr Anon b8e5b77609 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-17 00:36:53 +02:00
David Štancl 144661a680 l10n: Updated Czech (cs) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-16 15:13:05 +02:00
Pjotr Anon fcdd4ab6b6 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-16 12:15:03 +02:00
Pjotr Anon 746c40371e l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-16 00:15:25 +02:00
Yarema aka Knedlyk 6f55f1737d l10n: Updated Ukrainian (uk) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-13 23:01:20 +02:00
Pjotr Anon cc5183de3f l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-13 15:26:16 +02:00
Pjotr Anon a5cddf64df l10n: Updated Dutch (Flemish) (nl) translation to 99%
New status: 664 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-13 15:24:40 +02:00
Ivica Kolić 619b3596f8 l10n: Updated Croatian (hr) translation to 83%
New status: 560 messages complete with 0 fuzzies and 107 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-13 14:14:39 +02:00
Boram Kim d4baa36d4b l10n: Updated Korean (ko) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-11 19:34:06 +02:00
Sergio Marques fe2aeab4ae l10n: Updated Portuguese (pt) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-10 20:42:59 +02:00
Morten Juhl-Johansen Zölde-Fejér 5767e9b927 l10n: Updated Danish (da) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-09 23:03:29 +02:00
Sérgio Cipolla 3cc1397a7e l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-09 23:02:27 +02:00
Morten Juhl-Johansen Zölde-Fejér a305e0d707 l10n: Updated Danish (da) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-09 23:01:01 +02:00
Boram Kim bfd478bb3f l10n: Updated Korean (ko) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-09 10:53:41 +02:00
Paweł Forysiuk 46de9f7767 Remove further support for WebKitGTK+ < 1.1.14 2011-06-09 00:45:34 +02:00
Alexander Butenko 38da85ee43 Handle unique_filename and null-check data source 2011-06-09 00:37:25 +02:00
Christian Dywan 3a51aafd7f Make Vala a mandatory build requirement 2011-06-08 22:39:35 +02:00
Paweł Forysiuk 0dbee646b7 Require WebKitGTK+ 1.1.14, remove backwards compatibility 2011-06-08 22:38:05 +02:00
Christian Dywan f681ac9ef1 Unset error before calling speeddial_new_from_file 2011-06-08 20:43:00 +02:00
André Stösel b49de2ab26 Add a new option to change behavior when closing a tab 2011-06-08 20:24:25 +02:00
André Stösel fa970c076b Add some missing Midori.Extension functions to VAPI 2011-06-08 20:18:09 +02:00
André Stösel 037db65a38 Upon closer consideration the property "preferences" is redundant 2011-06-08 20:16:55 +02:00
Alexander Butenko 092834f65e Inline parsing functions. 10% speedup during load 2011-06-08 20:05:28 +02:00
Alexander Butenko c71f3b37e4 Remove legacy webkit bug workaround 2011-06-08 20:03:37 +02:00
Paweł Forysiuk f46f3f0be0 Speed-up JS generator function in Adblock 2011-06-08 20:02:48 +02:00
Alexander Butenko 5f1cd907ad Some tiny Adblock speed-ups with regex optimization 2011-06-08 19:59:18 +02:00
Alexander Butenko 4e656cc127 10x speed-up in loading of CSS rules for Adblock 2011-06-08 19:51:26 +02:00
André Stösel 6120fa1e49 Add new signal for extension preferences
If the "preferences" property is TRUE and the signal
is implemented, a button is shown next to the extension
and the callback is invoked on click.
2011-06-07 21:02:09 +02:00
Chipong Luo 7da0e14b2a l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-05 15:37:17 +02:00
Chipong Luo a637acdd74 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-05 02:48:28 +02:00
Chipong Luo 963bdf2376 l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 664 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-05 02:46:12 +02:00
Cristian Marchi 89f3caca4a l10n: Updated Italian (it) translation to 99%
New status: 664 messages complete with 1 fuzzy and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-04 09:17:05 +02:00
Johannes Lips 90885576af l10n: Updated German (de) translation to 98%
New status: 655 messages complete with 8 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-02 20:53:43 +02:00
Sérgio Cipolla e2dbf47a43 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-02 15:23:58 +02:00
Cristian Marchi 9f71b65675 l10n: Updated Italian (it) translation to 98%
New status: 655 messages complete with 3 fuzzies and 8 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-06-02 10:13:39 +02:00
Paweł Forysiuk 8c5c4f8bb5 Update REPO_URL in install.sh script 2011-06-02 01:10:51 +02:00
Paweł Forysiuk 11dd3d758f Drop thumb:// pseudo-uri since it is not reliable enough 2011-06-02 01:03:10 +02:00
Paweł Forysiuk 1b8bf1cd2b Check for data folder relative to install on Windows 2011-06-02 00:57:40 +02:00
Paweł Forysiuk 15a65b6166 Add timestamps if logging to a file
And try to match appearance of console messages.
2011-06-02 00:55:36 +02:00
Alexander Butenko fc842d9751 Add URL cache in adblock extension
We can bypass all tests on the second load of the URL.
2011-06-02 00:48:02 +02:00
Alexander Butenko 243f93b70d Return original URI if unescaping failed
The issue could be seen in the form of error messages:

g_regex_replace_eval: assertion `string != NULL' failed
2011-06-02 00:40:44 +02:00
Alexander Butenko 4bfbe5b30e Reuse source of webview when saving a page to disk
Fixes: https://bugs.launchpad.net/midori/+bug/782133
2011-06-02 00:33:17 +02:00
Alexander Butenko 3db6445e54 Reuse source of webview instead of redownloading on view source 2011-06-02 00:19:35 +02:00
Pjotr Anon 66475da5a9 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-31 17:59:54 +02:00
Ivica Kolić cfc94d5595 l10n: Updated Croatian (hr) translation to 83%
New status: 559 messages complete with 0 fuzzies and 107 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-31 01:08:36 +02:00
Christian Dywan ac162e11d2 Remove the description field from bookmark dialog
Fixes: https://bugs.launchpad.net/midori/+bug/790262
2011-05-31 00:43:39 +02:00
Christian Dywan e73fa8d24c Add New Tab and New Window items to Unity Quicklist
Fixes: https://bugs.launchpad.net/midori/+bug/786749
2011-05-31 00:29:12 +02:00
Christian Dywan 84c5e08515 Print defaults of enable configure options in help 2011-05-31 00:18:02 +02:00
Christian Dywan b8cbfe2fce Advertise %U not %u, we can handle multiple URIs 2011-05-31 00:17:35 +02:00
Boram Kim c586fbe9ad l10n: Updated Korean (ko) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-30 17:58:21 +02:00
Sérgio Cipolla 10d23ed543 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-30 15:50:29 +02:00
Pjotr Anon 6a8af04718 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 23:35:13 +02:00
Pjotr Anon ce48ac41b1 l10n: Updated Dutch (Flemish) (nl) translation to 99%
New status: 664 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 23:34:37 +02:00
Pjotr Anon 4969071cc2 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 23:17:16 +02:00
Pjotr Anon 6d67b0350d l10n: Updated Dutch (Flemish) (nl) translation to 99%
New status: 664 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 23:16:33 +02:00
Pjotr Anon 75d682cc22 l10n: Updated Dutch (Flemish) (nl) translation to 99%
New status: 663 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 21:18:57 +02:00
Morten Juhl-Johansen Zölde-Fejér 2a39442e1b l10n: Updated Danish (da) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 00:54:49 +02:00
Yarema aka Knedlyk 1abe43e4ce l10n: Updated Ukrainian (uk) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 00:17:39 +02:00
David Štancl 5f1d114907 l10n: Updated Czech (cs) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-29 00:11:58 +02:00
Morten Juhl-Johansen Zölde-Fejér 875a1c969a l10n: Updated Danish (da) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 23:43:42 +02:00
Morten Juhl-Johansen Zölde-Fejér 803db886b1 l10n: Updated Danish (da) translation to 99%
New status: 663 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 23:39:45 +02:00
Morten Juhl-Johansen Zölde-Fejér 149cc910f4 l10n: Updated Danish (da) translation to 99%
New status: 660 messages complete with 1 fuzzy and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 23:35:18 +02:00
Andhika Padmawan dfe0e0abf3 l10n: Updated Indonesian (id) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 14:10:37 +02:00
Andhika Padmawan 6314d85a59 l10n: Updated Indonesian (id) translation to 99%
New status: 663 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 14:09:15 +02:00
Masato Hashimoto b993c63d3c l10n: Updated Japanese (ja) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 09:18:32 +02:00
Sérgio Cipolla 90b8b93b79 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-28 02:15:10 +02:00
Paweł Forysiuk 5ab09ee552 Add --log-file/ -l switch to log to a file 2011-05-27 23:32:54 +02:00
André Stösel b48817f04c The findbar shouldn't be focused after hiding 2011-05-27 23:06:23 +02:00
Chipong Luo 6fbea0b677 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-27 16:31:33 +02:00
Paweł Forysiuk dfb7225af5 Double check that we're not adding addons twice 2011-05-26 21:05:07 +02:00
Yarema aka Knedlyk 8353a15524 l10n: Updated Ukrainian (uk) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-25 20:01:39 +02:00
Boram Kim aa0e707d84 l10n: Updated Korean (ko) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-25 11:25:24 +02:00
forfolias ce62db9967 l10n: Updated Greek (el) translation to 92%
New status: 611 messages complete with 53 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-25 09:50:25 +02:00
David Štancl ddc94ca169 l10n: Updated Czech (cs) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-24 09:39:46 +02:00
Sergio Marques b007d703e3 l10n: Updated Portuguese (pt) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-24 00:09:07 +02:00
Tomáš Vadina f14ba8c721 l10n: Updated Slovak (sk) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-23 15:01:01 +02:00
Leandro Regueiro 92c49777ae l10n: Updated Galician (gl) translation to 98%
New status: 656 messages complete with 0 fuzzies and 8 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-23 13:12:55 +02:00
Leandro Regueiro 309097c976 l10n: Updated Galician (gl) translation to 98%
New status: 656 messages complete with 1 fuzzy and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-23 13:12:30 +02:00
Leandro Regueiro f424ee1d71 l10n: Updated Galician (gl) translation to 96%
New status: 643 messages complete with 7 fuzzies and 14 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-23 13:05:49 +02:00
Sérgio Cipolla 084e0d970d l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-23 00:17:34 +02:00
Alexander Butenko cd7522ef7f Pass through javascript: URIS from the command line 2011-05-22 16:54:56 +02:00
Paweł Forysiuk 6cc4c9db4e Clean up data file handling in Form History 2011-05-22 15:49:49 +02:00
Christian Dywan a95f2f0f7f Remove pre-WebKitGTK+ 1.1.4 support from Form History 2011-05-22 14:35:14 +02:00
Paweł Forysiuk 03254c22af Merge HTTP logins with Form History in Clear Private Data 2011-05-22 14:32:10 +02:00
Yarema aka Knedlyk 95a84ff84d l10n: Updated Ukrainian (uk) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-22 00:21:16 +02:00
Paweł Forysiuk f723b22532 Update package.list with changes in OpenSUSE repo 2011-05-21 23:03:53 +02:00
Paweł Forysiuk ac8a46c788 Fix path typo when rewriting mingw pkgconfig files 2011-05-21 22:57:50 +02:00
Paweł Forysiuk eaf1dac531 Make scripts in win32 executable by default 2011-05-21 21:47:56 +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 7f549b89a9 Handle missing speedial.json and missing shortcuts array 2011-05-20 21:58:35 +02:00
Boram Kim ad229121f0 l10n: Updated Korean (ko) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-20 13:35:59 +02:00
Ivica Kolić 10dc693be4 l10n: Updated Croatian (hr) translation to 81%
New status: 539 messages complete with 0 fuzzies and 125 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-19 01:46:28 +02:00
Ivica Kolić 4cdec118ac l10n: Updated Croatian (hr) translation to 81%
New status: 538 messages complete with 1 fuzzy and 125 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-19 01:45:49 +02:00
David Štancl 5b492c150a l10n: Updated Czech (cs) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-18 13:08:28 +02:00
Sérgio Cipolla 5a58565f43 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-18 13:00:44 +02:00
Sergio Marques 6cc566d4b7 l10n: Updated Portuguese (pt) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-18 12:44:45 +02:00
Yarema aka Knedlyk 4197025e51 l10n: Updated Ukrainian (uk) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-17 22:28:25 +02:00
Christian Dywan 01ca9d432e Rename the Quicklist menu item for private browsing 2011-05-17 22:17:17 +02:00
Christian Dywan 83194abe8f Don't mixup window title and app name
Fixes: https://bugs.launchpad.net/midori/+bug/778402
2011-05-17 22:17:17 +02:00
Piotr Sokół 951885c1f5 l10n: Updated Polish (pl) translation to 93%
New status: 623 messages complete with 15 fuzzies and 26 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-16 20:39:34 +02:00
Yves-Alexis Perez 8bcf5dae1a * debian/Debian-config:
- update homepage to point to faq.html.
2011-05-16 18:47:13 +02:00
Yves-Alexis Perez 71ae50ac4d * debian/rules:
- don't install upstream changelog twice.                   closes: #614692
2011-05-16 17:09:04 +02:00
Sérgio Cipolla 3d7e23ec05 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-16 13:51:01 +02:00
Sérgio Cipolla fae52d36d3 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-16 13:46:04 +02:00
Boram Kim 84aee759d2 l10n: Updated Korean (ko) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-16 10:39:34 +02:00
David Štancl 0f4193f9e1 l10n: Updated Czech (cs) translation to 100%
New status: 664 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-16 08:59:20 +02:00
Yves-Alexis Perez 7dff32225e upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-05-16 08:35:42 +02:00
Yves-Alexis Perez 0bc09103de * debian/control:
- update vcs info.
2011-05-16 08:08:59 +02:00
Yves-Alexis Perez 8f749b5dad New upstream release. 2011-05-16 08:07:01 +02:00
Yves-Alexis Perez c5f7a13c1c Merge branch 'upstream-unstable' 2011-05-16 08:06:33 +02:00
Christian Dywan 33e8c038e7 Clarify menu item labels
Related to: https://bugs.launchpad.net/midori/+bug/743159

Fixes: https://bugs.launchpad.net/midori/+bug/699934
2011-05-16 03:30:55 +02:00
Christian Dywan caaa9e04c7 Remove 'Midori' from 'Private Browsing' window title 2011-05-16 03:23:52 +02:00
Christian Dywan b8befff93d maximum-history-age is integer, not boolean 2011-05-16 03:20:59 +02:00
Christian Dywan 20d47ffac4 Count both cookies and history expiry in months 2011-05-16 03:19:21 +02:00
Christian Dywan 98da02a5fd Rename 'Appearance' tab to 'Fonts' in Preferences 2011-05-16 02:53:40 +02:00
Christian Dywan 38850f7444 Remove all currently deprecated settings 2011-05-16 02:51:03 +02:00
Christian Dywan 7d0c949a0c Validate URI in Manage Search Engines dialogue 2011-05-16 02:37:51 +02:00
Christian Dywan 2df03cfa28 Bump version to 0.3.6 2011-05-16 01:15:28 +02:00
Christian Dywan 721fdd4378 Update FAQ from the wiki
faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.
2011-05-16 01:14:11 +02:00
Marin Moulinier e469e4315b Interpret F5 as reloading for compatibility
Fixes: https://bugs.launchpad.net/midori/+bug/772068
2011-05-16 01:05:27 +02:00
Christian Dywan e66ea168c2 Track selected search engine per window 2011-05-15 21:40:39 +02:00
Christian Dywan a1855abf67 Left-align labels in preferences dialogue
Fixes: https://bugs.launchpad.net/midori/+bug/782323
2011-05-15 21:25:53 +02:00
Christian Dywan f97395dab1 Validate URIs and render entry red if invalid
Fixes: https://bugs.launchpad.net/midori/+bug/710855
2011-05-15 16:46:23 +02:00
Sérgio Cipolla 6756f35763 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-15 16:40:05 +02:00
Alexander Butenko 6885c35886 Fix loading of lists from https
Fixes: https://bugs.launchpad.net/midori/+bug/699978
2011-05-15 13:17:25 +02:00
Christian Dywan 0a9420ec32 Update German translation 2011-05-15 11:43:43 +02:00
Christian Dywan f0bd717ac6 Speak of details sent to s/external /web/sites 2011-05-15 11:35:20 +02:00
Christian Dywan b6de48d342 Divide preferences into visual groups 2011-05-15 11:28:03 +02:00
Masato Hashimoto 63eef7993a l10n: Updated Japanese (ja) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-15 10:12:22 +02:00
Christian Dywan 4560cd35e8 Merge 'Applications' preferences into 'Browsing' 2011-05-15 02:31:34 +02:00
Christian Dywan fdf73ce98d Use proper button to set current page as homepage
Fixes: https://bugs.launchpad.net/midori/+bug/767389
2011-05-15 02:27:21 +02:00
Christian Dywan f2fa49f342 Interpret Backspace as going back
A user continually hitting the Backspace key and then mousing
for the Back button, someone who rarely uses shortcuts at all.
2011-05-15 01:43:26 +02:00
Christian Dywan 476c20aae4 Revert "Render empty speed dial shortcuts as Add icons" 2011-05-15 01:35:55 +02:00
Christian Dywan fad55dc8a1 Avoid allocating rest_of_line and file extension 2011-05-13 16:29:40 +02:00
Christian Dywan 16573234e5 Show 'Private Browsing' in Unity Quicklist 2011-05-13 16:22:16 +02:00
André Stösel 64bb60afd8 Don't fail on network cancelled errors 2011-05-13 16:07:28 +02:00
Kolera 93e4b17e4f l10n: Updated Serbian (sr) translation to 58%
New status: 399 messages complete with 135 fuzzies and 147 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-11 22:20:49 +02:00
Ivica Kolić 2184fd39e3 l10n: Updated Croatian (hr) translation to 81%
New status: 553 messages complete with 1 fuzzy and 127 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-10 02:18:01 +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 910196fb1a Add the Win32 icon file to the makedist folder 2011-05-05 22:37:03 +02:00
Paweł Forysiuk f22772bf21 Automatically find compiler when running crossconfig.sh
Also fix typo in MINGW_PREFIX_PATH.
2011-05-05 21:54:36 +02:00
Christian Dywan 414997b236 Implement support for geo URI RFC 5870 2011-05-05 21:49:51 +02:00
Per Kongstad c7fbe84181 l10n: Updated Danish (da) translation to 98%
New status: 668 messages complete with 1 fuzzy and 12 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-05 17:11:15 +02:00
Chipong Luo c728cc01a9 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-05 06:14:15 +02:00
Chipong Luo f88e31c44a l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-05 06:09:37 +02:00
Christian Dywan 7f45ce2ce2 Always copy the cookie filename when attaching
Otherwise we'll have freed the original filename when
detaching and attaching again.
2011-05-04 23:53:45 +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
Christian Dywan 41a7a21683 Import JSON via JSON.parse with javascript 2011-05-04 22:25:35 +02:00
Alexander Butenko 8cd4cc270c Fix crash on url removal from location bar 2011-05-04 19:31:21 +02:00
Chipong Luo 96d522ca8e l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-04 13:24:43 +02:00
Chipong Luo aaae9c3c0c l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-04 13:23:01 +02:00
Chipong Luo 9e70d24e58 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-04 07:58:44 +02:00
Chipong Luo aa77cf6ae1 l10n: Updated Chinese (China) (zh_CN) translation to 97%
New status: 667 messages complete with 14 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-04 07:56:15 +02:00
Boram Kim 17148cc455 l10n: Updated Korean (ko) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 20:53:34 +02:00
Paweł Forysiuk 2b2df20dd0 Use proper markup for empty dials 2011-05-03 20:42:59 +02:00
André Stösel c7e70f6808 Allow cancelling the History List with Escape
Just like Alt+Tab.
2011-05-03 20:42:59 +02:00
Boram Kim c370c0ab41 l10n: Updated Korean (ko) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 20:24:36 +02:00
Boram Kim 2afb97122e l10n: Updated Korean (ko) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 20:21:05 +02:00
André Stösel ab9a1aa9ff Check in midori_search_action_get_icon if icon_name is given 2011-05-03 20:17:00 +02:00
Per Kongstad aa5a6903a6 l10n: Updated Danish (da) translation to 97%
New status: 663 messages complete with 1 fuzzy and 17 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 13:19:19 +02:00
Per Kongstad 6985d6c4fa l10n: Updated Danish (da) translation to 96%
New status: 657 messages complete with 6 fuzzies and 18 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 13:16:48 +02:00
Per Kongstad 1cfb0d745e l10n: Updated Danish (da) translation to 95%
New status: 650 messages complete with 11 fuzzies and 20 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 13:14:18 +02:00
Per Kongstad 1ac274ab45 l10n: Updated Danish (da) translation to 94%
New status: 644 messages complete with 12 fuzzies and 25 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 13:12:29 +02:00
Per Kongstad 1c1ee39431 l10n: Updated Danish (da) translation to 92%
New status: 631 messages complete with 18 fuzzies and 32 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 13:05:19 +02:00
Per Kongstad f6008fcf38 l10n: Updated Danish (da) translation to 90%
New status: 617 messages complete with 23 fuzzies and 41 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 12:58:12 +02:00
Piotr Sokół a539ce7352 l10n: Updated Polish (pl) translation to 93%
New status: 639 messages complete with 16 fuzzies and 26 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 12:23:05 +02:00
David Štancl a298565e46 l10n: Updated Czech (cs) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 09:52:19 +02:00
David Štancl 2db18052d2 l10n: Updated Czech (cs) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-03 09:51:21 +02:00
Yves-Alexis Perez 28dd9a5810 upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-05-02 23:05:33 +02:00
Sérgio Cipolla be8af17f3e l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-02 20:08:36 +02:00
Yarema aka Knedlyk 99e573caac l10n: Updated Ukrainian (uk) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-02 16:18:03 +02:00
Yves-Alexis Perez 00213ccdc9 update standards version to 3.9.2. 2011-05-02 08:00:20 +02:00
Yves-Alexis Perez 8154c82b36 New upstream release.
* New upstream release.
* debian/control:
  - add myself to uploaders...
2011-05-02 07:59:56 +02:00
Yves-Alexis Perez 07394c0337 Merge branch 'upstream-unstable' 2011-05-02 07:58:23 +02:00
Christian Dywan 4fc181a170 Bump version to 0.3.5 2011-05-02 02:06:21 +02:00
Paweł Forysiuk a1afb2f891 Determine the Windows version correctly 2011-05-02 02:01:23 +02:00
Christian Dywan 880a880976 Unclude unistd.h for F_OK/ g_access 2011-05-02 00:51:37 +02:00
Christian Dywan c5ed6e0815 Update FAQ from the wiki
faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.
2011-05-02 00:45:07 +02:00
Christian Dywan e75ddfd49b Bump version to 0.3.4 2011-05-02 00:32:00 +02:00
Christian Dywan 6711bf33f0 Remove frame titles in preference dialogue
Effectively all pages contain options of only one group.
2011-05-02 00:02:54 +02:00
Christian Dywan 812ba0aee0 No need to look at theme for close button on Win32 2011-05-01 22:27:50 +02:00
Christian Dywan 99c1af8cf7 Lookup close button position in index.theme
This is better than overriding it in the config file.
2011-05-01 21:59:06 +02:00
Sergio Marques 9e1fd81ff9 l10n: Updated Portuguese (pt) translation to 100%
New status: 687 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-01 19:54:37 +02:00
Paweł Forysiuk 2a9282df75 Look for logo in folder midori/res, not midori/ 2011-05-01 18:56:39 +02:00
Christian Dywan 85fd237f28 Release references to icons in completion 2011-05-01 18:50:25 +02:00
Christian Dywan 4bab11061c Render search engine icons via the action 2011-05-01 18:49:09 +02:00
Christian Dywan 1636644829 Update German translation 2011-05-01 18:11:13 +02:00
Christian Dywan ff9c7ccc83 Swap 'Interface' and 'Browsing' labes in preferences
It's more intuitive to look for Browsing for tab options.
2011-05-01 18:03:43 +02:00
Christian Dywan 636c408d41 Add a manual line break in the French translation
Otherwise the string is simply much too long.
2011-05-01 18:02:57 +02:00
Christian Dywan 3f10d0bfb8 Revert requistion hack for cookie description label
It doesn't work at all well in most cases.
2011-05-01 18:02:25 +02:00
Christian Dywan 7033129aff Find inline "live" regardless of how it was initiated
Fixes: https://bugs.launchpad.net/midori/+bug/772843
2011-05-01 17:20:55 +02:00
Marin Moulinier 8e632a44b3 Update French translation 2011-05-01 16:55:49 +02:00
Christian Dywan 6f39acb62f Use requistion hack for cookie description label 2011-05-01 16:53:40 +02:00
Paweł Forysiuk 003b866e17 Don't skip title prefix when importing JSON
Fixes: https://bugs.launchpad.net/midori/+bug/774745
2011-05-01 16:08:47 +02:00
Sérgio Cipolla eb0ee9ca73 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 687 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-05-01 12:54:32 +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
Christian Dywan ad99d10433 Special-case Liferea because a helper script may be required
The script is usually installed but not used unless the user
manually picks it, which is far from user-friendly.
2011-05-01 06:57:41 +02:00
Christian Dywan ee39b5c87b Update alternative identification strings
On Windows we should use the NT version number.

For Firefox we use the updated format of version 4.

For Safari and iPhone we pretend to run on native platforms.

If in doubt we fallback to X11/ Linux, not Unknown.
2011-05-01 06:53:08 +02:00
Christian Dywan 96dda85b81 No language or encryption but Mozilla in user agent
Motivated by Firefox and Chrome deciding to update their
user agents and removing language as well as encryption,
we do the same. Going for a sort of standardisation we
prefix with Mozilla now. But we won't add the architecture.

Maemo is regarded as a proper platform now.
2011-05-01 02:07:41 +02:00
Christian Dywan 6de7c26c53 Adapt focus widget check for status text in location
The location no longer a GtkComboBox.
2011-05-01 01:18:53 +02:00
Paweł Forysiuk 12f353f8ea Use platform specific separator for res:// path 2011-05-01 01:05:22 +02:00
Christian Dywan fbbaf576f3 Add 'Version/5.0' token to Safari identification
Some websites checking for Safari also look for the token.
2011-05-01 00:59:58 +02:00
Christian Dywan 1d043194da Fallback to download URI if original is unset
This happens for instance when saving a page.
2011-05-01 00:56:04 +02:00
André Stösel ed0024390b Let History List properly override tab switching 2011-04-30 12:19:30 +02:00
Christian Dywan 34da7c8090 Provide midori_browser_(un)block_action for extensions
So extensions can override individual actions without hacks.
2011-04-30 12:17:55 +02:00
Paweł Forysiuk 7dec022471 Build correct logo path for not found error page 2011-04-30 12:13:07 +02:00
Christian Dywan d8a3ef40f6 Support caret browsing toggle with F7
Users who need the feature can't be expected to change
a hidden preference. The same hotkey is supported by
Firefox and Epiphany.
2011-04-30 12:07:12 +02:00
Christian Dywan e6d8e10606 Show libSoup version from pkg-config in about:version 2011-04-30 12:00:12 +02:00
Christian Dywan 4435b8fcef Remove 'Delete cookies when quitting' preference
Clear Private Data already offers the same option.
2011-04-30 11:56:12 +02:00
Paweł Forysiuk bbfa7f6030 Fix GCC 4.6 warnings about set but unused variables 2011-04-29 04:03:33 +02:00
Christian Dywan 3ec724c3dc Tab should complete address if popup is visible 2011-04-29 03:53:59 +02:00
Christian Dywan 4b272c0459 Don't ignore unset title but fallback to the URI 2011-04-29 02:58:45 +02:00
Paweł Forysiuk 82e6fa3808 Add packages.version file to .gitignore
This file is produced when install.sh script is run.
2011-04-29 02:54:18 +02:00
Paweł Forysiuk 0a6a8853a6 Allow to extract files from mingw packages using w64 toolchain
http://mingw-w64.sourceforge.net/
2011-04-29 02:54:04 +02:00
Paweł Forysiuk 6d9ec0ca02 Move crossconfig.sh file to x86-mingw32-opensuse folder 2011-04-29 02:52:21 +02:00
Paweł Forysiuk e8780576a6 Use MINGW_PREFIX in crossconfig.sh as set in install.sh script 2011-04-29 02:52:10 +02:00
Christian Dywan eeed4a99f5 Closing diagnostic dialogue should cancel startup 2011-04-29 01:52:14 +02:00
Yarema aka Knedlyk ed1386a1da l10n: Updated Ukrainian (uk) translation to 100%
New status: 686 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-28 07:49:52 +02:00
Sérgio Cipolla 012d115679 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 686 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-27 20:07:02 +02:00
Boram Kim f66f3d181a l10n: Updated Korean (ko) translation to 100%
New status: 686 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-27 19:19:34 +02:00
David Štancl ac11c64fe7 l10n: Updated Czech (cs) translation to 100%
New status: 686 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-27 16:52:30 +02:00
Masato Hashimoto 4c85a3b2b7 l10n: Updated Japanese (ja) translation to 100%
New status: 686 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-27 14:20:54 +02:00
Peter de Ridder d36e12f21d Provide build scripts for win32 releases 2011-04-27 01:42:47 +02:00
Christian Dywan 366ca3f7da Interpret Ctrl(+Shift)+Tab as tab switching
It's not advertised as a shortcut but provided for
users on laptops lacking PageUp and PageDown, or
using multiple browsers.

Fixes: https://bugs.launchpad.net/bugs/766421
2011-04-26 23:05:53 +02:00
Christian Dywan f0647ee95a Cycle between location and paned widgets with F6 2011-04-26 22:57:13 +02:00
Christian Dywan 1011d5c5b5 Address leaked strings and item references 2011-04-26 01:29:26 +02:00
Christian Dywan 00f848b27c Use the same preference for new and external pages
Fixes: https://bugs.launchpad.net/midori/+bug/704903
2011-04-26 01:26:10 +02:00
David Štancl 0eaedf4afa l10n: Updated Czech (cs) translation to 100%
New status: 685 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-25 23:45:03 +02:00
Christian Dywan 8adc200bba Strip scheme and www. in completion to reduce noise
Related to: https://bugs.launchpad.net/midori/+bug/752915
2011-04-25 21:24:17 +02:00
Christian Dywan bab4db6ca2 Bring TODO file up to date 2011-04-25 21:06:44 +02:00
Christian Dywan bb2f6fbf2e Render filename as title of patches 2011-04-25 21:04:28 +02:00
Christian Dywan feee6cff1f Turn location into a plain entry without arrow
Fixes: https://bugs.launchpad.net/midori/+bug/747683
2011-04-25 21:00:52 +02:00
Boram Kim 7bc832365d l10n: Updated Korean (ko) translation to 100%
New status: 685 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-25 18:29:32 +02:00
Christian Dywan cd4cd3f52e Make Tab Panel use the correct foreground colours
In particular when used in combination with Colorful Tabs.
2011-04-25 17:56:56 +02:00
Christian Dywan f4ae255f9a Don't include application name in window title
Except in private browsing mode.
2011-04-25 17:53:33 +02:00
Cristian Marchi e83eb1f844 l10n: Updated Italian (it) translation to 99%
New status: 683 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-24 20:07:53 +02:00
Cristian Marchi 32252b15ee l10n: Updated Italian (it) translation to 99%
New status: 682 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-24 20:07:32 +02:00
Masato Hashimoto 4b17aa293e l10n: Updated Japanese (ja) translation to 100%
New status: 685 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-24 11:29:09 +02:00
Sergio Marques 6a433dbf34 l10n: Updated Portuguese (pt) translation to 100%
New status: 685 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-23 02:55:06 +02:00
Yarema aka Knedlyk bf3757a154 l10n: Updated Ukrainian (uk) translation to 100%
New status: 685 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-22 22:26:06 +02:00
Sérgio Cipolla 4933137d79 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 685 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-21 21:04:07 +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
Paweł Forysiuk 3eb3481812 Show estimated time remaining in transferbar tooltip 2011-04-20 20:52:07 +02:00
Yarema aka Knedlyk 28035567db l10n: Updated Ukrainian (uk) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-20 14:11:53 +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
Sérgio Cipolla 683c9d3d32 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 677 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-18 19:25:31 +02:00
David Štancl db6febd62e l10n: Updated Czech (cs) translation to 100%
New status: 677 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-18 10:15:33 +02:00
David Štancl 97e8045ac9 l10n: Updated Czech (cs) translation to 100%
New status: 677 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-18 10:14:26 +02:00
Paweł Forysiuk 908081813e Don't set tooltip twice on user script/style delete button 2011-04-18 01:37:09 +02:00
Christian Dywan 857bbfb02b Disable HTML5 storage features in Private Browsing 2011-04-18 01:31:56 +02:00
Christian Dywan feb69e8fd9 Video format availability in about:version 2011-04-18 01:28:38 +02:00
Anton Shestakov 3bd4c04ac9 Update Russian translation 2011-04-17 23:32:31 +02:00
Tomasz Szatkowski 5d372c116d History panel buttons sensitive with selection
Fixes: https://bugs.launchpad.net/midori/+bug/711482
2011-04-17 22:56:30 +02:00
Tomasz Szatkowski 7c08b7cce5 Bookmark panel buttons sensitive with selection
Related to: https://bugs.launchpad.net/midori/+bug/711482
2011-04-17 22:53:03 +02:00
Tomasz Szatkowski 7691130cc3 Implement 'Customize...' on toolbar right-click
The new MidoriBrowser::populate-toolbar-menu allows
extensions to add menu items.

Fixes: https://bugs.launchpad.net/midori/+bug/699933
2011-04-17 22:43:54 +02:00
Christian Dywan 201808f9df Reflect sensitivity of extension in the icon 2011-04-17 22:33:56 +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 ea264c31f6 Don't mention stripped referrers without MIDORI_DEBUG 2011-04-17 22:27:58 +02:00
Masato Hashimoto dc5f579d98 l10n: Updated Japanese (ja) translation to 100%
New status: 677 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-17 10:59:19 +02:00
Christian Dywan 7dc01d70ef Render themed icon as native SVG if available 2011-04-17 03:32:35 +02:00
Christian Dywan 0925d31985 Don't load the soup session in idle callback
Otherwise there's a race condition which may lead to
not having setup the session before loading the first
page or worse, crash in libSoup.
2011-04-16 04:26:28 +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
Yarema aka Knedlyk afd5dd5710 l10n: Updated Ukrainian (uk) translation to 100%
New status: 677 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-15 16:17:11 +02:00
Robert Hartl 57d5509fd6 l10n: Updated Slovak (sk) translation to 82%
New status: 561 messages complete with 48 fuzzies and 68 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-15 13:21:06 +02:00
David Štancl 1d1d9b2d12 l10n: Updated Czech (cs) translation to 100%
New status: 677 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-15 09:28:31 +02:00
Christian Dywan 6f461077ee Update German translation 2011-04-15 01:12:06 +02:00
Christian Dywan ca8b6d9583 Remove the page holder extension from POTFILES.in 2011-04-15 00:52:36 +02:00
Christian Dywan 9ac8433e6d Strip referrer details sent to external sites
This new feature strips, if enabled, the path and query from
the 'Referer' header when switching to external sites. It
doesn't affect internal links, which is why websites testing
for this feature may falsely assert it's not working.

The feature is automatically enabled in private mode.
2011-04-15 00:49:39 +02:00
Christian Dywan e18a2c8001 Refactor soup session setup for normal and app mode
The soup session preparation was actually several incomplete
in app mode, now it shares a common code path with normal
mode minus web cookies and logins.
2011-04-14 22:53:28 +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 547f0764b4 Move Privacy preferences into separate callback
So they only show up in regular mode, but not in private
browsing mode where they are not useful.
2011-04-14 03:36:14 +02:00
Christian Dywan ed6ed71239 Embed extensions into preferences dialogue
MidoriBrowser gains the show-preferences signal which
gives API users a chance to add preferences.

katze_preferences_add_category now returns a box to
allow freely packing a widget into the page.

The extension panel is packed into the preferences now
rather than being appended as a proper panel.

Motivation is consistency here, such as with Gedit or
Emerillon and also the aspect that extensions often
really do tweak behaviour like preferences do.

Spacing and icons are added for visual consistency.
2011-04-14 03:29:50 +02:00
Christian Dywan f01c4a472a Dissolve application preferences onto other pages 2011-04-14 03:28:24 +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 5107d35fe7 Remove the Page Holder extension from the tree
It is unmaintained and presumably not very popular.
2011-04-14 03:14:41 +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
Sérgio Cipolla 42d4ebfdae l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-13 01:55:52 +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
Sergio Marques 30d14ca320 l10n: Updated Portuguese (pt) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-10 02:53:34 +02:00
Boram Kim dcc8742fb4 l10n: Updated Korean (ko) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-09 14:14:57 +02:00
Yarema aka Knedlyk 026fdd982e l10n: Updated Ukrainian (uk) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-09 11:05:48 +02:00
Masato Hashimoto 59cf9d5708 l10n: Updated Japanese (ja) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-09 07:39:49 +02:00
Sérgio Cipolla ca2e4be40b l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-08 21:05:25 +02:00
David Štancl 74cd52e044 l10n: Updated Czech (cs) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-08 12:16:07 +02:00
Sérgio Cipolla 1fd4f31dce l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 681 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-08 01:27:29 +02:00
James McMinn 624259991e Unset tooltip on location if no security is given
Fixes: https://bugs.launchpad.net/midori/+bug/754042
2011-04-07 23:05:54 +02:00
Christian Dywan 94ee681f07 Rename 'Quit' to 'Close all Windows'
That's what it does effectively.
2011-04-07 22:41:27 +02:00
Christian Dywan 42fa621cd9 Disable DNS prefetching in private browsing mode 2011-04-07 22:10:21 +02:00
Christian Dywan e449ce87e2 Add 'Report a Problem' to the app menu 2011-04-07 21:25:27 +02:00
Daniel Foré cf07acf53a Rename 'Report a Bug' to 'Report a Problem'
Users with no technical background don't talk about beetles.
2011-04-07 21:18:23 +02:00
Daniel Foré 1ccdf3b350 Organize appmenu items into more logical groups
Fixes: https://bugs.launchpad.net/midori/+bug/736072
2011-04-07 21:17:18 +02:00
Christian Dywan 3d4f288ba0 Don't consider 'Plugin will handle load' an error 2011-04-07 20:59:08 +02:00
Christian Dywan ee7dd822a0 Mention MIDORI_EXTENSION_PATH in INSTALL for debugging 2011-04-07 02:17:24 +02:00
Christian Dywan c397c589f5 Assign slot in JSON import, don't leak it 2011-04-06 00:06:16 +02:00
Paweł Forysiuk e314892818 Check for thumbnail directory when saving thumbnail files 2011-04-05 23:52:21 +02:00
Sérgio Cipolla f179d41cff l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 680 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-05 17:39:45 +02:00
Sérgio Cipolla 70f7d060d7 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 680 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-05 17:37:54 +02:00
Boram Kim 58c9393d70 l10n: Updated Korean (ko) translation to 100%
New status: 680 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-05 14:13:45 +02:00
David Štancl 2b2dc5e736 l10n: Updated Czech (cs) translation to 100%
New status: 680 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-05 10:40:55 +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
Christian Dywan 6931025617 Introduce --private/ -p distinct from --app/ -a
Private mode gets a particular window title, always defaults
to reading the default config folder but never saves data.

App mode applies a custom window layout with no toolbars
and using the page icon as the window icon.

From now on private and app are independant modes, so apps
can save data if config is given. Both can also be combined.
2011-04-04 23:45:45 +02:00
Christian Dywan b2092cc64b Move config folder validity check in front of app run 2011-04-04 22:47:22 +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 f97d82c559 Move crash dialogue preference into the dialogue itself 2011-04-04 21:33:52 +02:00
Christian Dywan aa401634ed Don't show toolbar preferences if running a DE
Let's assume that modern desktops have a tool to adapt the
toolbar style.

Fixes: https://bugs.launchpad.net/midori/+bug/711435
2011-04-04 21:21:27 +02:00
Piotr Sokół d1d5ea9b77 l10n: Updated Polish (pl) translation to 95%
New status: 646 messages complete with 12 fuzzies and 21 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-04 09:53:22 +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
Christian Dywan b299608352 Don't consider scripts using GM_ functions as broken
There are cases where scripts check for the existence of such
functions and fall back to standard functions.
2011-04-04 01:50:53 +02:00
Paweł Forysiuk 728ed8570f Remove unused browser variable from addons_install_response 2011-04-04 01:15:05 +02:00
Paweł Forysiuk 61d6da99ed Fix uri matching for addon infobar on userstyles.org
We want to match a style, with a number in the URI, but not when
browsing styles.
2011-04-04 01:12:43 +02:00
Paweł Forysiuk 2771eee995 Don't create speed dial when preparing view source 2011-04-04 00:24:42 +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 6719943d1c Fix opening speed dial shortcuts via keyboard 2011-04-04 00:15:58 +02:00
Christian Dywan 493936adcb Always render icon only tabs at their natural size 2011-04-03 23:59:29 +02:00
Paweł Forysiuk 706fc6d063 Plug leaks and don't set name in JSON import 2011-04-03 23:25:59 +02:00
Paweł Forysiuk 1e5e1710ee Move slot and dial_id out of the loop for JSON import 2011-04-03 23:24:53 +02:00
Paweł Forysiuk b8eb9c50f7 Save speed dial configuration file after importing from JSON 2011-04-03 23:18:12 +02:00
Paweł Forysiuk c660aafe64 Use sokoke_build_thumbnail_path importing from JSON 2011-04-03 23:16:26 +02:00
Paweł Forysiuk c6de1aa714 Remove unneeded javascript for add/ remove dial actions
There is no need to replace HTML markup since Dial is refreshed on change.
2011-04-03 22:34:48 +02:00
Paweł Forysiuk 7cafd62552 Properly calculate row count when importing from JSON 2011-04-03 22:32:07 +02:00
Paweł Forysiuk 599bd748df Free up resources of encoded thumbnails 2011-04-03 22:28:20 +02:00
Christian Dywan 4cc6ec5b67 Change Quit shortcut to Ctrl+Shift+Q
It is too easy to accidentally hit Ctrl+Q while aiming for
Ctrl+A or Ctrl+W, and potentially very confusing if unexpected.

Fixes: https://bugs.launchpad.net/bugs/748364
2011-04-03 22:23:57 +02:00
Cristian Marchi 07659a468f l10n: Updated Italian (it) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-03 10:31:44 +02:00
Sérgio Cipolla 216d76446a l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-02 21:12:29 +02:00
Sérgio Cipolla 67f4fc0675 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-04-01 16:24:58 +02:00
Boram Kim ee84976b97 l10n: Updated Korean (ko) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-26 08:53:37 +01:00
Yarema aka Knedlyk 8bde85a15b l10n: Updated Ukrainian (uk) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-25 17:21:30 +01:00
Sergio Marques 39f1d8d802 l10n: Updated Portuguese (pt) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-24 15:25:49 +01:00
Boram Kim 9721396683 l10n: Updated Korean (ko) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-24 03:51:29 +01:00
Boram Kim 325f33b35b l10n: Updated Korean (ko) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-24 03:50:11 +01:00
Christian Dywan 912fdf7f30 Don't honor the deprecated find-while-typing option 2011-03-23 23:20:49 +01:00
Christian Dywan e222a12c68 Don't resize empty thumbnail tab labels 2011-03-23 22:48:53 +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
David Štancl 6e2d9fdcc2 l10n: Updated Czech (cs) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-23 08:49:14 +01:00
David Štancl 77a8e57cd9 l10n: Updated Czech (cs) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-23 08:47:36 +01:00
Paweł Forysiuk d4cc81a6c2 Take into account JSON/ non-JSON column defaults 2011-03-23 02:22:42 +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
Christian Dywan d31ba63447 Remove and don't install speed dial json template 2011-03-23 00:18:49 +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 a89ef70bee Load speed dial in private browsing mode 2011-03-22 23:02:00 +01:00
Christian Dywan 648610ef66 Always initialize variables in speeddial_new_from_file 2011-03-22 23:02:00 +01:00
Paweł Forysiuk a8ce104d86 Helper function for computing path to thumbnail file 2011-03-22 23:01:59 +01:00
Paweł Forysiuk 9c48997a26 Use speeddial property to store GKeyFile with speeddial entries 2011-03-22 23:01:59 +01:00
Piotr Sokół 733e3cfab6 l10n: Updated Polish (pl) translation to 94%
New status: 644 messages complete with 12 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-22 09:26:44 +01:00
Christian Dywan b6ffbff40e Treat about: like an alias to about:version 2011-03-21 20:56:13 +01:00
Tomasz Szatkowski ee9ce9bddf Bookmark edit and delete sensitivity on cursor change 2011-03-18 01:55:22 +01:00
Gonzalo Lagos b472c10c97 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-17 23:28:50 +01:00
Gonzalo Lagos e517bbda82 l10n: Updated Spanish (Castilian) (es) translation to 98%
New status: 671 messages complete with 2 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-17 23:18:12 +01:00
Cristian Marchi c047e96722 l10n: Updated Italian (it) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-17 16:48:56 +01:00
Cristian Marchi 156a7fafab l10n: Updated Italian (it) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-17 16:39:07 +01:00
Boram Kim 4c727c8834 l10n: Updated Korean (ko) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-17 07:25:35 +01:00
Paweł Forysiuk 241a7ffb06 Display scripts using unsupported GM_ API as broken in panel 2011-03-16 21:46:05 +01:00
Yarema aka Knedlyk 7871d26c09 l10n: Updated Ukrainian (uk) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-16 00:11:31 +01:00
Yves-Alexis Perez afc37a0c85 upload to unstable 2011-03-15 22:40:38 +01:00
Yves-Alexis Perez bbf351bf08 install ChangeLog file as changelog and remove the one installed by make install. 2011-03-15 22:35:56 +01:00
Yves-Alexis Perez b6d933e364 * Non-maintainer upload.
* New upstream release.
2011-03-15 19:47:12 +01:00
Yves-Alexis Perez 3eb9643270 Merge branch 'upstream-unstable' 2011-03-15 19:31:36 +01:00
David Štancl 89e78f1e46 l10n: Updated Czech (cs) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-15 14:00:59 +01:00
Christian Dywan 91a130cf75 Don't show Clear Private Data in Private Browsing
Fixes: https://bugs.launchpad.net/midori/+bug/734664
2011-03-14 23:59:11 +01:00
Sergio Marques 201bab15c0 l10n: Updated Portuguese (pt) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-14 22:55:17 +01:00
Sergio Marques 56311e55b9 l10n: Updated Portuguese (pt) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-14 22:47:11 +01:00
Sergio Marques f4bf3dd84c l10n: Updated Portuguese (pt) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-14 22:41:58 +01:00
Masato Hashimoto f904ec1ca1 l10n: Updated Japanese (ja) translation to 100%
New status: 679 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-14 16:19:37 +01:00
Christian Dywan ef88658853 Add Offline Application Cache to Clear Private Data 2011-03-14 01:23:39 +01:00
Christian Dywan 7ac71b6bba Don't try to load icons of special pages 2011-03-14 01:03:37 +01:00
Christian Dywan f17751b91a Bump version to 0.3.3 2011-03-13 23:03:35 +01:00
Christian Dywan a9872adf08 midori_browser_set_action_visible should change sensitivity
So in particular the panel is not only hidden from the menu
but also inaccessible with the keyboard.
2011-03-13 22:15:14 +01:00
Christian Dywan 11b9f915f0 Disable new speed dial key file import 2011-03-13 22:10:36 +01:00
Christian Dywan 32825e713f Use 60 connections and 6 per host, like unstable WebKit 2011-03-13 20:51:13 +01:00
Christian Dywan 4842406f27 Update the current item after re-ordering search engines 2011-03-13 18:32:08 +01:00
Christian Dywan f2b5e82ce4 Allow re-ordering of search engines 2011-03-13 17:36:28 +01:00
Christian Dywan fb681fac09 Resurrect right-align button on the panel
The feature is in fact far more popular than one might think.
2011-03-13 16:50:51 +01:00
Christian Dywan 2722694639 Update German translation 2011-03-13 15:33:38 +01:00
Christian Dywan b312c40456 Resolve mnemonic conflict in Tab Move Forward/ Backward 2011-03-13 15:24:40 +01:00
Christian Dywan 9e52fa93d4 Don't check for impossible mouse button value 2011-03-13 15:03:45 +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
Masato Hashimoto b1dee99409 l10n: Updated Japanese (ja) translation to 100%
New status: 676 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-13 07:06:29 +01:00
Sergio Marques 0d35f97d01 l10n: Updated Portuguese (pt) translation to 100%
New status: 676 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-13 03:18:04 +01:00
Christian Dywan 3d15c22b0b Always save settings when quitting the browser 2011-03-12 22:10:35 +01:00
Christian Dywan d02b234626 Enforce private/ app windows to be in normal state 2011-03-12 21:27:58 +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
Andhika Padmawan a9b771ab5c l10n: Updated Indonesian (id) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-12 10:28:28 +01:00
Christian Dywan 02d095cae0 Check for 'rel' links should be case insensitive 2011-03-12 03:38:26 +01:00
Christian Dywan 1e15abe27c Check if there is json_content to parse at all 2011-03-12 03:34:46 +01:00
Christian Dywan a6c9b73442 Use lock-secure and lock-insecure icons if available 2011-03-12 03:34:46 +01:00
Christian Dywan c4f68aeba4 Don't show transfer speed for finished transfers 2011-03-12 03:34:46 +01:00
Ivica Kolić b65d7189c7 l10n: Updated Croatian (hr) translation to 83%
New status: 558 messages complete with 0 fuzzies and 114 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-10 14:35:10 +01:00
Piotr Sokół c1303a46a9 l10n: Updated Polish (pl) translation to 93%
New status: 631 messages complete with 14 fuzzies and 27 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-10 12:18:45 +01:00
Piotr Sokół 050352e6ac l10n: Updated Polish (pl) translation to 93%
New status: 629 messages complete with 15 fuzzies and 28 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-10 00:37:59 +01:00
Sergio Marques 3e8ee0d14c l10n: Updated Portuguese (pt) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-10 00:13:43 +01:00
Paweł Forysiuk c7e102992c Import JSON to key file, cache existing thumbnails 2011-03-09 02:24:27 +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 e643cc8c10 Replace unmaintained docs with FAQ from the wiki
Realistically nobody maintains offline documentation and
none of the people claiming to look into it ever did, whereas
the FAQ is being updated by or with input from individuals.

faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.
2011-03-08 23:25:37 +01:00
Christian Dywan d16b32e6c8 Fix shadow and missing initialisation warnings 2011-03-08 21:03:01 +01:00
Alexander Friesen f237c30e06 Add MidoriBrowser::move-tab and use it in Tab Panel 2011-03-07 22:56:20 +01:00
Yarema aka Knedlyk e1f5c6cf95 l10n: Updated Ukrainian (uk) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-07 15:33:29 +01:00
Yarema aka Knedlyk 1a70735e92 l10n: Updated Ukrainian (uk) translation to 99%
New status: 673 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-07 15:33:08 +01:00
David Štancl 6f1c14891b l10n: Updated Czech (cs) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-07 10:22:06 +01:00
David Štancl f1e6430233 l10n: Updated Czech (cs) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-07 10:20:28 +01:00
Alexander Friesen 302c1b364d Disarm built-in notebook reorder key bindings
The keys are confusing if triggered accidentally.
2011-03-07 03:43:36 +01:00
Christian Dywan 67b706b550 Localise ?B and correct a typo in the function call 2011-03-07 00:10:49 +01:00
Yves-Alexis Perez 9698612edb * debian/control:
- drop dpkg PreDepends.
2011-03-06 23:41:45 +01:00
Sergio Marques 21faa34589 l10n: Updated Portuguese (pt) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-06 20:07:14 +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
Christian Dywan 663e7e9285 Don't emit add-download before all preparations
Notably verifying that there's space available and a file
shouldn't be overriden has to come first. This already was
the case for the transferbar which isn't using the signal.
2011-03-06 17:26:40 +01:00
Yarema aka Knedlyk bbc6bdea30 l10n: Updated Ukrainian (uk) translation to 100%
New status: 673 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-05 21:11:11 +01:00
Paweł Forysiuk 7dd4fe8ac4 Release memory of transfer speed strings 2011-03-05 14:34:27 +01:00
Andhika Padmawan c48e7b869b l10n: Updated Indonesian (id) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-05 14:18:22 +01:00
Tomasz Szatkowski 7d8b3c25d4 Show transfer speed next to size in tooltips
Fixes: https://bugs.launchpad.net/midori/+bug/725377
2011-03-05 13:58:57 +01:00
Christian Dywan d903505ee6 Support x-scheme-handler with GLib < 2.28
So for example x-scheme-handler/magnet=transmission-gtk.desktop
in the file ~/.local/share/applications/mimeapps.list allows
opening of magnet links with Transmission.
2011-03-05 03:40:10 +01:00
Christian Dywan fc8d0a1179 Gracefully handle unset history and search engines
So app mode actually fails to search reliably and not by
accident.
2011-03-05 03:40:10 +01:00
Yarema aka Knedlyk 150082a6df l10n: Updated Ukrainian (uk) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-05 02:31:07 +01:00
Yarema aka Knedlyk ab813e5c55 l10n: Updated Ukrainian (uk) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-05 02:19:17 +01:00
Alexander Friesen 7e8b0bf229 Move forward should move the last tab to the front 2011-03-05 02:08:19 +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 3e47ac9e3f Make statusbar identity combobox work like preference
So it shows a tooltip and 'Custom' works.
2011-03-05 00:23:33 +01:00
Sergio Marques 8541ba7ba2 l10n: Updated Portuguese (pt) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-03-04 23:29:48 +01:00
Christian Dywan 66a1462d14 Handle uri notifications in midori_browser_set_current_tab 2011-03-02 22:26:06 +01:00
Christian Dywan 0cdcae487a Allow re-ordering tabs with Ctrl+Shift+PageUp/PageDown 2011-03-02 22:26:06 +01:00
Christian Dywan 256b351090 Provide tab overview menu on right-click of empty space 2011-03-02 22:26:06 +01:00
Dmitrij Smirnov fef78cea4d l10n: Updated Russian (ru) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-27 23:49:03 +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
Christian Dywan 312821b016 Make 'configure' script look for python2
Fixes: https://bugs.launchpad.net/midori/+bug/715264
2011-02-26 16:57:58 +01:00
Christian Dywan 5c8a0c53c0 Fix struct definition in Mouse Gestures extension
Fixes: https://bugs.launchpad.net/midori/+bug/716885
2011-02-26 16:34:01 +01:00
Christian Dywan 9baf84dd3f Alt+9 and Alt+0 should always go to the last tab 2011-02-26 16:23:56 +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 215a5c1ca2 Add a zoom level combobox to Statusbar Features
Fixes: https://bugs.launchpad.net/midori/+bug/718155
2011-02-24 22:11:35 +01:00
Paweł Forysiuk c5178d52f4 Don't append pause: to already paused URIs 2011-02-24 21:26:50 +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 3ec44384f3 Always save when quitting the application 2011-02-24 21:26:49 +01:00
Yarema aka Knedlyk 0f7bd8f094 l10n: Updated Ukrainian (uk) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-24 13:45:27 +01:00
Christian Dywan b47184778a Don't add session tabs to the history on startup
Otherwise the startup as a whole causes a lot of disk activity
that isn't really needed.
2011-02-23 22:56:28 +01:00
Sergio Marques 43b2d39c1e l10n: Updated Portuguese (pt) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-23 11:24:45 +01:00
Cheng-Chia Tseng 2ad962552f l10n: Updated Chinese (Taiwan) (zh_TW) translation to 95%
New status: 636 messages complete with 4 fuzzies and 28 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-23 11:17:45 +01:00
Yves-Alexis Perez 8df3d31718 ignore ChangeLog in dh_installchangelogs since make install already installs it. 2011-02-23 07:25:08 +01:00
David Štancl 829db8abc0 l10n: Updated Czech (cs) translation to 100%
New status: 668 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-22 09:47:44 +01:00
Yves-Alexis Perez 8286459fec add patch and switch to NMU
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-22 07:44:45 +01:00
Yves-Alexis Perez 6674930742 don't limit search engines shown
* debian/patches:
  - 0001-Don-t-limit-search-engines-shown-in-completion-popup added.
2011-02-21 23:26:18 +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
Christian Dywan b7f8281f77 Remove a redundant katze_array_move_item all 2011-02-21 19:42:48 +01:00
Christian Dywan 857551fe61 Add FAQ menu item to the app menu 2011-02-21 19:42:47 +01:00
Sergio Marques 90ef19d0dc l10n: Updated Portuguese (pt) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-21 15:30:41 +01:00
Christian Dywan ea8b9ee7fe Improve handling of cookie updates
Be sure to remove outstanding times, use libsoup API
to free the list of cookies and use the cookie jar to
delete cookies.

Fixes: https://bugs.launchpad.net/midori/+bug/712770
2011-02-20 20:55:34 +01:00
Anton Shestakov bb34927092 Update Russian translation 2011-02-20 20:12:59 +01:00
Christian Dywan c1f592bb75 Show at minimum 10% progress when loading 2011-02-20 20:09:57 +01:00
Christian Dywan a205df3970 Don't limit search engines shown in completion popup 2011-02-20 20:07:29 +01:00
Yves-Alexis Perez 6844f5294d upload to unstable
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-20 11:12:18 +01:00
Yves-Alexis Perez b82950b705 fix typos
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-20 10:50:06 +01:00
Yves-Alexis Perez a250a973f3 add bug fix
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-20 09:58:12 +01:00
Christian Dywan 912637025c Use distinct labels for Refresh actions in shortcut editor 2011-02-20 04:13:30 +01:00
Yves-Alexis Perez d5f06c23ad update upstream release
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-20 00:03:28 +01:00
Yves-Alexis Perez c1fad44a43 Merge branch 'upstream-unstable' 2011-02-20 00:03:14 +01:00
Christian Dywan 4557f086ef Bump version to 0.3.2 2011-02-20 00:00:26 +01:00
Yves-Alexis Perez 5509d79702 * debian/patches:
- 0001-Only-no-adblock-if-main-frame-in-provisional-state added, included
    upstream.
2011-02-19 23:44:17 +01:00
Yves-Alexis Perez 1e19674485 * Non maintainer upload.
* New upstream release.
2011-02-19 23:43:26 +01:00
Yves-Alexis Perez 99655c6cc4 Merge branch 'upstream-unstable' 2011-02-19 23:39:59 +01:00
Christian Dywan 71f89a3d8a Take text for Go button in location from the entry 2011-02-19 23:38:34 +01:00
Christian Dywan 0ee21d254a Bump version to 0.3.1 2011-02-19 22:44:54 +01:00
Christian Dywan 3a887802c5 Update German translation 2011-02-19 22:36:24 +01:00
Tomasz Szatkowski ce106b0d7f g_strescape the URI in the location completion
Fixes: https://bugs.launchpad.net/midori/+bug/700004
2011-02-19 22:32:21 +01:00
Christian Dywan 85e78eab9a Reflect tab order in saved session
Discussed, tested and tweaked by amphi, ml| and MonkeyofDoom in IRC.
2011-02-19 22:32:21 +01:00
David Štancl 8310abdf44 l10n: Updated Czech (cs) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-19 22:28:21 +01:00
Piotr Sokół b6ea3c2732 l10n: Updated Polish (pl) translation to 94%
New status: 632 messages complete with 13 fuzzies and 24 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-19 11:50:09 +01:00
Paweł Forysiuk 85bdfac81a Don't show infobar installer on "view source" pages 2011-02-18 02:22:11 +01:00
Paweł Forysiuk 846a7f7088 Handle addon install in view specific callbacks
Connect on the view rather than the browser and use
MIDORI_LOAD_COMMITTED which is only emitted once.
2011-02-18 02:05:51 +01:00
Christian Dywan 663a82d873 Check that pspec is not NULL when skipping state changes 2011-02-17 21:48: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
Paweł Forysiuk 74549eff9d Handle NULL desc in midori_bookmarks_insert_item_db 2011-02-17 20:18:18 +01:00
Paweł Forysiuk 2c4015ab94 Unescape HTML entities when importing bookmarks from Netscape HTML. 2011-02-17 20:15:35 +01:00
Christian Dywan e272fc04f2 Don't save config file on state related property changes 2011-02-17 19:54:36 +01:00
Christian Dywan 503ed3ac94 Be sure to only migrate bookmarks if .db doesn't exist
Fixes: https://bugs.launchpad.net/midori/+bug/711377
2011-02-17 19:54:36 +01:00
Christian Dywan 40a6743e78 Check if filename to open is a filename or not
Fixes: https://bugs.launchpad.net/midori/+bug/715118
2011-02-17 19:54:35 +01:00
Christian Dywan f4875ceb7c Escape title to be set on error pages 2011-02-17 19:54:35 +01:00
Mișu Moldovan af86a781f6 l10n: Updated Romanian (ro) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-17 19:07:13 +01:00
Mișu Moldovan 09ceb21e95 l10n: Updated Romanian (ro) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-17 17:51:03 +01:00
Kim Boram 97d0d1ad4f Update Korean translation 2011-02-16 01:18:35 +01:00
Paweł Forysiuk b63444f3cb Escape bookmark items when exporting to Netscape HTML 2011-02-16 00:19:17 +01:00
Christian Dywan 296ede80f7 Append fallback icon instead of checking the theme 2011-02-15 21:32:08 +01:00
Yarema aka Knedlyk 24b39d2885 l10n: Updated Ukrainian (uk) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-15 16:35:56 +01:00
Hunt Xu 04bb752634 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-15 14:26:41 +01:00
Andres Kovtunos 94c66c21ad l10n: Updated Russian (ru) translation to 98%
New status: 660 messages complete with 4 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-15 11:45:44 +01:00
Christian Dywan b55ab3afa9 Fallback to file icon if no MIME icon is found 2011-02-15 00:58:34 +01:00
Masato Hashimoto 5fd3c3b334 l10n: Updated Japanese (ja) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-14 16:11:31 +01:00
Sergio Marques d0d4c9f777 l10n: Updated Portuguese (pt) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-14 11:57:13 +01:00
Christian Dywan 3ff376b43b Mandatory transferbar and no implicit statusbar 2011-02-13 19:07:48 +01:00
Christian Dywan cea9c3f426 Always show progress inside location bar 2011-02-13 18:35:47 +01:00
Christian Dywan 9bebcf32cc Remove search engines in completion preference
Display up to 5 engines, to not make it annoying when there
are too many in total.
2011-02-13 18:35:47 +01:00
Christian Dywan 75a1d90233 Show error on failure to read global config file 2011-02-13 18:35:47 +01:00
Paweł Forysiuk 5cdbf5e814 Free uri in adblock_is_matched_by_key after printing 2011-02-13 18:35:46 +01:00
Cristian Marchi b8c322fd50 l10n: Updated Italian (it) translation to 100%
New status: 674 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-13 15:07:36 +01:00
Christian Dywan 0bfcf34450 Rename 'Add Desktop Shortcut' to 'Create launcher'
Fixes: https://bugs.launchpad.net/midori/+bug/710281
2011-02-12 18:12:55 +01:00
Christian Dywan 4eb874f044 Update copyright year for '--version' and About dialogue 2011-02-12 17:09:35 +01:00
Paweł Forysiuk 27bba3c318 Strip leading and trailing whitespace when parsing user scripts/ style 2011-02-12 16:40:57 +01:00
Christian Dywan 42bf6f5c61 Default to app menu instead of menubar 2011-02-11 23:31:27 +01:00
Christian Dywan 3dab3ac1a0 Add Bookmark Import and Export to app menu 2011-02-11 23:31:27 +01:00
Christian Dywan 18776c59b2 Add CA bundle path used on Foresight Linux 2011-02-11 23:31:27 +01:00
Sergio Marques 2aa4657a78 l10n: Updated Portuguese (pt) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-09 14:55:56 +01:00
Christian Dywan c0f8cda7c6 Avoid action accessors, use properties instead
Fixes: https://bugs.launchpad.net/midori/+bug/715306
2011-02-09 00:54:54 +01:00
Paweł Forysiuk 28fbf66459 Check for destination folder before downloading userstyle/script 2011-02-09 00:22:51 +01:00
Paweł Forysiuk dba9bb4780 Fix parsing of userscript headers containing tab chars 2011-02-09 00:16:55 +01:00
Paweł Forysiuk 7939dc1bf1 Try matching URI by extension first in script/ style infobar
Fallback to hostname if that fails
2011-02-09 00:14:27 +01:00
Paweł Forysiuk 6b48f9c639 Escape markup in user script/style tooltip and delete dialog 2011-02-09 00:10:06 +01:00
Cristian Marchi a48ee35125 l10n: Updated Italian (it) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-08 20:21:30 +01:00
Christian Dywan 6c0395b65e Use DESKTOP_SESSION variable if set to look for Xfce 2011-02-08 19:10:40 +01:00
Sergio Marques 6642c1ad97 l10n: Updated Portuguese (pt) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-06 16:28:04 +01:00
David Štancl f0cbb288df l10n: Updated Czech (cs) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-05 22:26:11 +01:00
Yarema aka Knedlyk 4a99377fb1 l10n: Updated Ukrainian (uk) translation to 100%
New status: 672 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-04 23:37:56 +01:00
Yves-Alexis Perez 15d0de8568 upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-04 22:43:33 +01:00
Yaron Shahrabani 2dba7f7f99 l10n: Updated Hebrew (he) translation to 76%
New status: 511 messages complete with 69 fuzzies and 92 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-04 13:58:36 +01:00
Yves-Alexis Perez e825b43a13 fix version
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-04 08:39:38 +01:00
Paweł Forysiuk 9ab46a3daa Append "Private Browsing" to title in private mode
Fixes: https://bugs.launchpad.net/midori/+bug/699969
2011-02-04 01:43:06 +01:00
Paweł Forysiuk 7504edaa11 Fix script name extraction and re-enable installer on userscripts.org "review" pages 2011-02-04 00:33:48 +01:00
David Štancl 3b5a505257 l10n: Updated Czech (cs) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-04 00:21:08 +01:00
Yves-Alexis Perez 46f6082efd fix hardening build
* debian/control:
  - replace hardening-includes build-dep by hardening-wrapper.
* debian/rules:
  - enable hardening.
* Non-maintainer upload.
2011-02-04 00:06:57 +01:00
Sergio Marques 0d4930ff5b l10n: Updated Portuguese (pt) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-03 13:38:09 +01:00
Yves-Alexis Perez 5b7fa0d438 upload to unstable
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-02-02 21:20:36 +01:00
Yves-Alexis Perez 41bc26c145 * Non-maintainer upload.
* debian/patches:
  - 0001-Only-no-adblock-if-main-frame-in-provisional-state added, fix
    adblock extension.                                        closes: #611682
* debian/rules:
  - remove .lock-script in clean target.
2011-02-02 13:10:36 +01:00
Christian Dywan adfedc4197 Uncached reload action, default Ctrl+Shift+R 2011-02-02 01:55:32 +01:00
Christian Dywan 6ebcc4e21c Translate explanation in about:version 2011-02-02 01:46:14 +01:00
Christian Dywan 1add09e5ea Refer to about:version instead of numbers in About 2011-02-02 01:45:38 +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
Piotr Sokół d925935b56 l10n: Updated Polish (pl) translation to 94%
New status: 637 messages complete with 12 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-02-01 13:10:00 +01:00
Christian Dywan 90e11d3713 Only no adblock if main frame in provisional state 2011-02-01 01:52:39 +01:00
Christian Dywan 2d3aab8d8a Add file filters for XBEL and Netscape to export 2011-02-01 01:25:27 +01:00
Paweł Forysiuk ab7b069769 Add support for exporting to Netscape HTML 2011-02-01 01:25:26 +01:00
Christian Dywan e29562ddcb Shift + Return should go back in Findbar 2011-02-01 01:25:26 +01:00
Yves-Alexis Perez 82f583451c upload
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-31 18:28:12 +01:00
Yves-Alexis Perez 570a371f4b don't install config file as executable
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-31 18:19:59 +01:00
Yves-Alexis Perez 266405628e add -O1 to LDFLAGS. 2011-01-31 10:50:38 +01:00
Abel Martín ec8fefb3f1 l10n: Updated Spanish (Castilian) (es) translation to 91%
New status: 612 messages complete with 34 fuzzies and 24 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-31 09:39:34 +01:00
Yves-Alexis Perez 7eb429993e unapply patches after build
prevents commiting stuff by mistake
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-31 08:16:56 +01:00
Yves-Alexis Perez 85e27c6782 refresh patch for new upstream
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-31 08:16:39 +01:00
Yves-Alexis Perez 11dcc0e9ea don't commit applied patches...
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-31 08:15:15 +01:00
Yves-Alexis Perez 2d8df1af08 new upstream release
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-31 08:08:57 +01:00
Yves-Alexis Perez e51eca351f Merge branch 'upstream-unstable' 2011-01-31 08:08:02 +01:00
Christian Dywan 43f1e55411 Bump version to 0.3.0 2011-01-31 02:04:53 +01:00
Samuli Suominen 26873b0f97 Conditionally support libnotify 0.7 API
Fixes: https://bugs.launchpad.net/midori/+bug/710352
2011-01-31 01:48:08 +01:00
Paweł Forysiuk 5acdb5516d Unescape URLs with spaces, not only with % 2011-01-30 21:37:06 +01:00
Christian Dywan adf1f3c25b Correct typo 'registerS' in HACKING 2011-01-30 21:35:39 +01:00
Christian Dywan 2e35f1718b Never filter the main page itself with adblock
Fixes: https://bugs.launchpad.net/midori/+bug/706862
2011-01-30 19:25:50 +01:00
Christian Dywan aeccc9e9ac Use midori_browser_add_tab for tab on tab bar click
So we get speed dial if it is enabled like on new tab button.
2011-01-30 19:11:38 +01:00
Christian Dywan 07ffc279b2 Refer to Launchpad rather than Flyspray for bug tracking
Fixes: https://bugs.launchpad.net/midori/+bug/706241
2011-01-30 18:58:00 +01:00
Christian Dywan 1f08629a4f Preserve %20 for pasting URLs into other windows 2011-01-30 18:58:00 +01:00
Christian Dywan 57d529d309 Don't support 'review' pages on userstyles.org for now 2011-01-30 18:58:00 +01:00
Paweł Forysiuk 7368ca00c1 Remove unneeded check in HTML import function.
It was triggering a missleading warning at the last line of file
giving the impression of interrupted and broken import.
2011-01-30 18:58:00 +01:00
Paweł Forysiuk 1efabca2b1 Don't use GtkInfoBar api explicitly in user style/script infobar installer 2011-01-30 18:58:00 +01:00
Paweł Forysiuk 11ac3fe157 Make bookmark import button label show supported formats when importing from a file. 2011-01-30 18:58:00 +01:00
Paweł Forysiuk 74bb09b8c7 Rename HTML import function from mozilla to netscape to be more consistent. 2011-01-30 18:58:00 +01:00
Jari Rahkonen 1b5d01241c l10n: Updated Finnish (fi) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-30 13:41:25 +01:00
Paweł Forysiuk 4ed49d001f Add initial support for HTML bookmarks import 2011-01-29 08:59:20 +01:00
Paweł Forysiuk 567d5a7d14 Remove duplicated GtkActionEntry 2011-01-29 08:58:38 +01:00
Christian Dywan 072ea586cd Use search icon name as fallback for search engines 2011-01-29 08:42:29 +01:00
Yves-Alexis Perez e516901aa4 don't take over maintainership, keep going with nmu...
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2011-01-29 00:28:05 +01:00
Christian Dywan f9c38fda6f Import to a new, empty bookmark array 2011-01-22 21:24:10 +01:00
Christian Dywan 7a0d04ac52 Export to a new, empty bookmark array 2011-01-22 21:17:37 +01:00
Paweł Forysiuk 2e8d6558d0 Use KATZE_ARRAY_FOREACH_ITEM_L for export 2011-01-22 21:17:08 +01:00
Christian Dywan 59e924fb9a Correct invalid folder condition once more 2011-01-19 22:29:26 +01:00
Christian Dywan 84beea9108 Add KatzeArray::update and call it after import
This new function and according signal allow one
update of the treeview after importing directly
into the database.
2011-01-19 21:58:26 +01:00
Christian Dywan f0d2c49355 Fix invalid bookmark warning and move into insertion 2011-01-19 21:34:39 +01:00
Christian Dywan 2f2e368b8a Use actual data dir to store desktop shortcut 2011-01-19 21:31:23 +01:00
Paweł Forysiuk 30cc8b0694 Bail out with a warning when adding invalid folder 2011-01-18 18:25:12 +01:00
Paweł Forysiuk 535053a3e6 Separate bookmark insertion from array callback 2011-01-18 17:49:57 +01:00
Christian Dywan 9a806a8ca2 Test activation and deactivation of extensions 2011-01-16 14:05:23 +01:00
Christian Dywan 03b146386e Don't test PrivateBrowsing and AddDesktopShortcut 2011-01-16 14:05:23 +01:00
Christian Dywan 650aa8c102 Don't error when saving addons config in test 2011-01-16 14:05:23 +01:00
Christian Dywan f5927ec5d4 Add a dummy cookie jar for extension unit test
In a real environment there is always one and extensions
rely on finding a cookie jar.
2011-01-16 14:05:23 +01:00
Christian Dywan 355ae063a6 Fallback to / as extension folder for unit tests 2011-01-16 14:05:23 +01:00
Christian Dywan 919b0ab0fd Expect magic_uri to encode spaces as %20 2011-01-16 14:05:23 +01:00
Christian Dywan cb52ab4fb4 Remove outdated and unmaintained unit tests 2011-01-16 14:05:23 +01:00
Cristian Marchi 75c81f21f0 l10n: Updated Italian (it) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-15 12:17:22 +01:00
Dmitrij Smirnov 2cb0f654a2 l10n: Updated Russian (ru) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-14 18:12:50 +01:00
Dmitrij Smirnov 3277cf6662 l10n: Updated Russian (ru) translation to 99%
New status: 664 messages complete with 5 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-14 18:11:15 +01:00
Özgür Kuru c9c37e1c84 l10n: Updated Turkish (tr) translation to 98%
New status: 658 messages complete with 5 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-14 16:28:45 +01:00
gianluca foddis 13228eac35 l10n: Updated Italian (it) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-14 09:13:49 +01:00
Özgür Kuru 6ffae90de9 l10n: Updated Turkish (tr) translation to 98%
New status: 656 messages complete with 6 fuzzies and 7 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-12 20:27:23 +01:00
Özgür Kuru be625c9efd l10n: Updated Turkish (tr) translation to 92%
New status: 618 messages complete with 28 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-12 20:18:32 +01:00
Leandro Regueiro 3f49128cc7 l10n: Updated Galician (gl) translation to 99%
New status: 668 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-12 19:25:58 +01:00
Leandro Regueiro a1b1e8c6a6 l10n: Updated Galician (gl) translation to 99%
New status: 665 messages complete with 2 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-12 19:06:24 +01:00
Masato Hashimoto 0d8c4b4205 l10n: Updated Japanese (ja) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-12 15:32:22 +01:00
Christian Dywan a408d9609d Use 'user-bookmarks' icon for bookmarks
The icon exists in GNOME, Elementary, Humanity and Faenza.
2011-01-11 22:18:35 +01:00
Christian Dywan 39e915bbbf Handle drag on default text like focus in
Also only connect the signals once.
2011-01-11 21:08:27 +01:00
Christian Dywan 8f489ca872 Unify settings update and title assignment 2011-01-11 21:08:27 +01:00
Ivica Kolić b38824ff94 l10n: Updated Croatian (hr) translation to 83%
New status: 557 messages complete with 0 fuzzies and 112 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-08 00:19:47 +01:00
Spiros Georgaras ad2f0066ce l10n: Updated Greek (el) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-07 17:57:36 +01:00
Christian Dywan 7e00e760ba Allow image zoom if text and images can be zoomed 2011-01-05 19:21:50 +01:00
Christian Dywan c712758ed3 Spawn commands with about: arguments like URIs 2011-01-05 19:13:18 +01:00
forfolias 6582ae6d10 l10n: Updated Greek (el) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-04 16:26:37 +01:00
forfolias d597136748 l10n: Updated Greek (el) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-04 16:19:36 +01:00
Ivica Kolić e606b72aa1 l10n: Updated Croatian (hr) translation to 82%
New status: 553 messages complete with 0 fuzzies and 116 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-01-03 11:34:22 +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
Paweł Forysiuk e96ac0fabc Use GIOChannel to import Opera bookmarks
The workaround for long lines is no longer needed.
2010-12-30 20:05:16 +01:00
كريم أولاد الشلحة 47ae7b475b l10n: Arabic translation
New status: 301 messages complete with 0 fuzzies and 368 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-30 04:32:01 +01:00
Xu Meihong 15687c3ec0 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-28 16:36:14 +01:00
Christian Dywan 69c229b7a7 Don't try to set a non-existing page at startup
And print a proper warning should this occur somewhere
else later on.
2010-12-25 02:07:45 +01:00
Christian Dywan 448e119b0b Issue warning if adding to history fails 2010-12-24 16:45:40 +01:00
Gabor Kelemen 7b9781666a l10n: Updated Hungarian (hu) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-24 12:03:32 +01:00
Piotr Sokół 46ba04278f l10n: Updated Polish (pl) translation to 94%
New status: 632 messages complete with 11 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-23 23:56:27 +01:00
Ivica Kolić f74a84cd96 l10n: Upadates to Croatian translation
New status: 529 messages complete with 0 fuzzies and 140 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-22 22:38:06 +01:00
Harald Servat aaa5835a69 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-19 16:51:55 +01:00
Yarema aka Knedlyk 1371bb5fb3 l10n: Updated Ukrainian (uk) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-19 00:01:34 +01:00
Kim Boram 414c59bc1a Update Korean translation 2010-12-16 23:08:39 +01:00
André Stösel 055a0f720c Add certificate file location used on FreeBSD 2010-12-16 23:02:19 +01:00
Jeff Bailes a49fc77b30 l10n: Updated English (United Kingdom) (en_GB) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-16 07:41:12 +01:00
Christian Dywan fcb4a3c3e0 Handle oddities in Russian keyboard layouts 2010-12-15 01:08:50 +01:00
Sergio Marques b34714cbe4 l10n: Updated Portuguese (pt) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-14 16:13:22 +01:00
André Stösel b4e94b4f19 Be sure to end up at last opened tab after closing 2010-12-14 01:16:20 +01:00
Christian Dywan d46eb5ef99 Enable spell checking while typing by default 2010-12-14 01:16:20 +01:00
David Štancl 5244d624d8 l10n: Updated Czech (cs) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-13 08:34:00 +01:00
Fabian Nowak 0a8cd6a361 l10n: Updated German (de) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-12 17:31:34 +01:00
Sérgio Cipolla 4c5b4ba2ed l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-12 12:19:02 +01:00
Christian Dywan 94fa9318f8 Update German translation 2010-12-12 01:34:45 +01:00
Christian Dywan 1d09019b38 Implement 'Add Shortcut to desktop' for X11 2010-12-12 01:26:08 +01:00
Christian Dywan 6a15af722c Set proper default speed dial size if not set 2010-12-12 01:13:59 +01:00
Christian Dywan 54971fd8ae Make sure minimized tabs show up in Tab Panel 2010-12-11 20:31:18 +01:00
Christian Dywan e0c5bbedb3 Remove ability to hide operating controls 2010-12-11 20:18:04 +01:00
Christian Dywan 1d9d52b59a Put Add Bookmark instead of Homepage in the toolbar 2010-12-11 20:12:54 +01:00
Christian Dywan f3bde6eb58 Remove detach and right-align buttons from panel 2010-12-11 19:52:16 +01:00
Christian Dywan 745506c965 Require minimum size of bookmark panel 2010-12-11 19:49:05 +01:00
Christian Dywan 2bb67fa9c5 Deprecate Destination folder and Transfer completed 2010-12-12 00:36:33 +01:00
André Stösel aadfd1e289 Switch to newest tabs with Ctrl+1 and Ctrl+2 2010-12-12 00:36:33 +01:00
Christian Dywan 613e78a951 Be more careful about consecuitve spaces in styles 2010-12-12 00:36:32 +01:00
Piotr Sokół 5b37de2075 l10n: Updated Polish (pl) translation to 94%
New status: 632 messages complete with 11 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-09 11:57:45 +01:00
Paweł Forysiuk 7bd0683869 Omit spaces and comments in user stylesheets
This fixes parsing breaking due to comments.

Further more it noticibly reduces the size of stylesheets.
2010-12-07 01:43:27 +01:00
Piotr Sokół a38338b165 l10n: Updated Polish (pl) translation to 94%
New status: 627 messages complete with 16 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-06 22:56:51 +01:00
Christian Dywan b604b177bb Use foreach with copied list for importing bookmarks
The new macro KATZE_ARRAY_FOREACH_ITEM_L is added, taking a
list that must be freed afterwards. It copies the list to
not enter infinite recursion if items are removed or appended.
2010-12-05 23:34:17 +01:00
Christian Dywan 566985bb8b Add Homepage button to default toolbar
Many people do look for it and fail to understand how to
add buttons to the toolbar.
2010-12-05 23:19:50 +01:00
Christian Dywan 40d25a4e10 Merge separate language preferences into one 2010-12-05 23:14:19 +01:00
Christian Dywan a5c0b8539b Omit Sidepanel button from default toolbar
It is in the compact menu, and otherwise menubar.
2010-12-05 23:05:22 +01:00
Christian Dywan ecb9de246c Put 'Find' into the compact popup menu 2010-12-05 23:01:01 +01:00
Xu Meihong 1207c39df9 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-12-04 08:47:47 +01:00
Christian Dywan dbac0b56a5 Remove empty loop in katze_array_action_activate 2010-12-02 19:05:11 +01:00
Christian Dywan 51c1d36b60 Create toggle button proxies for array actions 2010-12-02 19:01:49 +01:00
Christian Dywan 1581c13460 Remove unused non-object support from KatzeArray 2010-11-30 18:15:33 +01:00
Christian Dywan b7c8ef9c4e Leave old bookmark file around after conversion 2010-11-30 18:15:33 +01:00
Christian Dywan 57c30ff319 Protect against unset meta string folder 2010-11-30 18:15:33 +01:00
Christian Dywan f9b2a75ae4 Note on about:version that runtime versions are in brackets. 2010-11-30 18:15:33 +01:00
Piotr Sokół 593bb41637 l10n: Updated Polish (pl) translation to 94%
New status: 627 messages complete with 16 fuzzies and 23 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-28 22:46:45 +01:00
Carles Muñoz Gorriz 0727b38d36 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-27 09:07:04 +01:00
Cheng-Chia Tseng d5439e2f14 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 86%
New status: 579 messages complete with 25 fuzzies and 66 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-26 15:13:40 +01:00
Gabor Kelemen e2be27e7d3 l10n: Updated Hungarian (hu) translation to 100%
New status: 670 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-25 00:21:42 +01:00
Gabor Kelemen abde262c60 l10n: Updated Hungarian (hu) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-24 23:26:47 +01:00
Christian Dywan 7ab1b55079 Pure properties on browser need to have owned getters 2010-11-24 19:10:53 +01:00
Christian Dywan 8cfc7c654f Use property proxy for custom print setting 2010-11-24 19:10:53 +01:00
Christian Dywan d69e92b76a Automatically resize panel columns after changes 2010-11-24 19:10:53 +01:00
Cheng-Chia Tseng 5da6ef2a5d l10n: Updated Chinese (Taiwan) (zh_TW) translation to 82%
New status: 556 messages complete with 35 fuzzies and 79 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-24 17:42:26 +01:00
Christian Dywan 765cdfeb27 Select date for all history queries, even filtered
Deleting requires a date to work.
2010-11-24 00:37:01 +01:00
André Stösel cb5bdb8646 Resize History List based on the requested size 2010-11-23 23:22:47 +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
Cheng-Chia Tseng f81e76f595 l10n: Updated Chinese (Taiwan) (zh_TW) translation to 77%
New status: 522 messages complete with 35 fuzzies and 113 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-23 06:41:24 +01:00
Christian Dywan 302b5d8c27 Add Duck Duck Go to default search engines
This doesn't affect current users, only new or reset configurations.
2010-11-22 03:49:52 +01:00
Christian Dywan 5f90c91a24 Use Properties stock icon for the compact menu 2010-11-22 03:49:52 +01:00
Christian Dywan 8ad224c9a8 Add bookmarks through array and update the panel 2010-11-22 03:49:52 +01:00
Christian Dywan 93c483c904 Make Delete key in bookmark panel the same as menu item 2010-11-22 03:49:52 +01:00
Christian Dywan 6246987ba8 Clear history through array and update the panel 2010-11-22 03:49:51 +01:00
Xavier Devlamynck 31cce0dc65 l10n: Updated French (fr) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-21 00:03:21 +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 2f3a016b21 Don't use icons of blank pages for web app windows 2010-11-19 22:50:55 +01:00
Christian Dywan cb83843a28 Open blank page if an item with no URI is passed
This avoids the very confusing situation where the session
file contains no URI and critical warnings are visible.

Notably MIDORI_UNARMED can cause this.
2010-11-18 21:22:12 +01:00
Christian Dywan 1ac006804b Don't show Netscape plugins admist extensions
People keep thinking plugins could be disabled like extensions.
2010-11-18 21:02:37 +01:00
Christian Dywan 211e5314fb Enable or disable Java applet tag with plugins 2010-11-18 20:52:53 +01:00
Kim Boram 4d422777f7 Update Korean translation 2010-11-17 23:43:45 +01:00
Sérgio Cipolla 03d4656a62 l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-17 11:32:38 +01:00
Masato Hashimoto 5e31ab3abe l10n: Updated Japanese (ja) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-15 15:33:51 +01:00
David Štancl 727660f566 l10n: Updated Czech (cs) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-15 09:28:07 +01:00
Sergio Marques 329b32c260 l10n: Updated Portuguese (pt) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-14 03:45:43 +01:00
Christian Dywan 2cbb2f0988 Update German translation 2010-11-13 15:35:59 +01:00
Christian Dywan f3831c5157 Turn view->memory into a static variable 2010-11-13 15:20:46 +01:00
Ričardas Vasiulis 8e60b836f6 l10n: Updated Lithuanian (lt) translation to 26%
New status: 177 messages complete with 15 fuzzies and 479 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-13 03:21:00 +01:00
Yarema aka Knedlyk d8f1dbe2b7 l10n: Updated Ukrainian (uk) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-10 16:03:52 +01:00
Sergio Marques 97e1e301e6 l10n: Updated Portuguese (pt) translation to 100%
New status: 671 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-10 12:56:06 +01:00
Paweł Forysiuk b26df3af22 Remove unused kind_name variable in addons_uri_install 2010-11-10 00:34:31 +01:00
Kim Boram cfb086e503 Update Korean translation 2010-11-09 23:22:34 +01:00
Paweł Forysiuk 2feb127e4b Reword userstyle/ script install message in infobar 2010-11-09 23:22:34 +01:00
Sergio Marques d4644a67f1 l10n: Updated Portuguese (pt) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-09 10:48:26 +01:00
Piotr Sokół 3301684ee4 l10n: Updated Polish (pl) translation to 93%
New status: 621 messages complete with 21 fuzzies and 24 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-08 18:28:10 +01:00
Sergio Cipolla 17c3f015f1 Update Brazilian Portuguese translation 2010-11-08 16:31:12 +01:00
Harald Servat 9e1c179984 l10n: Updated Catalan (Valencian) (ca) translation to 97%
New status: 649 messages complete with 10 fuzzies and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-08 14:23:53 +01:00
Leandro Regueiro 3142cd1861 l10n: Updated Galician (gl) translation to 99%
New status: 668 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-08 13:46:22 +01:00
David Štancl 33a2b931e6 l10n: Updated Czech (cs) translation to 100%
New status: 669 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-08 12:20:53 +01:00
Paweł Forysiuk 91390db88c Implement infobar for easy userscript/ style install 2010-11-07 23:58:26 +01:00
Cristian Marchi 651d594121 l10n: Updated Italian (it) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-07 20:15:23 +01:00
Paweł Forysiuk 96a276219a Handle multi-line -moz-document blocks 2010-11-05 23:27:57 +01:00
Cristian Marchi 156374ded7 l10n: Updated Italian (it) translation to 99%
New status: 665 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-05 21:06:06 +01:00
Christian Dywan 34a3c307b5 Properly omit quotes from -moz-document domain 2010-11-04 19:03:49 +01:00
Yves-Alexis Perez 422239f0c5 * debian/rules:
- remove waf stuff, midori waf has been updated so it's no longer needed
    to dynamically patch waf for HPPA.
  - install $(DISTRO)-config to /etc/xdg/midori to tune the default homepage
* debian/{Ubuntu,Debian}-config added, with default homepage setting.
* debian/patches:
  - add-debian-search refreshed.
  - fix-serial-build dropped thanks to waf upgrade in midori.
* debian/control:
  - drop quilt build-dep, useless now.
2010-11-03 14:33:29 +01:00
Paweł Forysiuk 53a205be4d Handle single, double and absent quotes in -moz-document 2010-11-03 00:12:05 +01:00
Christian Dywan cd69cdedb9 Search inline directly when preedit text changes 2010-11-02 22:46:01 +01:00
Christian Dywan 61e51ea1d2 Cancel Find Links when pressing Escape key 2010-11-02 22:46:01 +01:00
Leandro Regueiro d1c967c055 l10n: Updated Galician (gl) translation to 99%
New status: 665 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-02 18:30:43 +01:00
Piotr Sokół b41a2b618f l10n: Updated Polish (pl) translation to 92%
New status: 613 messages complete with 25 fuzzies and 28 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-11-02 10:15:55 +01:00
Yves-Alexis Perez 1236c3caeb update to 0.2.9
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2010-11-01 21:34:05 +01:00
Yves-Alexis Perez 436f1b1b23 Merge branch 'upstream-unstable' 2010-11-01 21:32:31 +01:00
Yves-Alexis Perez a63f1fd6a9 * debian/rules:
- pick {C,LD}FLAGS from dpkg-buildflags.
  - add -Wl,-z,defs -Wl,--as-needed to LDFLAGS.
  - add hardening flags to {C,LD}FLAGS.
2010-11-01 21:30:56 +01:00
Christian Dywan 32d80dcfad Follow up to correct custom docdir location 2010-11-01 21:21:58 +01:00
Paweł Forysiuk eae7ec4ac3 Recognize -moz-document domain in user stylesheets 2010-11-01 19:35:29 +01:00
Christian Dywan 10222bffd2 Be sure to show bookmarkbar if enabled 2010-11-01 16:54:11 +01:00
Christian Dywan a9244ad817 Use function to access web view and adjustments 2010-11-01 16:48:07 +01:00
Christian Dywan ed6d44df5f Use function to access browser settings an panel 2010-11-01 16:47:32 +01:00
Christian Dywan 6ea63d2f70 Declare ax, ay in throbber earlier 2010-11-01 03:18:00 +01:00
Christian Dywan 54cd4afa77 Bump version to 0.2.9 2010-10-31 23:20:48 +01:00
Enrico Tröger 914d5e38f1 Use sys.exc_info() for exception msg in Python 2/3 2010-10-31 22:44:24 +01:00
Christian Dywan f2ca461638 Don't regard file URIs as external 2010-10-31 22:42:15 +01:00
Christian Dywan a4715ad4c7 Resort to Python 2.5 exception syntax for now 2010-10-31 21:59:21 +01:00
Christian Dywan b28c828f02 Reword cookie description to say 'saved games, '
This is purely an improvement to the English, no change in meaning.
2010-10-31 21:33:16 +01:00
Sergio Cipolla f470d26692 Update Brazilian Portuguese translation 2010-10-31 21:30:10 +01:00
Christian Dywan d20f0c3b89 Only show Trash and UndoTabClose if there is a trash 2010-10-31 21:27:47 +01:00
Christian Dywan f9559b7d27 Only show bookmarkbar if we have bookmarks at all 2010-10-31 21:27:22 +01:00
Christian Dywan 560ad66d48 Add 'Identify As' button to Statusbar Features 2010-10-31 21:24:34 +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 a0c0207133 Use mnemonic for "History" in Clear Private Data
This doesn't introduce a new string.
2010-10-30 21:44:19 +02:00
Christian Dywan 2578d031a7 Update German translation 2010-10-30 21:42:11 +02:00
Christian Dywan cbcf314f47 Update French translation 2010-10-30 21:15:32 +02:00
Sergio Cipolla 73b888f683 Update Brazilian Portuguese translation 2010-10-30 21:10:24 +02:00
Xavier Devlamynck ef144f9454 l10n: Updated French (fr) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-30 14:49:29 +02:00
Christian Dywan 064ac4418b Only re-attach KatzeHttpCookies if it existed before 2010-10-29 22:27:42 +02:00
Christian Dywan 949f38fb58 Always clear private data in inactivity reset 2010-10-29 22:19:04 +02:00
Christian Dywan 5f0a9676b8 Omit Find while Typing and Open panels in Windows
Those preferences are presumably addressing corner cases
and not useful in most cases.
2010-10-27 21:09:19 +02:00
Christian Dywan bcd1ffaf09 Don't restrict length of HTTP login passwords 2010-10-27 21:02:47 +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
Sergio Marques 844bb5aa05 l10n: Updated Portuguese (pt) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-26 13:41:41 +02:00
Yarema aka Knedlyk 959f0fdc8d l10n: Updated Ukrainian (uk) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-26 13:02:22 +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 691f6c7bbd Right-click on statusbar border should show context menu 2010-10-26 00:26:54 +02:00
Christian Dywan 7a993b9f19 Clearing icons should remove icon database as well 2010-10-26 00:26:54 +02:00
David Štancl 7805bf88ab l10n: Updated Czech (cs) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-25 21:42:53 +02:00
Masato Hashimoto 27b33264c5 l10n: Updated Japanese (ja) translation to 100%
New status: 666 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-25 14:33:00 +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 cbb9189e7c Label 'Custom' and file chooser 'Import from a file' 2010-10-24 23:48:03 +02:00
Sergio Cipolla d9d979d917 Update Brazilian Portuguese translation 2010-10-24 21:06:28 +02:00
Kim Boram 14e46a2fb7 Update Korean translation 2010-10-24 21:06:28 +02:00
Anton Shestakov 6606a1f331 Update Russian translation 2010-10-24 21:06:28 +02:00
Christian Dywan 21a82db268 Correct description of TabMinimize
While internally still called 'minimize', the description
needs to say that only the icon of the tab is shown.
2010-10-24 21:06:28 +02:00
Christian Dywan b86b5056f8 Remove External Applications extension 2010-10-24 21:06:28 +02:00
Christian Dywan b915e45332 Fallback for opening new windows in app mode
This is not quite enough, inheriting config won't
work, but better than nothing at all.
2010-10-24 21:06:27 +02:00
Christian Dywan 6cdc0261e9 Don't load cookie jar in app mode with config
Originally meant for app mode, this is wrong as default
behaviour since private mode would load all cookies.
2010-10-24 21:06:27 +02:00
Christian Dywan 6b77d140ea Toggle bookmark actions depending on if we have any
So app mode without bookmarks won't show menu items
for adding or managing bookmarks.
2010-10-24 21:06:27 +02:00
Christian Dywan bcde0df374 Remove 'locked' browser hack and rely on actions 2010-10-24 21:06:27 +02:00
Christian Dywan 1e12cb208b Ensure action menu items don't show all 2010-10-24 21:06:26 +02:00
Sergio Marques 22e24e97bd l10n: Updated Portuguese (pt) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-24 16:26:10 +02:00
Piotr Sokół a6dee052bb l10n: Updated Polish (pl) translation to 87%
New status: 585 messages complete with 37 fuzzies and 45 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-24 15:06:51 +02:00
Yarema aka Knedlyk 3597bfd3ca l10n: Updated Ukrainian (uk) translation to 100%
New status: 667 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-23 22:08:38 +02:00
Christian Dywan 23db2145ad Avoid build_config_filename in main() and simplify it 2010-10-23 00:31:11 +02:00
Christian Dywan ed0440cd9f Click Go icon in blank or speed dial to Paste and Proceed 2010-10-22 23:52:08 +02:00
Christian Dywan f6ad3b1c21 Set location tooltip according to security status 2010-10-22 23:44:36 +02:00
Christian Dywan c78c982613 Mention Ctrl+Tab in description of History List
Otherwise people don't understand how to use it.
2010-10-22 21:50:20 +02:00
Christian Dywan 031929e773 Use brackets in wscript to be python 3 compatible
It won't actually build, but it's a step towards that.
2010-10-22 21:41:18 +02:00
Christian Dywan 03f69c0b51 Make sure 'config' is the effective folder in main() 2010-10-22 21:36:25 +02:00
Christian Dywan a908d8a9f1 check-style should recommend use of g_slice 2010-10-21 21:09:01 +02:00
Christian Dywan 68c12e950e Slice allocations in addons, net, scrolled, transferbar 2010-10-21 21:09:01 +02:00
Paweł Forysiuk 45ebf4dcdb Don't regard about: URIs as external 2010-10-21 21:09:01 +02:00
Christian Dywan 9f30695ca3 sokoke_external_uri should return FALSE for non-URIs
In particular search key words.
2010-10-21 21:09:01 +02:00
Christian Dywan 936758afdc Add translation comments to 'History' and 'Form History' 2010-10-21 21:09:00 +02:00
Masato Hashimoto 01d5b09190 l10n: Updated Japanese (ja) translation to 100%
New status: 665 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-21 11:02:08 +02:00
Christian Dywan 63210d28a1 check-style should warn about g_list_nth in loops 2010-10-20 23:53:02 +02:00
Christian Dywan b25f27cd66 Add static keywords, fix #ifdefs and spurious lines 2010-10-20 23:48:36 +02:00
Paweł Forysiuk 30f3dc0461 Clean up redundant item lists from addons helpers 2010-10-20 23:47:14 +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
Sérgio Cipolla 6bc27b9cd5 Update Brazilian Portuguese translation 2010-10-19 23:18:10 +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 558bf01898 Don't advertise handling of generic XML MIME types
While Midori can open XML files any text editor that
highlights is more capable at that.
2010-10-20 01:24:43 +02:00
Christian Dywan 27d6980746 Refactor accel and search engine loading for app mode
So app mode with a config folder uses the same code paths
as normal browsing.

This means accelerators and search engines are available
in Private Browsing now.
2010-10-20 01:24:43 +02:00
Leandro Regueiro b2a13c96d0 l10n: Updated Galician (gl) translation to 99%
New status: 664 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-19 19:26:01 +02:00
Leandro Regueiro ae1932ea9e l10n: Updated Galician (gl) translation to 99%
New status: 647 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-19 19:20:28 +02:00
Ričardas Vasiulis f267b575d4 l10n: Updated Lithuanian (lt) translation to 15%
New status: 104 messages complete with 0 fuzzies and 561 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-19 06:23:22 +02:00
Ričardas Vasiulis 7eb0e43302 l10n: Updated Lithuanian (lt) translation to None%
New status: 0 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-19 06:09:20 +02:00
Christian Dywan 42299f7fe3 Use accessor for widget style 2010-10-19 00:53:01 +02:00
Christian Dywan fc166214b0 Use accessors for statusbar message area 2010-10-19 00:53:01 +02:00
Christian Dywan 32988e55af Use accessors for window and allocation of a widget 2010-10-19 00:53:01 +02:00
Christian Dywan f079d9c48a Use accessor for dialogue content area 2010-10-19 00:53:01 +02:00
Christian Dywan 80d494ca91 Upgrade waf to 1.5.19
The new waf notably addresses threading issues.
2010-10-19 00:53:01 +02:00
Christian Dywan 5082f60093 Make non-progressive build work again 2010-10-19 00:53:01 +02:00
Christian Dywan 66303e6c95 --docdir should take not add 'midori' folder if given
So it is possible to pass either /usr/share/docdir or
/usr/share/doc/midori-0.2.9 as appropriate.
2010-10-19 00:53:00 +02:00
Sergio Marques 068ff32a72 l10n: Updated Portuguese (pt) translation to 100%
New status: 665 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-18 15:04:10 +02:00
Xavier Devlamynck 6e2463d126 l10n: Updated French (fr) translation to 100%
New status: 665 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-18 09:26:53 +02:00
David Štancl 8ec827eb89 l10n: Updated Czech (cs) translation to 100%
New status: 665 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-18 08:38:46 +02:00
Christian Dywan 2bc7fbac24 Make 'Clear' the default button for Clear Private Data 2010-10-17 23:13:54 +02:00
Christian Dywan ce64fd3e25 Add item to clear Form History database 2010-10-17 23:11:50 +02:00
Christian Dywan 6480329bbf Add item to clear HTML5 databases 2010-10-17 22:52:11 +02:00
Christian Dywan d73b471ec4 Implement sokoke_register_privacy_item facility
The new function allows registering callbacks which clear data,
with a name and label so they show up in the Clear Private Data
dialogue and the chosen items are saved.

The old enumeration still keeps history, trash and the flag
whether to clear when Midori quits.
2010-10-17 22:48:32 +02:00
David Štancl 384e2f5afd l10n: Updated Czech (cs) translation to 100%
New status: 661 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-15 09:00:17 +02:00
Christian Dywan d3b278231f Implement internal Open With fallback dialogue 2010-10-14 22:36:32 +02:00
Christian Dywan 52d7a43e28 Don't use "path" setting in web cache to create the folder 2010-10-14 22:20:21 +02:00
Christian Dywan fb3fb594a9 Eliminate 'send' flag from midori_app_send_notification
The declaration is misplaced and the logic actually makes
no sense.
2010-10-14 21:14:28 +02:00
Christian Dywan ca2582c5e3 Don't declare command in callback as UniqueCommand
Since we're using a custom command it is in fact not part of
the enumeration and thus some compilers complain.
2010-10-14 21:11:01 +02:00
Christian Dywan 5d7bbe6eb1 Plug leak of icon path when loading icons 2010-10-14 21:07:55 +02:00
Christian Dywan 18946b10b2 Use cairo to draw static throbber and avoid unused code paths 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 8302cfe004 Don't leak URI in midori_browser_get_uri_extension 2010-10-14 21:07:55 +02:00
Christian Dywan 72be5942f7 Don't leak strings when adding speed dial shortcut 2010-10-14 21:07:55 +02:00
Masato Hashimoto 0c48667704 l10n: Updated Japanese (ja) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-14 15:07:23 +02:00
David Štancl cdb108ffa3 l10n: Updated Czech (cs) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-14 08:23:27 +02:00
Christian Dywan b5430eeead Always enable HTML5 databases with WebKitGTK+ >= 1.1.14
The infobar will be shown when databases are saved, and it will
be added to the private data dialogue.
2010-10-14 01:42:36 +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 2dbce1e327 Implement --help-execute to list available commands 2010-10-14 01:36:42 +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
Christian Dywan 80ff8ac0f0 Add midori_browser_set_action_visible method 2010-10-13 23:22:54 +02:00
Christian Dywan f3c519d715 Always add None and Custom to application property proxies 2010-10-13 23:13:02 +02:00
Christian Dywan 324d3c3d6a Use truncated journal mode for history database
This instructs sqlite to preserve the journal file, which
can improve performance and allows it to be a symbolic link.
2010-10-12 23:09:12 +02:00
Christian Dywan 6331573a2c Allow passing NULL path to sokoke_hostname_from_uri 2010-10-13 03:23:09 +02:00
Christian Dywan 48c2681115 Advertise handling of http and https schemes
See http://lists.freedesktop.org/archives/xdg/2010-October/011628.html
2010-10-13 03:23:09 +02:00
Christian Dywan 717bc948b0 Remove MidoriView::net property completely 2010-10-13 03:23:09 +02:00
Yarema aka Knedlyk 38fa5551ab l10n: Updated Ukrainian (uk) translation to 100%
New status: 658 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-12 22:28:02 +02:00
Christian Dywan ab414bc251 Remove web cache path and size settings 2010-10-12 00:25:49 +02:00
Christian Dywan eb0848e42b Present an infobar when a website asks for location
Based on a patch by Arno Renevier <arno@renevier.net>
2010-10-12 00:25:49 +02:00
Evaggelos Balaskas 010b35eb50 l10n: Updated Greek (el) translation to 100%
New status: 654 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-11 19:02:35 +02:00
Sérgio Cipolla da3255888d Update Brazilian Portuguese translation 2010-10-10 22:45:35 +02:00
Christian Dywan 9d8c819521 Always prefill language entries with default values 2010-10-10 22:41:15 +02:00
Christian Dywan 4d2968a0cc Intern property proxy hint strings statically 2010-10-10 22:40:26 +02:00
Christian Dywan 31dabca224 Shell quote URI passed to sokoke_spawn_program 2010-10-10 13:39:38 +02:00
Christian Dywan e74f89f8c2 Remove 'filename' argument from sokoke_spawn_program 2010-10-10 13:27:06 +02:00
Christian Dywan 120c5bf40f Move app spawning to sokoke_spawn_app and use in MidoriView 2010-10-10 13:02:50 +02:00
Paweł Forysiuk 0344792c2f Don't try to translate now inexistent midori-console.c file 2010-10-06 18:33:31 +02:00
Christian Dywan 8f4827a382 Use a power friendly second timeout for session saving 2010-10-06 18:32:03 +02:00
Christian Dywan 392fa7fc85 Revise cookie saving based on a timeout
The variable MIDORI_COOKIES_DEBUG can be used to print
the number of updated cookies when they're written.

The temporary cookie file is written in the same location
now as moving across filesystems may not work.

Saving when Midori is quit is enforced.
2010-10-06 18:32:03 +02:00
Sergio Marques cf18d418de l10n: Updated Portuguese (pt) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-06 12:28:29 +02:00
Christian Dywan 579108e4e6 Don't leak the inspector_view in showing and detaching 2010-10-05 21:43:34 +02:00
Christian Dywan a9406ab0ec Add base stock icons statically to save some memory 2010-10-05 21:43:34 +02:00
Christian Dywan 1e49e9f95c Don't use a custom stock icon for Cookie Manager
Due to the change of the stock icon names in GTK+ 2.22 the
stock item trick doesn't work anymore. Using the authentication
icon directly is good enough.
2010-10-05 21:43:34 +02:00
Christian Dywan 2cf3c2f5b0 Fix removal of tabs from Tab Panel treeview 2010-10-05 21:43:34 +02:00
Christian Dywan dec42c00a8 Remove the 'Open external pages in' from Preferences 2010-10-05 21:43:34 +02:00
Christian Dywan 343badcc58 Remove Console panel in favour of the Inspector 2010-10-05 21:43:33 +02:00
Christian Dywan 0b3cf4810f Add InspectPage action to dummies to make hotkey work 2010-10-05 21:43:33 +02:00
Sergio Marques 4a49016f8c l10n: Updated Portuguese (pt) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-05 03:35:06 +02:00
Christian Dywan 06b1d45870 Update German translation 2010-10-05 00:04:29 +02:00
Christian Dywan 41f96167d1 Remove unused variables in KatzeNet and simplify code 2010-10-05 00:04:29 +02:00
Christian Dywan 5a0fc37d2f Don't use the deprecated GTK_IN_DESTRUCTION flag
As a workaround, the browser now sets its own flag.
2010-10-05 00:04:28 +02:00
Christian Dywan d141086b24 Add a step to INSTALL to type 'run' in gdb. 2010-10-05 00:04:28 +02:00
Christian Dywan 20aa562de5 Remove scrollbar drawing from KatzeScrolled
The gdk_draw interfaces are deprecated, and since we don't use
custom scrollbars anyway, we might as well remove them.
2010-10-05 00:04:28 +02:00
Christian Dywan 80e1c4149c Don't use GtkNotebookPage* in callback signature 2010-10-05 00:04:28 +02:00
Christian Dywan cd783acee0 Don't use GTK_WIDGET_SET_FLAGS in browser and panel 2010-10-05 00:04:28 +02:00
David Štancl c539fab8ee l10n: Updated Czech (cs) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-04 08:32:22 +02:00
Yarema aka Knedlyk 5436ced5b7 l10n: Updated Ukrainian (uk) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-03 22:58:44 +02:00
Kim Boram e7ca5cecdc Update Korean translation 2010-10-03 20:46:34 +02:00
Sergio Cipolla 3e5a3e59ae Update Brazilian Portuguese translation 2010-10-03 20:43:47 +02:00
Masato Hashimoto 1669964892 l10n: Updated Japanese (ja) translation to 100%
New status: 659 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-03 08:27:32 +02:00
Christian Dywan b6247e3314 Shell quote argv[0] before spawning a process
The path to the executable may contain spaces.
2010-10-03 07:15:44 +02:00
Christian Dywan 9a0e2bffef Remove Remember last downloaded files preference
The preference was never actually implemented.
2010-10-03 07:15:44 +02:00
Christian Dywan bfa8709900 Add a small label to summarise what cookies store 2010-10-03 07:15:44 +02:00
Christian Dywan a37c1df18d Simplify cookie privacy preferences
Instead of choosing what cookies to accept, there is a tick box
if cookies should be deleted when quitting, or in other words
pretending all cookies are session cookies.

The choice of maximum age was replaced with a combo box.
2010-10-03 07:15:44 +02:00
Christian Dywan 28eb039ec0 Only update expiry of cookies if higher than maximum
Also assume 0 days to really mean 1 hour, and set the
maximum age accordingly. Otherwise SoupCookie thinks
that these cookies expire immediately.
2010-10-03 07:15:43 +02:00
Christian Dywan 3c7d4800bc Reset age to enforce session cookies, don't delete
It is more practical to keep long-lived cookies but treat them
as if they were session cookies.
2010-10-03 07:15:43 +02:00
Masato Hashimoto a70ceebd50 l10n: Updated Japanese (ja) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-10-02 16:49:38 +02:00
Christian Dywan bba6cb76ad Verify that the download location is writable 2010-10-01 01:12:12 +02:00
Christian Dywan 3bb34f9f9b Fallback to the name of an app info if there's no executable
Apparently on Windows command line and executable can be NULL,
but the name appears to be the executable name.
2010-09-30 23:51:46 +02:00
Christian Dywan 08691b7745 Cope with unset history in midori_location_action_toggle_arrow_cb
If history is unset, we don't have any items to populate the
combobox dropdown with. So we should always hide the button. Also
suppress the popup if we have no history.
2010-09-29 01:35:41 +02:00
gianluca foddis 1a404c50b1 l10n: Updated Italian (it) translation to 97%
New status: 636 messages complete with 9 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-27 18:10:32 +02:00
Enrico Tröger 769a1dce17 Define kalistglobal only once, declare it globally
This fixes building with gcc and the -fno-common option. The
option is now added to compiler flags in full debugging mode.
2010-09-25 16:57:18 +02:00
Mike Massonnet 430e754ae0 l10n: Updated French (fr) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-25 11:21:53 +02:00
Christian Dywan 4c90286e09 Make sure there are search engines before populating the menu 2010-09-24 23:35:01 +02:00
Christian Dywan eabf14a6ce Add g_return_val_if_fail to katze_array_peek_items 2010-09-24 23:29:23 +02:00
Oscar Rentzhog 74fa1fabd4 Update Swedish translation 2010-09-24 23:23:16 +02:00
Per Kongstad 94e2fffacc l10n: Updated Danish (da) translation to 99%
New status: 648 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-24 22:14:56 +02:00
Sergio Marques a4d9158f14 l10n: Updated Portuguese (pt) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-24 13:40:55 +02:00
Yarema aka Knedlyk 896622c0cb l10n: Updated Ukrainian (uk) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-23 17:16:58 +02:00
David Štancl b2511a2711 l10n: Updated Czech (cs) translation to 100%
New status: 650 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-23 08:46:37 +02:00
Christian Dywan e1ae60627e Don't treat « or » as sub page indicators 2010-09-22 23:56:30 +02:00
Christian Dywan 5b3deec628 Add midori-extension.c to translatable files 2010-09-22 23:23:39 +02:00
Kim Boram f29eec46e1 Update Korean translation 2010-09-21 00:25:37 +02:00
Christian Dywan 5bdf376487 Ensure link URI is updated before it is used
Apparently the URI obtained from hovering-over-link can be
mangled, so a # would be interpreted as a fragment identifier.
2010-09-21 00:08:10 +02:00
Christian Dywan 16ce2e9516 Write cookies to a temporary file first, to be safe
It may happen that we are running out of space in the middle
of writing the file, and fopen deleted it already.
2010-09-20 23:37:47 +02:00
Yves-Alexis Perez edcc4f09a7 New upstream release.
* debian/control:
  - add myself to uploaders.
2010-09-20 23:35:35 +02:00
Yves-Alexis Perez aeae2420c6 Merge branch 'upstream-unstable' 2010-09-20 08:39:35 +02:00
Christian Dywan 2c10312ce2 Bump version to 0.2.8 2010-09-19 23:22:41 +02:00
Christian Dywan d0635b4fb2 Update German translation 2010-09-19 23:02:24 +02:00
Christian Dywan 016b6a6306 Remove unused katze_collfold and katze_utf8_stristr 2010-09-18 01:48:55 +02:00
Christian Dywan d0e2433f86 Simplify definitions of katze assignment macros 2010-09-18 01:45:17 +02:00
Sergio Cipolla 304d99903a Update Brazilian Portuguese translation 2010-09-17 23:31:50 +02:00
Christian Dywan 648befe7ca Implement and use midori_view_new_with_uri
The function provides an optimised and quick way to creating
visible views with uri, title and settings. This is how virtually
all views are created.
2010-09-17 22:42:52 +02:00
Christian Dywan 5806cdb884 Return FALSE in _action_bookmarks_populate_folder if db is NULL 2010-09-17 22:42:52 +02:00
Christian Dywan b66902ef7a Make KatzeArrayAction::activate-item-alt fully autonomous
Implementing the signal and returning TRUE makes it unneeded
to implement activate-item as well now.
2010-09-17 22:42:52 +02:00
Xavier Devlamynck dd585da0b0 l10n: Updated French (fr) translation to 100%
New status: 649 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-15 14:34:03 +02:00
Christian Dywan d39148f230 Re-implement 'Bookmarks' menubar and toolbar button 2010-09-15 04:10:55 +02:00
Christian Dywan 34ddb8c2f0 Implement KatzeArrayAction::populate-folder
To go along with that, expose katze_array_action_generate_menu
as a public function to implement the signal.

In essence, this enables populating folders from other sources
than the original array, such as a database, while still
making use of the existing menu generation.
2010-09-15 04:10:55 +02:00
Christian Dywan b80b97b787 Require that the URI passed to katze_load_cached_icon be NULL 2010-09-15 04:10:54 +02:00
Denis Koryavov edf3f95c8b l10n: Updated Russian (ru) translation to 98%
New status: 636 messages complete with 8 fuzzies and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-14 11:24:09 +02:00
Ivica Kolić e2e5ae154b l10n: Updates to Croatian (hr) translation
New status: 518 messages complete with 0 fuzzies and 130 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-14 03:01:49 +02:00
Christian Dywan b7e88574c5 Remove the viewable scheme registration mechanism 2010-09-12 21:03:14 +02:00
Christian Dywan d34da1c500 Remove pointless FIXME and TODO comments from Midori classes 2010-09-12 20:23:39 +02:00
Christian Dywan db6e5954e8 Show statusbar on new transfars if transferbar is visible 2010-09-12 20:14:48 +02:00
Christian Dywan 195c5191ef Showing the (feed) panel needs to be a GtkWidget* 2010-09-12 00:59:24 +02:00
Christian Dywan b07fe09de8 Initialize extension to NULL in midori_load_extensions 2010-09-12 00:59:24 +02:00
Christian Dywan 40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan db2c204b08 Update French translation 2010-09-12 00:59:24 +02:00
Oscar Rentzhog 793d5e6edf Update Swedish translation 2010-09-12 00:59:23 +02:00
Leandro Regueiro 0536826d54 l10n: Updated Galician (gl) translation to 99%
New status: 647 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-09 14:05:23 +02:00
Ričardas Vasiulis 9228246b32 l10n: Lithuanian translation
New status: 47 messages complete with 0 fuzzies and 593 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-08 19:42:31 +02:00
Christian Dywan 7ac801799f Remove katze_net_new and katze_net_get_session 2010-09-07 22:39:51 +02:00
Christian Dywan 1b80f16bf4 Remove browser-count, midori_panel_set_compact, console toolbar 2010-09-07 22:24:11 +02:00
Christian Dywan 38d75adc28 Search inline with at least 2, not 3 characters 2010-09-07 21:39:52 +02:00
Christian Dywan d8b4eaa566 Do smart case for inline search while typing 2010-09-07 21:30:45 +02:00
Benjamin Maisonnas 1856912fd1 Update French translation 2010-09-06 23:04:13 +02:00
Christian Dywan c4d0f3e730 Update German translation 2010-09-06 03:03:07 +02:00
Christian Dywan 802c1eb462 Always allocate and free formatted dates in history panel 2010-09-06 03:03:07 +02:00
Christian Dywan be1a66349f The background colour is not used in completion text rendering 2010-09-06 03:03:07 +02:00
Christian Dywan 0cc46d6285 Don't leak the filename in katze_load_cached_icon 2010-09-06 03:03:07 +02:00
Yarema aka Knedlyk 879938393f l10n: Updated Ukrainian (uk) translation to 100%
New status: 648 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-05 22:44:20 +02:00
David Štancl 5a42b37797 l10n: Updated Czech (cs) translation to 100%
New status: 648 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-05 16:10:25 +02:00
Christian Dywan 65931c3f91 Use Ctrl+Shift modifiers for Bookmarks, History and Transfers
For one, previously modifiers were missing on History and Transfers.

Further more, Ctrl+B conflicts with Bold in rich text fields, and
for consistency, panels should have the same modfiers.
2010-09-04 23:42:53 +02:00
Christian Dywan 28bdabd928 Hide statusbar in app mode by default 2010-09-03 00:32:48 +02:00
Christian Dywan 91328aef2e Use Alt+Shift+Left/ Right for Previous and Next actions
Control+Left/ Right conflicts with text cursor movement.
2010-09-03 00:21:03 +02:00
Sergio Marques ea319f531b l10n: Updated Portuguese (pt) translation to 100%
New status: 648 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-03 00:09:44 +02:00
Per Kongstad de91b26ba0 l10n: Updated Danish (da) translation to 99%
New status: 646 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-02 23:12:26 +02:00
Per Kongstad e6b577df47 l10n: Updated Danish (da) translation to 99%
New status: 646 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-02 23:11:14 +02:00
Christian Dywan 3b4ae37664 Always free uri of the web view after applying addons 2010-09-01 23:56:03 +02:00
Christian Dywan c808e9ce43 Enable copy menu item in transfer context menu 2010-09-01 23:14:37 +02:00
Paweł Forysiuk f7a6011d1b Provide a context menu for scripts and styles 2010-09-01 22:39:09 +02:00
Paweł Forysiuk 8448eabd26 Add button to open folder of scripts/ styles 2010-09-01 22:28:32 +02:00
Paweł Forysiuk 65338e5ab0 Remove button labels and separator from addon toolbar 2010-09-01 22:08:21 +02:00
Natanael Copa 7820e209f8 Only use git describe as version string if .git dir exists
We don't want to pick up the git version string on distros
which have build scripts in git.
2010-09-01 20:47:01 +02:00
Leandro Regueiro e25516a58b l10n: Updated Galician (gl) translation to 99%
New status: 642 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-01 13:12:34 +02:00
Leandro Regueiro 24c4185a4c l10n: Updated Galician (gl) translation to 99%
New status: 640 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-01 13:11:47 +02:00
Leandro Regueiro 5a2c0193a2 l10n: Updated Galician (gl) translation to 99%
New status: 639 messages complete with 1 fuzzy and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-01 13:10:14 +02:00
Leandro Regueiro f5e1a383ef l10n: Updated Galician (gl) translation to 98%
New status: 635 messages complete with 5 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-09-01 13:09:08 +02:00
Javier Sánchez Reinosa 60d8bca6e0 l10n: Updated Spanish (Castilian) (es) translation to 96%
New status: 623 messages complete with 20 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-31 19:22:19 +02:00
Carles Muñoz Gorriz e627bca564 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 643 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-31 16:52:27 +02:00
Per Kongstad 661852e573 l10n: Updated Danish (da) translation to 99%
New status: 641 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-30 12:29:40 +02:00
Sergio Marques 03ac06565f l10n: Updated Portuguese (pt) translation to 100%
New status: 643 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-30 01:56:11 +02:00
Paweł Forysiuk d7b68b9d94 Add button to open addon in text editor 2010-08-30 00:59:57 +02:00
Paweł Forysiuk ce56f60ccd Show addon filename and/ or description in tooltip 2010-08-29 23:49:38 +02:00
Paweł Forysiuk 1640aedd44 Make addons delete confirmation dialog more readable 2010-08-29 23:49:38 +02:00
Sergio Marques 20125dfc51 l10n: Updated Portuguese (pt) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-29 18:51:43 +02:00
Masato Hashimoto b9b11286df l10n: Updated Japanese (ja) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-29 13:46:23 +02:00
Johannes Lips ff5f875f0e l10n: Updated German (de) translation to 98%
New status: 628 messages complete with 8 fuzzies and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-29 07:54:55 +02:00
David Štancl e6a739e639 l10n: Updated Czech (cs) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-28 23:02:22 +02:00
Andres Kovtunos bc2293df74 l10n: Updated Russian (ru) translation to 96%
New status: 618 messages complete with 18 fuzzies and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-28 22:37:27 +02:00
Per Kongstad f57458a63f l10n: Updated Danish (da) translation to 99%
New status: 638 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-28 12:29:28 +02:00
Paweł Forysiuk dc90ad18e9 Provide gui dialog for adding addons to user directories 2010-08-28 02:14:29 +02:00
Paweł Forysiuk eee7cbcff9 Add button for deleting user addons 2010-08-28 01:59:54 +02:00
Paweł Forysiuk 49d249e6e1 Show full path to addon in tooltips 2010-08-28 01:46:17 +02:00
Christian Dywan 7d3fa2a478 Move WebKitGTK+ 1.1.6 guards to disable delayed pages 2010-08-28 01:43:44 +02:00
Per Kongstad a079235183 l10n: Updated Danish (da) translation to 99%
New status: 638 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-25 20:25:32 +02:00
Alexander Butenko 672b7ab70a Protect proxy combo box notifications against recursion
This can happen when switching between custom and other elements.
2010-08-24 23:50:47 +02:00
David Štancl a888a802ec l10n: Updated Czech (cs) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-24 09:39:10 +02:00
Christian Dywan 7d049555a5 Explicitly reset 'delay' status when reloading or changing location 2010-08-23 20:08:43 +02:00
Christian Dywan 5a86115a9a Rename 'Minimize Tabs' to 'Show Tab Icon Only' 2010-08-23 19:38:11 +02:00
Christian Dywan 99a9cfc34c Show the Feed Panel after adding a new news feed 2010-08-23 19:38:11 +02:00
Christian Dywan 233ff2602d Switch to Tab Panel after activating it for the first time 2010-08-23 19:38:11 +02:00
Dmitrij Smirnov 50af9f272e l10n: Updated Russian (ru) translation to 98%
New status: 633 messages complete with 9 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-22 19:30:19 +02:00
Dmitrij Smirnov 6ffff501a9 l10n: Updated Russian (ru) translation to None%
New status: 0 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-22 15:16:33 +02:00
Christian Dywan 10fab99090 Delete history from completion with Delete key 2010-08-22 03:53:47 +02:00
Christian Dywan f8e5e8f7e0 Don't hide homepage smartly, don't show it in bookmarkbar 2010-08-22 03:39:11 +02:00
Christian Dywan 0de4e9fa08 Skip NULL key, which is the case when using the combo arrow 2010-08-22 03:25:03 +02:00
Paweł Forysiuk ac1ba277e4 Clean up redundant user addons item list copies in helper functions 2010-08-22 03:08:46 +02:00
Paweł Forysiuk 8bea9b586d Fix mistype in addons monitoring to enable watching userscript dirs 2010-08-22 03:07:39 +02:00
Kim Boram cf880abf0c Update Korean translation 2010-08-22 03:04:48 +02:00
gianluca foddis c65ca763fb l10n: Updated Italian (it) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-08-20 17:02:21 +02:00
Yves-Alexis Perez 9c8fb0c5e3 remove files gone in midori 0.2.7
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2010-08-17 23:04:12 +02:00
Yves-Alexis Perez ae2ff0472a upload to DELAYED/2
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2010-08-17 22:55:33 +02:00
Yves-Alexis Perez bd81b2ab42 make lintian happy
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2010-08-17 21:59:19 +02:00
Yves-Alexis Perez 63e4892274 remove debian-changes patch which shouldn't be in repository
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2010-08-17 21:47:25 +02:00
Yves-Alexis Perez 2baae7a31e update standards version to 3.9.1 2010-08-17 08:45:04 +02:00
Yves-Alexis Perez 3d8e093bfe * Non maintainer upload.
* debian/control:
  - add build-dep on valac to build certain extensions.
2010-08-17 08:44:35 +02:00
Yves-Alexis Perez 88cfcfb08e * New 2.7 upstream release.
* debian/watch edited to correctly track upstream versions.
* debian/rules:
  - use --fail-missing in dh_install
2010-08-17 08:19:45 +02:00
Yves-Alexis Perez a72caddd02 import upstream version 2.7
Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
2010-08-17 08:19:18 +02:00
Christian Dywan 025334fb8f Bump version to 0.2.7 2010-08-16 21:31:14 +02:00
Christian Dywan b563479014 Simplify update_interface and avoid extra updates 2010-08-16 21:01:02 +02:00
Peter de Ridder 9a78cc6f6e Support space and percent as wild cards in location completion
Internally the typed key is treated as if spaces are wildcards,
so 'hello world' would be 'hello%world'.

The text renderer splits the typed text by ' ' and '%', so
multiple words are highlighted.
2010-08-16 00:05:35 +02:00
Christian Dywan bae41b45a8 Make 'Inspect Element' always show the inspector
Without scripts enabled, this doesn't happen implicitly.
2010-08-14 21:12:02 +02:00
Christian Dywan 9c84a2c407 Use midori_browser_open_bookmark for the bookmarkbar 2010-08-14 20:58:38 +02:00
Christian Dywan a7452bd0b5 Use KatzeArray* to remove and monitor deleted bookmarks
The panel and the bookmarkbar need to monitor the removal of
bookmarks, and there can be multiple windows, so the database
should only be used to remove in one central place.
2010-08-10 23:46:49 +02:00
Christian Dywan 71549af089 Disconnect insertion when MidoriHistory finalizes 2010-08-10 22:58:11 +02:00
Christian Dywan 8015f39fe6 Don't bother with unused config filenames in main 2010-08-10 22:41:19 +02:00
Christian Dywan aac70d52b5 Strip whitespace and line breaks off git version string 2010-08-07 15:46:33 +02:00
Christian Dywan 0870196942 Show tooltip text on tab icon, not only the label 2010-08-07 15:30:56 +02:00
Peter de Ridder 05065e521d Decrement n after clearing individual transfer items 2010-08-07 15:20:09 +02:00
Christian Dywan 13ffa17f2b Correctly load settings and cookies with --config in app mode 2010-08-07 15:14:58 +02:00
Christian Dywan 2d1d19de23 Remove freeze, thaw and set_uri from MidoriLocationAction 2010-07-31 13:59:48 +02:00
Christian Dywan 34d7a8033b Use KatzeArray* to signal new items to MidoriHistory 2010-07-31 01:42:14 +02:00
Christian Dywan 60eca91b74 Do NULL-safe address comparison when loading the session 2010-07-31 01:29:57 +02:00
Christian Dywan 5b640c7f46 Store address of bookmarks for tooltip as a string in the model 2010-07-31 01:21:50 +02:00
Christian Dywan 1550c9d9f2 Don't' declare 'unescaped' twice in sokoke_format_uri_for_display 2010-07-30 22:09:03 +02:00
Christian Dywan 6b54f9e8b5 Remove the obsolete MidoriPanel::menu property 2010-07-30 22:09:02 +02:00
Christian Dywan a724d883b1 Synchronize browser and panel toolbar style 2010-07-30 22:09:02 +02:00
Christian Dywan 2350fc0834 Disconnect settings and bookmarkbar when disposing 2010-07-30 22:09:02 +02:00
Gheyret Kenji 1dac2e6d9f l10n: Updated Uyghur (ug) translation to 97%
New status: 615 messages complete with 0 fuzzies and 14 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-29 06:59:50 +02:00
Evaggelos Balaskas 51196b05f1 l10n: Updated Greek (el) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-27 19:58:35 +02:00
Alexander Butenko e2ac49a76d Dont store about:* pages in history, Reset history step counter 2010-07-24 13:53:57 +02:00
Alexander Butenko fd48f850a3 Emmit uri signals after after item uri is set 2010-07-24 13:53:12 +02:00
Alexander Butenko 9e3e3fc491 Update bookmark for export from sqlite database 2010-07-23 22:04:43 +02:00
Alexander Butenko 5e250cc70d Store 'description' property of a bookmark 2010-07-23 22:04:20 +02:00
Alexander Butenko 1339dc671b Dont add items with empty uris into history 2010-07-23 21:57:40 +02:00
Alexander Butenko d78efc0863 Duplicate day name for history panel folder names 2010-07-23 21:49:16 +02:00
Alexander Butenko f8bf87ecf9 Dont unescape URIs which are not escaped
sokoke_uri_unescape_string handles that and handles '+'
the way we want.
2010-07-23 21:38:07 +02:00
Alexander Butenko a770a1b488 Uri property is mandatory for history operations 2010-07-23 21:19:56 +02:00
Alexander Butenko 7086111024 Avoid double unescaping on locationbar updates 2010-07-23 21:19:42 +02:00
Alexander Butenko f7cd519b7f Unescape spaces as well 2010-07-23 21:19:22 +02:00
Alexander Butenko 46c80ad2d1 Create MidoriView proxy item during initialization 2010-07-23 21:16:46 +02:00
Harald Servat 87ac721127 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 640 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-22 12:43:40 +02:00
Alexander Butenko 74278e6449 Properly create proxy item and cleanup history agregation 2010-07-22 00:21:03 +02:00
Alexander Butenko 3aa48c34b5 Stop listening to notify::uri signal. load-status is enough 2010-07-22 00:09:54 +02:00
Alexander Butenko 44a2351b72 Decode URIs before updating the locationbar 2010-07-21 23:39:34 +02:00
Alexander Butenko 46b63639f6 Refactor history panel to match bookmark code.
The toolbar buttons are also taken care of.

The broken clock time warning was removed since it would be
awkward to have with the date formatting where there is not
even a widget available. Should be re-considered.
2010-07-21 23:31:45 +02:00
Alexander Butenko 58f3444ba1 Rework history panel search query 2010-07-21 23:22:52 +02:00
Alexander Butenko ca9010acd5 Show decoded urls in the locationbar 2010-07-21 23:19:29 +02:00
Alexander Butenko cac6571371 Escape space in search pattern to match the history URL format 2010-07-21 23:16:51 +02:00
Alexander Butenko 64fb6e8ee8 Fix typos and simplify SQL query for locationbar 2010-07-21 23:08:09 +02:00
Alexander Butenko 5859bbe2ab Fix edit bookmark behavior 2010-07-21 23:01:13 +02:00
Per Kongstad f77eaf6d9b l10n: Updated Danish (da) translation to 99%
New status: 640 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-20 20:51:14 +02:00
Alexander Butenko 9763a1225f Verify that we have "folder" meta value in bookmark edit dialog 2010-07-19 21:42:15 +02:00
Christian Dywan f764f25747 Implement activate-item(-alt) for bookmarkbar mouse buttons 2010-07-19 21:39:57 +02:00
Alexander Butenko 9a098e2656 Attach bookmark table and union bookmarks in location completion 2010-07-19 21:07:26 +02:00
Alexander Butenko 687de063f9 Clear the bookmarkbar before populating and populate after editing 2010-07-19 20:55:59 +02:00
Christian Dywan b944ce0c83 Require bookmarks and folders to have a title 2010-07-19 20:47:33 +02:00
Christian Dywan 7dffde361c Append new bookmarks to the end of the store, with G_MAXINT 2010-07-19 20:42:56 +02:00
Christian Dywan 94fbf158f6 Remove conditional guards for sqlite 2010-07-17 21:31:29 +02:00
Christian Dywan 57683d45b1 Use no border (shadow) on views by default 2010-07-16 21:23:11 +02:00
Christian Dywan 3bfb452e69 Don't save configuration on every location change 2010-07-16 21:13:11 +02:00
Dale Whittaker 0fcc460312 Handle news feeds with empty date and update them correctly 2010-07-15 00:06:15 +02:00
Christian Dywan b5a4023a7d Use 'git describe' to generate the git version string 2010-07-15 00:06:15 +02:00
David Štancl 1b933a5da6 l10n: Updated Czech (cs) translation to 100%
New status: 642 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-13 16:39:22 +02:00
Sergio Marques 7fbc8b2f88 l10n: Updated Portuguese (pt) translation to 100%
New status: 642 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-13 15:11:43 +02:00
Christian Dywan f6be9c4972 Read 'config' in app mode, if -c switch was specfified 2010-07-11 23:54:52 +02:00
Christian Dywan 5a082100c8 Use sqlite3_mprintf to quote when inserting bookmark items 2010-07-11 23:49:13 +02:00
Paweł Forysiuk df1f754a56 Fix speed dial regex causing dials other than 1-9 to be ignored when adding 2010-07-11 23:40:52 +02:00
Yarema aka Knedlyk 68c866325b l10n: Updated Ukrainian (uk) translation to 100%
New status: 642 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-11 21:10:44 +02:00
Masato Hashimoto 74df2a583c l10n: Updated Japanese (ja) translation to 100%
New status: 642 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-10 11:30:22 +02:00
Christian Dywan e794fe798a Implement minimize, duplicate and close other as actions
This allows keyboard shortcuts to be assigned to these operations.
2010-07-08 23:08:18 +02:00
Christian Dywan 880587a055 Provide a fallback definition of gtk_menu_item_set_label 2010-07-08 22:41:42 +02:00
Christian Dywan cfd00f7fe4 Don't hide panel if individual panel was already active
What might look like a little convenience for keyboard usage
is very awkward when using buttons or menu items.
2010-07-08 22:28:02 +02:00
Samuel Creshal 922a94fc98 Delete search history when clearing history 2010-07-08 22:15:13 +02:00
Per Kongstad b4a21723fc l10n: Updated Danish (da) translation to 99%
New status: 632 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-06 19:40:51 +02:00
Christian Dywan ec2d1e21c9 Fallback to the old parent when inserting bookmarks 2010-07-05 23:14:49 +02:00
Christian Dywan c94e12e41c Use a 200ms delay for location completion like elsewhere 2010-07-05 23:38:34 +02:00
Yarema aka Knedlyk f92ce0b790 l10n: Updated Ukrainian (uk) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-05 12:03:34 +02:00
Evaggelos Balaskas 30819851dd l10n: Updated Greek (el) translation to 100%
New status: 634 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-05 09:34:54 +02:00
Alexander Butenko 62930be082 Introduce midori_browser_set_current_page_smartly() as public API 2010-07-05 00:14:06 +02:00
Christian Dywan e70bc2cb75 Don't try to release references to dummy separator rows 2010-07-05 00:00:26 +02:00
Alexander Butenko 76ea968e20 Drop callbacks for cursor-changed and columns-changed
We don't have special separators any more, so there is no items
that can't be deleted.
2010-07-04 23:47:39 +02:00
Alexander Butenko 7f4c4ad287 Match appearence of history and bookmark search 2010-07-04 23:40:44 +02:00
Alexander Butenko 8c784e7486 Implement search in the bookmark panel 2010-07-04 23:33:20 +02:00
Christian Dywan d6d1cd21a9 Remove settings Original Cookies, Last visited pages, Autodetect proxy 2010-07-04 23:10:44 +02:00
Christian Dywan fefd9fd850 Remove "RecentlyVisited" action from the menubar 2010-07-04 22:54:27 +02:00
Christian Dywan 9ed9cebe92 Add 'Panel' menu item to compact menu button 2010-07-04 22:43:29 +02:00
Christian Dywan aaa831d0c3 Update German translation 2010-07-04 22:43:28 +02:00
Dmitrij Smirnov 809a94c34b l10n: Updated Russian (ru) translation to 98%
New status: 633 messages complete with 9 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-04 21:00:36 +02:00
David Štancl 3728accefc l10n: Updated Czech (cs) translation to 100%
New status: 642 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-04 19:29:24 +02:00
Masato Hashimoto 9d587ff3a2 l10n: Updated Japanese (ja) translation to 100%
New status: 642 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-04 15:46:56 +02:00
Christian Dywan bba875c634 Remove "Bookmarks" action from the menubar 2010-07-04 11:14:30 +02:00
Christian Dywan c3e145f540 Localize Vala extensions and mark strings for translation
The -include switch is passed to the compiler to work around
Vala failing to include gi18n.h first. This works for
clang and gcc at least.
2010-07-04 10:53:21 +02:00
Christian Dywan 9aebc6d374 Adjust guards in transferbar for WebKitGTK+ < 1.1.3 2010-07-04 10:28:54 +02:00
Christian Dywan 67f4f7d977 Require Vala unless --disable-vala is passed 2010-07-03 23:30:21 +02:00
Christian Dywan 78cfcb64d9 Force items dragged onto non-folders to the toplevel 2010-07-03 23:05:09 +02:00
Alexander Butenko 2caaed659c Remove last bits of 'type' field usage 2010-07-03 22:33:45 +02:00
Alexander Butenko 9230c299e9 Fix for Open all in tabs for directories in history bar 2010-07-03 22:33:45 +02:00
Alexander Butenko b170dd688a Delete bookmarks from the folder they reside in 2010-07-03 22:33:45 +02:00
Alexander Butenko 067eb6c3ec Display correct folder name in bookmark edit dialog 2010-07-03 22:33:45 +02:00
Alexander Butenko 659b7c351e Add 'folder' property to bookmarks 2010-07-03 22:33:45 +02:00
Alexander Butenko dbcc8e2054 Do removal from bookmarkbar via the database 2010-07-03 22:33:44 +02:00
Alexander Butenko 1e8e6f4652 Fix handling of 'app' property on bookmark open 2010-07-02 23:34:33 +02:00
Alexander Butenko ad5066a43f Remove ghosts after bookmark edit. Merge edit/ delete callbacks 2010-07-02 23:32:06 +02:00
Alexander Butenko 4e0c1396a0 Allow to expand/ collapse folder by double click 2010-07-02 23:17:05 +02:00
Alexander Butenko 8306424277 Remove separator when expanding bookmark folders 2010-07-02 23:11:03 +02:00
Christian Dywan 93b0b9029b Check absent 'version' in toplevel 'xbel' element
Albeit required, in pracise the 'version' value may be missing.
2010-07-02 23:06:10 +02:00
Alexander Butenko 8c6a8abe5f Revamp bookmark import with sqlite 2010-07-02 23:05:27 +02:00
Harald Servat e1fbfb6bde l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 635 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-02 18:30:25 +02:00
Alexander Butenko f907128904 Drop bookmark type field and save meta boolean properly 2010-07-01 23:37:14 +02:00
Christian Dywan 73376c0ea1 Remove the old tab switcher extension from POTFILES.in 2010-07-01 23:37:14 +02:00
Alexander Butenko 60593b27d1 Skip bookmark URIS starting with '('
Due to a bug in the sqlite handling we were happily adding
folders with '(null') and it happened to work until now.
2010-07-01 23:37:14 +02:00
Alexander Butenko 6fb35107a0 Fix for folders in bookmarksbar 2010-07-01 23:37:14 +02:00
Alexander Butenko 3c4896f94f Start using new sqlite helper functions 2010-07-01 23:37:14 +02:00
Alexander Butenko bd97f069d4 Introduce katze_array_from_sqlite () and katze_array_from_statement () 2010-07-01 23:37:13 +02:00
Alexander Butenko a49f1f7814 Introduce katze_bookmark_populate_tree_view() and rename ITEM_IS* macros 2010-07-01 23:37:13 +02:00
Per Kongstad 32299da6c1 l10n: Updated Danish (da) translation to 99%
New status: 635 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-07-01 21:56:16 +02:00
Christian Dywan 4f9615167e Make sqlite3 a mandatory dependency 2010-07-01 20:58:20 +02:00
Alexander Butenko 94b6cf4e17 Fix display of the bookmark properties in the add dialog 2010-07-01 20:46:55 +02:00
Christian Dywan 6822969aac Introduce katze_item_get_meta_boolean convenience 2010-07-01 20:42:42 +02:00
Alexander Butenko fb634e19b9 Fix popup menu on folders in history 2010-07-01 20:32:34 +02:00
Alexander Butenko 090a16f664 Fix bookmark folder properties dialog 2010-07-01 20:32:23 +02:00
Alexander Butenko 791c38ae3e Fix open directory in tabs in bookmarks sidebar 2010-07-01 20:21:33 +02:00
Christian Dywan 62f5a1c974 Introduce ITEM_IS_BOOKMARK|FOLDER|SEPARATOR in bookmark panel
The implicit logic for differentiating items is not easy to
read, so we introduce macros for that.
2010-07-01 00:13:18 +02:00
Christian Dywan b0191b69b0 Check if extension_init returns NULL and handle it
In the case where an extension ends up existing multiple
times, it will fail to create an instance. We would
rather see it in the list than crash.
2010-06-30 23:09:21 +02:00
Alexander Butenko a04bf24b5e Properly disconnect add-tab on destruction in adblock 2010-06-30 22:41:32 +02:00
André Stösel 07053d49a0 Re-implement History List extension in Vala 2010-06-30 22:27:52 +02:00
Christian Dywan 28aa06366c Declare URI accessors in Midori.View as unowned
Wrongly declared, Vala will think it needs to free the strings.
2010-06-30 22:26:52 +02:00
Christian Dywan 01f568b8ab 'Use current' should set 'about:blank' for a blank page 2010-06-30 21:21:06 +02:00
Peter de Ridder d1694c6d5f Put number in front of download filename extension 2010-06-30 21:15:11 +02:00
Alexander Butenko e7e2181858 Escape special chars in formhistory array keys 2010-06-30 21:09:55 +02:00
Alexander Butenko f759fe921a Improve duplicate skipping logic in form history extension 2010-06-30 21:09:55 +02:00
Alexander Butenko 3d972f11e4 Skip '+' sign in adblock rules 2010-06-30 21:09:55 +02:00
Alexander Butenko 0d5a18b69c Skip values from the inputboxes with disabled autocompletion 2010-06-30 21:09:55 +02:00
Alexander Butenko 896cc75f57 Don't inject autosuggest bits where we dont need it 2010-06-30 21:09:55 +02:00
Masato Hashimoto d6addb595b l10n: Updated Japanese (ja) translation to 100%
New status: 637 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-30 15:25:47 +02:00
Christian Dywan f2e4a93c72 Dynamically create homepage button from action 2010-06-29 08:15:52 +02:00
Christian Dywan 3336938418 Always toggle source mode except for source code views 2010-06-29 07:36:45 +02:00
Jérôme Guelfucci 7821d61b5c Don't always show the "Pending downloads" dialog.
If all donwloads are finished, cancelled or errored, the dialog should
not be shown.
2010-06-29 07:20:26 +02:00
Christian Dywan 7e015f88a9 Always install the scalable icons 2010-06-29 07:09:39 +02:00
Xu Meihong 2f09df75b0 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 637 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-29 06:06:34 +02:00
Yarema aka Knedlyk bf589d7001 l10n: Updated Ukrainian (uk) translation to 100%
New status: 637 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-29 01:09:38 +02:00
Evaggelos Balaskas b428de12a6 l10n: Updated Greek (el) translation to 100%
New status: 637 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-28 18:13:54 +02:00
Sergio Marques d241fc081b l10n: Updated Portuguese (pt) translation to 100%
New status: 637 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-28 14:40:25 +02:00
David Štancl 316b324be2 l10n: Updated Czech (cs) translation to 100%
New status: 637 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-27 16:41:26 +02:00
Christian Dywan 2ffc24977d Determine default window size relative to monitor 2010-06-26 23:39:49 +02:00
Christian Dywan a25553edba Add Statusbar Clock extension to POTFILES.in 2010-06-26 22:11:13 +02:00
Anton Shestakov 07659cc57f Update Russian translation 2010-06-26 22:07:14 +02:00
Alexander Butenko dc9cb532d9 Connect right-click correctly on bookmarkbar items 2010-06-26 21:58:58 +02:00
Alexander Butenko 6e878c2881 Merge _menu_middle_click_on_navigation_action with _action_navigation_activate 2010-06-26 21:57:51 +02:00
Alexander Butenko 0bc4933c17 Add homepage handling in _action_navigation_activate () 2010-06-26 21:45:52 +02:00
Alexander Butenko 6d7e1838ea Merge _action_(back|forward|Previous|Next)into _action_navigation_activate () 2010-06-26 18:55:35 +02:00
Alexander Butenko 3b55b7ab7b Merge _action_zoom_*_activate into _action_zoom_activate () 2010-06-26 17:52:04 +02:00
Alexander Butenko b2d0d0af8e Show bookmarksbar after item was added to db and not before 2010-06-26 17:43:03 +02:00
Alexander Butenko 08dab16bc2 Refactoring of bookmarks add functions 2010-06-26 17:24:53 +02:00
Alexander Butenko 3eea7c933d Reimplement bookmarkbar with sqlite 2010-06-26 17:08:31 +02:00
Alexander Butenko 2ec272eb96 Rip the old bookmarkbar out of the browser 2010-06-26 16:46:14 +02:00
Alexander Butenko 7c4263ebca Work around sqlite3_mprintf for bookmark metadata 2010-06-26 16:40:15 +02:00
Peter de Ridder a84a077ac8 Implement default configuration files on Windows 2010-06-26 16:02:49 +02:00
Peter de Ridder 63fce62664 Use icon with multiple sizes on Windows
The icon is prepared already so 'convert' isn't needed anymore.
2010-06-26 16:02:22 +02:00
Xu Meihong facd02f1f2 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 635 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-26 06:17:58 +02:00
Robert Hartl 516ce0425e l10n: Updated Slovak (sk) translation to 93%
New status: 591 messages complete with 8 fuzzies and 36 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-26 00:03:39 +02:00
Sergio Cipolla 005b243f01 Update Brazilian Portuguese translation 2010-06-24 23:20:50 +02:00
Christian Dywan f14152fe17 Don't hardcode toolbar icon style on Windows 2010-06-24 22:37:12 +02:00
Christian Dywan eec5359cf5 Don't clear bindings of an erroneous sqlite statement
This is not safe and can cause a crash.
2010-06-23 02:12:56 +02:00
Christian Dywan 72756ed3f1 Add Yahoo Web Search to default search engines
This doesn't affect current users, only new or reset configurations.
2010-06-23 02:12:52 +02:00
Leandro Regueiro 6c496fab54 l10n: Updated Galician (gl) translation to 99%
New status: 632 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-22 16:06:20 +02:00
Leandro Regueiro bcb867042c l10n: Updated Galician (gl) translation to 99%
New status: 629 messages complete with 1 fuzzy and 5 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-22 16:02:05 +02:00
Gabor Kelemen 8551c16f84 l10n: Updated Hungarian (hu) translation to 100%
New status: 635 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-22 11:04:52 +02:00
Gabor Kelemen 6ac4bba4d0 l10n: Updated Hungarian (hu) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-22 03:13:40 +02:00
Christian Dywan e200f2cb3e Hide panel if a panel was activated that's already shown
Also default hotkeys for History And Transfers.
2010-06-21 22:47:52 +02:00
Christian Dywan 00f417b710 Add MidoriFindbar to POTFILES.in 2010-06-21 22:22:24 +02:00
Christian Dywan bc6849494d Add 'Open in New Window' to page context menu
While we're at it, the label of the according tab menu item
should be the same.
2010-06-21 22:19:59 +02:00
Harald Servat 63f7549480 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-21 18:10:45 +02:00
Sergio Marques 111fb25a93 l10n: Updated Portuguese (pt) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-21 11:19:24 +02:00
Christian Dywan f5604f290c Refactor findbar into MidoriFindbar
The findbar still depends on the browser for knowing when to
search and to propagate focus. Behaviour did not change.
2010-06-21 01:53:08 +02:00
Yarema aka Knedlyk 2e7307b014 l10n: Updated Ukrainian (uk) translation to 100%
New status: 635 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-20 10:26:50 +02:00
MonkeyOfDoom 09af931756 Disconnect tabs_minimized_add_tab_cb when deactivating 2010-06-19 22:37:46 +02:00
David Štancl 91ed4b7bc8 l10n: Updated Czech (cs) translation to 100%
New status: 635 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-19 22:09:41 +02:00
Alexander Butenko 053048d05e Fixed handling of bookmark meta data
sqlite doesn't store negative value but rather 0 and 1, so we
work with these values now. As a side effect it makes the code
easier to read.
2010-06-19 16:23:49 +02:00
Alexander Butenko 633b7ed294 Inline functions in adblock for 0.5 percent speedup 2010-06-19 16:22:16 +02:00
Christian Dywan 0d665e2d00 Update German translation 2010-06-19 16:02:31 +02:00
Christian Dywan 22cd35be6f Fix typo of sokoke_gtk_action_count_modifier/s
Oddly enough the compiler failed to complain that the
function had no definition/ prototype.
2010-06-19 15:17:34 +02:00
Per Kongstad bc024f86f2 l10n: Updated Danish (da) translation to 99%
New status: 633 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-19 13:09:36 +02:00
Christian Dywan 05c7622aeb Add Minimize Tabs and Copy Addresses to POTFILES.in 2010-06-19 00:36:25 +02:00
André Stösel 6556d71273 Add sokoke_gtk_action_count_modifiers helper function 2010-06-19 00:32:58 +02:00
MonkeyOfDoom 89e72b73d3 Add extension 'Minimize new Tabs'
Once it is activated the extension will minimize all newly opened
tabs by default.
2010-06-19 00:32:05 +02:00
MonkeyOfDoom 8cbdd61c97 Add extension 'Copy Addresses of Tabs'
The extension adds a menu item to copy the addresses of all tabs
to the clipboard.
2010-06-19 00:30:46 +02:00
Per Kongstad ff9ef6aeae l10n: Updated Danish (da) translation to 99%
New status: 628 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-18 19:19:55 +02:00
Gheyret Kenji 5d4ba964d4 l10n: Updated Uyghur (ug) translation to 15%
New status: 97 messages complete with 0 fuzzies and 513 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-18 15:52:52 +02:00
Christian Dywan fa08c4d1f9 Refactor transferbar into MidoriTransferbar
The transferbar is separated from the browser, albeit it is still
created and filled from within the browser so it is not completely
independent.

The new class now keeps a list of TransferInfo items to keep track
of transfers and queries the status from the download object.

Destroying a button belonging to a transfer is connected to
removing it from the list and cleaning up the info structure. Also
the Clear button is updated from the destroy handler.
2010-06-17 20:17:21 +02:00
Yarema aka Knedlyk 0fdef5d825 l10n: Updated Ukrainian (uk) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-17 15:09:55 +02:00
David Štancl 9f904b93d7 l10n: Updated Czech (cs) translation to 100%
New status: 630 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-17 09:52:49 +02:00
Alexander Butenko 6d3672a433 Initial support of DND in bookmarks 2010-06-17 00:54:59 +02:00
Alexander Butenko f55377e7f3 Fix selecting a directory while adding a new bookmark
Allow folders to be removed
2010-06-17 00:12:17 +02:00
Alexander Butenko 09d9615964 Refresh bookmark sidebar on new items 2010-06-17 00:02:10 +02:00
Alexander Butenko 0b99bbdd4e Add outstanding bookmark issues to TODO file 2010-06-16 23:33:58 +02:00
Alexander Butenko 954939fdd1 Use extra attributes of a bookmark 2010-06-16 23:30:56 +02:00
Alexander Butenko 5af37f6c92 Fix edit/ delete/ new operations on bookmarks 2010-06-16 23:27:59 +02:00
Alexander Butenko 6f415c4e6e Import bookmarks from bookmarks.xbel on the first start.
The bookmark handling in main is not needed any more.
2010-06-16 23:17:51 +02:00
Alexander Butenko 9bff58199a Order bookmarks descending. Folders should always be on top 2010-06-16 20:57:52 +02:00
Alexander Butenko 3b46d80161 Fixup the bookmark panel initialization 2010-06-16 20:57:08 +02:00
Alexander Butenko 87ac3ae563 Initial sqlite read support
We go back to GtkTreeStore rather than a custom class.
2010-06-16 20:55:37 +02:00
Christian Dywan 1676fcc217 Confirm before overwriting in Save As dialogue 2010-06-11 22:52:51 +02:00
Christian Dywan 61add83eeb Iterate links and anchors for next/ previous labels 2010-06-11 21:36:18 +02:00
Ivica Kolić b747f00e26 l10n: Updated Croatian (hr) translation to 78%
New status: 496 messages complete with 0 fuzzies and 133 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-11 19:51:48 +02:00
Christian Dywan 61c5514c1c Remove toolbar menu items from the compact menu 2010-06-10 17:54:44 +02:00
Christian Dywan ff6fec6367 Use g_file_set_contents to save 'config' with a temporary file
If the filesystem runs out of space and Midori tries to save
the 'config' file under that condition, the file is lost. To
avoid that, we use g_file_set_contents which writes a temporary
file first, at the cost of destroying symbolic links.
2010-06-10 17:54:44 +02:00
Nuno Miguel 5333845ba4 l10n: Updated Portuguese (pt) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-09 23:14:39 +02:00
Harald Servat e327b6fa8f l10n: Updated Catalan (Valencian) (ca) translation to 99%
New status: 626 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-09 15:42:59 +02:00
Ivica Kolić bce8268b27 l10n: Updates to Croatian (hr) translation
New status: 496 messages complete with 0 fuzzies and 133 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-09 01:29:45 +02:00
Christian Dywan fd2e0b7aed Implement MIDORI_UNARMED variable for 'dry run' 2010-06-07 22:01:41 +02:00
Christian Dywan 4aebdad671 Enable encoding action at compilation time 2010-06-07 22:01:41 +02:00
Xu Meihong 52a346c06f l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 628 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-07 02:40:27 +02:00
Christian Dywan dcf1bb5356 Always add blank pages without delay 2010-06-06 23:52:55 +02:00
Christian Dywan 31885fe2be Assume 'http://' if adding address without scheme to speed dial 2010-06-06 23:34:21 +02:00
douart patrick 5f790a7217 l10n: Updated French (fr) translation to 97%
New status: 611 messages complete with 18 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 21:02:15 +02:00
douart patrick 44296a6d36 l10n: Updated French (fr) translation to 97%
New status: 611 messages complete with 17 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 20:56:25 +02:00
padv d3f60cd835 l10n: Updated Dutch (Flemish) (nl) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 14:49:18 +02:00
padv 5897b112db l10n: Updated Dutch (Flemish) (nl) translation to 85%
New status: 538 messages complete with 27 fuzzies and 64 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 11:56:58 +02:00
padv 67d5758283 l10n: Updated Dutch (Flemish) (nl) translation to 81%
New status: 513 messages complete with 37 fuzzies and 79 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 11:42:49 +02:00
padv f2fe44b49f l10n: Updated Dutch (Flemish) (nl) translation to 77%
New status: 488 messages complete with 45 fuzzies and 96 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 11:32:54 +02:00
Nick Schermer b8283b8fbf l10n: Updated Dutch (Flemish) (nl) translation to 65%
New status: 412 messages complete with 80 fuzzies and 137 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-06 11:14:18 +02:00
Gheyret Kenji fb25c74ece l10n: Updated Uyghur (ug) translation to 13%
New status: 82 messages complete with 0 fuzzies and 528 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-05 04:33:40 +02:00
Christian Dywan 997d8df49c Ensure the web view of the thumb view is realized 2010-06-05 00:50:06 +02:00
Abel Martín fc88d4bed3 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-04 10:24:23 +02:00
Ivica Kolić a2330c57f6 l10n: Updates to Croatian (hr) translation
New status: 465 messages complete with 0 fuzzies and 164 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-04 00:26:01 +02:00
Christian Dywan 57b05a458e Replace {enter_dial_size}, not {enter_dial_width} 2010-06-03 22:21:55 +02:00
Anton Shestakov 7a1c84d96e Update Russian translation 2010-06-03 22:21:55 +02:00
Ayhan YALÇINSOY 1c330e33bf l10n: Updated Turkish (tr) translation to 99%
New status: 626 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-02 19:36:19 +02:00
Sergio Marques fc7d3473e4 l10n: Updated Portuguese (pt) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-02 15:07:21 +02:00
Per Kongstad c5603adca9 l10n: Updated Danish (da) translation to 99%
New status: 627 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-02 13:47:00 +02:00
Per Kongstad d7b7f74053 l10n: Updated Danish (da) translation to 99%
New status: 623 messages complete with 4 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-02 13:40:13 +02:00
Yarema aka Knedlyk 75913f8fd9 l10n: Updated Ukrainian (uk) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-02 12:13:24 +02:00
David Štancl 1acb888a29 l10n: Updated Czech (cs) translation to 100%
New status: 629 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-02 07:59:19 +02:00
Ryan Niebur 45380ddfe3 use dpkg-maintscript-helper to remove old config file /etc/midori/extensions/libadblock.so (Closes: #573208) 2010-06-01 21:24:40 -07:00
Peter de Ridder 4422f640cb Combined speed dial resize and thumbnail sizes 2010-06-02 02:09:43 +02:00
Christian Dywan fa4de7b723 Connect view *after* mime-policy-decision-requested
In order to allow extensions to override the MIME handling,
we need to be late in the order.
2010-06-01 22:19:11 +02:00
André Stösel 0aa24037bd Connect tab switcher to child web view key events
The parent view will do its best to forward the focus to the
child web view, so  the tab switcher should listen to it.
2010-06-01 22:16:47 +02:00
padv a2e22b4341 l10n: Updated Dutch (Flemish) (nl) translation to 66%
New status: 411 messages complete with 78 fuzzies and 133 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-01 21:41:23 +02:00
Masato Hashimoto 481e33f0d7 l10n: Updated Japanese (ja) translation to 100%
New status: 626 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-01 17:32:24 +02:00
David Štancl da30135ed0 l10n: Updated Czech (cs) translation to 100%
New status: 626 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-01 09:15:21 +02:00
David Štancl f3de346642 l10n: Updated Czech (cs) translation to 100%
New status: 626 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-06-01 09:13:18 +02:00
Tsahee Zidenberg ea7e627e3b Implement loading delayed pages at startup
Each view has a meta value 'delay' which indicates whether it be
loaded or needs to be loaded manually before it shows content.

One way to trigger this is that Midori crashes and if it is
configured to 'Show last open tabs', all tabs will now be
delayed. To allow Midori to safely open without crashing again.

The other way is to change the 'Load on Startup' preference to
'Show last tabs without loading'. This causes all tabs restored
from the session to be delayed.

One interesting aspect is that it is possible to have delayed
tabs, use 'Show last open tabs' and tabs will remain as they are,
so delayed tabs will be delayed over following sessions.
2010-06-01 00:12:30 +02:00
Ivica Kolić 6f6684855b l10n: Updates to Croatian (hr) translation
New status: 440 messages complete with 0 fuzzies and 182 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-31 23:49:43 +02:00
Ayhan YALÇINSOY 6bdd00a074 l10n: Updated Turkish (tr) translation to 99%
New status: 621 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-31 21:07:10 +02:00
Ayhan YALÇINSOY 28a0361cff l10n: Updated Turkish (tr) translation to 99%
New status: 619 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-31 20:15:04 +02:00
Ivica Kolić 10304fd6e2 l10n: Updated Croatian (hr) translation to 63%
New status: 398 messages complete with 4 fuzzies and 220 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-31 13:03:34 +02:00
padv 27b478b42f l10n: Updated Dutch (Flemish) (nl) translation to 49%
New status: 308 messages complete with 140 fuzzies and 174 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-30 20:44:25 +02:00
Ryan Niebur 3da004630c update copyright 2010-05-30 11:26:20 -07:00
Ryan Niebur 0d9b7a1f02 refresh patches 2010-05-30 11:19:10 -07:00
Ryan Niebur 22d823ba3d close some more bugs 2010-05-30 11:17:55 -07:00
Ryan Niebur 74133ade4f New Upstream Version (Closes: #582213) 2010-05-30 10:54:28 -07:00
Ryan Niebur 8bb363ff33 Merge commit 'upstream/0.2.6' 2010-05-30 10:53:37 -07:00
Ryan Niebur 8c2cf594c8 Imported Upstream version 0.2.6 2010-05-30 10:53:33 -07:00
Mișu Moldovan f4a8563399 l10n: Updated Romanian (ro) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-29 13:30:20 +02:00
Ivica Kolić fbc1c51fdc l10n: Initial Croatian (hr) translation
New status: 391 messages complete with 0 fuzzies and 219 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-27 18:02:10 +02:00
Yarema aka Knedlyk d57bb45a3f l10n: Updated Ukrainian (uk) translation to 100%
New status: 622 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-27 15:02:24 +02:00
Sergio Marques 901a54ed97 l10n: Updated Portuguese (pt) translation to 100%
New status: 622 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-27 13:55:06 +02:00
Ivica Kolić 7c8636017f l10n: Updated Croatian (hr) translation to None%
New status: 0 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-27 11:16:48 +02:00
Christian Dywan c2be3d67cf Recognize more characters as next page and be more tolerant 2010-05-26 22:48:33 +02:00
Piotr Sokół 5f8e9da610 l10n: Updated Polish (pl) translation to 91%
New status: 569 messages complete with 16 fuzzies and 36 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 23:20:55 +02:00
Christian Dywan dc047272d7 Always bring the inspector window in the foreground 2010-05-25 22:24:41 +02:00
Christian Dywan 07b3eaab7d Update German translation 2010-05-25 21:46:14 +02:00
Christian Dywan c571a6394f Don't pass around KatzeNet instances anymore
The KatzeNet is always a singleton, no need to pass it around.
2010-05-25 19:03:01 +02:00
Per Kongstad 76c7319ddb l10n: Updated Danish (da) translation to 99%
New status: 620 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 18:34:01 +02:00
Christian Dywan 59926ad492 Verbosely explain how to use news feed URI 2010-05-25 18:32:56 +02:00
Harald Servat efc5344777 l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 14:34:39 +02:00
Robert Hartl a8ee99b265 l10n: Updated Slovak (sk) translation to 93%
New status: 583 messages complete with 5 fuzzies and 33 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 13:48:30 +02:00
Robert Hartl 8701722f30 l10n: Updated Slovak (sk) translation to 91%
New status: 570 messages complete with 13 fuzzies and 38 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 13:41:28 +02:00
Robert Hartl 63598e8e51 l10n: Updated Slovak (sk) translation to 90%
New status: 564 messages complete with 15 fuzzies and 42 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 13:35:13 +02:00
Robert Hartl 462d8d5f4b l10n: Updated Slovak (sk) translation to 89%
New status: 558 messages complete with 19 fuzzies and 44 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 13:29:56 +02:00
Andres Kovtunos 5fab25b2e6 l10n: Updated Russian (ru) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-25 11:12:30 +02:00
Christian Dywan 83a737e386 Bump version to 0.2.6 2010-05-24 19:34:44 +02:00
Sergio Marques 8d3d61035b l10n: Updated Portuguese (pt) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-24 19:17:46 +02:00
Kim Boram 07e3f686f9 Update Korean translation 2010-05-24 18:32:18 +02:00
Christian Dywan bf70878903 Update German translation 2010-05-24 13:13:39 +02:00
Ivica Kolić 94bbfa5cae l10n: Updated Croatian (hr) translation to 63%
New status: 393 messages complete with 0 fuzzies and 228 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-24 11:45:43 +02:00
Ivica Kolić d03da50412 l10n: Updated Croatian (hr) translation to 60%
New status: 376 messages complete with 0 fuzzies and 245 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-24 11:24:45 +02:00
Xu Meihong cc554248db l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-24 08:43:11 +02:00
David Štancl a9ce85cc35 l10n: Updated Czech (cs) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-24 07:18:35 +02:00
Ivica Kolić cc0e6d0f3d l10n: Updates to Croatian (hr) translation
New status: 373 messages complete with 0 fuzzies and 248 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-24 03:01:17 +02:00
Ivica Kolić fd445571c7 l10n: Updates to Croatian (hr) translation
New status: 364 messages complete with 0 fuzzies and 246 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-23 22:04:07 +02:00
Yarema aka Knedlyk a41111ceb1 l10n: Updated Ukrainian (uk) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-23 20:46:07 +02:00
Johannes Lips e022e48451 l10n: Updated German (de) translation to 96%
New status: 599 messages complete with 12 fuzzies and 10 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-23 18:47:13 +02:00
Masato Hashimoto bbdaf4723d l10n: Updated Japanese (ja) translation to 100%
New status: 621 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-23 07:38:03 +02:00
Christian Dywan 8cb761239f Show dialog if quitting while files are being downloaded 2010-05-23 01:09:40 +02:00
Andres Kovtunos 533db989d3 l10n: Updated Russian (ru) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-22 12:19:55 +02:00
Andres Kovtunos 203e65ed87 l10n: Updated Russian (ru) translation to 99%
New status: 615 messages complete with 1 fuzzy and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-22 12:15:41 +02:00
Per Kongstad 91395c2565 l10n: Updated Danish (da) translation to 99%
New status: 617 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-21 18:14:00 +02:00
Sergio Marques 361ca87623 l10n: Updated Portuguese (pt) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-21 10:57:47 +02:00
Gheyret Kenji 6eed68e5ee l10n: Uyghur Translation
New status: 32 messages complete with 0 fuzzies and 578 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-21 09:48:40 +02:00
David Štancl db2a120cc3 l10n: Updated Czech (cs) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-21 07:59:02 +02:00
David Štancl 27620f2aff l10n: Updated Czech (cs) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-21 07:58:24 +02:00
Christian Dywan 6c4d94942f Render stock:// as pixbufs and pass as data URIs
Stock icons do not match filenames in many icon themes and the
appropriate sizes may not be available. Thus we now always
render the icon through the theme engine and encode it as a
data URI with BASE64/ PNG.

As a side effect, we use stock sizes now instead of pixel sizes,
where 1 means menu size, 4 means button size and 6 dialog size;
the value 16 is translated to 4 to keep existing files working.
2010-05-21 02:23:15 +02:00
Christian Dywan 62cafb87b2 Deprecate midori_viewable_new_from_uri and _register_protocol
These facilities haven't been used and likely won't be.
2010-05-21 01:07:25 +02:00
Christian Dywan 2a43689175 Import 'Utils' to fix API documentation build 2010-05-21 00:07:52 +02:00
André Stösel 7753db46e0 Pass the frame to midori_view_load_alternate_string
The frame where an error occurs may not be the main frame, and
coincidentally there is a race condition where the main frame
isn't valid, so this actually reolves a crash.
2010-05-20 23:21:55 +02:00
Piotr Sokół f04c7ef76d l10n: Updated Polish (pl) translation to 90%
New status: 558 messages complete with 18 fuzzies and 42 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-19 22:47:56 +02:00
Xu Meihong 4ec0309662 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-19 15:21:43 +02:00
Harald Servat 0e4658b6bd l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-19 11:22:54 +02:00
David Štancl 046dbda868 l10n: Updated Czech (cs) translation to 100%
New status: 618 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-19 08:29:31 +02:00
Peter de Ridder 84d4865e22 Allow custom shortcut and column count in speed dial 2010-05-19 00:58:03 +02:00
Christian Dywan 2f5a65947f Add 'Copy All' to console panel 2010-05-19 00:42:15 +02:00
Christian Dywan 01548549a8 Rename midori_browser_get/set_current_tab to get/set_tab 2010-05-19 00:18:31 +02:00
Christian Dywan a69ba674b1 Add 'Add to Speed Dial' button to 'Add bookmark' 2010-05-19 00:18:31 +02:00
Yarema aka Knedlyk 9ef1b0bf87 l10n: Updated Ukrainian (uk) translation to 100%
New status: 611 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-05-17 15:41:01 +02:00
Ryan Niebur e2abe26ce8 Preparing for upload. 2010-04-18 23:41:50 -07:00
Ryan Niebur 24006e6b45 fix building in Serial mode (on HPPA) 2010-04-18 23:41:47 -07:00
Ryan Niebur 8e04cf6503 Preparing for upload. 2010-03-29 00:39:30 -07:00
Ryan Niebur 8ca7335783 use a patched waf for hppa, thanks to Jakub Wilk (Closes: #559989) 2010-03-29 00:34:59 -07:00
Ryan Niebur a1b136a39c Preparing for upload. 2010-03-07 22:28:54 -08:00
Ryan Niebur 4a8facd115 handles files in current dir correctly (Closes: #565329) 2010-03-07 22:15:13 -08:00
Ryan Niebur 3eebf9402b set Standards-Version to 3.8.4 2010-03-07 22:06:52 -08:00
Ryan Niebur c7172231f2 remove odd directory on clean 2010-03-07 22:04:54 -08:00
Ryan Niebur c4431b0d2b use bundled waf again (Closes: 571709) 2010-03-07 21:58:40 -08:00
Ryan Niebur 2a147075b1 update d/copyright 2010-03-07 21:57:10 -08:00
Ryan Niebur 89842b421e New Upstream Version 2010-03-07 21:42:06 -08:00
Ryan Niebur 4435df3d8d Merge commit 'upstream/0.2.4' 2010-03-07 21:42:00 -08:00
Ryan Niebur 9eaa210044 Imported Upstream version 0.2.4 2010-03-07 21:41:57 -08:00
Ryan Niebur 7b7da78355 Preparing for upload. 2009-12-24 18:30:46 -08:00
Ryan Niebur 591f964719 refresh patch 2009-12-24 18:29:26 -08:00
Ryan Niebur 193bbff0d8 update debian/copyright to match upstream changes 2009-12-24 18:09:53 -08:00
Ryan Niebur 916277f38a switch to system waf 2009-12-24 17:49:50 -08:00
Ryan Niebur 9f5259592d add some safety checking to the presubj generating 2009-12-24 17:41:06 -08:00
Ryan Niebur c8c273404d tell the user to report the bug against libwebkit-1.0-2 if they reproduce it in the Webkit test browser. Figure out the package name and the path to GtkLauncher automagically during build. (Closes: #562501) 2009-12-24 17:35:51 -08:00
Ryan Niebur 2ddea89df7 move libjs-mootools to Recommends, it's not required (Closes: #547584) 2009-12-24 17:24:11 -08:00
Ryan Niebur c900c3ebcd close some bugs 2009-12-24 17:10:21 -08:00
Ryan Niebur b0735da374 move libnotify from Recommends to Build-Deps 2009-12-24 16:57:54 -08:00
Ryan Niebur 06c08854d8 New Upstream Version 2009-12-24 15:50:26 -08:00
Ryan Niebur 299246f190 Merge commit 'upstream/0.2.2' 2009-12-24 15:50:21 -08:00
Ryan Niebur 67e400912e Imported Upstream version 0.2.2 2009-12-24 15:50:19 -08:00
Ryan Niebur 648e6657e0 Preparing for upload. 2009-10-18 15:44:22 -07:00
Ryan Niebur dfd1a3c08e update my email address and remove DMUA field 2009-10-18 15:15:19 -07:00
Ryan Niebur dbfa0c82a0 bump libwebkit-dev build-dep to 1.1.15 for adblock (Closes: 546985) 2009-10-18 14:57:16 -07:00
Ryan Niebur 26c5952948 update debian/copyright 2009-10-18 14:56:12 -07:00
Ryan Niebur d7d292be03 close some bugs 2009-10-18 14:54:36 -07:00
Ryan Niebur 75748c9919 New Upstream Version 2009-10-18 14:52:03 -07:00
Ryan Niebur 5e28c11b1e Merge commit 'upstream/0.2.0' 2009-10-18 14:45:15 -07:00
Ryan Niebur 79bb58a7fe Imported Upstream version 0.2.0 2009-10-18 14:45:13 -07:00
Ryan Niebur 2daa56ae5a prepare for upload 2009-09-15 22:47:04 -07:00
Ryan Niebur ec165bf89d err oops meant that in depends no build deps.. 2009-09-15 22:45:46 -07:00
Ryan Niebur 3148a775dc use mootools.js from the libjs-mootools package 2009-09-15 22:34:42 -07:00
Ryan Niebur 36e0a93152 New upstream release 2009-09-15 21:59:46 -07:00
Ryan Niebur d1b6382dbd Merge commit 'upstream/0.1.10' 2009-09-15 21:59:35 -07:00
Ryan Niebur 3aa165bda2 Imported Upstream version 0.1.10 2009-09-15 21:59:15 -07:00
Ryan Niebur afc34381c4 preparing for upload 2009-09-02 15:36:42 -07:00
Ryan Niebur a3ba822314 update copyright 2009-09-02 15:28:43 -07:00
Ryan Niebur a2fa835516 Debian Policy 3.8.3 2009-09-02 11:49:36 -07:00
Ryan Niebur 67d9660e98 refresh again 2009-09-02 11:32:22 -07:00
Ryan Niebur c5c1453508 improve bugs search to work for packages too, thanks to Denis Laxalde for the suggestion (Closes: #542050) 2009-09-02 11:32:08 -07:00
Ryan Niebur 145b318601 refresh patches 2009-09-02 11:30:49 -07:00
Ryan Niebur a98d3363b7 fix Homepage field, thanks to Francesco Poli (Closes: #541414) 2009-09-02 11:29:48 -07:00
Ryan Niebur c816ee622e New Upstream Version (Closes: #541354) 2009-09-02 11:28:09 -07:00
Ryan Niebur 437102059b Merge commit 'upstream/0.1.9' 2009-09-02 11:26:59 -07:00
Ryan Niebur ec64b98001 Imported Upstream version 0.1.9 2009-09-02 11:26:57 -07:00
Ryan Niebur 00d09911ca fix watch file, thanks to Rogério Brito 2009-09-02 11:26:48 -07:00
Ryan Niebur 91d0f1291f uploading 2009-08-01 09:07:34 -07:00
Ryan Niebur a8fb1078e1 oops, accidental change 2009-07-31 22:29:05 -07:00
Ryan Niebur 67eb553228 use a variable 2009-07-31 22:14:39 -07:00
Ryan Niebur 746a1ce65f update debian/copyright 2009-07-31 17:32:24 -07:00
Ryan Niebur f5736f8f1e changelog 2009-07-30 19:15:34 -07:00
Ryan Niebur 3ec6c90a6b Debian Policy 3.8.2 2009-07-30 18:33:24 -07:00
Ryan Niebur 4a22dbf524 New Upstream Version
* New Upstream Version
* refresh patches
2009-07-30 14:02:18 -07:00
Ryan Niebur ace30a9234 Merge commit 'upstream/0.1.8' 2009-07-30 14:00:37 -07:00
Ryan Niebur 646f964fae Imported Upstream version 0.1.8 2009-07-30 14:00:35 -07:00
Ryan Niebur b3ff8a0ae5 remove some old todo items from debian/TODO 2009-05-31 13:24:32 -07:00
Ryan Niebur 8978b33bb0 move the new upstream version to the top of the changelog, as xoswald suggested 2009-05-31 13:07:55 -07:00
Ryan Niebur 2f629fa0e7 prepare for upload 2009-05-29 20:31:19 -07:00
Ryan Niebur b3825cd75a commit with the patches unapplied.. 2009-05-29 20:27:36 -07:00
Ryan Niebur 3a9b59077d add more copyright info 2009-05-29 20:16:31 -07:00
Ryan Niebur 875cc6da53 remove extra file, debian/patches/0001-Don-t-expressly-use-libkatze- in-extensions-to-avoid.patch 2009-05-29 20:03:52 -07:00
Ryan Niebur 381b908542 update copyright information 2009-05-29 20:01:30 -07:00
Ryan Niebur ca9bfe2cb9 add recommends on libnotify1 2009-05-29 19:26:28 -07:00
Ryan Niebur f253051c44 just set the DISTRO variable 2009-05-29 01:17:26 -07:00
Ryan Niebur 774bce013e add Vcs-* fields 2009-05-29 01:12:48 -07:00
Ryan Niebur c0c754e7f2 if there isn't a config file for a distribution, use Debians 2009-05-29 01:12:09 -07:00
Ryan Niebur 73942d7b17 add dependency on libnotify1 2009-05-29 01:05:48 -07:00
Ryan Niebur 18b572faab add the DMUA flag field back 2009-05-29 00:44:55 -07:00
Ryan Niebur 90842f34dc also set a priority number for the alternative in the distro config file. This sets it to 50 for debian, and 39 for ubuntu (just under firefox). This addresses the other half of the ubuntu diff. 2009-05-29 00:43:52 -07:00
Ryan Niebur c11bf52e8c fix spacing 2009-05-29 00:38:03 -07:00
Ryan Niebur a37501867f move 2009-05-29 00:25:45 -07:00
Ryan Niebur eb943a778a change the default-homepage patch to use the files in debian/config/ to set the default homepage based on whether it's debian, ubuntu, etc (second half of ubuntu diff) 2009-05-28 23:44:48 -07:00
Ryan Niebur 4ab76d4a18 use xvfb for tests, but disable them, they don't work right 2009-05-28 23:21:09 -07:00
Ryan Niebur 12cc3454d1 refresh patches 2009-05-28 23:16:35 -07:00
Ryan Niebur de80a87a3d New Upstream Version 2009-05-28 23:15:07 -07:00
Ryan Niebur 96c6e3008d Merge commit 'upstream/0.1.7' 2009-05-28 23:14:55 -07:00
Ryan Niebur add65b5191 Imported Upstream version 0.1.7 2009-05-28 23:14:53 -07:00
Ryan Niebur 024dbf82b2 add debian bts to the list of searches, thanks to Giuseppe for the patch (Closes: #525991) 2009-05-14 22:49:39 -07:00
Ryan Niebur d593a9e3d1 build dep on debhelper 7.0.50 instead of 7.2 2009-05-14 22:32:52 -07:00
Ryan Niebur 159bcbb8c2 fix format of debian/copyright 2009-05-14 22:30:28 -07:00
Ryan Niebur 527f3145ef fix format of debian/copyright 2009-05-14 22:30:06 -07:00
Ryan Niebur b3106bf819 use xvfb for tests and use --with quilt
* use xvfb for tests
* use 'dh --with quilt' for patching instead of including
  /usr/share/quilt/quilt.make
2009-05-14 22:25:09 -07:00
Ryan Niebur e75ec240d6 rearrange the debian/rules file 2009-05-14 22:15:01 -07:00
Ryan Niebur 8f8da67485 adopt package: set myself as maintainer, remove uploaders, remove dm flag (Closes: #528731) 2009-05-14 21:27:45 -07:00
Trent W. Buck a6e6928157 Imported Debian patch 0.1.6-1 2009-05-14 21:14:12 -07:00
Ryan Niebur de4e9a8439 Imported Upstream version 0.1.6 2009-05-14 21:14:10 -07:00
399 changed files with 312238 additions and 100818 deletions

14
.gitignore vendored
View file

@ -1,14 +0,0 @@
Makefile
.waf-*
.lock-wscript
_build_
po/.intltool-merge-cache
po/LINGUAS
po/POTFILES
po/midori.pot
po/stamp-it
po/*.gmo
midori.desktop

294
CMakeLists.txt Normal file
View file

@ -0,0 +1,294 @@
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de>
cmake_minimum_required(VERSION 2.6)
cmake_policy(VERSION 2.6)
# Work-around a bug in the included FindGettext fixed with 2.8.8
# See http://www.cmake.org/pipermail/cmake-commits/2012-February/012117.html
if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS "2.8.8")
cmake_policy(SET CMP0002 OLD)
endif ()
project(midori C)
add_definitions("-DPACKAGE_NAME=\"${CMAKE_PROJECT_NAME}\"")
add_definitions("-DPACKAGE_BUGREPORT=\"https://bugs.launchpad.net/midori\"")
set(VERSION 0.5.11)
add_definitions("-DMIDORI_VERSION_SUFFIX=\"${VERSION}\"")
string(REPLACE "." ";" VERSION_LIST ${VERSION})
LIST(GET VERSION_LIST 0 MIDORI_MAJOR_VERSION)
add_definitions("-DMIDORI_MAJOR_VERSION=${MIDORI_MAJOR_VERSION}")
LIST(GET VERSION_LIST 1 MIDORI_MINOR_VERSION)
add_definitions("-DMIDORI_MINOR_VERSION=${MIDORI_MINOR_VERSION}")
LIST(GET VERSION_LIST 2 MIDORI_MICRO_VERSION)
add_definitions("-DMIDORI_MICRO_VERSION=${MIDORI_MICRO_VERSION}")
execute_process(COMMAND "bzr" "revno"
OUTPUT_VARIABLE REVISION
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (REVISION)
set(VERSION "${VERSION}~r${REVISION}")
# All warnings are errors in development builds
set(VALAFLAGS ${VALAFLAGS} --fatal-warnings)
set(CFLAGS "${CFLAGS}")
endif ()
add_definitions("-DPACKAGE_VERSION=\"${VERSION}\"")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# Disallow building during install to avoid permission problems
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 1)
find_package(Vala REQUIRED)
vala_require("0.16.0")
set(VALAFLAGS ${VALAFLAGS}
--enable-deprecated
--debug
)
include(GNUInstallDirs)
set(DATADIR ${CMAKE_INSTALL_FULL_DATADIR})
add_definitions("-DMDATADIR=\"${DATADIR}\"")
add_definitions("-DSYSCONFDIR=\"${CMAKE_INSTALL_FULL_SYSCONFDIR}\"")
add_definitions("-DLIBDIR=\"${CMAKE_INSTALL_FULL_LIBDIR}\"")
add_definitions("-DDOCDIR=\"${CMAKE_INSTALL_FULL_DOCDIR}\"")
add_definitions("-DENABLE_NLS=1")
add_definitions("-DLOCALEDIR=\"${CMAKE_INSTALL_FULL_LOCALEDIR}\"")
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/config.h" "/* # generated file (stub) */")
add_definitions("-DHAVE_CONFIG_H=1")
find_file (UNISTD unistd.h)
if (UNISTD)
add_definitions("-DHAVE_UNISTD_H")
endif ()
if (UNIX)
find_file (SIGNAL signal.h)
if (SIGNAL)
add_definitions("-DHAVE_SIGNAL_H")
endif ()
find_file (EXEC_INFO execinfo.h)
if (EXEC_INFO)
set(VALAFLAGS ${VALAFLAGS} -D HAVE_EXECINFO_H)
endif ()
endif ()
find_library (X11 X11)
if (X11)
# Pass /usr/X11R6/include for OpenBSD
find_file (SCRNSAVER X11/extensions/scrnsaver.h /usr/X11R6/include)
find_library (XSS Xss /usr/lib/X11R6/lib)
if (SCRNSAVER AND XSS)
add_definitions("-DHAVE_X11_EXTENSIONS_SCRNSAVER_H")
set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${XSS};${X11}")
endif ()
endif ()
if (WIN32)
set(VALAFLAGS ${VALAFLAGS} -D HAVE_WIN32)
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_FREEBSD)
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_DRAGONFLY)
set(DFLY 1)
endif ()
if (APPLE)
add_definitions("-DHAVE_OSX=1")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_OSX)
else ()
add_definitions("-DHAVE_OSX=0")
endif ()
find_package(PkgConfig)
pkg_check_modules(DEPS REQUIRED
libxml-2.0>=2.6
sqlite3>=3.6.19
gmodule-2.0
gio-2.0>=2.32.3
libsoup-gnome-2.4>=2.37.1
)
add_definitions("-DHAVE_LIBXML")
add_definitions("-DGIO_VERSION=\"${DEPS_gio-2.0_VERSION}\"")
add_definitions("-DLIBSOUP_VERSION=\"${DEPS_libsoup-gnome-2.4_VERSION}\"")
set(PKGS posix linux libxml-2.0 sqlite3 gmodule-2.0 gio-2.0 libsoup-2.4)
if (${DEPS_libsoup-gnome-2.4_VERSION} VERSION_GREATER "2.40.0")
# valac 0.16 didn't have the bindings yet
# For consistency we need to ensure C code makes the same assumptions
if (${VALA_VERSION} VERSION_GREATER "0.17.0")
add_definitions("-DHAVE_LIBSOUP_2_40_0")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_LIBSOUP_2_40_0)
endif ()
endif ()
if (${DEPS_libsoup-gnome-2.4_VERSION} VERSION_GREATER "2.48.0")
add_definitions("-DHAVE_LIBSOUP_2_48_0")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_LIBSOUP_2_48_0)
endif ()
if (${DEPS_gio-2.0_VERSION} VERSION_GREATER "2.40.0" OR WIN32)
add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
else ()
pkg_check_modules(NOTIFY REQUIRED libnotify)
add_definitions("-DLIBNOTIFY_VERSION=\"${NOTIFY_VERSION}\"")
add_definitions("-DHAVE_LIBNOTIFY")
set(OPTS_INCLUDE_DIRS "${OPTS_INCLUDE_DIRS};${NOTIFY_INCLUDE_DIRS}")
set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${NOTIFY_LIBRARIES}")
set(PKGS ${PKGS} libnotify)
endif ()
option(USE_GTK3 "Use GTK+3" OFF)
option(HALF_BRO_INCOM_WEBKIT2 "Serve as a guniea pig" OFF)
option(USE_ZEITGEIST "Zeitgeist history integration" ON)
option(USE_GRANITE "Fancy notebook and pop-overs" OFF)
option(USE_APIDOCS "API documentation" OFF)
option(USE_GIR "Generate GObject Introspection bindings" OFF)
option(EXTRA_WARNINGS "Additional compiler warnings" OFF)
# GTK+3 is implied here, whether set or not
if (USE_GRANITE OR HALF_BRO_INCOM_WEBKIT2)
set(USE_GTK3 ON)
endif ()
if (USE_GRANITE)
pkg_check_modules(GRANITE granite>=0.2)
set(OPTS_INCLUDE_DIRS "${OPTS_INCLUDE_DIRS};${GRANITE_INCLUDE_DIRS}")
set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${GRANITE_LIBRARIES}")
add_definitions("-DHAVE_GRANITE")
add_definitions("-DGRANITE_VERSION=\"${GRANITE_VERSION}\"")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_GRANITE)
set(PKGS ${PKGS} granite)
else ()
add_definitions("-DGRANITE_VERSION=\"No\"")
endif()
if (USE_ZEITGEIST)
pkg_check_modules(ZEITGEIST zeitgeist-2.0>=0.3.14)
set(OPTS_INCLUDE_DIRS "${OPTS_INCLUDE_DIRS};${ZEITGEIST_INCLUDE_DIRS}")
set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${ZEITGEIST_LIBRARIES}")
add_definitions("-DHAVE_ZEITGEIST")
set(PKGS ${PKGS} zeitgeist-2.0)
endif()
if (WIN32)
add_definitions("-DGCR_VERSION=\"No\"")
else ()
if (USE_GTK3)
pkg_check_modules(GCR REQUIRED gcr-3>=2.32)
else ()
pkg_check_modules(GCR REQUIRED gcr-base-3>=2.32)
endif ()
add_definitions("-DGCR_VERSION=\"${GCR_VERSION}\"")
add_definitions("-DHAVE_GCR")
set(OPTS_INCLUDE_DIRS ${OPTS_INCLUDE_DIRS} ${GCR_INCLUDE_DIRS})
set(OPTS_LIBRARIES ${OPTS_LIBRARIES} ${GCR_LIBRARIES})
endif ()
if (HALF_BRO_INCOM_WEBKIT2)
pkg_check_modules(DEPS_GTK REQUIRED
gtk+-3.0>=3.10.0
webkit2gtk-4.0>=2.3.91
)
add_definitions("-DHAVE_WEBKIT2")
add_definitions("-DGTK_VERSION=\"${DEPS_GTK_gtk+-3.0_VERSION}\"")
add_definitions("-DWEBKIT_VERSION=\"${DEPS_GTK_webkit2gtk-4.0_VERSION}\"")
set(PKGS ${PKGS} gtk+-3.0)
# set(EXTRA_VAPIS ${EXTRA_VAPIS} "${CMAKE_SOURCE_DIR}/midori/webkit2gtk-web-extension-4.0.vapi")
set(EXTRA_VAPIS ${EXTRA_VAPIS} "${CMAKE_SOURCE_DIR}/midori/webkit2gtk-4.0.vapi")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_GTK3)
set(VALAFLAGS ${VALAFLAGS} -D HAVE_WEBKIT2)
set(VALAFLAGS ${VALAFLAGS} -D HAVE_WEBKIT2_3_91)
elseif (USE_GTK3)
pkg_check_modules(DEPS_GTK REQUIRED
gtk+-3.0>=3.10.0
webkitgtk-3.0>=1.8.1
javascriptcoregtk-3.0
)
add_definitions("-DGTK_VERSION=\"${DEPS_GTK_gtk+-3.0_VERSION}\"")
add_definitions("-DWEBKIT_VERSION=\"${DEPS_GTK_webkitgtk-3.0_VERSION}\"")
set(PKGS ${PKGS} gtk+-3.0)
set(EXTRA_VAPIS ${EXTRA_VAPIS} "${CMAKE_SOURCE_DIR}/midori/webkitgtk-3.0.vapi")
set(VALAFLAGS ${VALAFLAGS} -D HAVE_GTK3)
else ()
pkg_check_modules(DEPS_GTK REQUIRED
gtk+-2.0>=2.24.0
webkit-1.0>=1.8.1
javascriptcoregtk-1.0
)
add_definitions("-DGTK_VERSION=\"${DEPS_GTK_gtk+-2.0_VERSION}\"")
add_definitions("-DWEBKIT_VERSION=\"${DEPS_GTK_webkit-1.0_VERSION}\"")
set(PKGS ${PKGS} gtk+-2.0)
set(EXTRA_VAPIS ${EXTRA_VAPIS} "${CMAKE_SOURCE_DIR}/midori/webkitgtk-3.0.vapi")
endif ()
set(EXTRA_VAPIS ${EXTRA_VAPIS} "${CMAKE_SOURCE_DIR}/katze/katze.vapi")
# dh_translations detects this if there's no variable used
set (GETTEXT_PACKAGE "midori")
add_definitions("-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"")
set(CFLAGS "${CFLAGS} -Wall -Wundef -Wno-deprecated-declarations -g")
if (EXTRA_WARNINGS)
LIST(APPEND EXTRA_CFLAGS_LIST
-Wextra
-Wno-unused-parameter
-Wno-missing-field-initializers
-Wno-comment
-Waggregate-return
-Wredundant-decls
-Wshadow -Wpointer-arith -Wcast-align
-Winline -Wformat-security -fno-common
-Winit-self -Wundef
-Wnested-externs
)
string(REPLACE ";" " " EXTRA_CFLAGS "${EXTRA_CFLAGS_LIST}")
set(CFLAGS "${CFLAGS} ${EXTRA_CFLAGS}")
else ()
if (REVISION)
set(CFLAGS "${CFLAGS} -Werror")
endif()
endif ()
# Explicitly add -fPIC for older toolchains
set(VALA_CFLAGS "-g -fPIC")
# With compiler versions that can, enable exactly the non-spurious warnings
# in Vala-generated C, otherwise disable warnings
if ((CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "5.0.0")
OR (CMAKE_C_COMPILER_ID STREQUAL "Clang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "3.0.0"))
set(VALA_CFLAGS "${VALA_CFLAGS} -Werror=implicit-function-declaration")
set(VALA_CFLAGS "${VALA_CFLAGS} -Wno-incompatible-pointer-types")
set(VALA_CFLAGS "${VALA_CFLAGS} -Wno-discarded-qualifiers")
set(VALA_CFLAGS "${VALA_CFLAGS} -Wno-deprecated-declarations")
else ()
set(VALA_CFLAGS "${VALA_CFLAGS} -w")
endif ()
set(LIBMIDORI "${CMAKE_PROJECT_NAME}-core")
# CMake provides no uninstall target by design
add_custom_target (uninstall
COMMAND "xargs" "rm" "-v" "<" "install_manifest.txt")
install(FILES AUTHORS COPYING ChangeLog EXPAT README DESTINATION ${CMAKE_INSTALL_DOCDIR})
add_subdirectory (midori)
add_subdirectory (extensions)
enable_testing()
add_subdirectory (tests)
add_subdirectory (po)
add_subdirectory (icons)
add_subdirectory (data)
add_subdirectory (config)
if (USE_APIDOCS)
add_subdirectory (docs/api)
endif ()
if (USE_GIR)
add_subdirectory (gir)
endif ()

904
ChangeLog
View file

@ -1,5 +1,909 @@
This file is licensed under the terms of the expat license, see the file EXPAT.
v0.5.11
Add fake theme for built-in icons
* Don't truncate long speed dial titles if there's room to display them
Fix warnings for -Wformat-security
Ensure vala knows the prototypes of functions it calls, fixing pointer truncation in tests
Add unit test to check appmenu/menubar visibility
Fix last known GTK2 entry placeholder text bugs
Make sure that only one of appmenu and menubar are visible *initially* as well as when changed
Move adblock icons to hicolor
Limit bookmarks panel callbacks to the lifetime of the panel to fix a crash
Fix fallout (broken bookmarks and history panel search) from tweaks to GTK2 entry placeholder
fix property binding to ensure that exactly one of appmenu button and menubar is always visible
Skip open-with codepath with abp links, they are internal
Use find_file to locate execinfo.h
Fix middle/ctrl/normal clicking bookmarks (not folders) in the bookmarkbar.
Add copright header to sanitize_bar.sh
Adblock fixup: Escape . in filter with \
Don't shadow variable uri in midori_browser_save_uri
Switch Adblock icons to 24px color
Always include app menu in toolbar
Fix various mis[sing ]annotations and style issues in GIR
Compile typelib from gir
Fix assert when resetting webapp state after inactivity reset
clean up handling of double-valued db column in Tabby
Add a comment to explain MidoriBrowser popup callback
fix warnings printed when right-clicking resize grip between location and search entries
Win32: Use Dr. MinGW if present to preserve crash info
Fix menubar warning caused by direct cast instead of `as`
Helper script for setting up bzr with some usefull plugins and settings
Stop using Gtk.Entry.max_width_chars
avoid deprecated SoupServer API with libsoup 2.48
Use unowned in foreach loops in Midori.Window
Use unowned in foreach loops in Midori.Completion
Use unowned with Adblock.Subscription and Element in foreach loops
Use unowned strings in foreach loops
Enable openWith in app mode and make it work with view-new
Implement Midori.Window class with toolbar/ headerbar
Drop support for libsoup-gnome-2.4 < 2.37.1
Make search icons for engines work correctly
Move to WebKit2 4.0 which broke ABI
Port to zeitgeist-2.0
win32: Bump shipped GrayBird theme version to fix some rendering issues
avoid deprecated GtkDialog API with GTK+2 >= 2.22
Title case for "Export Certificate" button
fix incorrect type of MAX(sorting) in Tabby
v0.5.10
use exit instead of return in license script
Fix HAVE_GCR guards after GtkPopover port
Remove example app and .desktop before creating it in the unit test
Fix cache dir path in Adblock and always mkdir tmp
Port location action from Granite.PopOver to Gtk.Popover
Match https site when user-style is using domain syntax
Always disable developer tools on Win32
Reimplement Midori.URI.unescape and add various tests
Make the inspector resizable with GTK3 by packing into a GtkScrolledWindow
Don't build tabs2one in release builds
Don't assume GNotification works on Win32
update copyright date in About dialog
Don't entity-escape history and bookmark results in location completion
Only set tabs' error state if errors come from the main frame
Implement Paste and Proceed as an action
No Gcr on Win for the moment
Yet another Speed Dial CSS update:
Port bookmark popover from Granite to Gtk.Popover
Make application choosers resizable with a sane default size
Use GNotification >= 2.40 and use Midori.App API in webmedia
Rework mouse button handling in KatzeArrayAction
Don't bind :day in HistoryDatabase.query
Make GCR mandatory for all builds
Update coub support in mediaHerald
history-list: Fix gtk+3 build caused by dropping "using Gtk;"
Drop all remaining usages of "using *;"
Don't open search engines menu when clearing search action
Only remove apps in the sidepanel when left-clicking the delete icon
Improve robustness of GTK3-compatibility placeholder text fallback
Clean up vapi dependency
tls_flags from webkit_web_view_get_tls_info need to be 0
Don't add failed pages to history
Throw error for wrong paramter in Statement.bind
Replace NoJS "allow all pages" setting with "allow local pages"
Avoid bugs due to race condition in addons delete dialog
Calculate transfer progress at regular intervals to fix 0B/s bug and recalcitrant progess bars
Fix warnings occurring with EXTRA_WARNINGS
Escape parentheses in adblock_fixup_regexp()
Use File.query_exist() on win32 when checking for db to attach
Handle _NEW_WINDOW_ACTION explicitly to make _blank targets work
Fix undefined behavior uint in mouse gestures
fix JavaScript keyup event by calling inherited key-release-event handler in MidoriBrowser
Inline renaming of speed dials
Handle current_size and last_size of Download being equal
Add proper copyright headers to element_hider and autosuggestcontrol
Add X-GNOME-UsesNotifications to indicate the use of notifications
Fix typo in Bookmarks menu UI definition
v0.5.9
Remove dead code from browser and preferences
Build-fix: Make PanedAction's Child.widget public
fixes tab history undo
Set a placeholder text on the URL entry
Add "Add Bookmark" to menu
Show search menu upon left icon click in location bar
Fix crash when saving with associated resources
Fix webkit2 downloads based on older branch
don't hide window decorations for Midori-Granite
Connect bookmarks-db singleton correctly to fix menus
Fix some symbol names and transfer annotations in doc comments
Use correct signature for window-state-event handler
Do not overescape page titles in view completion
Make adblock skip non-standard last update metadata strings
Drop deprecated Granite LightWindow used for the Clear Private Data dialog
Keep storing the last web media tab played.
Allocate CookiePermissionManagerModalInfobar correctly
Make middle clicking reload button duplicate the current tab, similar to other browsers
Use network-changed of GNetworkMonitor to reload all tabs if network becomes available
Show different messages based on network connectivity.
Fix crash when activating the edit menu
Fix "open all in tabs" for bookmarks
Fix a few simple leaks
Don't focus the locationaction when leaving blank pages
Fix leaks of two references to the MidoriApp in Tabby
Compile with valac 0.16 again
Never display about:new in the urlbar
fix crash right-clicking forms on local pages
Share 'youtube, vimeo, dailymotion' that you are playing in Midori using org.midori.mediaHerald
Give the SoupURI a path when checking cookie relevance
Resolve ellipsis and title stripping in completion
Add www. and .com/.country_domain and proceed with Ctrl+Enter/Shift+Enter with (readable code)
Clean up browser tab/ uri/ title notify
Drop pseudo Granite distinction in completion layout
Fix visibility of SpeedDial, Toolbar, Bookmarkbar context menu items
Distinguish between desc file missing and other parsing issues
Use dependencies to clear test folders before execution
win32: Drop dropbox usage from win release script, rename resulting output files
v0.5.8
Use png icon instead of svg in set_status
We must not pass a Cancellable to FaviconDatabase.get_favicon_pixbuf
Retain spelling suggestion menu items from WebKit
Properly guard usage of gtk3 get_style_context
Mimic the look of Granite.DynamicNotebook when compiled with --enable-granite.
Fix X11 lib underlink in midori-core
Fix bookmarkbar bookmark click not opening links
Use sanitized app URI as wm_classname/ StartupWMClass
Make trunk build with WebKit2 again
Fix for incorrect tstamp for background tabs
Don't declare sorting doubles are nullable and print values when database tracing is enabled
Correctly apply saved entry state and treat urlbar as a regular editable item
Add missing conditional includes for granite flavoured build
Open URIs dragged on tab label or new tab button
Small adblock bugfixes
Work around GTK3's hard-coded minimum stackswitcher button width
Fix building with mingw packages from fedora 18
Set page title as basis for print filename
Rename notes inline
Use EXTRA_WARNINGS option when building for windows
Drop forgotten clutter init and obsolete header declarations
Rework history-step handling and make it work again
Port Tabby to DatabaseStatement API
Replace bookmark stracing with generic profiling in Midori.Database
Port autocompleter test to async job
Finishing touches for Adblock
Add filters and defaults
Implement and use ContextAction.escaped
printf URI in show_message_dialog for download error
Improve docs and GIR annotations for KatzeItem, KatzeArray, and MidoriWebSettings
Drop redundant TabNew from compact menu and put button in Tab Panel
Fix loading file:// pages
Implement Send Page Link by Email
Use GtkStackSwitcher with GTK+ >= 3.10
Implements context popup menu on menu entries of bookmark bar and bookmark menu.
Fix building with newer mingw versions
Display locationbar suggestions in the correct order
Don't bother adblocking internal pages and favicons
Don't use trailing comma on last list element in Adblock tests
Rewrite Adblock more modularly, add Whitelist support
Add support of DragonFlyBSD
Change tooltips of Reload and ReloadStop actions while shift modifier is pressed
Implement Midori.Database.attach method
Allow :memory: as folder to make schema detection work
More robust app/ profile creation
Add helper callbacks to modify bookmark's tree store with unneded access to bookmarks db
Implement more flexible fallback behavior for Cookie Permissions
v0.5.7:
Modify actions and internal items in browser without changing settings
Delay tab loading after Midori crashed
Uncomment failing assertions about view_source in tab test
Fallback to about:home if startup is anything but blank
Don't try to create formhistory database if config_dir is NULL
Handle url arguments for blank sessions
Execute commands given at start time
Introduce high-level prepare/ DatabaseStatement API
Drop unused GraniteClutter-based animation support
Drop uncommented contractor support
Drop deprecated StaticNotebook used in KatzePreferences
Introduce notebook class converging separate implementations
Work around symbol relocation issue old version of gcc present on Ubuntu LTS
NULL-check treeview in midori_search_action_get_editor
Adjust CMakeList .ico check to not skip nojs icons
Enable sidepanel in private mode
Move Preferences menu entry above About
Set minimum value of 0 on spin button for maximum cache size
Give NextForward its own label for toolbar editor
Correctly disable favicon database in app and private mode
Change preferences to refer to proxy address as a "URI" (not "hostname")
Add close tabs to right feature
Allow printing without confirmation dialog on kiosk setups
v0.5.6:
instead of creating devpet status icon on extension load, create it only to show new messages
Open speed dial or homepage according to preference
handle tab duplication
Add copyright note to appdata file
Tweak searching for resources when running from build folder
Swap NULL-check with main frame check
Use correct signal when clearing the trash
Hide WEbGL preference if it is unavailable
Remove stored popup sessions from the database
Check all browsers for opened sessions and whether they're popups
removed unused preference dialog and related code
Fix check for found valac and mention VALAC variable
Fix autoscrolling if page contains a frame with our custom error page
Don't use context-menu signal in WebKitGTK+ < 1.10.0
Fix building on Ubuntu 12.04
Reset item ids when re-importing bookmarks
Check path being NULL in export before trying to inspect it
restore the last closed sessions if no session is opened
Cast WebKitDOMHtmlElement for getting source content
Use font-set signal and font family for GTK+ 3.2 font chooser
add function to view dom source
remove unused variable
Resolve compiler warnings in current trunk
Update win32-release script for cmake, move unused docs/scripts to old folder
Try to handle previous runs of cmake in configure wrapper
Correct view source assertions in tab unit test
Build fix: found undeclared in midori_bookmarks_db_remove_item_recursive
Cache bookmark items to avoid their recreation on database reads
allow "view source" on about pages
Enable old target policy on cmake < 2.8.8
Re-arrange data file installing to be more explicit
option to modify the number of tabs which will be restored in each idle callback
Implement MidoriBookmarksDatabase class by inheritence from MidoriDatabase
Ensure tab spinners update as often as the menubar spinner to avoid desync
Use tabby sorting increment when importing session.xbel tabs
Only install config files to /etc if prefix equals /usr
handle urls as argument when starting midori
Make tabby compile with Webkit2
Drop waf build system and provide cmake-based "configure" script
midori_panel_action_activate_cb forgot to update the action group
Fixes bug where certificate Security overlay failed to close
handle tab movement
add tab sorting
Untangle implicit GTK+3 for Granite and WebKit2
Allow running test under debug tools with cmake
Install config files to /etc when install prefix is /usr
Add missing PO_FILES argument to GETTEXT_PROCESS_PO_FILES
Add USE_APIDOCS to build API docs with CMake
Rasterize SVG to PNG with rsvg-convert
fix bookmarks test regression after fix-1179200-4
Add CMakeLists.txt for config directory
Install mo files in locale dir
don't change uri/title if the tab isn't loaded
use a separate signal to store the tab title
Check if execinfo.h header exists on BSD
fix endless loop in Midori.Database.init
Use destructive-action style class in ClearPrivateData
Initialize priv->element to avoid crash when freeing
Introduces KatzeArray::update-item to handle metadata changes
Refactor excuting schema from file into a function
Use stock as string in liststore
Drop needless (and wrong) HAVE_LIBNOTIFY in preferences
Flip horizontal position of the overlay when hit by the mouse
Add Midori.URI.get_base_domain and use it in NoJS
Introduce Midori.Database and use for history and tabby
ctrl+shift+w should trigger a delete-event
Implement dialog windows opened via javascript
Make get_res_filename work with different hierarchies
fix check for new database
Speed up session import
Import tab title from old sessions
Separate CFLAGS for C and add missing HAVE_
Install top-level text files and FAQ html/ css to doc dir
Provide and install .appdata.xml file for app stores
Move bookmarks db handling to midori-bookmarks-db
Add XSS to OPTS_LIBRARIES
Update condition for UBUNTU_MENUPROXY to work on Saucy
Introduce tabby, the new session manager
Fix typo in katze_item_set_meta_integer call
Allow bookmark bar update on additions resulting from imports
Re-work midori_array_query_recursive to not include folder items twice
Fix syntax of icon sizes passed to foreach
Add bzr revision number to version if available
Unify nojs and cookie policy dialogs, make policy changeable within the list
Drop all G_ENABLE_DEBUG guards
Add -g to CFLAGS to enable debugging symbols
Adjust cmake build for Win32
Implement CMake build setup
Port MidoriApp from Unique/ sockets to GApplication
New signal about-content to provide content for about uris
Check if browser is NULL in midori_view_get_tab_menu to prevent a crash. Fixes bug #1215652.
Ensure proxy setting widgets callbacks don't outlive the widgets themselves
Fix webkit2 build error
Show the bookmarks import location combobox.
Rename internal completion URLs to avoid confusion
v0.5.5:
Fix name and text fields inversion in XBEL folder import
Correct packing of cookie and nojs permission dialog.
Don't set tab title/special when a non-main frame displays an error
Revise "cookies" debug output, merge expiry check and disallow revival of old cookies
Drop now unused cgit module.xml file
Use SoupProxyResolverGnome unconditionally and disable prefetching if proxy is active
win32: Hide gui for profiles in webapp manager, as they are currently broken on Windows
win32: support additional mouse buttons for going back/forward in history
Enrich app error messages with filenames
Fix segfault if url contains " %00"
Replace 'Run as app' in bookmark dialog with 'Create launcher'
Split config files and install from folders recursively
Implement GTK+ theme switching via Preferences (Win32)
Enable set_disk_cache_directory with WebKit2
Introduce Midori.ContextAction and refactor page menu from scratch
Define large dialog icon size relative to dialog icon size
Extension Devpet which shows error messages and backtraces in systray
WebKit2 cookie support
Check the hit test result for editable to see if , should search
Use SoupCookieJarSqlite and drop KatzeHttpCookies(Sqlite)
Show folder tree when editing bookmarks
Handle double value in _midori_browser_activate_action
Add privacy preferences in web app mode
Escape parentheses in adblock_fixup_regexp
Introduce object oriented API for access to History Database
Allow rss feeds with version 0.92
Rename History completion to Bookmarks and History
Don't show rss feed icon on twitter, underlying API was retired
Read apps/ profiles from folder, leave launchers separate
Fill in bookmark folder attributes in bookmarkbar populate
v0.5.4:
Refactor history step and allow multiple title updates
Call midori_browser_connect_tab with correct type
Don't add HistoryCompletion if there's no history
Restore reload button icon in error pages
Don't insert folders into the log
If an url is specified the fallback url should not be loaded
Fixed crashes when closing a loading tab + granite's tab moving
Test if plugins are redundant instead of skipping them all
Avoid selecting bookmark uris that begin by 'javascript:' for completion
Set FOREIGN_KEYS pragma on db initialization
Implement a default zoom level preference
Fix tautological use of G_MAXINT with enum
Take current selection into account for bookmark folders when adding/editing bookmark
Improve error page visuals, show suggestions on network errors
Bump vala to 0.16.0
Downgrade glib requirement to 2.32.3 to re-enable building under Ubuntu 12.04 (LTS)
Bump glib2 version to 2.32.4
Improve and unify thumbnail generation
Omit speed dial and blank pages from view completion
Makes the elements of the speed dial non-selectable
Use NULL-safe comparison in katze_item_icon_loaded_cb
Drop non-DOM style sheet injection code path
Clean small leftovers from GTK and WebKit version bumps
Bump GTK+ requirement to 2.24 and drop support for earlier versions
Check for app mode to set browser icon instead of readonly
Escape square brackets in adblock_fixup_regexp
Fix showing (sub)folders in bookmarkbar
Bump WebKit requirement to 1.8.3 and drop support for earlier versions
Set menu on dynamic notebook tab
Do not run toolbar editor's GtkDialog in its own main loop by prevent calling gtk_dialog_run(). Instead just set the GtkDialog modal and show it.
Remove unnecesary harmful code from tab_switched_cb
Fix segfault when deleteing tabs with history list
Specify int64 id item as a string in bookmark remove/update queries
Distinguish between box and event box in the tab label when colouring tabs
Show visual feedback when hovering over items in bookmark panel
Replace INSTALL/ HACKING with exported Contribute wiki page
Delete tabs from history list with Del
Check brightness of backgroung color when deciding foreground color of given tab
Clean launcher filenames, double-click to open and delete button
Avoid declaring browser twice within the same function
Add ./waf --update-pot
Fix memory leak introduced in r6184
Use old function name g_dbus_generate_guid for old valac
Move Import and Export into menu Bookmarks
Collect multiple download notifications within a minute
Fix segfault when right clicking on a web view.
Make libnotify mandatory except on Windows
Remove the rather unnecessary ./waf --run feature
Send a notification after creating a launcher
Ambiguous 'Open as App' context menu item was removed
Apply label color to label rather than event box
Store data of app mode based on URL in ~/.local/share/midori/apps
Split colorful tabs code into helper functions and add unit tests
Fix History List memory leak when closing Midori window.
Replace .gitignore with a .bzrignore
Always define GCR_VERSION in GTK+2 build
Fix bookmarks dialog rename regression introduced in r6167.
Drop check for gcr-3-gtk2 which isn't being maintained.
Scrap unneeded background variables in location renderer callbacks
Title case and proper packing in bookmark dialog
Delete PO files Launchpad spewed into root directory when it couldn't find po/*.pot file.
Issue a warning when trying to use MIDORI_DEBUG while running
Update dates to 2013 to fix bug #1167075.
v0.5.2:
Re-release with a proper version number and changelog
v0.5.1:
Fix mouse gesture regression breaking context menu
Fix --run command line switch by midori_paths_init
Fix bug in size calculation for the history list popup
Handle diagnostic dialog argument in running instance
Fix feed panel default value crash
Ensure existence of the applications directory
Fix download tooltip crash and extend test case
Integrate user interaction exploit demo in about:
Don't convey loading or progress on special pages
Address missing NULL checks and dead code found by clang
No security window for blank pages, but a search icon
Introduce UI for created apps/ launchers: Web App Manager
Add custom-title setting to override browser title
Add a Gtk.Entry to --plain mode for entering URLs
Deprecate middle_click_opens_selection in favour of gtk-enable-primary-paste
Webkit2:
Require 1.11.91 aka 2.0.0 for WebKit2
Delayed load, clear favicons, clear HTTP cache, tab favicons
Navigation policy, mouse buttons, security details
basic cookies, download dialog, res://, stock://, print
Zoom, default-charset, view-source, spell-check, prefetch
Back/ forward, enable-java, plugin listing, web inspector
v0.5.0:
Store --execute arguments in string array
Prevent overlay frame from being caught by show_all
Unconditionally show Toolbar Style preference
Duplicate current URI when reloading Midori.View
Update tabs being closable on setting change in Granite
Check default_search before setting SearchAction default
Populate application chooser button in idle
Bail out of completion resizing if cell height is 0
Pass proxy to bookmark dialog when editing via menu
Tweak bookmark dialog, button to buttons, toggles side by side
Move 'Flash windows' option into History List
Use light window for Clear Private Data with Granite
Use GtkFontButton with filter func with GTK+ 3.2
Implement 'Run in debugger' button in diagnostic dialog
Add Win32 work-around to History List for modifiers
Make toolbar drag/ drop work in GTK+3
Check if active form element is input before getting search text
Implement direction-based mouse gesture configuration
Implement mouse movement, load-failed, crashed, search in WebKit2
Add 'Show last crash log' button to diagnostic dialog
Make invalid actions fail; exit on error in new process only
Accept setting=value and extension=true/ false in --execute
Merged cookie permissions as of 2013-03-08
Gray out webGL preference if context is unavailable
Use browser API to Close Other in view menu item
Fix periods to ellipsis in Custom/ Customize Shortcuts
Support Colorful Tabs in History List
Add Midori.Tab.fg/ bg_color and Midori.View.set_colors
Fix word-wrap, #decription and #message in about.css
Set view scroll policy to Never to avoid flickering
Use XDG_RUNTIME_DIR for temporary files
Build Vala and C parts of core separately
Don't provide default value for enable-scripts
Respect Open new pages: window for Web Search and Open Image
enable-javascript in WebKit1/ 2, macro for (Web)Settings
Fix MIDORI_*_VERSION to be integers
Fix .desktop file validation unit test and fix errors
'New tab behavior' preference: about:dial/ new/ search/ home alias URLs
Use stripped down XBEL variant for session and trash
Allow any proxies supported by libproxy; list supported types in preferences
v0.4.9:
Let non-Granite security window behave like a window
Disable Contractor support in Granite for now
Use cache_dir_for_reading in about:paths
Strip LRE to prevent it from begin saved to disk
Enable stripping 'referer' by default
Fix crash on closing Adlock preferences dialog
Bail on unset title in completion, fixing strchr urlbar crash
Manage cookies accept policy per domain - not installed by default
Don't store/ load stock:// icons for special pages
Drop KatzeScrolled in favour of GTK+ 3.4 touchscreen support
Write XBEL safely to prevent loss on eg. full disk
Omit nspluginwrapper Netscape plugins from extensions
Add --debug/ -g switch to run Midori in gdb
List versions from about:version in --version
Work in progress --enable-webkit2 option enabling WebKit2/ GTK+3
Rename menu _Window to _Tabs
Update Easylist subscription URL for Adblock
Stop redundant tab numbering when adding
Allow feed panel webview widget to shrink.
Don't search for place holder text on cookie list rebuild
Add 'Google Translate (gt)' as a search engine
Default external Download Manager to "fetch" on FreeBSD
Drop GCC-version specific -Wno-unused-but-set-variable
Change X-Ayatana-Desktop-Shortcuts to Actions
v0.4.8:
Fix un-delaying of tabs
Support downloads with FlashGet on Win32
Fix compilation with GLib 2.30
Fix error handling in extensions
Retain selection in urlbar when switching tabs
Fix missing right-click menu on NextForward button
Hide error page button if buttons have no images
Rework URL completion: suggest open tabs
Always highlight matches in inline search
Pantheon: Only show private launcher in search
Granite: Fix notebook, require 0.2, drop _about_dialog_new
Don't include http(s), file or www. in page title
Autodetect Twitter RSS feeds
Adblock: Improve date parsing
Unit test rework: backtraces, regardless of debugging, wine
More accurate version numbers in about:version
Drop obsolete --log-file command line switch
Emit inspector attach-window with correct signature
Fix Netscape plugins opening download dialogs
Rework path handling and setup in different modes (fix segfaults)
Manage Netscape plugins are individual extensions
Address gtk_icon_set_render_icon_pixbuf assertions
Fix renaming in speed dial with spaces in title
Render completion title/ URL side by side with Granite
Transparently use Favicon-/ IconDatabase/ file store per WebKit
Add TabMoveFirst/ Last hotkeys (without defaults)
Drop Hildon support
Show URI in 'not responding' dialog
Query search engine icons when loading, rather than stupid guesses
v0.4.7:
Unify download behavior: link fingerprints, space check, clearing, tooltips
GIO-based check for enough space and permissions, GIO-based themed icons
Show opener/ tab domain in download dialog:
http://lcamtuf.coredump.cx/fldl/ http://lcamtuf.coredump.cx/switch/
Extension to download with a specific command line
Size in download dialog and fallback filename heuristic
Windows: GTK+3, Faenza icons, gdb helper, Netscape plugins,
ship CA bundle, fix View source, --portable/ -P on Windows
Granite (Beta): about dialog, static notebook, no "New Tab" in toolbar, Print → Share
Support building with Wayland-enabled GTK+3
Theming: content view, secondary toolbar class, drop old icon names, bigger error icon
Introduce --plain mode equivalent to GtkLauncher, lazy URLs for --snapshot/ -s
Log bookmarks, history and downloads to zeitgeist
Show security details and export certificates with GCR, error out instead of colored urlbar
Only allow data: URLs in urlbar for images
Recognize and cache HSTS, system-wide /etc/xdg/midori/hsts
Strip HTTP Host to outsmart some filter proxies
Completion: Fix PageUp/Down, Shift+Tab and wrap: This is consistent with GTK+ (excluding Tab) and Firefox
Change Focus Current Tab to Ctrl+Alt+Home
Fix Shift+Space for scrolling upwards
Control+Alt+R: Readable mode
Handle access key in link hints
Drop speed dial keyboard access in favour of "." link hints
No Open, Bookmark bar, Customize toolbar, Inspect page in app menu; split panel menu
Use ellipsises instead of period thresomes
Hinted text in bookmarks, history and cookie manager
Ellipsize panels (except for Transfers)
Add icon to bookmark dialog and remove labels
Validate proxy server IP and render invalid URLs in GTK+3
Rename "Toplevel" folder to "Bookmarks"
Chrome identification option; "Automatic" user agent is Chrome-based
Search: Create engines from search forms, remove "icon" field
Copy Image s/Address// always copy both URL and data
Rework debugging by introducing MIDORI_DEBUG; about:paths
Adblock: Refresh filters based on file time and meta data, abp: links
Optionally save website including resources
Merged NextForward akin to StopReload
PanedAction, Viewable, SpeedDial, (most of) Settings, Paths in Vala
Improved database: requires sqlite 3.6.19 and 0.2.6 in import dialog
Confirm Caret Browsing before enabling it
Support for custom items in Statusbar Features (see FAQ)
Draggable favicon as URL or text, URL icon for URL entries
Remember if inspector was attached
Open tabs in the background by default
RTL support in special/ error pages
Fix progressbar text with GTK+3
Build fix: More robust GTK+2 version check
Ensure progress in urlbar and tab match
Zoom text and images by default
Don't mixup tokens starting with the same letters
Seemless running out of build folder
No speed dial in --app/ --private, fix layout with many tiles
Add X-GNOME-Fullname to .desktop and translate desktop shortcuts
Delayed Load extension
v0.4.6:
+ Fix crasher in geolocation infobar
+ Fix crasher in about:version on some systems
+ Fix crasher opening bookmarks from Unity global menu
+ Use WebKitFaviconDatabase as of WebKit 1.8.0
+ Use midori-prefixed temp folder in midori_view_save_source
+ Fix cancelling downloads with SteadyFlow or Aria2
+ Fix crash dialog instead of opening tab in a running window
+ Fix page icons in multi-frame sites (gmail, tumbler)
+ Distinguish Simplified and Traditional Chinese
+ Support go-jump-symbolic
+ Handle empty tabs due to download links with a target
+ Handle frame load interrupted in the unholy trinity
+ Fix libsoup version check and wrong SSL status in location
v0.4.5:
+ Work around black border around widgets on Win32
+ Whitelist direct/ re-directed navigation requests in adblock
+ Require Vala 0.14
+ Provide geolocation diagnostics in about:geolocation
+ List available about: URLs and app instance name in about:version
+ Replace illegal characters in download filenames
+ Tweak app options on Win32 and use ShellExecuteEx in sokoke_show_uri
+ Use sokoke_show_uri in midori_browser_download_status_cb
+ External Download manager Steadyflow and Aria2 (with cookies)
+ Ensure adblock config folder when blocking images
+ Use sqlite WAL mode for history if available
+ Allow relative -c/ --config path
+ Context menus on Back and Forward toolbar items
+ Always show the tabbar by default
+ Use ubuntu-bug if it exists
+ Show inline find while typing and statusbar text in overlay with GTK+ 3.2
+ Esc/ closing "downloads still active" should cancel, not continue
+ Optional Granite support for notebook and bookmark dialog as pop-over
+ Ctrl+j to toggle statusbar aka downloads
+ Show at most 3 search engines in completion
+ Don't replace existing onclick/ blur with autosuggest
+ Implement low_memory_profile for FreeBSD and Win32
+ Use var in internal javascript, to fix Google apps
+ Handle download requests in frames
v0.4.4:
+ Disable page cache with < 352 MB RAM
+ Display filename in download dialog
+ Fix box packing in GTK+3 (in most cases)
+ Enable experimental HTML5 fullscreen API
+ Harden IPv6 address recognition in location
+ Experimental site data policy support (see FAQ)
+ Close tabs by middle clicking close button
+ Merge cookies and other data in Clear Private Data
+ Improve KatzeArrayAction for Unity menuproxy compatibility
+ Use GDateTime for history to avoid broken C runtimes
+ Add Midori tag to DuckDuckGo default URI
+ Rewrite completion popup resizing
+ Streamline page icon loading stages and fallbacks
+ Disable clipboard work-around for WebKit >= 1.4.3
+ Re-word .desktop entry as an action
+ Display informative text in private browsing
+ Consistent clear icons in entries
+ Revised download filename generation
+ Add 'Open in Image Viewer' menu item
+ Formhistory 2.0 with GDOM support
+ Handle javascript: and mailto: links better
+ Handle = key in Ukrainian layout better
+ Fix bookmark export and deletion of bookmark folders
+ Speed dial shortcut re-reordering by DND
v0.4.3:
+ Implement about:widgets to test rendering
+ Fix resizing of inspector by applying a minimum size
+ Use dark theme with GTK+ 3 in private browsing
+ Use channel-(in)secure-symbolic icons if available
+ Use .security-(un)trusted classes with GTK+
+ Improve notebook resizing peformance
+ Fix tab icons in GTK+3 and don't look for GTK+ jscore
+ Use system-wide CA file with libSoup 2.37.1
+ Improve cookie manager performance
+ Action and tab creation for faster startup
+ Fix number of items in trash in private browsing
+ Add Cairo version to about:version
+ Add X-GNOME-Keywords and X-AppInstall-Keywords to .desktop
+ Add easy privacy list to default Adblock filters
+ Fully implement speed dial for GTK+3
+ Disable box shadows with WebKitGTK+ 1.2.7
+ Fine-grained monospace font overriding
+ Implement resizing of Location and Search in toolbar
+ Don't show empty speed dial shortcuts in-between
+ Use Midori's name in midori-private.desktop
+ Hide all bars in fullscreen and a menu to Unfullscreen
v0.4.2:
+ Improve -moz-document parsing in user stylesheets
+ Render verified secure sites in green, not yellow
+ Version details for extensions built against a different release
+ More detailed and more condensed about:version output
+ Refresh missing speed dial thumbnails automatically
+ Use faster global CSS mechanism for adblock and addons
+ Show crash dialog only if there's a session
+ Don't complete on a leading space or search token
+ Support user stylesheets on about: and file:// locations
+ Implement 'Always use my font choices' preferences
+ Allow smaller tabs when close buttons are disabled
+ Merge 'Closed Tabs' with 'History' in Clear Private Data
+ Correctly use user-home and bookmark-new icon names
+ Use versioned file speeddial-head-0.4.2.html
+ Split proxy server preference into host and port
+ Support localized 'next' and 'previous' links
+ Implement 'Only accept cookies cookies from sites you visit'
+ Fix crash in Add/ Import Bookmark feature
+ Fix size of tabs with GTK+ 3
+ Detect existing Firefox profiles for bookmark import
+ Work-around "omg!" in local directory browsing
+ Rework '--run' feature to allow window.open() and console.info()
+ Automatically clear finnished downloads from the transferbar
+ Add 'Create desktop shortcut' to the app menu
+ Require GLib 2.22 and libSoup 2.27.90
+ Don't register recent files in private browsing mode
+ Findbar and speed dial honor close button position
+ Use sqlite3-based backend for cookie storage
+ Make '--snapshot' create png images with GTK+ 2.20
+ Automatically resizing, embossed speed dial, close on hover
v0.4.1:
+ Experimental, unfinnished GTK+ 3 support
+ 'Automatic' identification with quirks
+ Build fix for WebKitGTK+ >= 1.4.3
+ Register downloaded files as recent files
+ Fix Flash window on background tabs
+ Fix regression with clearing cookies on quit
+ Fix opening tabs from toolbar buttons
+ Use symbolic find and clear icons
+ Drop usage of mootools
+ Install separate Private Browsing shortcut
+ Support dragging tabs out of the window
+ Use feed: to support Thunderbird news reader
+ Re-open closed tabs in private browsing
+ Compare link-fingerprints caselessly
v0.4.0:
+ Provide buttons to choose how to startup after crash
+ Fix crash on corrupted datbase
+ Never delay URIs given as command line arguments
+ Space at the bottom of the page: Go to next page
+ Initialize session in app/ private before adding URIs
+ Add 'Last open tabs' option to Clear Private Data
+ Show kinetic scrolling option regardless of Hildon
+ Interpret Shift+Backspace as going forward
+ Advertise SVG images as a supported MIME type
+ Zoom in steps of 10% and support Ctr+=
+ Fix a crasher on invalid geo: links
+ Integrate Adblock and History List options in list
+ Skip empty lines, ignore subdocument rules in Adblock
+ Respect VALAC at configuration time
+ URL cache, faster JS generator, inline parsing in Adblock
+ Reuse source of webview instead of redownloading
+ Remove the description field from bookmark dialog
+ Add --log-file/ -l switch to log to a file
+ Pass through javascript: URIS from the command line
+ Tab and Window items in Unity Quicklist
+ Adjust the preferences dialog
+ Require WebKitGTK+ 1.1.17 and Vala 0.10
v0.3.6:
+ Track selected search engine per window
+ Improve preference dialogue size and alignments
+ Validate URIs in Adblock, homepage and bookmarks
+ Fix loading of Adblock lists from https
+ Support Backspace as Go Back and F5 as Reload
+ Show 'Private Browsing' in Unity Quicklist
+ Ignore Network Cancelled errors
+ Reduce allocations when preparing speed dial
+ Fix icon sie of scalable stock icons
+ Implement geo URI support as per RFC 5870
+ Fix crash after clearing cookies
+ Faster javascript-based JSON import
+ Improve speed dial markup, without scripts
+ Allow Escape to cancel History List
+ Fix crashes in completion
v0.3.5:
+ Remove frame titles from preference dialogue
+ Show search engine icons in completion
+ Add Liferea news aggregator workaround
+ Support libSoup cache + size with WebKitGTK+ 1.3.11
+ No language, no encryption but Mozilla in user agent
+ Support F6, F7, Ctrl+(Shift)+Tab and Tab to complete
+ Strip scheme and www. in completion
+ Render filename as title of patch files
+ Turn location into a plain entry
+ Fix tab panel foreground colours
+ Mask timezone, language and plugins in private mode
+ Add 'Strip referrer details' preference
+ Embed extension list in preferences
+ Remove the Page Holder and Download Manager option
+ Disable prefetching and HTML5 storage in private mode
+ Handle 'Plugin will handle load' error
+ Show access keys next to numbers in link search
+ Introduce --private/ -p command line switch
+ Don't show toolbar preferences if running a DE
+ Show script alerts as infobars
+ Improve URI handling with addon installer
+ Change Ctrl+Q for Quit to Ctrl+Shift+Q
+ Make speed dial faster and mandatory
+ Load speed dial in private browsing mode
+ Show video formats in about:(version)
+ Move speed dial to key file instead of JSON
+ Add Offline Application Cache to Clear Private Data
v0.3.3:
+ Use 60 connections and 6 per host
+ Allow re-ordering of search engines
+ Resurrect right-click button on the panel
+ Page Next finds a and link tags again
+ Always save state when quitting
+ Support MD5 and SHA1 Link Fingerprints
+ Use lock-secure and lock-insecure icons
+ Replace unmaintained docs with FAQ
+ Work around copying bug in WebKitGTK+
+ In doubt always focus page on key press
+ Show transfer speed in tooltips
+ Support x-scheme-handler for GLib < 2.28
+ Improve link search, always require Return
+ Re-order tabs with Ctrl+Shift-PageUp/Down
+ Improve fragment (#) handling
+ Show Netscape plugins in about:version
+ Add Zoom Level combobox to Statusbar Features
+ Improve handling of cookie updates
+ Always show a minimum visible progress
+ Don't limit search engines in completion popup
v0.3.2
+ Fix opening address with Go button
+ Fix automigration of existing bookmarks
+ Fix crash on opening autocompletion
+ Fix adblock handling of frames
+ Reflect tab order in the saved session
+ Don't show multiple user addon infobars
+ Provide distribution setting for close on left
+ Export to Netscape HTML format
+ Avoid config update on state changes
+ Always show progress and search engines in location
+ Default to app menu and no menubar
+ Fix GTK+ 2.14 build problems
+ Show 'Private Browsing' in window title
+ Uncached reload with Ctrl+Shift+R
v0.3.0
+ Support libnotify 0.7
+ Copy-friendly URIs with %20
+ No blocking of typed URLs with adblock
+ Import from Netscape HTML
+ Bookmark im- and export fixes
+ Unit tests cleaned up and updated
+ Correct bookmark and search icon names
+ Better link menu handling
+ Certificate location on FreeBSD
+ Fix Russian keyboard issues
+ Stylesheet parsing improvements
+ Simplify language and panel options
+ Default to DuckDuckGo search
+ No Netscape plugins in extension panel
+ Easy user addon install infobar
v0.2.9
+ Add 'Identify As' to Statusbar Features
+ Don't restrict length of HTTP login passwords
+ Implement Find Links by number with '.'
+ Reflect security in icon tooltip
+ Use GIO to determine special URI schemes
+ Upgrade waf (addresses threading issues)
+ Allow clearing HTML5 databases and form history
+ Add --help-execute command line switch
+ Improve private mode, with search and hotkeys
+ Support no-desktop-files and internal Open With
+ Support x-scheme-handler spec
+ Infobar for location and HTML5 database
+ Optimise cookie storing, reduce wakeups
+ Avoid deprecated GTK+ interfaces
+ Remove console in favour of Inspector
+ Simplify and explain cookie preferences
+ Fix Google Reader incompatibility
v0.2.8
+ Re-implement Bookmarks menu and toolbar button
+ Show transferbar even if statusbar is hidden
+ Smart case for inline search while typing
+ Use Alt+Shift+Right instead of Ctrl+Right for Next Page
+ Adding, edit and delete buttons for user scripts/ styles
+ Rename 'Minimize Tab' to 'Show Tab Icon Only'
+ Delete key in completion deletes items
+ Don't show homepage in bookmarkbar
+ Fix crash when using location arrow button
v0.2.7
+ Multiple word completion in location
+ Database backed bookmarks
+ Search bookmark panel and drag bookmarks
+ Bookmarks in address completion
+ Removed bookmarks and history from menubar
+ Add 'Minimize New Tabs' and 'Copy Addresses of Tabs'
+ Refactorings and optimisations in the core
+ Adblock compatibility improvements and speedup
+ Changeable speed dial size
+ Delayed pages at startup, or after a crash
v0.2.6
+ Show a dialogue when quitting while downloading
+ Render icons in errors/ speed dial properly
+ Fix a build error with API documentation
+ Fix error pages in frames, and a related crash
+ Allow more shortcuts or columns in speed dial
+ Add 'Copy All' button to Console panel
v0.2.5
+ Keyboard access in speed dial
+ Panels adapt to system icon style

27
GNUmakefile.in Normal file
View file

@ -0,0 +1,27 @@
# Based on "http://iany.me/wiki/Makefile/" by "Ian Yang" licensed under "CC by 3.0"
BUILD_FOLDER := _build
CUSTOM_TARGETS := cmake
# Do not try to use custom target when invoking external makefile
EXTERNAL_TARGETS := $(filter-out $(CUSTOM_TARGETS), $(MAKECMDGOALS))
# Call all targets using `Makefile` in build directory in one `make` command.
$(or $(lastword $(EXTERNAL_TARGETS)),all):
$(MAKE) -C $(BUILD_FOLDER) $(EXTERNAL_TARGETS)
# If no targets are specified, use the dummy `all` target
.PHONY: $(EXTERNAL_TARGETS) all
# Do nothing for all targets but last. Also quiet the message "Noting to be done on xxx"
$(filter-out $(lastword $(EXTERNAL_TARGETS)), $(EXTERNAL_TARGETS)):
@cd .
cmake: $(BUILD_FOLDER)
cd $(BUILD_FOLDER) && cmake ..
$(BUILD_FOLDER):
mkdir $(BUILD_FOLDER)
.PHONY: cmake

476
HACKING
View file

@ -1,169 +1,383 @@
This file is licensed under the terms of the expat license, see the file EXPAT.
====== Midori - Contribute ======
+ Hacking guide for Midori +
**This document is licensed under the LGPL 2.1.**
- How to contribute
- Coding style
- Source files in the project
- Examplary source code
====== Check out the sources ======
+++ How to contribute +++
bzr branch lp:midori
There are several ways to contribute to the project:
The development **trunk** (master, tip) is the latest iteration of the next release. Browse it online and look for other branches at http://code.launchpad.net/midori or http://bazaar.launchpad.net/~midori/midori/trunk/tarball download a tarball of the latest revision.
For translating, have a look at the file TRANSLATE.
//The code used to be hosted in git.xfce.org/apps/midori.//
For helping with testing and triaging bug reports, you should registers with the bug tracker at http://www.twotoasts.de/bugs and join #midori on irc.freenode.net where a lot of problems are discussed. You can start right away by trying to reproduce bug reports and comment with your findings.
Keep your copy updated:
If you are interested in contributing code, there are a few options. You can join #midori to discuss a particular problem you would like to look into, or a feature you would want to implement. Opening a bug report or feature request if there isn't already one is the next step. To attract some attention, if you attached a patch or have questions, ask in #midori.
bzr merge --pull
====== Join IRC chat rooms ======
+++ Coding style +++
Join irc://irc.freenode.net/midori #midori on Freenode https://kiwiirc.com/client/irc.freenode.net/midori or use webchat to talk about Midori, discuss bugs and new ideas.
====== Contribute other than touching code ======
Indentation is 4 spaces, no tabs, preferrably at 80 to 120 columns per line to
avoid automated line-breaks. Trailing whitespace is not desirable.
* http://bugs.launchpad.net/midori Go through problem reports and check Unconfirmed bugs or those lacking information and mark any duplicates you spot
* https://www.bountysource.com/#trackers/130181-midori Add a bounty for a feature or bug you'd like to support
* https://translations.launchpad.net/midori/trunk/+pots/trunk Translate to your own language
* https://github.com/eustasy/midori-browser.org/issues Report website bugs
* Write http://wiki.xfce.org/midori/tutorial your own extension - granted that's code, too, but maybe a little easier than hacking the core.
Declarations go to the beginning of a block, not inline. Variables of one plain
type may be grouped in one declaration, pointer types may not be grouped. The
asterisk goes next to the type.
Variables should be ordered in the order they are used.
====== Documentation resources ======
Comments explain functionality, they should not state facts. The appropriate
style is always C style /* */, not C++ style.
* https://wiki.gnome.org/Projects/Vala/Tutorial Vala Tutorial
* http://midori-browser.org/docs/api/vala/midori/ Midori Vala Docs
* http://midori-browser.org/docs/api/c/html/ Midori C Docs
Variable and function names should be animal, animal_shelter or animalsc in
case it would otherwise be very long. Loop counters may be single letters.
Type names should be Animal, AnimalShelter or AnimalSC. No prefixes from third
party projects should be used, such as GTK or WebKit, while underlines may be
used but do not have a particular meaning.
====== Build the code ======
There is a space between functions or keywords and round brackets, and curly
brackets always go on separate lines, at the indentation level of the
function, conditional or loop expression. Curly brackets are left out for single
statement conditionals and loops unless they notably help readability.
The type of a function goes on a separate line before the function.
Preprocessor instructions are indented with the code they relate to.
Code history is precious, so one should avoid renaming a lot of functions at
once or moving whole paragraphs only to add or remove a level of indentation.
Moving blocks of code around is also undesriable because it makes patches less
readable since the result looks like new code.
mkdir _build
cd _build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
sudo gtk-update-icon-cache /usr/share/icons/hicolor
+++ Source files in the project +++
//Advanced Tip: Pass "-G Ninja" to cmake to use http://martine.github.io/ninja/ Ninja instead of make (usually packaged as ninja or ninja-build).//
Core:
Files prefixed with "midori-" in the folder "midori" make up the core. They
are essential to running the browser and mostly tailored to the browser.
All header files prefixed with "midori-" are considered supported API and
can be used to implement extensions.
"sokoke" is a collection of very specialized helper functions which change
from time to time as needed. In the past some of the code was moved to
"katze" when it was considered generally useful.
"socket" is a socket implementation with no dependency on other parts of
the core, which is used if Midori is built without an external single
instance support library.
Panels:
Files in the "panels" folder are classes that implement MidoriViewable and
which are loaded into the MidoriPanel at startup. These panels are in
principle optional.
Katze:
Re-usable classes and utility functions that don't depend on the core and
some of that code indeed found its way into other projects.
Extensions:
These are extensions, written in C, which are loaded optionally if the user
so chooses. Extensions can use API from "midori-" and "katze-" headers. Each
module consists of either a single .c file or a folder with .c files.
Tests:
Unit tests are run regularly to verify possible regressions or measure
performance of implementations. Except for select cases code changes should
not cause failure of unit tests.
If using GTK+3 you'll want to add -DUSE_GTK3=1 to the cmake command line.
You can build Midori using another C Compiler for example Clang. Just
add -DCMAKE_C_COMPILER=/path/to/compiler to the cmake arguments.
Then you can build following your normal procedure. Like this:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=/usr/bin/clang ..
make
Midori can be **run without being installed**.
_build/midori/midori
You can use a **temporary folder for testing** without affecting normal settings
_build/midori/midori -c /tmp/midoridev
You'll want to **unit test** the code if you're testing a new version or contributed your own changes:
xvfb-run make check
Automated daily builds in Launchpad (https://launchpad.net/~elementary-os/+archive/daily ppa:elementary-os/daily and https://launchpad.net/~midori/+archive/midori-dev ppa:midori/midori-dev) run these tests as well.
====== Debugging issues ======
Testing an installed release may reveal crashers or memory corruption which require investigating from a local build and obtaining a stacktrace (backtrace, crash log).
_build/midori/midori -g [OPTIONAL ARGUMENTS]
If the problem is a warning, not a crash GLib has a handy feature
env G_DEBUG=all _build/midori/midori -g
For more specific debugging output, depending on the feature in question you may use
env MIDORI_DEBUG=help _build/midori/midori
Whilst -g is convenient you may want to use proper gdb:
gdb
file _build/midori/midori
run
bt
On Windows you can open the folder where Midori is installed and double-click gdb.exe. A black command line window should appear.
file midori.exe
run
bt
To verify a regression you might need to revert a particular change:
+++ Examplary source code +++
# Revert only r6304
bzr merge . -r 6304..6303
/*
Copyright
LICENSE TEXT
*/
====== Coding style and quality ======
#include "foo.h"
Midori code should in general have:
#include "bar.h"
* 4 space indentation, no tabs
* Between 80 to 120 columns
* Prefer /* */ style comments
* Call variables //animal// and //animal_shelter// instead of <del>camelCase</del>
* Keep a space between functions/ keywords and round parentheses
#include <glib.h>
For Vala:
void
foobar (FooEnum bar, const gchar* foo)
{
gint n, i;
* Prefer //new Gtk.Widget ()// over //using Gtk; new Widget ()//
* Stick to standard Vala-style curly parentheses on the same line
* Cuddled //} else {// and //} catch (Error error) {//
if (!foo)
return;
For C:
#ifdef BAR_STRICT
if (bar == FOO_N)
{
g_print ("illegal value for 'bar'.\n");
return;
}
#endif
* Always keep { and } on their own line
/* this is an example */
switch (bar)
{
case FOO_FOO:
n = bar + 1;
break;
case FOO_BAR:
n = bar + 10;
break;
default:
n = 1;
}
//Extensions may historically diverge from the standard styling on a case-by-case basis//
for (i = 0; i < n; i++)
{
g_print ("%s\n", foo);
}
}
====== Committing code ======
Header file example:
Tell Bazaar your name if you haven't yet
bzr whoami "Real Name <email@address>"
/*
Copyright
LICENSE TEXT
*/
See what you did so far
bzr diff
#ifndef __FOO_H__
#define __FOO_H__ 1
Get an overview of changed and new files
bzr status
#ifdef HAVE_BAR_H
#define BAR_STRICT
#endif
Add new files, move/ rename or delete
bzr add FILENAME
bzr mv OLDFILE NEWFILE
bzr rm FILENAME
/* Types */
Commit all current changes - Bazaar automatically picks up edited files. //If you're used to git, think of an implicit staging area.//
bzr commit -p
typedef enum
{
FOO_FOO,
FOO_BAR,
FOO_N
} FooEnum;
If you have one or more related bug reports you should pass them as arguments. Once these commits are merged the bug will automatically be closed and the commit log shows clickable links to the reports.
bzr commit -p --fixes=lp:1111999
typedef struct
{
FooEnum foo_bar;
} FooStruct;
If you've done several commits
bzr log | less
bzr log -p | less
/* Declarations */
In the case you committed something wrong or want to ammend it:
bzr uncommit
void
foo_bar (FooEnum bar,
const gchar* foo);
If you end up with unrelated debugging code or other patches in the current changes, it's sometimes handy to temporarily clean up. //This may be seen as bzr's version of git stash.//
bzr shelve
bzr commit -p
bzr unshelve
const gchar*
foo_foo (FooStruct foo_struct,
guint number,
gboolean flag);
Remember to keep your branch updated:
bzr merge --pull
#endif /* !__FOO_H__ */
As a general rule of thumb, ''bzr help COMMAND'' gives you an explanation of any command and ''bzr help commands'' lists all available commands.
//If you're a die-hard git user, http://zyga.github.io/git-lp/ checkout git-lp to use git commands with the Bazaar repository.//
====== Push proposed changes ======
If you haven't yet, https://launchpad.net/~/+editsshkeys check that Launchpad has your SSH key - you can create an SSH key with **Passwords and Keys** aka **Seahorse** or ''ssh-keygen -t rsa'' - and use ''bzr launchpad-login'' to make youself known to bzr locally.
If you checked out trunk, and added your patch(es), just **push it under your username** in Launchpad and you can **propose it for merging into trunk**. This will automatically request a **review from other developers** who can then comment on it and provide feedback.
bzr push --remember lp:~USERNAME/midori/fix-bug1120383 && bzr lp-propose-merge lp:midori
lp-propose-merge command may not be working on some distributions like Arch or Fedora.
In case you get error like //bzr: ERROR: Unable to import library "launchpadlib": No module named launchpadlib// just use Launchpad's Web UI to propose a merge.
**What happens to all the branches?**
Leave the branches alone, **approved branches are cleared automatically** by Launchpad.
For larger feature branches, **use the team** in Launchpad to allow other developers to work on the code with you.
bzr push --remember lp:~midori/midori/featuritis && bzr lp-propose-merge lp:midori
What if I want to help out on an **existing merge request** that I can't push to?
bzr branch ~OTHERPERSON/midori/fix-bug1120383
cd fix-bug1120383
# make commits
bzr push lp:USERNAME~/midori/fix-bug1120383
bzr lp-propose-merge ~OTHERPERSON/midori/fix-bug1120383
Updating a branch that may be out of sync with trunk:
bzr pull
bzr: ERROR: These branches have diverged
bzr merge lp:midori
# Hand-edit conflicting changes
bzr resolve FILENAME
# If any conflicts remain continue fixing
bzr commit -m 'Merge lp:midori'
Save a little bandwidth, **branch from an existing local copy** that you keep around:
bzr branch lp:midori midori
bzr branch midori midori.fix-bug1120383
cd midori.fix-bug1120383
bzr pull lp:midori
====== Backwards compatibility ======
As of Midori 0.5.4 the formula is:
* Required dependencies need to be available on the previous stable https://apps.fedoraproject.org/packages/s/webkit Fedora and http://packages.ubuntu.com/search?suite=quantal&keywords=webkit&searchon=names Ubuntu
* For reference http://openports.se/www/webkit OpenBSD
* Windows XP through 8 are to date ABI compatible, all dependencies are included
^ package ^ F17 (2012-05-29) ^ U 12.10 (2012-10-18) ^
| glib2 | 2.32.4 | 2.34.0 |
| vala | 0.16.1 | 0.16 |
| gtk3 | 3.4.4 | 3.6.0 |
| gtk2 | 2.24.13 | 2.24.13 |
| soup | 2.38.1 | 2.40 |
| webkit | 1.8.3-1.fc17 | 1.10.0-0ubuntu1 |
====== Midori with(out) Granite ======
When built with Granite (-DUSE_GRANITE=1 or --enable-granite) there're a few key differences:
* Preferences uses a http://valadoc.elementaryos.org/Granite/Granite.Widgets.StaticNotebook.html Granite.Widgets.StaticNotebook
* URL completion styling is slightly different
* Clear Private Data uses **Granite.Widgets.LightWindow**
* Edit Bookmark and Security Details use http://valadoc.elementaryos.org/Granite/Granite.Widgets.PopOver.html Granite.Widgets.PopOver instead of Gtk.Window
====== Midori for Windows ======
===== For Linux developers =====
==== Dependencies ====
Midori for Windows is compiled on a Linux host and MinGW stack. For the current build Fedora 18 packages are used. Packages needed are listed below:
yum install gcc vala intltool
For a native build
yum install libsoup-devel webkitgtk3-devel sqlite-devel
For cross-compilation
yum install mingw{32,64}-webkitgtk3 mingw{32,64}-glib-networking mingw{32,64}-gdb mingw{32,64}-gstreamer-plugins-good
Packages needed when assembling the archive
yum install faenza-icon-theme p7zip mingw32-nsis greybird-gtk3-theme
Installing those should get you the packages needed to successfully build and develop Midori for Win32.
==== Building ====
For 32-bit builds:
mkdir _mingw32
cd _mingw32
mingw32-cmake .. -DUSE_ZEITGEIST=0 -DUSE_GTK3=1 -DCMAKE_INSTALL_PREFIX=/usr/i686-w64-mingw32/sys-root/mingw -DCMAKE_VERBOSE_MAKEFILE=0
make
sudo make install
For 64-bit builds:
mkdir _mingw64
cd _mingw64
mingw64-cmake .. -DUSE_ZEITGEIST=0 -DUSE_GTK3=1 -DCMAKE_INSTALL_PREFIX=/usr/x86_64-w64-mingw32/sys-root/mingw -DCMAKE_VERBOSE_MAKEFILE=0
make
sudo make install
Once built and tested you can assemble the Midori archive with a helper script
32-bit build:
env MINGW_PREFIX="/usr/i686-w64-mingw32/sys-root/mingw" ./win32/makedist/makedist.midori
64-bit build:
env MINGW_PREFIX="/usr/x86_64-w64-mingw32/sys-root/mingw/" ./win32/makedist/makedist.midori x64
===== Testing =====
For testing your changes unfortuantely a real system is needed because Midori and WebKitGTK+ don't work properly under Wine. Even if it works some problems are not visible when using Wine, but are present when running under a real Windows system and vice versa.
One way around it is to virtualize Windows on a Linux host and mount your MinGW directories as a network drive or shared folder.
===== For Windows developers =====
Rough list of prerequisites for building with MinGW on Windows
If in doubt whether to get 32 or 64 bit versions use 32 bit ones, they are more
universal and tend to be less broken.
==== MinGW compiler ====
Compiler should match the one that was used to build packages ideally.
* We will user *mingw64 rubenvb* release
* Lastest stable release is gcc 4.8.0
[[http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting
%20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/|Releases]]
[[http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting
%20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/x86_64-w64-mingw32-gcc-4.8.0-
win32_rubenvb.7z/download|Download]]
==== 7zip ====
We will need 7zip to extract various archives
http://www.7-zip.org/download.html Homepage
http://downloads.sourceforge.net/sevenzip/7z920.exe 32bit Installer
==== Python3 (to extract rpms) ====
We will need python3 to use download-mingw-rpm.py script.
If you don't plan to use it you can safely skip this step.
We get python3, whatever is the lastes stable release.
http://www.python.org/download/releases/3.3.5 Releases
http://www.python.org/downloads/release/python-335/ Download
http://www.python.org/ftp/python/3.3.5/python-3.3.5.amd64.msi Installer
Install Python and be sure to check "addd python.exe to path" installer checkbox.
==== download-mingw-rpm.py ====
We get download-mingw-rpm.py script from github. It uses Python3 and should fetch and
unpack rpm files for us.
[[https://github.com/mkbosmans/download-mingw-rpm/blob/master/download-
mingw-rpm.py|View Script]]
[[https://github.com/mkbosmans/download-mingw-rpm/raw/master/download-
mingw-rpm.py|Download Script]]
Usage:
* Launch cmd.exe
* Navigate to folder where the script was saved
* Make sure that python can access 7z.exe
* Run command and wait, it should extract the packages into your current directory
c:\Python33\python.exe download-mingw-rpm.py -u http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/updates/18/i386/ --deps mingw32-webkitgtk mingw32-glib-networking mingw32-gdb mingw32-gstreamer-plugins-good
[[http://dl.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/Packages
/m/|Fedora 18 packages]]
The above URL for some reason does not work with the script.
==== MSYS ====
Msys contains shell and some small utilities
[[http://sourceforge.net/projects/mingw-w64/files/External%20binary
%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/MSYS-20111123.zip/download|Download]]
==== CMake ====
http://www.cmake.org/cmake/resources/software.html Homepage
http://www.cmake.org/files/v2.8/cmake-2.8.12.2-win32-x86.exe Installer
When installing check the installer checkbox "add to path"
==== Bazaar ====
http://wiki.bazaar.canonical.com/WindowsDownloads Homepage
We will get 2.4 Stable Release (standalone)
http://launchpad.net/bzr/2.4/2.4.2/+download/bzr-2.4.2-1-setup.exe Installer
When installing check the installer checkbox "add to path"
==== Vala ====
http://ftp.gnome.org/pub/gnome/sources/vala/0.20/vala-0.20.0.tar.xz Source
==== Globbing it all together ====
Extracted rpms msys and mingw packages should form uniform unix like folder.
You use msys.bat to launch a shell
====== Jargon ======
* freeze: a period of bug fixes only eg. 4/2 cycle means 4 weeks of features and 2 weeks to focus on resolving existing problems
* MR: merge request, a branch proposed for review
* ninja: an internal tab, usually empty label, used for taking screenshots
* fortress: user of an ancient release like 0.4.3 as found on Raspberry Pie, Debian, Ubuntu
* katze, sokoke, tabby: API names and coincidentally cat breeds

66
INSTALL
View file

@ -1,66 +0,0 @@
This file is licensed under the terms of the expat license, see the file EXPAT.
+++ Installing Midori +++
Building and installing Midori is straightforward.
Make sure you have Python 2.4 or higher installed.
Change to the Midori folder on your hard disk in a terminal.
Run './waf configure'
Run './waf build'
You can now run Midori from the build folder like so
'./waf build --run'
Using --run as shown above will make sure extensions as well as
localizations are used from the build folder.
You can install it with './waf install'
If you need to do a clean rebuild, you can do either './waf clean'
in order to remove binaries or './waf distclean' which deletes generated
configuration files as well.
For further options run './waf --help'
+++ Debugging Midori +++
Run './waf configure -d full' from the Midori folder.
Run './waf build'
Midori is now built with debugging symbols.
Make sure you have installed 'gdb', the GNU Debugger.
Run Midori as 'gdb _build_/default/midori/midori'.
Try to reproduce a crash that you experienced earlier,
this time Midori will freeze at the point of the crash.
Switch to your terminal, type bt ('backtrace') and hit Return.
What you obtained now is a backtrace that should include
function names and line numbers.
If the problem is a warning and not a crash, try this:
'G_DEBUG=all gdb _build_/default/midori/midori'
If you are interested in HTTP communication, try this:
'MIDORI_SOUP_DEBUG=2 _build_/default/midori/midori'
Where '2' can be a level between 0 and 3.
If you are interested in (non-) touchscreen behaviour, try this:
'MIDORI_TOUCHSCREEN=1 _build_/default/midori/midori', or
'MIDORI_TOUCHSCREEN=0 _build_/default/midori/midori'
For further information a tutorial for gdb and
reading up on how you can install debugging
symbols for libraries used by Midori are recommended.

32
README
View file

@ -1,26 +1,30 @@
This file is licensed under the terms of the expat license, see the file EXPAT.
Midori is a lightweight web browser.
Midori is a fast little WebKit browser with support for HTML5. It can manage
many open tabs and windows. The URL bar completes history, bookmarks, search
engines and open tabs out of the box. Web developers can use the powerful
web inspector that is a part of WebKit. Individual pages can easily be turned
into web apps and new profiles can be created on demand.
* Full integration with GTK+2.
* Fast rendering with WebKit.
* Tabs, windows and session management.
* Flexibly configurable Web Search.
* User scripts and user styles support.
* Straightforward bookmark management.
* Customizable and extensible interface.
* Extensions written in C.
A number of extensions are included by default:
Requirements: GTK+ 2.10, WebkitGTK+ 1.1.1, libXML2, libsoup 2.25.2
* Adblock with support for ABP filter lists and custom rules is built-in.
* You can download files with Aria2 or SteadyFlow.
* User scripts and styles support a la Greasemonkey.
* Managing cookies and scripts via NoJS and Cookie Security Manager.
* Switching open tabs in a vertical panel or a popup window.
Optional: Unique 0.9, libidn, sqlite 3.0, docutils, libnotify
Requirements: GLib 2.32.3, GTK+ 2.24, WebkitGTK+ 1.8.1, libXML2,
libsoup 2.27.90, sqlite 3.0, Vala 0.16, libnotify
For installation instructions read INSTALL.
Optional: GTK+ 3.0, gcr, Granite 0.2, WebKit2GTK+ 1.11.91/ 2.0.0
For installation instructions read the file HACKING.
Please report comments, suggestions and bugs to:
http://www.twotoasts.de/bugs
https://bugs.launchpad.net/midori
And join the IRC channel #midori on irc.freenode.net
Check for new versions at:
http://www.twotoasts.de
http://www.midori-browser.org

46
TODO
View file

@ -5,58 +5,30 @@ TODO:
. Request network if not connected and re-open the url on success
. Make cookie manager horizontal if the window is wide
. Handle SSL like SSH: confirm any cert on first connection, warn about any change in subsequent connections
. Open on startup: Ask (Last open pages, Blank, Homepage, [x] Don't ask anymore)
. Support @run-at document-start: http://dev.chromium.org/developers/design-documents/user-scripts
. Add an 'install' button to addons
. Dragging a link onto the web view to open it
. Extension: Ask Google if an address cannot be found, ie. typo
. View source is not always equal to Save As
. Show New Window icon in statusbar for new-window links
. Validate search engine tokens
. Easily register stock items in extensions (mouse gestures, input-mouse)
. Show graphical error when a bookmarklet fails to run
. Unit test katze array action
. There is no way to reset the toolbar
. Estimate download speed
. Implement no_proxy, https_proxy
. Make it possible to use extra C or C++ libraries in extensions
. Add icon cache size preference
. Fix icons with white background to be transparent?
. Visually indicate that a tab is being opened even if outside the visible tabs
. gget/ eatmonkey/ Transmission dbus in Transfers
. Add Midori to autostart, and remove it if it's quit, optionally disabled
. Use @include and @exclude with userstyles
. Support -moz-document domain: http://userstyles.org/styles/22837
. Need a throbber with invisible menubar: make compact-menu throbb?
. Implement live bookmarks, see http://johnbokma.com/firefox/rss-and-live-bookmarks.html
. Add a dialog (right-cick) to Addons, to edit @include and @exclude
. Show URI in css overlay tooltips if statusbar is hidden
. "Menu" tool buttons aren't depressed while a menu is open
. Statusbar doesn't show right-click menu
. Statusbar/ transferbar doesn't show right-click menu
. Consider pango_layout_set_auto_dir
. Make it possible to change ident string for particular domains
. Support max-age for Flash cookies
. Update speed dial thumbnail when loading the according page from speed dial
. Implement "Open image" which opens an image with an external application
. Add custom actions extension; example Set Wallpaper
. Offer restoring session after crash, if session isn't opened at startup AND crash dialogue is enabled
. Vi extension, modelled after vimprobable
. Show loading tabs in the tab panel extension
. Let extensions add preferences
. Show syntax errors in userscripts/ styles
. Add HTTP_PRAGMA: no-cache when Ctrl+Shift+R
. Honor HTTP_PRAGMA: no-cache in web cache
. Switching browser window: Ctrl+Shift+PageUp/PageDown
. Switching panel: Ctrl+Alt+PageUp/PageDown
. Bookmark folder context menu, "Sort by Name"
. Adblock Block image: dialog to edit regex before adding
. KatzeArrayAction should support "activate" signal
. Remove extra inner panel border
. Move statusbar_contents below panel if statusbar is hidden
. Teplace "disable plugins" with showing a "load plugins automatically", where unchecking that keeps a placeholder that can be clicked to play
. Replace "disable plugins" with showing a "load plugins automatically", where unchecking that keeps a placeholder that can be clicked to play
. Show "Type an address or keywords to search" in empty location even when focussed
. Show "Search hostname" in (can't resolve) error page, www.heyarnold.twotoastsde == typo?
. Enable extensions in private (app) mode
. Allow -e Set setting or so
. Remember if inspector was attached or not
. Icon in empty entry to paste from clipboard
@ -64,16 +36,11 @@ TODO:
. Warn when closing tab with unsubmitted form
. Always allow popups, keep hidden, show icon to ask whether to show popups
. Make Shift + Click download the link
. Use an update timeout in KatzePropertyProxy instead of only focus-out
. Show a loading mouse pointer
. Export of the bookmarks file, or using one from a specific path
. Custom context menu actions, like in Thunar or Epiphany
. Analogus to blocked popups, blocked scripts moving layers on load (extension)
. Per-site blocking of individual elements on a page
. Statusbar icon 'cookies blocked', icon 'popups blocked'
. Per-site settings accessible via statusbar icons, ie. cookies, popups, plugins
. CookieSafe like, a list of cookies, with type, block, allow
. Automatic update checks (browser, extensions)?
. Auto-group tabs by opener, with colors?
. Mark (dogear) a selection so that it isn't cleared implicitly, multiply on one page
. Check specific bookmarks for updates automatically (extension)
@ -83,11 +50,16 @@ TODO:
. Honor design principle "no warnings but undo of backups"?
. Support widgets 1.0 spec in tool windows and standalone?
. Protected tabs prompt when attempting to close them
. Provide a 'sleep mode' after a crash where open documents are loaded manually
. Option to run plugins or scripts only on demand, like NoScript, per-site
. Optional http redirection manually or on timeout via SoupMessage::restarted
. Style: none, compatible (b/w), default, [styles], "media", ["media" styles]
. Mouse pointer coordinates in the status bar (extension)
. Draw rectangle with the mouse, x/y/x2/y2 in the statusbar (extension)
. Shared bookmarks and config
. Prevent dead tabs: download, aborted page
. In right to left pages the scroll bar should be on the left
. drag tab between windows
. zeitgeist extension to add history
. kiosk mode: http://www.twotoasts.de/bugs/index.php?do=details&task_id=605#comment2651
. Find Inline → <key> → Open selected hyperlink
. open selected addresses in tabs
. scrolling by just moving the mouse pointer to the edge of the window

55
cmake/ContainTest.cmake Normal file
View file

@ -0,0 +1,55 @@
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de>
include(ParseArguments)
macro(contain_test test_name executable)
parse_arguments(ARGS "test_name;executable" "" ${ARGN})
set(TEST_ENV "")
foreach(VARIABLE XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR TMPDIR)
set(CONTAINER "${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders/${VARIABLE}")
set(TEST_ENV "${TEST_ENV}${VARIABLE}=${CONTAINER};")
endforeach()
add_dependencies(check contain-${test_name})
set_tests_properties(${test_name} PROPERTIES
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
TIMEOUT 42
ENVIRONMENT "${TEST_ENV}"
)
add_custom_target("contain-${test_name}"
COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders/XDG_CACHE_HOME
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders/XDG_CONFIG_HOME
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders/XDG_DATA_HOME
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders/XDG_RUNTIME_DIR
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/${test_name}-folders/TMPDIR
)
string(REPLACE ${executable} ";" " " executable)
add_custom_target("gdb-${test_name}"
COMMAND env ${TEST_ENV} gdb
--batch -ex 'set print thread-events off'
-ex 'run' -ex 'bt'
--args ${executable}
DEPENDS "contain-${test_name}"
)
add_custom_target("valgrind-${test_name}"
COMMAND env ${TEST_ENV} valgrind
-q --leak-check=no --num-callers=4
--show-possibly-lost=no
--undef-value-errors=yes
--track-origins=yes
${executable}
DEPENDS "contain-${test_name}"
)
add_custom_target("callgrind-${test_name}"
COMMAND env ${TEST_ENV} valgrind
--tool=callgrind
--callgrind-out-file=${UNIT}.callgrind
${executable}
DEPENDS "contain-${test_name}"
)
endmacro(contain_test)

19
cmake/FindConvert.cmake Normal file
View file

@ -0,0 +1,19 @@
# Copyright (C) 2013 Christian Dywan
# Copyright (C) 2013 Olivier Duchateau
find_program (RSVG_CONVERT rsvg-convert)
if (RSVG_CONVERT)
set (CONVERT_FOUND TRUE)
macro (SVG2PNG filename install_destination)
string(REPLACE "/" "_" target ${filename})
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${filename}")
add_custom_target ("${target}.png" ALL
${RSVG_CONVERT} --keep-aspect-ratio --format=png "${CMAKE_CURRENT_SOURCE_DIR}/${filename}.svg"
--output "${CMAKE_CURRENT_BINARY_DIR}/${filename}.png"
)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${filename}.png"
DESTINATION ${install_destination})
endmacro (SVG2PNG filename)
endif ()

38
cmake/FindIntltool.cmake Normal file
View file

@ -0,0 +1,38 @@
# FindIntltool.cmake
#
# Jim Nelson <jim@yorba.org>
# Copyright 2012-2013 Yorba Foundation
# Copyright (C) 2013 Christian Dywan
find_program (INTLTOOL_MERGE_EXECUTABLE intltool-merge)
find_program (INTLTOOL_UPDATE_EXECUTABLE intltool-update)
if (INTLTOOL_MERGE_EXECUTABLE)
set (INTLTOOL_MERGE_FOUND TRUE)
macro (INTLTOOL_MERGE_DESKTOP desktop_id po_dir)
add_custom_target ("${desktop_id}.desktop" ALL
${INTLTOOL_MERGE_EXECUTABLE} --desktop-style ${CMAKE_SOURCE_DIR}/${po_dir}
${CMAKE_CURRENT_SOURCE_DIR}/${desktop_id}.desktop.in ${desktop_id}.desktop
)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${desktop_id}.desktop"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
endmacro (INTLTOOL_MERGE_DESKTOP desktop_id po_dir)
macro (INTLTOOL_MERGE_APPDATA desktop_id po_dir)
add_custom_target ("${desktop_id}.appdata.xml" ALL
${INTLTOOL_MERGE_EXECUTABLE} --xml-style ${CMAKE_SOURCE_DIR}/${po_dir}
${CMAKE_CURRENT_SOURCE_DIR}/${desktop_id}.appdata.xml.in ${desktop_id}.appdata.xml
)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${desktop_id}.appdata.xml"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/appdata")
endmacro (INTLTOOL_MERGE_APPDATA desktop_id po_dir)
endif ()
if (INTLTOOL_UPDATE_EXECUTABLE)
set (INTLTOOL_UPDATE_FOUND TRUE)
add_custom_target (pot
COMMAND ${INTLTOOL_UPDATE_EXECUTABLE} "-p" "-g" ${GETTEXT_PACKAGE}
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/po"
)
endif ()

18
cmake/FindVala.cmake Normal file
View file

@ -0,0 +1,18 @@
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de>
find_program(VALA_EXECUTABLE NAMES $ENV{VALAC} valac)
if (VALA_EXECUTABLE)
execute_process(COMMAND ${VALA_EXECUTABLE} "--version" OUTPUT_VARIABLE "VALA_VERSION")
string(REPLACE "Vala " "" VALA_VERSION ${VALA_VERSION})
string(STRIP ${VALA_VERSION} VALA_VERSION)
else ()
message(FATAL_ERROR "valac not found - install Vala compiler or specify compiler name eg. VALAC=valac-0.20")
endif ()
macro(vala_require VALA_REQUIRED)
if (${VALA_VERSION} VERSION_GREATER ${VALA_REQUIRED} OR ${VALA_VERSION} VERSION_EQUAL ${VALA_REQUIRED})
message(STATUS "valac ${VALA_VERSION} found")
else ()
message(FATAL_ERROR "valac >= ${VALA_REQUIRED} or later required")
endif ()
endmacro(vala_require)

38
cmake/GIR.cmake Normal file
View file

@ -0,0 +1,38 @@
# GIR.cmake
#
# Macros for building Gobject Introspection bindings for Midori API
find_program (GIR_SCANNER_BIN g-ir-scanner)
find_program (GIR_COMPILER_BIN g-ir-compiler)
if (GIR_SCANNER_BIN AND GIR_COMPILER_BIN)
set (GIR_FOUND TRUE)
set (GIR_VERSION "${MIDORI_MAJOR_VERSION}.${MIDORI_MINOR_VERSION}")
macro (gir_build module namespace)
add_custom_target ("g-ir-scanner_${module}" ALL
${GIR_SCANNER_BIN} -Imidori -I${CMAKE_SOURCE_DIR}/ -I${CMAKE_BINARY_DIR}/midori -I${CMAKE_SOURCE_DIR}/${module} -I${CMAKE_SOURCE_DIR}/toolbars -I.
--header-only -n ${namespace} --identifier-prefix ${namespace}
${CMAKE_SOURCE_DIR}/${module}/${module}-*.c ${CMAKE_SOURCE_DIR}/${module}/${module}-*.h
--pkg gtk+-2.0 --pkg webkit-1.0 --pkg gio-2.0 --pkg gobject-2.0
--warn-all -iGObject-2.0 -iGLib-2.0 -iGtk-2.0
--nsversion ${GIR_VERSION}
-o ${CMAKE_CURRENT_BINARY_DIR}/${namespace}-${GIR_VERSION}.gir
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
DEPENDS ${CMAKE_PROJECT_NAME})
add_custom_target ("g-ir-compiler_${module}" ALL
${GIR_COMPILER_BIN} ${CMAKE_CURRENT_BINARY_DIR}/${namespace}-${GIR_VERSION}.gir
--output ${CMAKE_CURRENT_BINARY_DIR}/${namespace}-${GIR_VERSION}.typelib
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
DEPENDS g-ir-scanner_${module})
endmacro (gir_build module namespace)
macro (gir module namespace)
gir_build (${module} ${namespace})
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${namespace}-${GIR_VERSION}.gir"
DESTINATION "${CMAKE_INSTALL_DATADIR}/gir-1.0/")
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${namespace}-${GIR_VERSION}.typelib"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/girepository-1.0/")
endmacro (gir module)
endif ()

71
cmake/GLibHelpers.cmake Normal file
View file

@ -0,0 +1,71 @@
# Copyright (C) 2010 David Sansome <me@davidsansome.com>
cmake_minimum_required(VERSION 2.6)
if(POLICY CMP0011)
cmake_policy(SET CMP0011 NEW)
endif(POLICY CMP0011)
find_program(GLIB_MKENUMS glib-mkenums)
find_program(GLIB_GENMARSHAL glib-genmarshal)
macro(add_glib_marshal outfiles name prefix otherinclude)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${name}.h"
COMMAND ${GLIB_GENMARSHAL} --header "--prefix=${prefix}"
"${CMAKE_CURRENT_SOURCE_DIR}/${name}.list"
> "${CMAKE_CURRENT_BINARY_DIR}/${name}.h"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.list"
)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
COMMAND echo "\\#include \\\"${otherinclude}\\\"" > "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
COMMAND echo "\\#include \\\"glib-object.h\\\"" >> "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
COMMAND echo "\\#include \\\"${name}.h\\\"" >> "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
COMMAND ${GLIB_GENMARSHAL} --body "--prefix=${prefix}"
"${CMAKE_CURRENT_SOURCE_DIR}/${name}.list"
>> "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.list"
"${CMAKE_CURRENT_BINARY_DIR}/${name}.h"
)
list(APPEND ${outfiles} "${CMAKE_CURRENT_BINARY_DIR}/${name}.c")
endmacro(add_glib_marshal)
macro(add_glib_enumtypes_t outfiles name htemplate ctemplate)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${name}.h"
COMMAND ${GLIB_MKENUMS}
--template "${htemplate}"
${ARGN} > "${CMAKE_CURRENT_BINARY_DIR}/${name}.h"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${ARGN} "${htemplate}"
)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
COMMAND ${GLIB_MKENUMS}
--template "${ctemplate}"
${ARGN} > "${CMAKE_CURRENT_BINARY_DIR}/${name}.c"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${ARGN} ${ctemplate}
"${CMAKE_CURRENT_BINARY_DIR}/${name}.h"
)
list(APPEND ${outfiles} "${CMAKE_CURRENT_BINARY_DIR}/${name}.c")
endmacro(add_glib_enumtypes_t)
macro(add_glib_enumtypes outfiles name includeguard)
set(htemplate "${CMAKE_CURRENT_BINARY_DIR}/${name}.h.template")
set(ctemplate "${CMAKE_CURRENT_BINARY_DIR}/${name}.c.template")
# Write the .h template
add_custom_command(
OUTPUT ${htemplate} ${ctemplate}
COMMAND ${CMAKE_COMMAND}
"-Dctemplate=${ctemplate}"
"-Dhtemplate=${htemplate}"
"-Dname=${name}"
"-Dincludeguard=${includeguard}"
"\"-Dheaders=${ARGN}\""
-P "${CMAKE_SOURCE_DIR}/CMake/MakeGLibEnumTemplates.cmake"
DEPENDS "${CMAKE_SOURCE_DIR}/CMake/MakeGLibEnumTemplates.cmake" ${headers}
)
add_glib_enumtypes_t(${outfiles} ${name} ${htemplate} ${ctemplate} ${ARGN})
endmacro(add_glib_enumtypes)

61
cmake/GtkDoc.cmake Normal file
View file

@ -0,0 +1,61 @@
# GtkDoc.cmake
#
# Macros for building Midori API documentation.
# Copyright (C) 2013 Olivier Duchateau
find_program (GTKDOC_SCAN_BIN gtkdoc-scan)
find_program (GTKDOC_MKDB_BIN gtkdoc-mkdb)
find_program (GTKDOC_MKHTML_BIN gtkdoc-mkhtml)
find_program (GTKDOC_MKTMPL_BIN gtkdoc-mktmpl)
if (GTKDOC_SCAN_BIN AND GTKDOC_MKTMPL_BIN AND GTKDOC_MKDB_BIN
AND GTKDOC_MKHTML_BIN)
set (GTKDOC_FOUND TRUE)
macro (gtkdoc_build module)
message("gtkdoc: module ${module}")
# file (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}")
add_custom_target ("gtkdoc-scan_${module}" ALL
${GTKDOC_SCAN_BIN} --module=${module}
--source-dir="${CMAKE_SOURCE_DIR}/${module}"
--output-dir="${CMAKE_CURRENT_BINARY_DIR}/${module}"
--rebuild-sections --rebuild-types
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
add_custom_target ("gtkdoc-tmpl_${module}" ALL
${GTKDOC_MKTMPL_BIN} --module=${module}
--output-dir="${CMAKE_CURRENT_BINARY_DIR}"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}"
DEPENDS "gtkdoc-scan_${module}")
add_custom_target ("gtkdoc-docbook_${module}" ALL
${GTKDOC_MKDB_BIN} --module=${module}
--output-dir="xml"
--source-dir="${CMAKE_SOURCE_DIR}/${module}"
--source-suffixes=c,h --output-format=xml
--default-includes=${module}/${module}.h
--sgml-mode --main-sgml-file=${module}.sgml
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}"
DEPENDS "gtkdoc-tmpl_${module}")
# Keep this target alone, otherwise build fails
add_custom_target ("gtkdoc-html_${module}" ALL
${GTKDOC_MKHTML_BIN} ${module}
"${CMAKE_CURRENT_BINARY_DIR}/${module}/${module}.sgml"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}/html"
DEPENDS "gtkdoc-docbook_${module}")
endmacro (gtkdoc_build module)
macro (gtkdoc module)
file (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}/html")
gtkdoc_build (${module})
set (DOC_DIR "html/midori-${MIDORI_MAJOR_VERSION}-${MIDORI_MINOR_VERSION}")
install (DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}/html/"
DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/${DOC_DIR}/${module}"
PATTERN "html/*"
PATTERN "index.sgml" EXCLUDE)
endmacro (gtkdoc module)
endif ()

View file

@ -0,0 +1,36 @@
##
# This is a helper Macro to parse optional arguments in Macros/Functions
# It has been taken from the public CMake wiki.
# See http://www.cmake.org/Wiki/CMakeMacroParseArguments for documentation and
# licensing.
##
macro(parse_arguments prefix arg_names option_names)
set(DEFAULT_ARGS)
foreach(arg_name ${arg_names})
set(${prefix}_${arg_name})
endforeach(arg_name)
foreach(option ${option_names})
set(${prefix}_${option} FALSE)
endforeach(option)
set(current_arg_name DEFAULT_ARGS)
set(current_arg_list)
foreach(arg ${ARGN})
set(larg_names ${arg_names})
list(FIND larg_names "${arg}" is_arg_name)
if(is_arg_name GREATER -1)
set(${prefix}_${current_arg_name} ${current_arg_list})
set(current_arg_name ${arg})
set(current_arg_list)
else(is_arg_name GREATER -1)
set(loption_names ${option_names})
list(FIND loption_names "${arg}" is_option)
if(is_option GREATER -1)
set(${prefix}_${arg} TRUE)
else(is_option GREATER -1)
set(current_arg_list ${current_arg_list} ${arg})
endif(is_option GREATER -1)
endif(is_arg_name GREATER -1)
endforeach(arg)
set(${prefix}_${current_arg_name} ${current_arg_list})
endmacro(parse_arguments)

236
cmake/ValaPrecompile.cmake Normal file
View file

@ -0,0 +1,236 @@
##
# Copyright 2009-2010 Jakob Westhoff. All rights reserved.
# Copyright 2012 elementary.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# The views and conclusions contained in the software and documentation are those
# of the authors and should not be interpreted as representing official policies,
# either expressed or implied, of Jakob Westhoff
##
include(ParseArguments)
find_package(Vala REQUIRED)
##
# Compile vala files to their c equivalents for further processing.
#
# The "vala_precompile" macro takes care of calling the valac executable on the
# given source to produce c files which can then be processed further using
# default cmake functions.
#
# The first parameter provided is a variable, which will be filled with a list
# of c files outputted by the vala compiler. This list can than be used in
# conjuction with functions like "add_executable" or others to create the
# neccessary compile rules with CMake.
#
# The initial variable is followed by a list of .vala files to be compiled.
# Please take care to add every vala file belonging to the currently compiled
# project or library as Vala will otherwise not be able to resolve all
# dependencies.
#
# The following sections may be specified afterwards to provide certain options
# to the vala compiler:
#
# PACKAGES
# A list of vala packages/libraries to be used during the compile cycle. The
# package names are exactly the same, as they would be passed to the valac
# "--pkg=" option.
#
# OPTIONS
# A list of optional options to be passed to the valac executable. This can be
# used to pass "--thread" for example to enable multi-threading support.
#
# CUSTOM_VAPIS
# A list of custom vapi files to be included for compilation. This can be
# useful to include freshly created vala libraries without having to install
# them in the system.
#
# GENERATE_VAPI
# Pass all the needed flags to the compiler to create an internal vapi for
# the compiled library. The provided name will be used for this and a
# <provided_name>.vapi file will be created.
#
# GENERATE_HEADER
# Let the compiler generate a header file for the compiled code. There will
# be a header file as well as an internal header file being generated called
# <provided_name>.h and <provided_name>_internal.h
#
# GENERATE_GIR
# Have the compiler generate a GObject-Introspection repository file with
# name: <provided_name>.gir. This can be later used to create a binary typelib
# using the GI compiler.
#
# GENERATE_SYMBOLS
# Output a <provided_name>.symbols file containing all the exported symbols.
#
# The following call is a simple example to the vala_precompile macro showing
# an example to every of the optional sections:
#
# vala_precompile(VALA_C mytargetname
# source1.vala
# source2.vala
# source3.vala
# PACKAGES
# gtk+-2.0
# gio-1.0
# posix
# DIRECTORY
# gen
# OPTIONS
# --thread
# CUSTOM_VAPIS
# some_vapi.vapi
# GENERATE_VAPI
# myvapi
# GENERATE_HEADER
# myheader
# GENERATE_GIR
# mygir
# GENERATE_SYMBOLS
# mysymbols
# )
#
# Most important is the variable VALA_C which will contain all the generated c
# file names after the call.
##
macro(vala_precompile output target_name)
parse_arguments(ARGS "TARGET;PACKAGES;OPTIONS;DIRECTORY;GENERATE_GIR;GENERATE_SYMBOLS;GENERATE_HEADER;GENERATE_VAPI;CUSTOM_VAPIS" "" ${ARGN})
if(ARGS_DIRECTORY)
set(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${ARGS_DIRECTORY})
else(ARGS_DIRECTORY)
set(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif(ARGS_DIRECTORY)
include_directories(${DIRECTORY})
set(vala_pkg_opts "")
foreach(pkg ${ARGS_PACKAGES})
list(APPEND vala_pkg_opts "--pkg=${pkg}")
endforeach(pkg ${ARGS_PACKAGES})
set(in_files "")
set(out_files "")
set(out_files_display "")
set(${output} "")
foreach(src ${ARGS_DEFAULT_ARGS})
string(REGEX MATCH "^/" IS_MATCHED ${src})
if(${IS_MATCHED} MATCHES "/")
set(src_file_path ${src})
else()
set(src_file_path ${CMAKE_CURRENT_SOURCE_DIR}/${src})
endif()
list(APPEND in_files ${src_file_path})
string(REPLACE ".vala" ".c" src ${src})
string(REPLACE ".gs" ".c" src ${src})
if(${IS_MATCHED} MATCHES "/")
get_filename_component(VALA_FILE_NAME ${src} NAME)
set(out_file "${CMAKE_CURRENT_BINARY_DIR}/${VALA_FILE_NAME}")
list(APPEND out_files "${CMAKE_CURRENT_BINARY_DIR}/${VALA_FILE_NAME}")
else()
set(out_file "${DIRECTORY}/${src}")
list(APPEND out_files "${DIRECTORY}/${src}")
endif()
list(APPEND ${output} ${out_file})
list(APPEND out_files_display "${src}")
endforeach(src ${ARGS_DEFAULT_ARGS})
set(custom_vapi_arguments "")
if(ARGS_CUSTOM_VAPIS)
foreach(vapi ${ARGS_CUSTOM_VAPIS})
if(${vapi} MATCHES ${CMAKE_SOURCE_DIR} OR ${vapi} MATCHES ${CMAKE_BINARY_DIR})
list(APPEND custom_vapi_arguments ${vapi})
else (${vapi} MATCHES ${CMAKE_SOURCE_DIR} OR ${vapi} MATCHES ${CMAKE_BINARY_DIR})
list(APPEND custom_vapi_arguments ${CMAKE_CURRENT_SOURCE_DIR}/${vapi})
endif(${vapi} MATCHES ${CMAKE_SOURCE_DIR} OR ${vapi} MATCHES ${CMAKE_BINARY_DIR})
endforeach(vapi ${ARGS_CUSTOM_VAPIS})
endif(ARGS_CUSTOM_VAPIS)
set(vapi_arguments "")
if(ARGS_GENERATE_VAPI)
list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_VAPI}.vapi")
list(APPEND out_files_display "${ARGS_GENERATE_VAPI}.vapi")
set(vapi_arguments "--library=${ARGS_GENERATE_VAPI}" "--vapi=${ARGS_GENERATE_VAPI}.vapi")
# Header and internal header is needed to generate internal vapi
if (NOT ARGS_GENERATE_HEADER)
set(ARGS_GENERATE_HEADER ${ARGS_GENERATE_VAPI})
endif(NOT ARGS_GENERATE_HEADER)
endif(ARGS_GENERATE_VAPI)
set(header_arguments "")
if(ARGS_GENERATE_HEADER)
list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_HEADER}.h")
list(APPEND out_files_display "${ARGS_GENERATE_HEADER}.h")
list(APPEND header_arguments "--header=${ARGS_GENERATE_HEADER}.h")
endif(ARGS_GENERATE_HEADER)
set(gir_arguments "")
if(ARGS_GENERATE_GIR)
list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_GIR}.gir")
list(APPEND out_files_display "${ARGS_GENERATE_GIR}.gir")
set(gir_arguments "--gir=${ARGS_GENERATE_GIR}.gir")
endif(ARGS_GENERATE_GIR)
set(symbols_arguments "")
if(ARGS_GENERATE_SYMBOLS)
list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_SYMBOLS}.symbols")
list(APPEND out_files_display "${ARGS_GENERATE_SYMBOLS}.symbols")
set(symbols_arguments "--symbols=${ARGS_GENERATE_SYMBOLS}.symbols")
endif(ARGS_GENERATE_SYMBOLS)
# Workaround for a bug that would make valac run twice. This file is written
# after the vala compiler generates C source code.
set(OUTPUT_STAMP ${CMAKE_CURRENT_BINARY_DIR}/${target_name}_valac.stamp)
add_custom_command(
OUTPUT
${OUTPUT_STAMP}
COMMAND
${VALA_EXECUTABLE}
ARGS
"-C"
${header_arguments}
${vapi_arguments}
${gir_arguments}
${symbols_arguments}
"-b" ${CMAKE_CURRENT_SOURCE_DIR}
"-d" ${DIRECTORY}
${vala_pkg_opts}
${ARGS_OPTIONS}
${in_files}
${custom_vapi_arguments}
COMMAND
touch
ARGS
${OUTPUT_STAMP}
DEPENDS
${in_files}
${ARGS_CUSTOM_VAPIS}
COMMENT
"Generating ${out_files_display}"
)
# This command will be run twice for some reason (pass a non-empty string to COMMENT
# in order to see it). Since valac is not executed from here, this won't be a problem.
add_custom_command(OUTPUT ${out_files} DEPENDS ${OUTPUT_STAMP} COMMENT "")
endmacro(vala_precompile)

23
config/CMakeLists.txt Normal file
View file

@ -0,0 +1,23 @@
# Copyright (C) 2013 Olivier Duchateau
set (SYSCONFDIR ${CMAKE_INSTALL_FULL_SYSCONFDIR})
set (XDG_CONFIG_DIR "xdg/${CMAKE_PROJECT_NAME}")
file (GLOB_RECURSE CONFIG_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *)
list (REMOVE_ITEM CONFIG_FILES "CMakeLists.txt")
if (${CMAKE_INSTALL_PREFIX} STREQUAL "/usr")
set(CMAKE_INSTALL_SYSCONFDIR "/etc")
endif()
foreach (FILE ${CONFIG_FILES})
string (FIND ${FILE} "adblock" ADBLOCK_CONF)
if (ADBLOCK_CONF GREATER -1)
string (REPLACE "config" "" dirname ${FILE})
install (FILES ${FILE}
DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${XDG_CONFIG_DIR}/${dirname}")
else ()
install (FILES ${FILE}
DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${XDG_CONFIG_DIR}")
endif ()
endforeach ()

View file

@ -0,0 +1,2 @@
[settings]
filters=https://easylist-downloads.adblockplus.org/easylist.txt;https://easylist-downloads.adblockplus.org/easyprivacy.txt

View file

@ -1,21 +1,36 @@
[Duck Duck Go]
name=Duck Duck Go
text=Privacy-aware Web Search
uri=https://duckduckgo.com/?q=%s
token=dd
[Yahoo]
name=Yahoo
text=Yahoo Web Search
uri=http://search.yahoo.com/search?p=
token=y
[Google]
name=Google
text=Web Search
uri=http://www.google.com/search?q=%s
icon=
token=g
[Wikipedia]
name=Wikipedia
text=The free encyclopedia
uri=http://en.wikipedia.org/wiki/Special:Search/%s
icon=
token=wp
[TheFreeDictionary]
name=The Free Dictionary
text=Dictionary, Encyclopedia and Thesaurus
uri=http://www.thefreedictionary.com/%s
icon=
token=fd
[Google Translate]
name=Google Translate
text=Localize text or URL
uri=http://translate.google.com/?q=
token=gt

220
configure vendored
View file

@ -1,153 +1,83 @@
#! /bin/sh
# waf configure wrapper
# Fancy colors used to beautify the output a bit.
#
if [ "$NOCOLOR" ] ; then
NORMAL=""
BOLD=""
RED=""
YELLOW=""
GREEN=""
else
NORMAL="\033[0m"
BOLD="\033[1m"
RED="\033[91m"
YELLOW="\033[01;93m"
GREEN="\033[92m"
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# See the file COPYING for the full license text.
#
#~ Usage:
#~ ./configure [OPTIONS]
#~ Options:
#~ --prefix=PREFIX Installation prefix
#~ --enable-gtk3 Use GTK+3
#~ --disable-zeitgeist Disable Zeitgeist history integration
#~ --enable-granite Fancy notebook and pop-overs
#~ --enable-apidocs API documentation
#~
#~ Environment:
#~ VALAC if defined the valac executable to use, for example valac-0.16
#
if [ -z `command -v cmake` ]; then
echo Fatal: cmake not installed
exit 1
fi
EXIT_SUCCESS=0
EXIT_FAILURE=1
EXIT_ERROR=2
EXIT_BUG=10
while [ $# != 0 ]; do
case $1 in
--enable-gtk3)
ARGS="$ARGS -DUSE_GTK3=1";;
--disable-zeitgeist)
ARGS="$ARGS -DUSE_ZEITGEIST=0";;
--enable-granite)
ARGS="$ARGS -DUSE_GRANITE=1";;
--enable-apidocs)
ARGS="$ARGS -DUSE_APIDOCS=1";;
--extra-warnings)
ARGS="$ARGS -DEXTRA_WARNINGS=1";;
--prefix=*)
ARGS="$ARGS -DCMAKE_INSTALL_PREFIX=${1#*=}";;
*)
grep -e '^#~' $0 | sed s/#~//
exit
esac
shift
done
CUR_DIR=$PWD
BUILD_DIR="_build"
#possible relative path
WORKINGDIR=`dirname $0`
cd $WORKINGDIR
#abs path
WORKINGDIR=`pwd`
cd $CUR_DIR
# Checks for Python interpreter. Honours $PYTHON if set. Stores path to
# interpreter in $PYTHON.
#
checkPython()
{
if [ -z "$PYTHON" ] ; then
PYTHON=`which python 2>/dev/null`
fi
printf "Checking for Python\t\t\t: "
if [ ! -x "$PYTHON" ] ; then
printf $RED"not found!"$NORMAL"\n"
echo "Please make sure that the Python interpreter is available in your PATH"
echo "or invoke configure using the PYTHON flag, e.g."
echo "$ PYTHON=/usr/local/bin/python configure"
exit $EXIT_FAILURE
fi
printf $GREEN"$PYTHON"$NORMAL"\n"
}
# Checks for WAF. Honours $WAF if set. Stores path to 'waf' in $WAF.
# Requires that $PYTHON is set.
#
checkWAF()
{
printf "Checking for WAF\t\t\t: "
#installed miniwaf in sourcedir
if [ -z "$WAF" ] ; then
if [ -f "${WORKINGDIR}/waf" ] ; then
WAF="${WORKINGDIR}/waf"
if [ ! -x "$WAF" ] ; then
chmod +x $WAF
fi
fi
fi
if [ -z "$WAF" ] ; then
if [ -f "${WORKINGDIR}/waf-light" ] ; then
${WORKINGDIR}/waf-light --make-waf
WAF="${WORKINGDIR}/waf"
fi
fi
#global installed waf with waf->waf.py link
if [ -z "$WAF" ] ; then
WAF=`which waf 2>/dev/null`
fi
# neither waf nor miniwaf could be found
if [ ! -x "$WAF" ] ; then
printf $RED"not found"$NORMAL"\n"
echo "Go to http://code.google.com/p/waf/"
echo "and download a waf version"
exit $EXIT_FAILURE
else
printf $GREEN"$WAF"$NORMAL"\n"
fi
}
# Generates a Makefile. Requires that $WAF is set.
#
generateMakefile()
{
cat > Makefile << EOF
#!/usr/bin/make -f
# Waf Makefile wrapper
WAF_HOME=$CUR_DIR
all:
@$WAF build
all-debug:
@$WAF -v build
all-progress:
@$WAF -p build
install:
@if test -n "\$(DESTDIR)"; then \\
$WAF install --destdir="\$(DESTDIR)"; \\
else \\
$WAF install; \\
fi;
.PHONY: install
uninstall:
@if test -n "\$(DESTDIR)"; then \\
$WAF uninstall --destdir="\$(DESTDIR)"; \\
else \\
$WAF uninstall; \\
fi;
clean:
@$WAF clean
distclean:
@$WAF distclean
@-rm -rf _build_
@-rm -f Makefile
check:
@$WAF check
dist:
@$WAF dist
EOF
}
checkPython
checkWAF
echo "calling waf configure with parameters"
$WAF configure $* || exit $EXIT_ERROR
if [ -f "Makefile" ] ; then
echo ""
else
generateMakefile
if [ ! -f GNUmakefile ]; then
cp -v GNUmakefile.in GNUmakefile || exit 1
fi
exit $EXIT_SUCCESS
# cmake was invoked in toplevel folder before
# clean up cmake generated build files to prevent conflicts
if [ -f CMakeCache.txt ]; then
echo
echo '####################################################################################'
echo 'CMake build files detected in toplevel folder !!'
echo 'Please always run "cmake" command from distinct folder when you use cmake yourself.'
echo '####################################################################################'
echo
echo 'Cleaning up...'
echo
rm -fr $BUILD_DIR
rm CMakeCache.txt config.h Makefile
find . -iname CMakeFiles -type d|xargs rm -fr
find . -iname cmake_install.cmake -exec rm {} \;
find . -iname CTestTestfile.cmake -exec rm {} \;
find . -iname *-folders -type d|xargs rm -fr
rm -fr data/logo-shade
fi
mkdir -p $BUILD_DIR && cd $BUILD_DIR || exit 1
cmake $ARGS .. || exit 1
echo
echo "Configuring done, run \"make\" to compile"

58
data/CMakeLists.txt Normal file
View file

@ -0,0 +1,58 @@
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de>
include(FindConvert)
if (NOT CONVERT_FOUND)
message(FATAL_ERROR "rsvg-convert not found")
endif ()
include(FindIntltool)
if (NOT INTLTOOL_MERGE_FOUND)
message(FATAL_ERROR "intltool-merge not found")
elseif (NOT INTLTOOL_UPDATE_FOUND)
message(FATAL_ERROR "intltool-update not found")
endif ()
file(GLOB_RECURSE DATA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *)
list(REMOVE_ITEM DATA_FILES "CMakeLists.txt")
foreach(FILE ${DATA_FILES})
if (${FILE} MATCHES "faq.")
install(FILES ${FILE} DESTINATION ${CMAKE_INSTALL_DOCDIR})
elseif (${FILE} MATCHES ".desktop")
if (NOT WIN32)
string(REPLACE ".desktop.in" "" DESKTOP_ID ${FILE})
INTLTOOL_MERGE_DESKTOP (${DESKTOP_ID} po)
endif ()
elseif (${FILE} MATCHES ".appdata.xml")
if (NOT WIN32)
string(REPLACE ".appdata.xml.in" "" DESKTOP_ID ${FILE})
INTLTOOL_MERGE_APPDATA (${DESKTOP_ID} po)
endif ()
elseif (${FILE} MATCHES "\\.svg$")
string(REPLACE ".svg" "" IMG_ID ${FILE})
string (FIND ${FILE} "/" IS_DIR)
if (IS_DIR GREATER -1)
string(REPLACE "/" ";" DIR_LIST ${FILE})
LIST(GET DIR_LIST 0 S_DIR)
SVG2PNG (${IMG_ID} "${CMAKE_INSTALL_DATADIR}/midori/res/${S_DIR}")
else ()
SVG2PNG (${IMG_ID} "${CMAKE_INSTALL_DATADIR}/midori/res/")
endif()
# These are being handled in add_executable for the "midori" binary
elseif (${FILE} MATCHES "\\.ico$")
elseif (${FILE} MATCHES "\\.rc$")
# This is only meant for testing, and not used in production
elseif (${FILE} MATCHES "\\.swf$")
else()
string(FIND ${FILE} "/" IS_DIR)
if (IS_DIR GREATER -1)
string(REPLACE "/" ";" DIR_LIST ${FILE})
LIST(GET DIR_LIST 0 S_DIR)
LIST(GET DIR_LIST 1 S_FILE)
install(FILES ${S_DIR}/${S_FILE} DESTINATION ${CMAKE_INSTALL_DATADIR}/midori/res/${S_DIR})
else ()
install(FILES ${FILE} DESTINATION ${CMAKE_INSTALL_DATADIR}/midori/res/)
endif()
endif()
endforeach()

100
data/about.css Normal file
View file

@ -0,0 +1,100 @@
/*
about: page style template for Midori.
This file is licensed under the terms of the expat license, see the file EXPAT.
*/
body {
background-color: #dedede;
color: #222222;
font-family: 'Open Sans', 'Droid Sans', Arial, sans-serif;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: normal;
margin-top: 100px;
}
html[dir="rtl"] #icon {
float: right;
padding-right: 1%;
}
.indent {
margin-left: 5%;
}
#main {
max-width: 50%;
margin-left: auto;
margin-right: auto;
min-width: 480px;
background-repeat: no-repeat;
background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, .3);
padding: 25px;
-webkit-border-radius: 4px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
background-position-x: 22px;
background-position-y: 54px;
}
#text {
margin-left: 15%;
}
h1 {
font-family: 'Open Sans', 'Droid Sans', arial, sans-serif;
font-size: 32px;
font-style: normal;
font-variant: normal;
font-weight: 300;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
html[dir="ltr"] #logo {
right: 15px;
}
html[dir="rtl"] #logo {
left: 15px;
}
button span,
button img {
vertical-align: middle;
padding: 2px 1px;
}
button {
font-size: 14px;
}
.message {
overflow: hidden;
text-overflow: ellipsis;
}
.description {
font-size: 1em;
overflow: hidden;
text-overflow: ellipsis;
}
#suggestions {
overflow: hidden;
text-overflow: ellipsis;
}
#button {
text-align: right;
}
#logo {
position: absolute; bottom: 15px;
z-index: -1;
}
form {
margin-bottom: 0px;
}

55
data/adblock.list Normal file
View file

@ -0,0 +1,55 @@
[Adblock Plus 2.0]
! Version: 201402142200
! Title: Exercise
! Last modified: 11 Feb 2014 22:00 UTC
! Expires: 3 days (update frequency)
! Homepage: http://www.midori-browser.org
! Licence: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
! Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
!
! Some freeform text:
! Yadayada http://example.com/ e-mail (somebody@example.com).
!
!-----Spam eggs--------!
! *** la:le/lu_foo_bar.txt ***
|/http://ads.blub.boing/*$domain=xxx.com
|/http://ads.blub.boing/*$domain=xxx.com,foo.fr,coco.at
/market.php?$domain=adf.ly|foo.com
/?placement=$script,domain=putlocker.com|sockshare.com
! Some basic filters
*ads.foo.bar*
*ads.bogus.name*
||^http://ads.bla.blub/*
engine.adct.ru/*?
/addyn|*|adtech;
doubleclick.net/pfadx/*.mtvi
objects.tremormedia.com/embed/xml/*.xml?r=
videostrip.com^*/admatcherclient.
test.dom/test?var
/adpage.
br.gcl.ru/cgi-bin/br/
_300x600.
_rectangle_ads.
+adverts/
-2/ads/
! CSS elements
old.tv,delicio.us,longc.at###box
##.zRightAdNote
###advertisingModule160x600
##a[href$="/vghd.shtml"]
imagetwist.com###left[align="center"] > center > a[target="_blank"]
! Options
||videobox.com/?tid=$popup
||sexsearchcom.com^$popup,third-party
||206.217.206.137^$third-party
/spopunder^$popup
||putlocker.com^*.php?*title$subdocument
://ads.$popup
! Whitelist
@@||hortifor.com/images/*120x60$~third-party
@@||stickam.com/wb/www/category/300x250/$image
@@||adultadworld.com/adhandler/$subdocument

View file

@ -0,0 +1,35 @@
/*
Copyright (C) 2014 Alexander V. Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
function getElementsByAttribute (strTagName, strAttributeName, arrAttributeValue) {
var arrElements = document.getElementsByTagName (strTagName);
var arrReturnElements = new Array();
for (var j=0; j<arrAttributeValue.length; j++) {
var strAttributeValue = arrAttributeValue[j];
for (var i=0; i<arrElements.length; i++) {
var oCurrent = arrElements[i];
var oAttribute = oCurrent.getAttribute && oCurrent.getAttribute (strAttributeName);
if (oAttribute && oAttribute.length > 0 && strAttributeValue.indexOf (oAttribute) != -1)
arrReturnElements.push (oCurrent);
}
}
return arrReturnElements;
};
function hideElementBySrc (uris) {
var oElements = getElementsByAttribute('img', 'src', uris);
if (oElements.length == 0)
oElements = getElementsByAttribute ('iframe', 'src', uris);
for (var i=0; i<oElements.length; i++) {
oElements[i].style.visibility = 'hidden !important';
oElements[i].style.width = '0';
oElements[i].style.height = '0';
}
};

View file

@ -1,7 +1,15 @@
/**
* An autosuggest textbox control.
* from Nicholas C. Zakas (Author) example: http://www.nczonline.net/
* Adopted for Midori by Alexander V. Butenko <a.butenka@gmail.com>
/*
An autosuggest textbox control.
Copyright (C) 2012 Nicholas C. Zakas (Author) example: http://www.nczonline.net/
Adopted for Midori by Alexander V. Butenko <a.butenka@gmail.com>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the Nicholas C. Zakas nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
function AutoSuggestControl(oTextbox /*:HTMLInputElement*/,
@ -186,10 +194,10 @@ AutoSuggestControl.prototype.init = function () {
};
//assign onblur event handler (hides suggestions)
this.textbox.onblur =
this.textbox.onclick = function () {
oThis.hideSuggestions();
};
if (!this.textbox.onblur)
this.textbox.onblur = function () { oThis.hideSuggestions(); };
if (!this.textbox.onclick)
this.textbox.onclick = function () { oThis.hideSuggestions(); };
//create the suggestions dropdown
this.createDropDown();
@ -295,9 +303,11 @@ FormSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*:
};
function initSuggestions () {
var inputs = document.getElementsByTagName("input");
var inputs = document.getElementsByTagName ("input");
if (inputs.length == 0)
return false;
for (i=0;i<inputs.length;i++)
for (var i=0;i<inputs.length;i++)
{
var ename = inputs[i].getAttribute("name");
var eid = inputs[i].getAttribute("id");
@ -308,4 +318,5 @@ function initSuggestions () {
if (inputs[i].type == "text" && autocomplete != "off")
var smth = new AutoSuggestControl (inputs[i], new FormSuggestions (ename));
}
return true;
};

91
data/bookmarks/Create.sql Normal file
View file

@ -0,0 +1,91 @@
CREATE TABLE IF NOT EXISTS bookmarks
(
id INTEGER PRIMARY KEY AUTOINCREMENT,
parentid INTEGER DEFAULT NULL,
title TEXT,
uri TEXT,
desc TEXT,
app INTEGER,
toolbar INTEGER,
pos_panel INTEGER,
pos_bar INTEGER,
created DATE DEFAULT CURRENT_TIMESTAMP,
last_visit DATE,
visit_count INTEGER DEFAULT 0,
nick TEXT,
FOREIGN KEY(parentid) REFERENCES bookmarks(id) ON DELETE CASCADE
);
/* trigger: insert panel position */
CREATE TRIGGER IF NOT EXISTS bookmarkInsertPosPanel
AFTER INSERT ON bookmarks FOR EACH ROW
BEGIN UPDATE bookmarks SET pos_panel = (
SELECT ifnull(MAX(pos_panel),0)+1 FROM bookmarks WHERE
(NEW.parentid IS NOT NULL AND parentid = NEW.parentid)
OR (NEW.parentid IS NULL AND parentid IS NULL))
WHERE id = NEW.id; END;
/* trigger: insert Bookmarkbar position */
CREATE TRIGGER IF NOT EXISTS bookmarkInsertPosBar
AFTER INSERT ON bookmarks FOR EACH ROW WHEN NEW.toolbar=1
BEGIN UPDATE bookmarks SET pos_bar = (
SELECT ifnull(MAX(pos_bar),0)+1 FROM bookmarks WHERE
((NEW.parentid IS NOT NULL AND parentid = NEW.parentid)
OR (NEW.parentid IS NULL AND parentid IS NULL)) AND toolbar=1)
WHERE id = NEW.id; END;
/* trigger: update panel position */
CREATE TRIGGER IF NOT EXISTS bookmarkUpdatePosPanel
BEFORE UPDATE OF parentid ON bookmarks FOR EACH ROW
WHEN ((NEW.parentid IS NULL OR OLD.parentid IS NULL)
AND NEW.parentid IS NOT OLD.parentid) OR
((NEW.parentid IS NOT NULL AND OLD.parentid IS NOT NULL)
AND NEW.parentid!=OLD.parentid)
BEGIN UPDATE bookmarks SET pos_panel = pos_panel-1
WHERE ((OLD.parentid IS NOT NULL AND parentid = OLD.parentid)
OR (OLD.parentid IS NULL AND parentid IS NULL)) AND pos_panel > OLD.pos_panel;
UPDATE bookmarks SET pos_panel = (
SELECT ifnull(MAX(pos_panel),0)+1 FROM bookmarks
WHERE (NEW.parentid IS NOT NULL AND parentid = NEW.parentid)
OR (NEW.parentid IS NULL AND parentid IS NULL))
WHERE id = OLD.id; END;
/* trigger: update Bookmarkbar position */
CREATE TRIGGER IF NOT EXISTS bookmarkUpdatePosBar0
AFTER UPDATE OF parentid, toolbar ON bookmarks FOR EACH ROW
WHEN ((NEW.parentid IS NULL OR OLD.parentid IS NULL)
AND NEW.parentid IS NOT OLD.parentid)
OR ((NEW.parentid IS NOT NULL AND OLD.parentid IS NOT NULL)
AND NEW.parentid!=OLD.parentid) OR (OLD.toolbar=1 AND NEW.toolbar=0)
BEGIN UPDATE bookmarks SET pos_bar = NULL WHERE id = NEW.id;
UPDATE bookmarks SET pos_bar = pos_bar-1
WHERE ((OLD.parentid IS NOT NULL AND parentid = OLD.parentid)
OR (OLD.parentid IS NULL AND parentid IS NULL)) AND pos_bar > OLD.pos_bar; END;
/* trigger: update Bookmarkbar position */
CREATE TRIGGER IF NOT EXISTS bookmarkUpdatePosBar1
BEFORE UPDATE OF parentid, toolbar ON bookmarks FOR EACH ROW
WHEN ((NEW.parentid IS NULL OR OLD.parentid IS NULL)
AND NEW.parentid IS NOT OLD.parentid) OR
((NEW.parentid IS NOT NULL AND OLD.parentid IS NOT NULL)
AND NEW.parentid!=OLD.parentid) OR (OLD.toolbar=0 AND NEW.toolbar=1)
BEGIN UPDATE bookmarks SET pos_bar = (
SELECT ifnull(MAX(pos_bar),0)+1 FROM bookmarks WHERE
(NEW.parentid IS NOT NULL AND parentid = NEW.parentid)
OR (NEW.parentid IS NULL AND parentid IS NULL))
WHERE id = OLD.id; END;
/* trigger: delete panel position */
CREATE TRIGGER IF NOT EXISTS bookmarkDeletePosPanel
AFTER DELETE ON bookmarks FOR EACH ROW
BEGIN UPDATE bookmarks SET pos_panel = pos_panel-1
WHERE ((OLD.parentid IS NOT NULL AND parentid = OLD.parentid)
OR (OLD.parentid IS NULL AND parentid IS NULL)) AND pos_panel > OLD.pos_panel; END;
/* trigger: delete Bookmarkbar position */
CREATE TRIGGER IF NOT EXISTS bookmarkDeletePosBar
AFTER DELETE ON bookmarks FOR EACH ROW WHEN OLD.toolbar=1
BEGIN UPDATE bookmarks SET pos_bar = pos_bar-1
WHERE ((OLD.parentid IS NOT NULL AND parentid = OLD.parentid)
OR (OLD.parentid IS NULL AND parentid IS NULL)) AND pos_bar > OLD.pos_bar; END;

View file

@ -0,0 +1,6 @@
INSERT INTO main.bookmarks (parentid, title, uri, desc, app, toolbar)
SELECT NULL AS parentid, title, uri, desc, app, toolbar
FROM old_db.bookmarks;
UPDATE main.bookmarks SET parentid = (
SELECT id FROM main.bookmarks AS b1 WHERE b1.title = (
SELECT folder FROM old_db.bookmarks WHERE title = main.bookmarks.title));

View file

@ -1,3 +0,0 @@
[D-BUS Service]
Name=com.nokia.midori
Exec=/usr/bin/midori

View file

@ -2,78 +2,29 @@
Error page template for Midori.
This file is licensed under the terms of the expat license, see the file EXPAT.
-->
<html>
<html dir="{dir}">
<head>
<title>{title}</title>
<style type="text/css">
body {
background-color: #eee;
margin: 0;
padding: 0;
}
#container {
background: #f6fff3;
min-width: 70%;
max-width: 70%;
margin: 2em auto 1em;
padding: 1em;
border: 0.2em solid #9acb7f;
-webkit-border-radius: 1em;
}
icon {
float: left;
padding-left: 1%;
padding-top: 1%;
}
#main {
float: right;
width: 90%;
}
h1 {
font-size: 1.4em;
font-weight: bold;
}
#logo {
position: absolute; right: 15px; bottom: 15px;
z-index: -1;
}
button span,
button img {
vertical-align: middle;
padding: 2px 1px;
}
message {
font-size: 1.1em;
}
description {
font-size: 1em;
}
</style>
{favicon}
<link rel="stylesheet" type="text/css" href="res://about.css" />
</head>
<body>
<div id="container">
<img id="logo" src="{res}/logo-shade.png" />
<img id="icon" src="{stock}/gtk-dialog-error" />
<div id="main">
<h1>{title}</h1>
<p id="message">{message}</p>
<p id="description">{description}</p>
<button onclick="location.reload()">
<img src="{stock}/gtk-refresh"/>
<span>{tryagain}</span>
</button>
<img id="logo" src="res://logo-shade.png" />
<div id="main" style="background-image: url({error_icon});">
<div id="text">
<h1>{title}</h1>
<p class="message">{message}<br><i>{description}</i></p>
{suggestions}
</div>
<form method="GET" action="{uri}" id="button">
<button type="submit" onclick="location.reload(); return false;" {autofocus}>
<img style="{hide-button-images}" src="stock://gtk-refresh"/>
<span>{tryagain}</span>
</button>
</form>
</div>
<br style="clear: both;"/>
</div>
</body>
<br style="clear: both;"/>
</div>
</body>
</html>

View file

@ -1,2 +0,0 @@
[settings]
filters=http://adblockplus.mozdev.org/easylist/easylist.txt

View file

@ -8,29 +8,64 @@ Stylesheet for Midori's documentation based on a version of Enrico Troeger.
@media screen {
body {
background-color: #f6fff3;
color: #404040;
margin-left: 0.4em;
width: 60em;
font-size: 90%;
html, body {
width: 100% !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
a {
color: #013100;
* {
background: #f6fff3 !important;
color: #404040 !important;
font-size: 14pt !important;
font-family: serif !important;
text-align: justify !important;
line-height: 1.4em !important;
word-spacing: 0.4mm !important;
letter-spacing: 0.2mm !important;
-webkit-column-count: auto !important;
-webkit-column-width: auto !important;
-webkit-box-shadow: none !important;
width: auto !important;
word-wrap: break-word !important;
}
a:visited {
color: #7E558E;
div, p {
padding: 5pt !important;
}
li {
padding-left: 5pt !important;
}
img, *[accesskey], form *, form, iframe,
*[id^=navigation], *[id$=navigation], *[id*=navigation], .collapsed, .expanded {
display: none !important
}
/* FIXME: we want "images bigger than 50px here" */
img[width] {
display: inline !important
}
:link, :link * {
color: #013100 !important;
text-decoration: underline !important;
}
:visited, :visited * {
color: #7E558E !important;
text-decoration: underline !important;
}
a:hover {
text-decoration: none;
text-decoration: none !important;
}
h1, h2, h3 {
font-family: sans-serif;
color: #002a00;
font-family: serif !important;
color: #002a00 !important;
}
h1 {

1256
data/faq.html Normal file

File diff suppressed because it is too large Load diff

6
data/flummi/Create.sql Normal file
View file

@ -0,0 +1,6 @@
CREATE TABLE IF NOT EXISTS tasks
(
id INTEGER PRIMARY KEY,
once INTEGER DEFAULT 1,
command TEXT DEFAULT NULL
);

6
data/forms/Create.sql Normal file
View file

@ -0,0 +1,6 @@
CREATE TABLE IF NOT EXISTS forms
(
domain text,
field text,
value text
)

29
data/gtk3.css Normal file
View file

@ -0,0 +1,29 @@
.notebook tab .button {
-GtkButton-default-border: 0;
-GtkButton-default-outside-border: 0;
-GtkButton-inner-border: 0;
-GtkWidget-focus-line-width: 0;
-GtkWidget-focus-padding: 0;
padding: 0;
border-width: 1px 1px 0 0;
}
GtkOverlay > * {
padding: 4px;
border-style: solid;
border-radius: 0 5px 0 0;
border-width: 1px 1px 0 0;
}
GtkOverlay MidoriFindbar {
border-radius: 0 0 0 5px;
border-width: 0 0 1px 1px; /* top right bottom left */
}
/* Kill grey backround on inactive buttons */
GtkDrawingArea,
GtkImage,
GtkImage:insensitive,
GtkImage:selected {
background-color: @transparent;
}

13
data/history/Create.sql Normal file
View file

@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS history
(
uri text,
title text,
date integer,
day integer
);
CREATE TABLE IF NOT EXISTS search
(
keywords text,
uri text,
day integer
);

14
data/history/Day.sql Normal file
View file

@ -0,0 +1,14 @@
CREATE TEMPORARY TABLE backup
(
uri text,
title text,
date integer
);
INSERT INTO backup SELECT uri, title, date FROM history;
DROP TABLE history;
CREATE TABLE history (uri text, title text, date integer, day integer);
INSERT INTO history SELECT uri, title, date,
julianday(date(date,'unixepoch','start of day','+1 day'))
- julianday('0001-01-01','start of day')
FROM backup;
DROP TABLE backup;

View file

@ -0,0 +1,15 @@
[Desktop Entry]
Version=1.0
Type=Application
_Name=Midori Private Browsing
_GenericName=Private Browsing
_Comment=Open a new private browsing window
Categories=GTK;Network;WebBrowser;
Exec=midori --private %U
Icon=midori
Terminal=false
StartupNotify=true
NotShowIn=Pantheon;
X-Osso-Type=application/x-executable
X-Osso-Service=midori

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013 Christian Dywan -->
<application>
<id type="desktop">midori.desktop</id>
<licence>CC0</licence>
<description>
<p>
Midori is a fast little WebKit browser with support for HTML5. It can manage
many open tabs and windows. The URL bar completes history, bookmarks, search
engines and open tabs out of the box. Web developers can use the powerful
web inspector that is a part of WebKit. Individual pages can easily be turned
into web apps and new profiles can be created on demand.
</p>
<p>A number of extensions are included by default:</p>
<ul>
<li>Adblock with support for ABP filter lists and custom rules is built-in</li>
<li>You can download files with Aria2 or SteadyFlow</li>
<li>User scripts and styles support a la Greasemonkey</li>
<li>Managing cookies and scripts via NoJS and Cookie Security Manager</li>
<li>Switching open tabs in a vertical panel or a popup window</li>
</ul>
</description>
<url type="homepage">http://www.midori-browser.org/</url>
<screenshots>
<screenshot type="default">http://www.midori-browser.org/images/screenshots/rdio.png</screenshot>
</screenshots>
<updatecontact>christian@twotoasts.de</updatecontact>
</application>

View file

@ -3,12 +3,30 @@ Version=1.0
Type=Application
_Name=Midori
_GenericName=Web Browser
_Comment=Lightweight web browser
_X-GNOME-Fullname=Midori Web Browser
_Comment=Browse the Web
_X-GNOME-Keywords=Internet;WWW;Explorer
_X-AppInstall-Keywords=Internet;WWW;Explorer
Categories=GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
Exec=midori %u
MimeType=text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo;image/svg+xml;
Exec=midori %U
Icon=midori
Terminal=false
StartupNotify=true
X-GNOME-UsesNotifications=true
X-Osso-Type=application/x-executable
X-Osso-Service=midori
Actions=TabNew;WindowNew;Private;
[Desktop Action TabNew]
_Name=New Tab
Exec=midori -e TabNew
[Desktop Action WindowNew]
_Name=New Window
Exec=midori -e WindowNew
[Desktop Action Private]
_Name=New Private Browsing Window
Exec=midori --private

BIN
data/midori.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View file

@ -1,2 +1,2 @@
IDR_MAINFRAME ICON DISCARDABLE "../_build_/default/data/midori.ico"
IDR_MAINFRAME ICON DISCARDABLE "midori.ico"

BIN
data/midori.swf Normal file

Binary file not shown.

View file

@ -1,313 +0,0 @@
//MooTools, <http://mootools.net>, My Object Oriented (JavaScript) Tools. Copyright (c) 2006-2009 Valerio Proietti, <http://mad4milk.net>, MIT Style License.
var MooTools={version:"1.2.2",build:"f0491d62fbb7e906789aa3733d6a67d43e5af7c9"};var Native=function(k){k=k||{};var a=k.name;var i=k.legacy;var b=k.protect;
var c=k.implement;var h=k.generics;var f=k.initialize;var g=k.afterImplement||function(){};var d=f||i;h=h!==false;d.constructor=Native;d.$family={name:"native"};
if(i&&f){d.prototype=i.prototype;}d.prototype.constructor=d;if(a){var e=a.toLowerCase();d.prototype.$family={name:e};Native.typize(d,e);}var j=function(n,l,o,m){if(!b||m||!n.prototype[l]){n.prototype[l]=o;
}if(h){Native.genericize(n,l,b);}g.call(n,l,o);return n;};d.alias=function(n,l,o){if(typeof n=="string"){if((n=this.prototype[n])){return j(this,l,n,o);
}}for(var m in n){this.alias(m,n[m],l);}return this;};d.implement=function(m,l,o){if(typeof m=="string"){return j(this,m,l,o);}for(var n in m){j(this,n,m[n],l);
}return this;};if(c){d.implement(c);}return d;};Native.genericize=function(b,c,a){if((!a||!b[c])&&typeof b.prototype[c]=="function"){b[c]=function(){var d=Array.prototype.slice.call(arguments);
return b.prototype[c].apply(d.shift(),d);};}};Native.implement=function(d,c){for(var b=0,a=d.length;b<a;b++){d[b].implement(c);}};Native.typize=function(a,b){if(!a.type){a.type=function(c){return($type(c)===b);
};}};(function(){var a={Array:Array,Date:Date,Function:Function,Number:Number,RegExp:RegExp,String:String};for(var h in a){new Native({name:h,initialize:a[h],protect:true});
}var d={"boolean":Boolean,"native":Native,object:Object};for(var c in d){Native.typize(d[c],c);}var f={Array:["concat","indexOf","join","lastIndexOf","pop","push","reverse","shift","slice","sort","splice","toString","unshift","valueOf"],String:["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","valueOf"]};
for(var e in f){for(var b=f[e].length;b--;){Native.genericize(window[e],f[e][b],true);}}})();var Hash=new Native({name:"Hash",initialize:function(a){if($type(a)=="hash"){a=$unlink(a.getClean());
}for(var b in a){this[b]=a[b];}return this;}});Hash.implement({forEach:function(b,c){for(var a in this){if(this.hasOwnProperty(a)){b.call(c,this[a],a,this);
}}},getClean:function(){var b={};for(var a in this){if(this.hasOwnProperty(a)){b[a]=this[a];}}return b;},getLength:function(){var b=0;for(var a in this){if(this.hasOwnProperty(a)){b++;
}}return b;}});Hash.alias("forEach","each");Array.implement({forEach:function(c,d){for(var b=0,a=this.length;b<a;b++){c.call(d,this[b],b,this);}}});Array.alias("forEach","each");
function $A(b){if(b.item){var a=b.length,c=new Array(a);while(a--){c[a]=b[a];}return c;}return Array.prototype.slice.call(b);}function $arguments(a){return function(){return arguments[a];
};}function $chk(a){return !!(a||a===0);}function $clear(a){clearTimeout(a);clearInterval(a);return null;}function $defined(a){return(a!=undefined);}function $each(c,b,d){var a=$type(c);
((a=="arguments"||a=="collection"||a=="array")?Array:Hash).each(c,b,d);}function $empty(){}function $extend(c,a){for(var b in (a||{})){c[b]=a[b];}return c;
}function $H(a){return new Hash(a);}function $lambda(a){return(typeof a=="function")?a:function(){return a;};}function $merge(){var a=Array.slice(arguments);
a.unshift({});return $mixin.apply(null,a);}function $mixin(e){for(var d=1,a=arguments.length;d<a;d++){var b=arguments[d];if($type(b)!="object"){continue;
}for(var c in b){var g=b[c],f=e[c];e[c]=(f&&$type(g)=="object"&&$type(f)=="object")?$mixin(f,g):$unlink(g);}}return e;}function $pick(){for(var b=0,a=arguments.length;
b<a;b++){if(arguments[b]!=undefined){return arguments[b];}}return null;}function $random(b,a){return Math.floor(Math.random()*(a-b+1)+b);}function $splat(b){var a=$type(b);
return(a)?((a!="array"&&a!="arguments")?[b]:b):[];}var $time=Date.now||function(){return +new Date;};function $try(){for(var b=0,a=arguments.length;b<a;
b++){try{return arguments[b]();}catch(c){}}return null;}function $type(a){if(a==undefined){return false;}if(a.$family){return(a.$family.name=="number"&&!isFinite(a))?false:a.$family.name;
}if(a.nodeName){switch(a.nodeType){case 1:return"element";case 3:return(/\S/).test(a.nodeValue)?"textnode":"whitespace";}}else{if(typeof a.length=="number"){if(a.callee){return"arguments";
}else{if(a.item){return"collection";}}}}return typeof a;}function $unlink(c){var b;switch($type(c)){case"object":b={};for(var e in c){b[e]=$unlink(c[e]);
}break;case"hash":b=new Hash(c);break;case"array":b=[];for(var d=0,a=c.length;d<a;d++){b[d]=$unlink(c[d]);}break;default:return c;}return b;}var Browser=$merge({Engine:{name:"unknown",version:0},Platform:{name:(window.orientation!=undefined)?"ipod":(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase()},Features:{xpath:!!(document.evaluate),air:!!(window.runtime),query:!!(document.querySelector)},Plugins:{},Engines:{presto:function(){return(!window.opera)?false:((arguments.callee.caller)?960:((document.getElementsByClassName)?950:925));
},trident:function(){return(!window.ActiveXObject)?false:((window.XMLHttpRequest)?5:4);},webkit:function(){return(navigator.taintEnabled)?false:((Browser.Features.xpath)?((Browser.Features.query)?525:420):419);
},gecko:function(){return(document.getBoxObjectFor==undefined)?false:((document.getElementsByClassName)?19:18);}}},Browser||{});Browser.Platform[Browser.Platform.name]=true;
Browser.detect=function(){for(var b in this.Engines){var a=this.Engines[b]();if(a){this.Engine={name:b,version:a};this.Engine[b]=this.Engine[b+a]=true;
break;}}return{name:b,version:a};};Browser.detect();Browser.Request=function(){return $try(function(){return new XMLHttpRequest();},function(){return new ActiveXObject("MSXML2.XMLHTTP");
});};Browser.Features.xhr=!!(Browser.Request());Browser.Plugins.Flash=(function(){var a=($try(function(){return navigator.plugins["Shockwave Flash"].description;
},function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version");})||"0 r0").match(/\d+/g);return{version:parseInt(a[0]||0+"."+a[1],10)||0,build:parseInt(a[2],10)||0};
})();function $exec(b){if(!b){return b;}if(window.execScript){window.execScript(b);}else{var a=document.createElement("script");a.setAttribute("type","text/javascript");
a[(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerText":"text"]=b;document.head.appendChild(a);document.head.removeChild(a);}return b;}Native.UID=1;
var $uid=(Browser.Engine.trident)?function(a){return(a.uid||(a.uid=[Native.UID++]))[0];}:function(a){return a.uid||(a.uid=Native.UID++);};var Window=new Native({name:"Window",legacy:(Browser.Engine.trident)?null:window.Window,initialize:function(a){$uid(a);
if(!a.Element){a.Element=$empty;if(Browser.Engine.webkit){a.document.createElement("iframe");}a.Element.prototype=(Browser.Engine.webkit)?window["[[DOMElement.prototype]]"]:{};
}a.document.window=a;return $extend(a,Window.Prototype);},afterImplement:function(b,a){window[b]=Window.Prototype[b]=a;}});Window.Prototype={$family:{name:"window"}};
new Window(window);var Document=new Native({name:"Document",legacy:(Browser.Engine.trident)?null:window.Document,initialize:function(a){$uid(a);a.head=a.getElementsByTagName("head")[0];
a.html=a.getElementsByTagName("html")[0];if(Browser.Engine.trident&&Browser.Engine.version<=4){$try(function(){a.execCommand("BackgroundImageCache",false,true);
});}if(Browser.Engine.trident){a.window.attachEvent("onunload",function(){a.window.detachEvent("onunload",arguments.callee);a.head=a.html=a.window=null;
});}return $extend(a,Document.Prototype);},afterImplement:function(b,a){document[b]=Document.Prototype[b]=a;}});Document.Prototype={$family:{name:"document"}};
new Document(document);Array.implement({every:function(c,d){for(var b=0,a=this.length;b<a;b++){if(!c.call(d,this[b],b,this)){return false;}}return true;
},filter:function(d,e){var c=[];for(var b=0,a=this.length;b<a;b++){if(d.call(e,this[b],b,this)){c.push(this[b]);}}return c;},clean:function(){return this.filter($defined);
},indexOf:function(c,d){var a=this.length;for(var b=(d<0)?Math.max(0,a+d):d||0;b<a;b++){if(this[b]===c){return b;}}return -1;},map:function(d,e){var c=[];
for(var b=0,a=this.length;b<a;b++){c[b]=d.call(e,this[b],b,this);}return c;},some:function(c,d){for(var b=0,a=this.length;b<a;b++){if(c.call(d,this[b],b,this)){return true;
}}return false;},associate:function(c){var d={},b=Math.min(this.length,c.length);for(var a=0;a<b;a++){d[c[a]]=this[a];}return d;},link:function(c){var a={};
for(var e=0,b=this.length;e<b;e++){for(var d in c){if(c[d](this[e])){a[d]=this[e];delete c[d];break;}}}return a;},contains:function(a,b){return this.indexOf(a,b)!=-1;
},extend:function(c){for(var b=0,a=c.length;b<a;b++){this.push(c[b]);}return this;},getLast:function(){return(this.length)?this[this.length-1]:null;},getRandom:function(){return(this.length)?this[$random(0,this.length-1)]:null;
},include:function(a){if(!this.contains(a)){this.push(a);}return this;},combine:function(c){for(var b=0,a=c.length;b<a;b++){this.include(c[b]);}return this;
},erase:function(b){for(var a=this.length;a--;a){if(this[a]===b){this.splice(a,1);}}return this;},empty:function(){this.length=0;return this;},flatten:function(){var d=[];
for(var b=0,a=this.length;b<a;b++){var c=$type(this[b]);if(!c){continue;}d=d.concat((c=="array"||c=="collection"||c=="arguments")?Array.flatten(this[b]):this[b]);
}return d;},hexToRgb:function(b){if(this.length!=3){return null;}var a=this.map(function(c){if(c.length==1){c+=c;}return c.toInt(16);});return(b)?a:"rgb("+a+")";
},rgbToHex:function(d){if(this.length<3){return null;}if(this.length==4&&this[3]==0&&!d){return"transparent";}var b=[];for(var a=0;a<3;a++){var c=(this[a]-0).toString(16);
b.push((c.length==1)?"0"+c:c);}return(d)?b:"#"+b.join("");}});Function.implement({extend:function(a){for(var b in a){this[b]=a[b];}return this;},create:function(b){var a=this;
b=b||{};return function(d){var c=b.arguments;c=(c!=undefined)?$splat(c):Array.slice(arguments,(b.event)?1:0);if(b.event){c=[d||window.event].extend(c);
}var e=function(){return a.apply(b.bind||null,c);};if(b.delay){return setTimeout(e,b.delay);}if(b.periodical){return setInterval(e,b.periodical);}if(b.attempt){return $try(e);
}return e();};},run:function(a,b){return this.apply(b,$splat(a));},pass:function(a,b){return this.create({bind:b,arguments:a});},bind:function(b,a){return this.create({bind:b,arguments:a});
},bindWithEvent:function(b,a){return this.create({bind:b,arguments:a,event:true});},attempt:function(a,b){return this.create({bind:b,arguments:a,attempt:true})();
},delay:function(b,c,a){return this.create({bind:c,arguments:a,delay:b})();},periodical:function(c,b,a){return this.create({bind:b,arguments:a,periodical:c})();
}});Number.implement({limit:function(b,a){return Math.min(a,Math.max(b,this));},round:function(a){a=Math.pow(10,a||0);return Math.round(this*a)/a;},times:function(b,c){for(var a=0;
a<this;a++){b.call(c,a,this);}},toFloat:function(){return parseFloat(this);},toInt:function(a){return parseInt(this,a||10);}});Number.alias("times","each");
(function(b){var a={};b.each(function(c){if(!Number[c]){a[c]=function(){return Math[c].apply(null,[this].concat($A(arguments)));};}});Number.implement(a);
})(["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"]);String.implement({test:function(a,b){return((typeof a=="string")?new RegExp(a,b):a).test(this);
},contains:function(a,b){return(b)?(b+this+b).indexOf(b+a+b)>-1:this.indexOf(a)>-1;},trim:function(){return this.replace(/^\s+|\s+$/g,"");},clean:function(){return this.replace(/\s+/g," ").trim();
},camelCase:function(){return this.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase();});},hyphenate:function(){return this.replace(/[A-Z]/g,function(a){return("-"+a.charAt(0).toLowerCase());
});},capitalize:function(){return this.replace(/\b[a-z]/g,function(a){return a.toUpperCase();});},escapeRegExp:function(){return this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1");
},toInt:function(a){return parseInt(this,a||10);},toFloat:function(){return parseFloat(this);},hexToRgb:function(b){var a=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);
return(a)?a.slice(1).hexToRgb(b):null;},rgbToHex:function(b){var a=this.match(/\d{1,3}/g);return(a)?a.rgbToHex(b):null;},stripScripts:function(b){var a="";
var c=this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){a+=arguments[1]+"\n";return"";});if(b===true){$exec(a);}else{if($type(b)=="function"){b(a,c);
}}return c;},substitute:function(a,b){return this.replace(b||(/\\?\{([^{}]+)\}/g),function(d,c){if(d.charAt(0)=="\\"){return d.slice(1);}return(a[c]!=undefined)?a[c]:"";
});}});Hash.implement({has:Object.prototype.hasOwnProperty,keyOf:function(b){for(var a in this){if(this.hasOwnProperty(a)&&this[a]===b){return a;}}return null;
},hasValue:function(a){return(Hash.keyOf(this,a)!==null);},extend:function(a){Hash.each(a,function(c,b){Hash.set(this,b,c);},this);return this;},combine:function(a){Hash.each(a,function(c,b){Hash.include(this,b,c);
},this);return this;},erase:function(a){if(this.hasOwnProperty(a)){delete this[a];}return this;},get:function(a){return(this.hasOwnProperty(a))?this[a]:null;
},set:function(a,b){if(!this[a]||this.hasOwnProperty(a)){this[a]=b;}return this;},empty:function(){Hash.each(this,function(b,a){delete this[a];},this);
return this;},include:function(a,b){if(this[a]==undefined){this[a]=b;}return this;},map:function(b,c){var a=new Hash;Hash.each(this,function(e,d){a.set(d,b.call(c,e,d,this));
},this);return a;},filter:function(b,c){var a=new Hash;Hash.each(this,function(e,d){if(b.call(c,e,d,this)){a.set(d,e);}},this);return a;},every:function(b,c){for(var a in this){if(this.hasOwnProperty(a)&&!b.call(c,this[a],a)){return false;
}}return true;},some:function(b,c){for(var a in this){if(this.hasOwnProperty(a)&&b.call(c,this[a],a)){return true;}}return false;},getKeys:function(){var a=[];
Hash.each(this,function(c,b){a.push(b);});return a;},getValues:function(){var a=[];Hash.each(this,function(b){a.push(b);});return a;},toQueryString:function(a){var b=[];
Hash.each(this,function(f,e){if(a){e=a+"["+e+"]";}var d;switch($type(f)){case"object":d=Hash.toQueryString(f,e);break;case"array":var c={};f.each(function(h,g){c[g]=h;
});d=Hash.toQueryString(c,e);break;default:d=e+"="+encodeURIComponent(f);}if(f!=undefined){b.push(d);}});return b.join("&");}});Hash.alias({keyOf:"indexOf",hasValue:"contains"});
var Event=new Native({name:"Event",initialize:function(a,f){f=f||window;var k=f.document;a=a||f.event;if(a.$extended){return a;}this.$extended=true;var j=a.type;
var g=a.target||a.srcElement;while(g&&g.nodeType==3){g=g.parentNode;}if(j.test(/key/)){var b=a.which||a.keyCode;var m=Event.Keys.keyOf(b);if(j=="keydown"){var d=b-111;
if(d>0&&d<13){m="f"+d;}}m=m||String.fromCharCode(b).toLowerCase();}else{if(j.match(/(click|mouse|menu)/i)){k=(!k.compatMode||k.compatMode=="CSS1Compat")?k.html:k.body;
var i={x:a.pageX||a.clientX+k.scrollLeft,y:a.pageY||a.clientY+k.scrollTop};var c={x:(a.pageX)?a.pageX-f.pageXOffset:a.clientX,y:(a.pageY)?a.pageY-f.pageYOffset:a.clientY};
if(j.match(/DOMMouseScroll|mousewheel/)){var h=(a.wheelDelta)?a.wheelDelta/120:-(a.detail||0)/3;}var e=(a.which==3)||(a.button==2);var l=null;if(j.match(/over|out/)){switch(j){case"mouseover":l=a.relatedTarget||a.fromElement;
break;case"mouseout":l=a.relatedTarget||a.toElement;}if(!(function(){while(l&&l.nodeType==3){l=l.parentNode;}return true;}).create({attempt:Browser.Engine.gecko})()){l=false;
}}}}return $extend(this,{event:a,type:j,page:i,client:c,rightClick:e,wheel:h,relatedTarget:l,target:g,code:b,key:m,shift:a.shiftKey,control:a.ctrlKey,alt:a.altKey,meta:a.metaKey});
}});Event.Keys=new Hash({enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46});Event.implement({stop:function(){return this.stopPropagation().preventDefault();
},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation();}else{this.event.cancelBubble=true;}return this;},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault();
}else{this.event.returnValue=false;}return this;}});function Class(b){if(b instanceof Function){b={initialize:b};}var a=function(){Object.reset(this);if(a._prototyping){return this;
}this._current=$empty;var c=(this.initialize)?this.initialize.apply(this,arguments):this;delete this._current;delete this.caller;return c;}.extend(this);
a.implement(b);a.constructor=Class;a.prototype.constructor=a;return a;}Function.prototype.protect=function(){this._protected=true;return this;};Object.reset=function(a,c){if(c==null){for(var e in a){Object.reset(a,e);
}return a;}delete a[c];switch($type(a[c])){case"object":var d=function(){};d.prototype=a[c];var b=new d;a[c]=Object.reset(b);break;case"array":a[c]=$unlink(a[c]);
break;}return a;};new Native({name:"Class",initialize:Class}).extend({instantiate:function(b){b._prototyping=true;var a=new b;delete b._prototyping;return a;
},wrap:function(a,b,c){if(c._origin){c=c._origin;}return function(){if(c._protected&&this._current==null){throw new Error('The method "'+b+'" cannot be called.');
}var e=this.caller,f=this._current;this.caller=f;this._current=arguments.callee;var d=c.apply(this,arguments);this._current=f;this.caller=e;return d;}.extend({_owner:a,_origin:c,_name:b});
}});Class.implement({implement:function(a,d){if($type(a)=="object"){for(var e in a){this.implement(e,a[e]);}return this;}var f=Class.Mutators[a];if(f){d=f.call(this,d);
if(d==null){return this;}}var c=this.prototype;switch($type(d)){case"function":if(d._hidden){return this;}c[a]=Class.wrap(this,a,d);break;case"object":var b=c[a];
if($type(b)=="object"){$mixin(b,d);}else{c[a]=$unlink(d);}break;case"array":c[a]=$unlink(d);break;default:c[a]=d;}return this;}});Class.Mutators={Extends:function(a){this.parent=a;
this.prototype=Class.instantiate(a);this.implement("parent",function(){var b=this.caller._name,c=this.caller._owner.parent.prototype[b];if(!c){throw new Error('The method "'+b+'" has no parent.');
}return c.apply(this,arguments);}.protect());},Implements:function(a){$splat(a).each(function(b){if(b instanceof Function){b=Class.instantiate(b);}this.implement(b);
},this);}};var Chain=new Class({$chain:[],chain:function(){this.$chain.extend(Array.flatten(arguments));return this;},callChain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false;
},clearChain:function(){this.$chain.empty();return this;}});var Events=new Class({$events:{},addEvent:function(c,b,a){c=Events.removeOn(c);if(b!=$empty){this.$events[c]=this.$events[c]||[];
this.$events[c].include(b);if(a){b.internal=true;}}return this;},addEvents:function(a){for(var b in a){this.addEvent(b,a[b]);}return this;},fireEvent:function(c,b,a){c=Events.removeOn(c);
if(!this.$events||!this.$events[c]){return this;}this.$events[c].each(function(d){d.create({bind:this,delay:a,"arguments":b})();},this);return this;},removeEvent:function(b,a){b=Events.removeOn(b);
if(!this.$events[b]){return this;}if(!a.internal){this.$events[b].erase(a);}return this;},removeEvents:function(c){var d;if($type(c)=="object"){for(d in c){this.removeEvent(d,c[d]);
}return this;}if(c){c=Events.removeOn(c);}for(d in this.$events){if(c&&c!=d){continue;}var b=this.$events[d];for(var a=b.length;a--;a){this.removeEvent(d,b[a]);
}}return this;}});Events.removeOn=function(a){return a.replace(/^on([A-Z])/,function(b,c){return c.toLowerCase();});};var Options=new Class({setOptions:function(){this.options=$merge.run([this.options].extend(arguments));
if(!this.addEvent){return this;}for(var a in this.options){if($type(this.options[a])!="function"||!(/^on[A-Z]/).test(a)){continue;}this.addEvent(a,this.options[a]);
delete this.options[a];}return this;}});var Element=new Native({name:"Element",legacy:window.Element,initialize:function(a,b){var c=Element.Constructors.get(a);
if(c){return c(b);}if(typeof a=="string"){return document.newElement(a,b);}return $(a).set(b);},afterImplement:function(a,b){Element.Prototype[a]=b;if(Array[a]){return;
}Elements.implement(a,function(){var c=[],g=true;for(var e=0,d=this.length;e<d;e++){var f=this[e][a].apply(this[e],arguments);c.push(f);if(g){g=($type(f)=="element");
}}return(g)?new Elements(c):c;});}});Element.Prototype={$family:{name:"element"}};Element.Constructors=new Hash;var IFrame=new Native({name:"IFrame",generics:false,initialize:function(){var e=Array.link(arguments,{properties:Object.type,iframe:$defined});
var c=e.properties||{};var b=$(e.iframe)||false;var d=c.onload||$empty;delete c.onload;c.id=c.name=$pick(c.id,c.name,b.id,b.name,"IFrame_"+$time());b=new Element(b||"iframe",c);
var a=function(){var f=$try(function(){return b.contentWindow.location.host;});if(f&&f==window.location.host){var g=new Window(b.contentWindow);new Document(b.contentWindow.document);
$extend(g.Element.prototype,Element.Prototype);}d.call(b.contentWindow,b.contentWindow.document);};(window.frames[c.id])?a():b.addListener("load",a);return b;
}});var Elements=new Native({initialize:function(f,b){b=$extend({ddup:true,cash:true},b);f=f||[];if(b.ddup||b.cash){var g={},e=[];for(var c=0,a=f.length;
c<a;c++){var d=$.element(f[c],!b.cash);if(b.ddup){if(g[d.uid]){continue;}g[d.uid]=true;}e.push(d);}f=e;}return(b.cash)?$extend(f,this):f;}});Elements.implement({filter:function(a,b){if(!a){return this;
}return new Elements(Array.filter(this,(typeof a=="string")?function(c){return c.match(a);}:a,b));}});Document.implement({newElement:function(a,b){if(Browser.Engine.trident&&b){["name","type","checked"].each(function(c){if(!b[c]){return;
}a+=" "+c+'="'+b[c]+'"';if(c!="checked"){delete b[c];}});a="<"+a+">";}return $.element(this.createElement(a)).set(b);},newTextNode:function(a){return this.createTextNode(a);
},getDocument:function(){return this;},getWindow:function(){return this.window;}});Window.implement({$:function(b,c){if(b&&b.$family&&b.uid){return b;}var a=$type(b);
return($[a])?$[a](b,c,this.document):null;},$$:function(a){if(arguments.length==1&&typeof a=="string"){return this.document.getElements(a);}var f=[];var c=Array.flatten(arguments);
for(var d=0,b=c.length;d<b;d++){var e=c[d];switch($type(e)){case"element":f.push(e);break;case"string":f.extend(this.document.getElements(e,true));}}return new Elements(f);
},getDocument:function(){return this.document;},getWindow:function(){return this;}});$.string=function(c,b,a){c=a.getElementById(c);return(c)?$.element(c,b):null;
};$.element=function(a,d){$uid(a);if(!d&&!a.$family&&!(/^object|embed$/i).test(a.tagName)){var b=Element.Prototype;for(var c in b){a[c]=b[c];}}return a;
};$.object=function(b,c,a){if(b.toElement){return $.element(b.toElement(a),c);}return null;};$.textnode=$.whitespace=$.window=$.document=$arguments(0);
Native.implement([Element,Document],{getElement:function(a,b){return $(this.getElements(a,true)[0]||null,b);},getElements:function(a,d){a=a.split(",");
var c=[];var b=(a.length>1);a.each(function(e){var f=this.getElementsByTagName(e.trim());(b)?c.extend(f):c=f;},this);return new Elements(c,{ddup:b,cash:!d});
}});(function(){var h={},f={};var i={input:"checked",option:"selected",textarea:(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerHTML":"value"};
var c=function(l){return(f[l]||(f[l]={}));};var g=function(n,l){if(!n){return;}var m=n.uid;if(Browser.Engine.trident){if(n.clearAttributes){var q=l&&n.cloneNode(false);
n.clearAttributes();if(q){n.mergeAttributes(q);}}else{if(n.removeEvents){n.removeEvents();}}if((/object/i).test(n.tagName)){for(var o in n){if(typeof n[o]=="function"){n[o]=$empty;
}}Element.dispose(n);}}if(!m){return;}h[m]=f[m]=null;};var d=function(){Hash.each(h,g);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(g);
}if(window.CollectGarbage){CollectGarbage();}h=f=null;};var j=function(n,l,s,m,p,r){var o=n[s||l];var q=[];while(o){if(o.nodeType==1&&(!m||Element.match(o,m))){if(!p){return $(o,r);
}q.push(o);}o=o[l];}return(p)?new Elements(q,{ddup:false,cash:!r}):null;};var e={html:"innerHTML","class":"className","for":"htmlFor",text:(Browser.Engine.trident||(Browser.Engine.webkit&&Browser.Engine.version<420))?"innerText":"textContent"};
var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var k=["value","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"];
b=b.associate(b);Hash.extend(e,b);Hash.extend(e,k.associate(k.map(String.toLowerCase)));var a={before:function(m,l){if(l.parentNode){l.parentNode.insertBefore(m,l);
}},after:function(m,l){if(!l.parentNode){return;}var n=l.nextSibling;(n)?l.parentNode.insertBefore(m,n):l.parentNode.appendChild(m);},bottom:function(m,l){l.appendChild(m);
},top:function(m,l){var n=l.firstChild;(n)?l.insertBefore(m,n):l.appendChild(m);}};a.inside=a.bottom;Hash.each(a,function(l,m){m=m.capitalize();Element.implement("inject"+m,function(n){l(this,$(n,true));
return this;});Element.implement("grab"+m,function(n){l($(n,true),this);return this;});});Element.implement({set:function(o,m){switch($type(o)){case"object":for(var n in o){this.set(n,o[n]);
}break;case"string":var l=Element.Properties.get(o);(l&&l.set)?l.set.apply(this,Array.slice(arguments,1)):this.setProperty(o,m);}return this;},get:function(m){var l=Element.Properties.get(m);
return(l&&l.get)?l.get.apply(this,Array.slice(arguments,1)):this.getProperty(m);},erase:function(m){var l=Element.Properties.get(m);(l&&l.erase)?l.erase.apply(this):this.removeProperty(m);
return this;},setProperty:function(m,n){var l=e[m];if(n==undefined){return this.removeProperty(m);}if(l&&b[m]){n=!!n;}(l)?this[l]=n:this.setAttribute(m,""+n);
return this;},setProperties:function(l){for(var m in l){this.setProperty(m,l[m]);}return this;},getProperty:function(m){var l=e[m];var n=(l)?this[l]:this.getAttribute(m,2);
return(b[m])?!!n:(l)?n:n||null;},getProperties:function(){var l=$A(arguments);return l.map(this.getProperty,this).associate(l);},removeProperty:function(m){var l=e[m];
(l)?this[l]=(l&&b[m])?false:"":this.removeAttribute(m);return this;},removeProperties:function(){Array.each(arguments,this.removeProperty,this);return this;
},hasClass:function(l){return this.className.contains(l," ");},addClass:function(l){if(!this.hasClass(l)){this.className=(this.className+" "+l).clean();
}return this;},removeClass:function(l){this.className=this.className.replace(new RegExp("(^|\\s)"+l+"(?:\\s|$)"),"$1");return this;},toggleClass:function(l){return this.hasClass(l)?this.removeClass(l):this.addClass(l);
},adopt:function(){Array.flatten(arguments).each(function(l){l=$(l,true);if(l){this.appendChild(l);}},this);return this;},appendText:function(m,l){return this.grab(this.getDocument().newTextNode(m),l);
},grab:function(m,l){a[l||"bottom"]($(m,true),this);return this;},inject:function(m,l){a[l||"bottom"](this,$(m,true));return this;},replaces:function(l){l=$(l,true);
l.parentNode.replaceChild(this,l);return this;},wraps:function(m,l){m=$(m,true);return this.replaces(m).grab(m,l);},getPrevious:function(l,m){return j(this,"previousSibling",null,l,false,m);
},getAllPrevious:function(l,m){return j(this,"previousSibling",null,l,true,m);},getNext:function(l,m){return j(this,"nextSibling",null,l,false,m);},getAllNext:function(l,m){return j(this,"nextSibling",null,l,true,m);
},getFirst:function(l,m){return j(this,"nextSibling","firstChild",l,false,m);},getLast:function(l,m){return j(this,"previousSibling","lastChild",l,false,m);
},getParent:function(l,m){return j(this,"parentNode",null,l,false,m);},getParents:function(l,m){return j(this,"parentNode",null,l,true,m);},getSiblings:function(l,m){return this.getParent().getChildren(l,m).erase(this);
},getChildren:function(l,m){return j(this,"nextSibling","firstChild",l,true,m);},getWindow:function(){return this.ownerDocument.window;},getDocument:function(){return this.ownerDocument;
},getElementById:function(o,n){var m=this.ownerDocument.getElementById(o);if(!m){return null;}for(var l=m.parentNode;l!=this;l=l.parentNode){if(!l){return null;
}}return $.element(m,n);},getSelected:function(){return new Elements($A(this.options).filter(function(l){return l.selected;}));},getComputedStyle:function(m){if(this.currentStyle){return this.currentStyle[m.camelCase()];
}var l=this.getDocument().defaultView.getComputedStyle(this,null);return(l)?l.getPropertyValue([m.hyphenate()]):null;},toQueryString:function(){var l=[];
this.getElements("input, select, textarea",true).each(function(m){if(!m.name||m.disabled){return;}var n=(m.tagName.toLowerCase()=="select")?Element.getSelected(m).map(function(o){return o.value;
}):((m.type=="radio"||m.type=="checkbox")&&!m.checked)?null:m.value;$splat(n).each(function(o){if(typeof o!="undefined"){l.push(m.name+"="+encodeURIComponent(o));
}});});return l.join("&");},clone:function(o,l){o=o!==false;var r=this.cloneNode(o);var n=function(v,u){if(!l){v.removeAttribute("id");}if(Browser.Engine.trident){v.clearAttributes();
v.mergeAttributes(u);v.removeAttribute("uid");if(v.options){var w=v.options,s=u.options;for(var t=w.length;t--;){w[t].selected=s[t].selected;}}}var x=i[u.tagName.toLowerCase()];
if(x&&u[x]){v[x]=u[x];}};if(o){var p=r.getElementsByTagName("*"),q=this.getElementsByTagName("*");for(var m=p.length;m--;){n(p[m],q[m]);}}n(r,this);return $(r);
},destroy:function(){Element.empty(this);Element.dispose(this);g(this,true);return null;},empty:function(){$A(this.childNodes).each(function(l){Element.destroy(l);
});return this;},dispose:function(){return(this.parentNode)?this.parentNode.removeChild(this):this;},hasChild:function(l){l=$(l,true);if(!l){return false;
}if(Browser.Engine.webkit&&Browser.Engine.version<420){return $A(this.getElementsByTagName(l.tagName)).contains(l);}return(this.contains)?(this!=l&&this.contains(l)):!!(this.compareDocumentPosition(l)&16);
},match:function(l){return(!l||(l==this)||(Element.get(this,"tag")==l));}});Native.implement([Element,Window,Document],{addListener:function(o,n){if(o=="unload"){var l=n,m=this;
n=function(){m.removeListener("unload",n);l();};}else{h[this.uid]=this;}if(this.addEventListener){this.addEventListener(o,n,false);}else{this.attachEvent("on"+o,n);
}return this;},removeListener:function(m,l){if(this.removeEventListener){this.removeEventListener(m,l,false);}else{this.detachEvent("on"+m,l);}return this;
},retrieve:function(m,l){var o=c(this.uid),n=o[m];if(l!=undefined&&n==undefined){n=o[m]=l;}return $pick(n);},store:function(m,l){var n=c(this.uid);n[m]=l;
return this;},eliminate:function(l){var m=c(this.uid);delete m[l];return this;}});window.addListener("unload",d);})();Element.Properties=new Hash;Element.Properties.style={set:function(a){this.style.cssText=a;
},get:function(){return this.style.cssText;},erase:function(){this.style.cssText="";}};Element.Properties.tag={get:function(){return this.tagName.toLowerCase();
}};Element.Properties.html=(function(){var c=document.createElement("div");var a={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]};
a.thead=a.tfoot=a.tbody;var b={set:function(){var e=Array.flatten(arguments).join("");var f=Browser.Engine.trident&&a[this.get("tag")];if(f){var g=c;g.innerHTML=f[1]+e+f[2];
for(var d=f[0];d--;){g=g.firstChild;}this.empty().adopt(g.childNodes);}else{this.innerHTML=e;}}};b.erase=b.set;return b;})();if(Browser.Engine.webkit&&Browser.Engine.version<420){Element.Properties.text={get:function(){if(this.innerText){return this.innerText;
}var a=this.ownerDocument.newElement("div",{html:this.innerHTML}).inject(this.ownerDocument.body);var b=a.innerText;a.destroy();return b;}};}Element.Properties.events={set:function(a){this.addEvents(a);
}};Native.implement([Element,Window,Document],{addEvent:function(e,g){var h=this.retrieve("events",{});h[e]=h[e]||{keys:[],values:[]};if(h[e].keys.contains(g)){return this;
}h[e].keys.push(g);var f=e,a=Element.Events.get(e),c=g,i=this;if(a){if(a.onAdd){a.onAdd.call(this,g);}if(a.condition){c=function(j){if(a.condition.call(this,j)){return g.call(this,j);
}return true;};}f=a.base||f;}var d=function(){return g.call(i);};var b=Element.NativeEvents[f];if(b){if(b==2){d=function(j){j=new Event(j,i.getWindow());
if(c.call(i,j)===false){j.stop();}};}this.addListener(f,d);}h[e].values.push(d);return this;},removeEvent:function(c,b){var a=this.retrieve("events");if(!a||!a[c]){return this;
}var f=a[c].keys.indexOf(b);if(f==-1){return this;}a[c].keys.splice(f,1);var e=a[c].values.splice(f,1)[0];var d=Element.Events.get(c);if(d){if(d.onRemove){d.onRemove.call(this,b);
}c=d.base||c;}return(Element.NativeEvents[c])?this.removeListener(c,e):this;},addEvents:function(a){for(var b in a){this.addEvent(b,a[b]);}return this;
},removeEvents:function(a){var c;if($type(a)=="object"){for(c in a){this.removeEvent(c,a[c]);}return this;}var b=this.retrieve("events");if(!b){return this;
}if(!a){for(c in b){this.removeEvents(c);}this.eliminate("events");}else{if(b[a]){while(b[a].keys[0]){this.removeEvent(a,b[a].keys[0]);}b[a]=null;}}return this;
},fireEvent:function(d,b,a){var c=this.retrieve("events");if(!c||!c[d]){return this;}c[d].keys.each(function(e){e.create({bind:this,delay:a,"arguments":b})();
},this);return this;},cloneEvents:function(d,a){d=$(d);var c=d.retrieve("events");if(!c){return this;}if(!a){for(var b in c){this.cloneEvents(d,b);}}else{if(c[a]){c[a].keys.each(function(e){this.addEvent(a,e);
},this);}}return this;}});Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:1,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1};
(function(){var a=function(b){var c=b.relatedTarget;if(c==undefined){return true;}if(c===false){return false;}return($type(this)!="document"&&c!=this&&c.prefix!="xul"&&!this.hasChild(c));
};Element.Events=new Hash({mouseenter:{base:"mouseover",condition:a},mouseleave:{base:"mouseout",condition:a},mousewheel:{base:(Browser.Engine.gecko)?"DOMMouseScroll":"mousewheel"}});
})();Element.Properties.styles={set:function(a){this.setStyles(a);}};Element.Properties.opacity={set:function(a,b){if(!b){if(a==0){if(this.style.visibility!="hidden"){this.style.visibility="hidden";
}}else{if(this.style.visibility!="visible"){this.style.visibility="visible";}}}if(!this.currentStyle||!this.currentStyle.hasLayout){this.style.zoom=1;}if(Browser.Engine.trident){this.style.filter=(a==1)?"":"alpha(opacity="+a*100+")";
}this.style.opacity=a;this.store("opacity",a);},get:function(){return this.retrieve("opacity",1);}};Element.implement({setOpacity:function(a){return this.set("opacity",a,true);
},getOpacity:function(){return this.get("opacity");},setStyle:function(b,a){switch(b){case"opacity":return this.set("opacity",parseFloat(a));case"float":b=(Browser.Engine.trident)?"styleFloat":"cssFloat";
}b=b.camelCase();if($type(a)!="string"){var c=(Element.Styles.get(b)||"@").split(" ");a=$splat(a).map(function(e,d){if(!c[d]){return"";}return($type(e)=="number")?c[d].replace("@",Math.round(e)):e;
}).join(" ");}else{if(a==String(Number(a))){a=Math.round(a);}}this.style[b]=a;return this;},getStyle:function(g){switch(g){case"opacity":return this.get("opacity");
case"float":g=(Browser.Engine.trident)?"styleFloat":"cssFloat";}g=g.camelCase();var a=this.style[g];if(!$chk(a)){a=[];for(var f in Element.ShortStyles){if(g!=f){continue;
}for(var e in Element.ShortStyles[f]){a.push(this.getStyle(e));}return a.join(" ");}a=this.getComputedStyle(g);}if(a){a=String(a);var c=a.match(/rgba?\([\d\s,]+\)/);
if(c){a=a.replace(c[0],c[0].rgbToHex());}}if(Browser.Engine.presto||(Browser.Engine.trident&&!$chk(parseInt(a,10)))){if(g.test(/^(height|width)$/)){var b=(g=="width")?["left","right"]:["top","bottom"],d=0;
b.each(function(h){d+=this.getStyle("border-"+h+"-width").toInt()+this.getStyle("padding-"+h).toInt();},this);return this["offset"+g.capitalize()]-d+"px";
}if((Browser.Engine.presto)&&String(a).test("px")){return a;}if(g.test(/(border(.+)Width|margin|padding)/)){return"0px";}}return a;},setStyles:function(b){for(var a in b){this.setStyle(a,b[a]);
}return this;},getStyles:function(){var a={};Array.each(arguments,function(b){a[b]=this.getStyle(b);},this);return a;}});Element.Styles=new Hash({left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"});
Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}};["Top","Right","Bottom","Left"].each(function(g){var f=Element.ShortStyles;
var b=Element.Styles;["margin","padding"].each(function(h){var i=h+g;f[h][i]=b[i]="@px";});var e="border"+g;f.border[e]=b[e]="@px @ rgb(@, @, @)";var d=e+"Width",a=e+"Style",c=e+"Color";
f[e]={};f.borderWidth[d]=f[e][d]=b[d]="@px";f.borderStyle[a]=f[e][a]=b[a]="@";f.borderColor[c]=f[e][c]=b[c]="rgb(@, @, @)";});Native.implement([Document,Element],{getElements:function(h,g){h=h.split(",");
var c,e={};for(var d=0,b=h.length;d<b;d++){var a=h[d],f=Selectors.Utils.search(this,a,e);if(d!=0&&f.item){f=$A(f);}c=(d==0)?f:(c.item)?$A(c).concat(f):c.concat(f);
}return new Elements(c,{ddup:(h.length>1),cash:!g});}});Element.implement({match:function(b){if(!b||(b==this)){return true;}var d=Selectors.Utils.parseTagAndID(b);
var a=d[0],e=d[1];if(!Selectors.Filters.byID(this,e)||!Selectors.Filters.byTag(this,a)){return false;}var c=Selectors.Utils.parseSelector(b);return(c)?Selectors.Utils.filter(this,c,{}):true;
}});var Selectors={Cache:{nth:{},parsed:{}}};Selectors.RegExps={id:(/#([\w-]+)/),tag:(/^(\w+|\*)/),quick:(/^(\w+|\*)$/),splitter:(/\s*([+>~\s])\s*([a-zA-Z#.*:\[])/g),combined:(/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g)};
Selectors.Utils={chk:function(b,c){if(!c){return true;}var a=$uid(b);if(!c[a]){return c[a]=true;}return false;},parseNthArgument:function(h){if(Selectors.Cache.nth[h]){return Selectors.Cache.nth[h];
}var e=h.match(/^([+-]?\d*)?([a-z]+)?([+-]?\d*)?$/);if(!e){return false;}var g=parseInt(e[1],10);var d=(g||g===0)?g:1;var f=e[2]||false;var c=parseInt(e[3],10)||0;
if(d!=0){c--;while(c<1){c+=d;}while(c>=d){c-=d;}}else{d=c;f="index";}switch(f){case"n":e={a:d,b:c,special:"n"};break;case"odd":e={a:2,b:0,special:"n"};
break;case"even":e={a:2,b:1,special:"n"};break;case"first":e={a:0,special:"index"};break;case"last":e={special:"last-child"};break;case"only":e={special:"only-child"};
break;default:e={a:(d-1),special:"index"};}return Selectors.Cache.nth[h]=e;},parseSelector:function(e){if(Selectors.Cache.parsed[e]){return Selectors.Cache.parsed[e];
}var d,h={classes:[],pseudos:[],attributes:[]};while((d=Selectors.RegExps.combined.exec(e))){var i=d[1],g=d[2],f=d[3],b=d[5],c=d[6],j=d[7];if(i){h.classes.push(i);
}else{if(c){var a=Selectors.Pseudo.get(c);if(a){h.pseudos.push({parser:a,argument:j});}else{h.attributes.push({name:c,operator:"=",value:j});}}else{if(g){h.attributes.push({name:g,operator:f,value:b});
}}}}if(!h.classes.length){delete h.classes;}if(!h.attributes.length){delete h.attributes;}if(!h.pseudos.length){delete h.pseudos;}if(!h.classes&&!h.attributes&&!h.pseudos){h=null;
}return Selectors.Cache.parsed[e]=h;},parseTagAndID:function(b){var a=b.match(Selectors.RegExps.tag);var c=b.match(Selectors.RegExps.id);return[(a)?a[1]:"*",(c)?c[1]:false];
},filter:function(f,c,e){var d;if(c.classes){for(d=c.classes.length;d--;d){var g=c.classes[d];if(!Selectors.Filters.byClass(f,g)){return false;}}}if(c.attributes){for(d=c.attributes.length;
d--;d){var b=c.attributes[d];if(!Selectors.Filters.byAttribute(f,b.name,b.operator,b.value)){return false;}}}if(c.pseudos){for(d=c.pseudos.length;d--;d){var a=c.pseudos[d];
if(!Selectors.Filters.byPseudo(f,a.parser,a.argument,e)){return false;}}}return true;},getByTagAndID:function(b,a,d){if(d){var c=(b.getElementById)?b.getElementById(d,true):Element.getElementById(b,d,true);
return(c&&Selectors.Filters.byTag(c,a))?[c]:[];}else{return b.getElementsByTagName(a);}},search:function(o,h,t){var b=[];var c=h.trim().replace(Selectors.RegExps.splitter,function(k,j,i){b.push(j);
return":)"+i;}).split(":)");var p,e,A;for(var z=0,v=c.length;z<v;z++){var y=c[z];if(z==0&&Selectors.RegExps.quick.test(y)){p=o.getElementsByTagName(y);
continue;}var a=b[z-1];var q=Selectors.Utils.parseTagAndID(y);var B=q[0],r=q[1];if(z==0){p=Selectors.Utils.getByTagAndID(o,B,r);}else{var d={},g=[];for(var x=0,w=p.length;
x<w;x++){g=Selectors.Getters[a](g,p[x],B,r,d);}p=g;}var f=Selectors.Utils.parseSelector(y);if(f){e=[];for(var u=0,s=p.length;u<s;u++){A=p[u];if(Selectors.Utils.filter(A,f,t)){e.push(A);
}}p=e;}}return p;}};Selectors.Getters={" ":function(h,g,j,a,e){var d=Selectors.Utils.getByTagAndID(g,j,a);for(var c=0,b=d.length;c<b;c++){var f=d[c];if(Selectors.Utils.chk(f,e)){h.push(f);
}}return h;},">":function(h,g,j,a,f){var c=Selectors.Utils.getByTagAndID(g,j,a);for(var e=0,d=c.length;e<d;e++){var b=c[e];if(b.parentNode==g&&Selectors.Utils.chk(b,f)){h.push(b);
}}return h;},"+":function(c,b,a,e,d){while((b=b.nextSibling)){if(b.nodeType==1){if(Selectors.Utils.chk(b,d)&&Selectors.Filters.byTag(b,a)&&Selectors.Filters.byID(b,e)){c.push(b);
}break;}}return c;},"~":function(c,b,a,e,d){while((b=b.nextSibling)){if(b.nodeType==1){if(!Selectors.Utils.chk(b,d)){break;}if(Selectors.Filters.byTag(b,a)&&Selectors.Filters.byID(b,e)){c.push(b);
}}}return c;}};Selectors.Filters={byTag:function(b,a){return(a=="*"||(b.tagName&&b.tagName.toLowerCase()==a));},byID:function(a,b){return(!b||(a.id&&a.id==b));
},byClass:function(b,a){return(b.className&&b.className.contains(a," "));},byPseudo:function(a,d,c,b){return d.call(a,c,b);},byAttribute:function(c,d,b,e){var a=Element.prototype.getProperty.call(c,d);
if(!a){return(b=="!=");}if(!b||e==undefined){return true;}switch(b){case"=":return(a==e);case"*=":return(a.contains(e));case"^=":return(a.substr(0,e.length)==e);
case"$=":return(a.substr(a.length-e.length)==e);case"!=":return(a!=e);case"~=":return a.contains(e," ");case"|=":return a.contains(e,"-");}return false;
}};Selectors.Pseudo=new Hash({checked:function(){return this.checked;},empty:function(){return !(this.innerText||this.textContent||"").length;},not:function(a){return !Element.match(this,a);
},contains:function(a){return(this.innerText||this.textContent||"").contains(a);},"first-child":function(){return Selectors.Pseudo.index.call(this,0);},"last-child":function(){var a=this;
while((a=a.nextSibling)){if(a.nodeType==1){return false;}}return true;},"only-child":function(){var b=this;while((b=b.previousSibling)){if(b.nodeType==1){return false;
}}var a=this;while((a=a.nextSibling)){if(a.nodeType==1){return false;}}return true;},"nth-child":function(g,e){g=(g==undefined)?"n":g;var c=Selectors.Utils.parseNthArgument(g);
if(c.special!="n"){return Selectors.Pseudo[c.special].call(this,c.a,e);}var f=0;e.positions=e.positions||{};var d=$uid(this);if(!e.positions[d]){var b=this;
while((b=b.previousSibling)){if(b.nodeType!=1){continue;}f++;var a=e.positions[$uid(b)];if(a!=undefined){f=a+f;break;}}e.positions[d]=f;}return(e.positions[d]%c.a==c.b);
},index:function(a){var b=this,c=0;while((b=b.previousSibling)){if(b.nodeType==1&&++c>a){return false;}}return(c==a);},even:function(b,a){return Selectors.Pseudo["nth-child"].call(this,"2n+1",a);
},odd:function(b,a){return Selectors.Pseudo["nth-child"].call(this,"2n",a);},selected:function(){return this.selected;}});Element.Events.domready={onAdd:function(a){if(Browser.loaded){a.call(this);
}}};(function(){var b=function(){if(Browser.loaded){return;}Browser.loaded=true;window.fireEvent("domready");document.fireEvent("domready");};if(Browser.Engine.trident){var a=document.createElement("div");
(function(){($try(function(){a.doScroll("left");return $(a).inject(document.body).set("html","temp").dispose();}))?b():arguments.callee.delay(50);})();
}else{if(Browser.Engine.webkit&&Browser.Engine.version<525){(function(){(["loaded","complete"].contains(document.readyState))?b():arguments.callee.delay(50);
})();}else{window.addEvent("load",b);document.addEvent("DOMContentLoaded",b);}}})();var JSON=new Hash({$specialChars:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},$replaceChars:function(a){return JSON.$specialChars[a]||"\\u00"+Math.floor(a.charCodeAt()/16).toString(16)+(a.charCodeAt()%16).toString(16);
},encode:function(b){switch($type(b)){case"string":return'"'+b.replace(/[\x00-\x1f\\"]/g,JSON.$replaceChars)+'"';case"array":return"["+String(b.map(JSON.encode).filter($defined))+"]";
case"object":case"hash":var a=[];Hash.each(b,function(e,d){var c=JSON.encode(e);if(c){a.push(JSON.encode(d)+":"+c);}});return"{"+a+"}";case"number":case"boolean":return String(b);
case false:return"null";}return null;},decode:function(string,secure){if($type(string)!="string"||!string.length){return null;}if(secure&&!(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(string.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,""))){return null;
}return eval("("+string+")");}});Native.implement([Hash,Array,String,Number],{toJSON:function(){return JSON.encode(this);}});var Cookie=new Class({Implements:Options,options:{path:false,domain:false,duration:false,secure:false,document:document},initialize:function(b,a){this.key=b;
this.setOptions(a);},write:function(b){b=encodeURIComponent(b);if(this.options.domain){b+="; domain="+this.options.domain;}if(this.options.path){b+="; path="+this.options.path;
}if(this.options.duration){var a=new Date();a.setTime(a.getTime()+this.options.duration*24*60*60*1000);b+="; expires="+a.toGMTString();}if(this.options.secure){b+="; secure";
}this.options.document.cookie=this.key+"="+b;return this;},read:function(){var a=this.options.document.cookie.match("(?:^|;)\\s*"+this.key.escapeRegExp()+"=([^;]*)");
return(a)?decodeURIComponent(a[1]):null;},dispose:function(){new Cookie(this.key,$merge(this.options,{duration:-1})).write("");return this;}});Cookie.write=function(b,c,a){return new Cookie(b,a).write(c);
};Cookie.read=function(a){return new Cookie(a).read();};Cookie.dispose=function(b,a){return new Cookie(b,a).dispose();};var Fx=new Class({Implements:[Chain,Events,Options],options:{fps:50,unit:false,duration:500,link:"ignore"},initialize:function(a){this.subject=this.subject||this;
this.setOptions(a);this.options.duration=Fx.Durations[this.options.duration]||this.options.duration.toInt();var b=this.options.wait;if(b===false){this.options.link="cancel";
}},getTransition:function(){return function(a){return -(Math.cos(Math.PI*a)-1)/2;};},step:function(){var a=$time();if(a<this.time+this.options.duration){var b=this.transition((a-this.time)/this.options.duration);
this.set(this.compute(this.from,this.to,b));}else{this.set(this.compute(this.from,this.to,1));this.complete();}},set:function(a){return a;},compute:function(c,b,a){return Fx.compute(c,b,a);
},check:function(){if(!this.timer){return true;}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.bind(this,arguments));
return false;}return false;},start:function(b,a){if(!this.check(b,a)){return this;}this.from=b;this.to=a;this.time=0;this.transition=this.getTransition();
this.startTimer();this.onStart();return this;},complete:function(){if(this.stopTimer()){this.onComplete();}return this;},cancel:function(){if(this.stopTimer()){this.onCancel();
}return this;},onStart:function(){this.fireEvent("start",this.subject);},onComplete:function(){this.fireEvent("complete",this.subject);if(!this.callChain()){this.fireEvent("chainComplete",this.subject);
}},onCancel:function(){this.fireEvent("cancel",this.subject).clearChain();},pause:function(){this.stopTimer();return this;},resume:function(){this.startTimer();
return this;},stopTimer:function(){if(!this.timer){return false;}this.time=$time()-this.time;this.timer=$clear(this.timer);return true;},startTimer:function(){if(this.timer){return false;
}this.time=$time()-this.time;this.timer=this.step.periodical(Math.round(1000/this.options.fps),this);return true;}});Fx.compute=function(c,b,a){return(b-c)*a+c;
};Fx.Durations={"short":250,normal:500,"long":1000};Fx.CSS=new Class({Extends:Fx,prepare:function(d,e,b){b=$splat(b);var c=b[1];if(!$chk(c)){b[1]=b[0];
b[0]=d.getStyle(e);}var a=b.map(this.parse);return{from:a[0],to:a[1]};},parse:function(a){a=$lambda(a)();a=(typeof a=="string")?a.split(" "):$splat(a);
return a.map(function(c){c=String(c);var b=false;Fx.CSS.Parsers.each(function(f,e){if(b){return;}var d=f.parse(c);if($chk(d)){b={value:d,parser:f};}});
b=b||{value:c,parser:Fx.CSS.Parsers.String};return b;});},compute:function(d,c,b){var a=[];(Math.min(d.length,c.length)).times(function(e){a.push({value:d[e].parser.compute(d[e].value,c[e].value,b),parser:d[e].parser});
});a.$family={name:"fx:css:value"};return a;},serve:function(c,b){if($type(c)!="fx:css:value"){c=this.parse(c);}var a=[];c.each(function(d){a=a.concat(d.parser.serve(d.value,b));
});return a;},render:function(a,d,c,b){a.setStyle(d,this.serve(c,b));},search:function(a){if(Fx.CSS.Cache[a]){return Fx.CSS.Cache[a];}var b={};Array.each(document.styleSheets,function(e,d){var c=e.href;
if(c&&c.contains("://")&&!c.contains(document.domain)){return;}var f=e.rules||e.cssRules;Array.each(f,function(j,g){if(!j.style){return;}var h=(j.selectorText)?j.selectorText.replace(/^\w+/,function(i){return i.toLowerCase();
}):null;if(!h||!h.test("^"+a+"$")){return;}Element.Styles.each(function(k,i){if(!j.style[i]||Element.ShortStyles[i]){return;}k=String(j.style[i]);b[i]=(k.test(/^rgb/))?k.rgbToHex():k;
});});});return Fx.CSS.Cache[a]=b;}});Fx.CSS.Cache={};Fx.CSS.Parsers=new Hash({Color:{parse:function(a){if(a.match(/^#[0-9a-f]{3,6}$/i)){return a.hexToRgb(true);
}return((a=a.match(/(\d+),\s*(\d+),\s*(\d+)/)))?[a[1],a[2],a[3]]:false;},compute:function(c,b,a){return c.map(function(e,d){return Math.round(Fx.compute(c[d],b[d],a));
});},serve:function(a){return a.map(Number);}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(b,a){return(a)?b+a:b;}},String:{parse:$lambda(false),compute:$arguments(1),serve:$arguments(0)}});
Fx.Tween=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=$(b);this.parent(a);},set:function(b,a){if(arguments.length==1){a=b;
b=this.property||this.options.property;}this.render(this.element,b,a,this.options.unit);return this;},start:function(c,e,d){if(!this.check(c,e,d)){return this;
}var b=Array.flatten(arguments);this.property=this.options.property||b.shift();var a=this.prepare(this.element,this.property,b);return this.parent(a.from,a.to);
}});Element.Properties.tween={set:function(a){var b=this.retrieve("tween");if(b){b.cancel();}return this.eliminate("tween").store("tween:options",$extend({link:"cancel"},a));
},get:function(a){if(a||!this.retrieve("tween")){if(a||!this.retrieve("tween:options")){this.set("tween",a);}this.store("tween",new Fx.Tween(this,this.retrieve("tween:options")));
}return this.retrieve("tween");}};Element.implement({tween:function(a,c,b){this.get("tween").start(arguments);return this;},fade:function(c){var e=this.get("tween"),d="opacity",a;
c=$pick(c,"toggle");switch(c){case"in":e.start(d,1);break;case"out":e.start(d,0);break;case"show":e.set(d,1);break;case"hide":e.set(d,0);break;case"toggle":var b=this.retrieve("fade:flag",this.get("opacity")==1);
e.start(d,(b)?0:1);this.store("fade:flag",!b);a=true;break;default:e.start(d,arguments);}if(!a){this.eliminate("fade:flag");}return this;},highlight:function(c,a){if(!a){a=this.retrieve("highlight:original",this.getStyle("background-color"));
a=(a=="transparent")?"#fff":a;}var b=this.get("tween");b.start("background-color",c||"#ffff88",a).chain(function(){this.setStyle("background-color",this.retrieve("highlight:original"));
b.callChain();}.bind(this));return this;}});Fx.Morph=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=$(b);this.parent(a);},set:function(a){if(typeof a=="string"){a=this.search(a);
}for(var b in a){this.render(this.element,b,a[b],this.options.unit);}return this;},compute:function(e,d,c){var a={};for(var b in e){a[b]=this.parent(e[b],d[b],c);
}return a;},start:function(b){if(!this.check(b)){return this;}if(typeof b=="string"){b=this.search(b);}var e={},d={};for(var c in b){var a=this.prepare(this.element,c,b[c]);
e[c]=a.from;d[c]=a.to;}return this.parent(e,d);}});Element.Properties.morph={set:function(a){var b=this.retrieve("morph");if(b){b.cancel();}return this.eliminate("morph").store("morph:options",$extend({link:"cancel"},a));
},get:function(a){if(a||!this.retrieve("morph")){if(a||!this.retrieve("morph:options")){this.set("morph",a);}this.store("morph",new Fx.Morph(this,this.retrieve("morph:options")));
}return this.retrieve("morph");}};Element.implement({morph:function(a){this.get("morph").start(a);return this;}});Fx.implement({getTransition:function(){var a=this.options.transition||Fx.Transitions.Sine.easeInOut;
if(typeof a=="string"){var b=a.split(":");a=Fx.Transitions;a=a[b[0]]||a[b[0].capitalize()];if(b[1]){a=a["ease"+b[1].capitalize()+(b[2]?b[2].capitalize():"")];
}}return a;}});Fx.Transition=function(b,a){a=$splat(a);return $extend(b,{easeIn:function(c){return b(c,a);},easeOut:function(c){return 1-b(1-c,a);},easeInOut:function(c){return(c<=0.5)?b(2*c,a)/2:(2-b(2*(1-c),a))/2;
}});};Fx.Transitions=new Hash({linear:$arguments(0)});Fx.Transitions.extend=function(a){for(var b in a){Fx.Transitions[b]=new Fx.Transition(a[b]);}};Fx.Transitions.extend({Pow:function(b,a){return Math.pow(b,a[0]||6);
},Expo:function(a){return Math.pow(2,8*(a-1));},Circ:function(a){return 1-Math.sin(Math.acos(a));},Sine:function(a){return 1-Math.sin((1-a)*Math.PI/2);
},Back:function(b,a){a=a[0]||1.618;return Math.pow(b,2)*((a+1)*b-a);},Bounce:function(f){var e;for(var d=0,c=1;1;d+=c,c/=2){if(f>=(7-4*d)/11){e=c*c-Math.pow((11-6*d-11*f)/4,2);
break;}}return e;},Elastic:function(b,a){return Math.pow(2,10*--b)*Math.cos(20*b*Math.PI*(a[0]||1)/3);}});["Quad","Cubic","Quart","Quint"].each(function(b,a){Fx.Transitions[b]=new Fx.Transition(function(c){return Math.pow(c,[a+2]);
});});var Request=new Class({Implements:[Chain,Events,Options],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:true,format:false,method:"post",link:"ignore",isSuccess:null,emulation:true,urlEncoded:true,encoding:"utf-8",evalScripts:false,evalResponse:false,noCache:false},initialize:function(a){this.xhr=new Browser.Request();
this.setOptions(a);this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.headers=new Hash(this.options.headers);},onStateChange:function(){if(this.xhr.readyState!=4||!this.running){return;
}this.running=false;this.status=0;$try(function(){this.status=this.xhr.status;}.bind(this));if(this.options.isSuccess.call(this,this.status)){this.response={text:this.xhr.responseText,xml:this.xhr.responseXML};
this.success(this.response.text,this.response.xml);}else{this.response={text:null,xml:null};this.failure();}this.xhr.onreadystatechange=$empty;},isSuccess:function(){return((this.status>=200)&&(this.status<300));
},processScripts:function(a){if(this.options.evalResponse||(/(ecma|java)script/).test(this.getHeader("Content-type"))){return $exec(a);}return a.stripScripts(this.options.evalScripts);
},success:function(b,a){this.onSuccess(this.processScripts(b),a);},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain();
},failure:function(){this.onFailure();},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr);},setHeader:function(a,b){this.headers.set(a,b);
return this;},getHeader:function(a){return $try(function(){return this.xhr.getResponseHeader(a);}.bind(this));},check:function(){if(!this.running){return true;
}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.bind(this,arguments));return false;}return false;},send:function(j){if(!this.check(j)){return this;
}this.running=true;var h=$type(j);if(h=="string"||h=="element"){j={data:j};}var d=this.options;j=$extend({data:d.data,url:d.url,method:d.method},j);var f=j.data,b=j.url,a=j.method;
switch($type(f)){case"element":f=$(f).toQueryString();break;case"object":case"hash":f=Hash.toQueryString(f);}if(this.options.format){var i="format="+this.options.format;
f=(f)?i+"&"+f:i;}if(this.options.emulation&&["put","delete"].contains(a)){var g="_method="+a;f=(f)?g+"&"+f:g;a="post";}if(this.options.urlEncoded&&a=="post"){var c=(this.options.encoding)?"; charset="+this.options.encoding:"";
this.headers.set("Content-type","application/x-www-form-urlencoded"+c);}if(this.options.noCache){var e="noCache="+new Date().getTime();f=(f)?e+"&"+f:e;
}if(f&&a=="get"){b=b+(b.contains("?")?"&":"?")+f;f=null;}this.xhr.open(a.toUpperCase(),b,this.options.async);this.xhr.onreadystatechange=this.onStateChange.bind(this);
this.headers.each(function(l,k){try{this.xhr.setRequestHeader(k,l);}catch(m){this.fireEvent("exception",[k,l]);}},this);this.fireEvent("request");this.xhr.send(f);
if(!this.options.async){this.onStateChange();}return this;},cancel:function(){if(!this.running){return this;}this.running=false;this.xhr.abort();this.xhr.onreadystatechange=$empty;
this.xhr=new Browser.Request();this.fireEvent("cancel");return this;}});(function(){var a={};["get","post","put","delete","GET","POST","PUT","DELETE"].each(function(b){a[b]=function(){var c=Array.link(arguments,{url:String.type,data:$defined});
return this.send($extend(c,{method:b.toLowerCase()}));};});Request.implement(a);})();

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

8
data/notes/Create.sql Normal file
View file

@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS notes
(
id INTEGER PRIMARY KEY,
uri TEXT,
title TEXT,
note_content TEXT,
tstamp INTEGER
);

View file

@ -1,335 +1,351 @@
<!--
Speed Dial head template for Midori.
Copyright (C) 2009 Jean-François Guchens <zcx000@gmail.com>
Copyright (C) 2011 Paweł Forysiuk <tuxator@o2.pl>
Copyright (C) 2011 Cassidy James <email@cassidyjames.com>
This file is licensed under the terms of the expat license, see the file EXPAT.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{title}</title>
<script type="text/javascript" src="{res}/mootools.js"></script>
<style>
html, body, #content {
margin: 0px;
padding: 0px
/* Animations */
@-webkit-keyframes popin {
0% { opacity: 0.0; -webkit-transform: scale(0.00); }
75% { opacity: 0.5; -webkit-transform: scale(1.15); }
100% { opacity: 1.0; -webkit-transform: scale(1.00); }
}
body {
text-align: center;
background-color: #fefefe;
/* Styles */
* {
margin: 0;
padding: 0;
cursor: default;
font-size: 13px;
color: #4d4d4d;
-webkit-user-select: none;
}
html, body {
font-family: sans-serif;
width: 100%;
height: 100%;
outline: 0;
background: #eee;
}
#wrap {
width: 660px;
height: 500px;
margin: 0px auto;
text-align: center;
input {
width: 85%;
}
#content {
margin-top: 40px;
width: 96%;
height: 85%;
margin: 0 auto;
padding-top: 5%;
padding-left: 2%;
}
div.shortcut {
width: 25%;
height: 33%;
float: left;
border: 1px solid #ccc;
}
div.shortcut .preview {
width: 85%;
height: 75%;
margin: auto;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),
0 1px 2px rgba(0,0,0,0.24);
position: relative;
width: 200px;
height: 150px;
margin: 20px 20px 0px 0px;
background-color: #fff;
-webkit-border-radius: 10px;
border-radius: 3px;
transition: all 200ms ease-in-out;
outline: none;
}
div.right {
margin-right: 0px;
margin-left: 0px;
div.shortcut .preview img {
width: 100%;
height: 100%;
cursor: pointer;
border-radius: 3px;
}
div.shortcut .preview.new {
background-color: rgba(0,0,0,0.05);
border: 1px solid rgba(0,0,0,0.15);
box-shadow: inset 0 0 1px 1px rgba(0,0,0,0.05),
0 1px 0 0 rgba(255,255,255,0.40);
overflow: hidden;
}
div.top {
margin-top: 0px;
div.shortcut .preview.new .add {
background-color: #777;
width: 64px;
height: 64px;
line-height: 64px;
text-align: center;
border-radius: 32px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -32px;
margin-top: -32px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),
0 1px 2px rgba(0,0,0,0.24);
outline: none;
}
div.shortcut .preview.new .add:after {
content: "+";
color: #fff;
font-size: 48px;
display: inline-block;
}
h1 {
font-size: 50px;
font-weight: bold;
margin: 0px;
height: 30px;
padding: 10px 0px 0px 0px;
.title {
background: transparent;
border: 2px solid transparent;
display: block;
text-align: center;
margin: 8px;
margin-left: auto;
margin-right: auto;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
cursor: text;
outline: none;
transition: all 200ms ease-in-out;
padding-bottom: 6px;
}
h4 {
font-size: 11px;
font-weight: bold
margin: 10px 0px 0px 0px;
padding: 10px 5px 0px;
display: block;
.preview.new ~ .title {
cursor: default;
}
h4 span:before {
content: "{click_to_add}";
font-size: 11px;
}
h4 span {
font-size: 11px;
}
div.shortcut a {
border: 1px solid #ccc;
display: block;
width: 160px;
height: 107px;
margin: 15px auto 0px;
background-color: #fafafa;
color: #aaa;
text-decoration: none;
}
.waiter img {
margin-top: 38px;
}
div.shortcut a:hover {
border: 1px solid #999;
}
div.shortcut p {
font-size: 12px;
margin: 0px;
padding: 5px 0px 0px;
color: #222;
}
div.clear {
clear: both;
}
div.activated {
background-color: #f5f5f5;
.title.active {
border-bottom-color: #4CAF50;
}
.cross {
height: 16px;
width: 16px;
margin-bottom: -17px;
margin-left: 180px;
margin-top: 2px;
background: url({stock}/16/gtk-close) 98% 70% no-repeat;
color: #fff;
display: block;
width: 32px;
height: 32px;
text-align: center;
line-height: 32px;
top: -14px;
right: -14px;
position: absolute;
cursor: pointer;
z-index: -4;
opacity: 0.6;
opacity: 0;
background-color: #555;
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12),
0 1px 2px rgba(0,0,0,0.24);
}
.cross:after {
content: '+';
-webkit-transform: rotate(45deg);
font-size: 22px;
display: inline-block;
}
.cross:hover {
div.shortcut .preview:hover .cross {
-webkit-animation: popin 250ms ease-in-out;
opacity: 1;
}
.activated p {
cursor: text;
background: url({stock}/16/gtk-edit) 98% 70% no-repeat;
opacity: 0.6;
color: rgba(0,0,0,1);
.box.added {
display:none;
}
.activated p:hover {
opacity: 1;
color: rgba(0,0,0,0.5);
.selectable {
-webkit-user-select: text;
}
</style>
<script type="text/javascript">
var previousName = "";
sc = JSON.decode ({json_data});
var encodeSafe = function (obj) {
var str = JSON.encode (obj);
str = str.replace (/\'/g, '\\\'');
return str;
function input_key_down (ev) {
// 13 is the key code for enter
if(ev.keyCode == 13) ev.target.blur();
// 27 is the key code for escape
if(ev.keyCode == 27) {
ev.target.value = previousName;
ev.target.blur();
}
}
var getAction = function (id)
{
var a = $(id).getFirst ();
if (a.getProperty ('href') != "#" )
return true;
function add_tile (ev) {
ev.preventDefault();
var url = prompt ("{enter_shortcut_address}", "http://");
if (!url) return false;
if (!url)
return false;
var name = prompt ("{enter_shortcut_name}", "");
if (!name) name = "";
if (url.indexOf ("://") == -1)
url = "http://" + url;
a.setProperty('href', url);
a.getNext().set('text', name);
var num = id.substr (1) - 1;
sc.shortcuts[num].title = name;
a.empty();
var im = new Element('img', { src: '{stock}/image-loading' });
a.addClass ('waiter');
a.grab (im);
getThumbnail (id, url);
return false;
var id = ev.target.parentNode.parentNode.id;
console.log ("speed_dial-save-add " + id + " " + url);
}
var getThumbnail = function (id, url)
{
console.log ("speed_dial-get-thumbnail " + id + " " + url);
return false;
function done_editing_title (ev) {
input = ev.target;
input.className = "title";
var name = ev.target.value;
if (name == "")
name = previousName;
var id = ev.target.parentNode.id;
console.log ("speed_dial-save-rename " + id + " " + name);
}
var setThumbnail = function (id, data, href)
{
var a = $(id).getFirst ();
var im = new Element ('img', { src: 'data:image/png;base64,' + data });
a.empty ().removeClass ('waiter').grab (im);
a.setProperty ('href', href);
var cross = new Element ('div', { 'html': '' });
cross.setProperty ('onclick', 'clearShortcut("' + id + '");');
cross.addClass ('cross');
cross.inject ($(id), 'top');
$(id).addClass ('activated');
var p = a.getNext ();
p.setProperty('onclick', 'javascript:renameShortcut("' + id + '");');
var num = id.substr (1) - 1;
sc.shortcuts[num].href = href;
sc.shortcuts[num].img = data;
console.log ("speed_dial-save '" + encodeSafe (sc) + "'");
function editing_tile (ev) {
input = ev.target;
previousName = input.value;
// indicate to user they are editing the title
input.className = input.className + " active";
}
var renameShortcut = function (id)
{
var name = prompt ("{enter_shortcut_name}", "");
if (!name) return;
function delete_tile (ev) {
ev.preventDefault();
var num = id.substr (1) - 1;
$(id).getLast ().set ('html', name);
sc.shortcuts[num].title = name;
console.log ("speed_dial-save '" + encodeSafe (sc) + "'");
}
var clearShortcut = function (id)
{
if(!confirm("{are_you_sure}"))
if (!confirm("{are_you_sure}"))
return;
var num = id.substr (1);
var div = $(id);
var cross = div.getFirst ();
var a = cross.getNext ();
var p = a.getNext ();
cross.dispose ();
div.removeClass ('activated');
a.empty ().set ('html', '<h1>' + num + '</h1><h4><span/></h4>');
a.setProperty ('href', '#');
p.empty ().removeProperty ('onclick');
num -= 1;
sc.shortcuts[num].href = "#";
sc.shortcuts[num].title = "";
sc.shortcuts[num].img = "";
console.log ("speed_dial-save '" + encodeSafe (sc) + "'");
var id = ev.target.parentNode.parentNode.id;
console.log ("speed_dial-save-delete " + id);
}
var buildSpeeddial = function ()
{
var width = 3;
if (sc.width != undefined)
{
width = sc.width;
$('wrap').style.width = (width * 220) + 'px';
}
var firstNode, secondNode;
var cursor;
sc.shortcuts.each (function (item, index, sc)
{
var cl = "shortcut";
var get_dial_div = function (ele) {
var dial_div;
if (ele.nodeName == 'IMG')
dial_div = ele.parentNode.parentNode.parentNode;
if (ele.className == 'title')
dial_div = ele.parentNode;
if (ele.className.indexOf ('shortcut') != -1)
dial_div = ele;
return dial_div;
}
if (index < width)
cl += " top";
if ((index % width) == (width - 1))
cl += " right";
function click (ev) {
if (ev == undefined)
return;
var div = new Element ('div', {
'class': cl,
'id': item.id
});
var a = new Element ('a', {
'href': item.href,
'events': {
'click': function () {
return getAction (item.id);
}
}
});
var p = new Element ('p', {
'text': item.title
});
if (item.href == "#")
a.set ('html', '<h1>' + item.id.substr (1) + '</h1><h4><span/></h4>');
else
{
div.addClass ('activated');
var im = new Element ('img', { src: 'data:image/png;base64,' + item.img });
var cross = new Element ('div', { 'html': '' });
cross.setProperty ('onclick', 'clearShortcut("' + item.id + '");');
cross.addClass ('cross');
cross.inject (div, 'top');
a.grab (im);
p.setProperty('onclick', 'javascript:renameShortcut("' + item.id + '");');
/* If the target of the event is an element of class title
* and not also of class add-shortcut we are editing title
*/
var classes = ev.target.className.split(" ");
var edit_title = false;
for (var i = 0; i < classes.length; i++) {
if(classes[i] == "add-shortcut") {
edit_title = false;
break;
}
div.grab (a);
div.grab (p);
$('content').grab (div);
});
}
window.addEvent ('domready', function () {
buildSpeeddial ();
});
document.onkeypress = function ()
{
var id = $('s' + String.fromCharCode (event.which));
if ($(id))
{
if (getAction (id))
document.location = $(id).children[1];
return false;
if(classes[i] == "title")
edit_title = true;
}
return true
if(edit_title)
return;
ev.preventDefault();
var ele = ev.target;
cursor = ele.style.cursor;
ele.style.cursor = 'move';
var eparent = get_dial_div (ele);
if (eparent != undefined) {
eparent.className = 'shortcut selected';
firstNode = eparent.id;
}
};
function up (ev) {
if (ev == undefined)
return;
ev.preventDefault();
ele = ev.target;
var eparent = get_dial_div (ele);
ele.style.cursor = cursor;
if(eparent != undefined) secondNode = eparent.id;
else return;
/* ommit just mere clicking the dial */
if (firstNode != secondNode && firstNode != undefined)
swap();
};
function over (ev) {
if (ev == undefined)
return;
ev.preventDefault();
var ele = ev.target;
var eparent = get_dial_div (ele);
var dial = document.getElementsByClassName("shortcut");
if (firstNode != undefined)
{
eparent.className = 'shortcut selected';
for (var i = 0; i < dial.length; i++) {
if (eparent.id != firstNode.id && dial[i].id != eparent.id) {
dial[i].className = 'shortcut';
}
}
}
ele.style.cursor = cursor;
}
function swap () {
console.log ("speed_dial-save-swap " + firstNode + " " + secondNode);
};
function init () {
var new_tile = document.getElementsByClassName ("preview new");
new_tile[0].addEventListener ('click', add_tile, false);
var titles = document.getElementsByClassName ("title");
var len = titles.length;
for (var i = 0; i < len; i++) {
if (titles[i].parentNode.childNodes[0].className != "preview new") {
titles[i].addEventListener ('click', editing_tile, false);
titles[i].addEventListener ('blur', done_editing_title, false);
titles[i].addEventListener ('keydown', input_key_down, false);
}
}
var crosses = document.getElementsByClassName ("cross");
var len = crosses.length;
for (var i = 0; i < len; i++)
crosses[i].addEventListener ('click', delete_tile, false);
var occupied_tiles = document.getElementsByClassName ("shortcut");
var len = occupied_tiles.length;
for (var i = 0; i < len; i++) {
if (occupied_tiles[i].childNodes[0].className != "preview new") {
occupied_tiles[i].addEventListener('mousedown', click, false);
occupied_tiles[i].addEventListener('mouseover', over, false);
occupied_tiles[i].addEventListener('mouseup', up, false);
}
}
}
</script>
</head>
<body>
<div id="wrap">
<div id="content">
</div>
</div>
</body>
</html>
<body onload="init ();">
<div id="content">

View file

@ -1 +0,0 @@
'{"shortcuts":[{"id":"s1","href":"#","title":"","img":""},{"id":"s2","href":"#","title":"","img":""},{"id":"s3","href":"#","title":"","img":""},{"id":"s4","href":"#","title":"","img":""},{"id":"s5","href":"#","title":"","img":""},{"id":"s6","href":"#","title":"","img":""},{"id":"s7","href":"#","title":"","img":""},{"id":"s8","href":"#","title":"","img":""},{"id":"s9","href":"#","title":"","img":""}]}'

33
data/tabby/Create.sql Normal file
View file

@ -0,0 +1,33 @@
CREATE TABLE IF NOT EXISTS sessions
(
id INTEGER PRIMARY KEY,
parent_id INTEGER DEFAULT 0,
crdate INTEGER DEFAULT 0,
tstamp INTEGER DEFAULT 0,
closed INTEGER DEFAULT 0,
title TEXT DEFAULT NULL,
FOREIGN KEY(parent_id) REFERENCES sessions(id)
);
CREATE TABLE IF NOT EXISTS tabs
(
id INTEGER PRIMARY KEY,
session_id INTEGER NOT NULL,
uri TEXT DEFAULT NULL,
icon TEXT DEFAULT NULL,
title TEXT DEFAULT NULL,
crdate INTEGER DEFAULT 0,
tstamp INTEGER DEFAULT 0,
closed INTEGER DEFAULT 0,
FOREIGN KEY(session_id) REFERENCES sessions(id)
);
CREATE TABLE IF NOT EXISTS tab_history
(
id INTEGER PRIMARY KEY,
tab_id INTEGER,
url TEXT,
icon TEXT,
title TEXT,
FOREIGN KEY(tab_id) REFERENCES tabs(id)
);

4
data/tabby/Update1.sql Normal file
View file

@ -0,0 +1,4 @@
ALTER TABLE tabs ADD sorting REAL DEFAULT 0;
CREATE INDEX sorting on tabs (sorting ASC);
CREATE INDEX tstamp on tabs (tstamp ASC);

3
debian/Debian-config vendored Normal file
View file

@ -0,0 +1,3 @@
[settings]
homepage=file:///usr/share/doc/midori/faq.html

45
debian/README.Debian vendored Normal file
View file

@ -0,0 +1,45 @@
Midori for Debian
=================
Missing Icons
-------------
Based on conversation with the author, and the faq entries cited
below, I do not think Midori will be changed upstream to use only
"stock" GTK icons.
* There are missing icons/ warnings
The set of themed icons Midori can use is very limited. For
instance icons for a new tab or the throbber are not guaranteed to
be available. To fix this, install a Freedesktop.org spec
compliant icon theme, such as Tango or Gnome, or one that is
compatible with these.
* Tweaking Midori on the Gtk level
If you don't have a desktop application that takes care of Gtk
settings or if your interface doesn't support a particular
feature, you can modify any settings easily manually by specifying
them in a text file called ~/.gtkrc-2.0 or /etc/gtk-2.0/gtkrc:
Use Tango as a fallback for your icon theme:
gtk-icon-theme = "MySuperFancyTheme"
gtk-fallback-icon-theme = "Tango"
-- http://wiki.xfce.org/midori_faq
Therefore I will add document this state of affairs in README.Debian
and add the following header to debian/control:
Recommends: gnome-icon-theme
This seems to be in line with what other packages currently do
(e.g. galeon).
I am choosing not to include a whole bunch of alternatives in the
Recommendation because I don't want to have to keep that list of
alternatives accurate.
-- Trent W. Buck <trentbuck@gmail.com>, Thu, 20 Nov 2008 20:23:33 +1100

42
debian/README.source vendored Normal file
View file

@ -0,0 +1,42 @@
I'm using the following to roll local snapshot releases.
To make the initial checkout:
git clone git://git.xfce.org/kalikiana/midori midori &&
apt-get source midori &&
cd midori &&
zcat ../midori*.diff.gz | patch -p1
To update and roll a .deb:
debuild clean &&
git pull &&
v=$(git describe --tags) && v=${v%-*} && v=${v//-/+} &&
dch -v $v-1 'New upstream snapshot.' &&
tar --exclude .git --exclude debian -lzma -cf ../${PWD##*/}_$v.orig.tar.lzma -C .. ${PWD##*/} &&
mkdir -p debian/source && echo '3.0 (quilt)' >debian/source/format &&
pdebuild
Midori has a large number of optional dependencies; I have made some
of them build dependencies based on what I think is widely useful.
The easiest way to build your own custom binary without such support
is to move the appropriate entries from Build-Depends to
Build-Conflicts in debian/control.
- gtk-doc-tools: API documentation.
- python-docutils: HTML user documentation (from plain text).
- intltool: localized UI text (menu titles and such).
- libunique-dev: turns midori into a client/server arrangement,
where subsequent calls will open windows in the first midori.
- libsoup2.4-dev: view source code and favicons and "save as".
- libsqlite3-dev: persistent history. Without this, browsing
history is lost when you quit midori. Possibly also relevant for
bookmarks, I'm not sure. Compiles OK with libsqlite0-dev, but
history isn't persistent.
- librsvg2-bin: create PNG icons from SVG source at compile time.
This avoids needing to rasterize the SVGs on the fly each time
midori is run.
- libidn11-dev: internationalized domain names.
- libhildon-1-dev: an alternative to GTK2, for embedded systems.
-- Trent W. Buck <trentbuck@gmail.com>, Sat, 21 Mar 2009 19:20:33 +1100

32
debian/TODO vendored Normal file
View file

@ -0,0 +1,32 @@
* Document how to use Firefox plugins.
* Remove runtime dependency on dbus-launch.
http://www.twotoasts.de/bugs/index.php?do=details&task_id=113
When building binary packages for Debian, I can either
- Build without libunique. Then midori works for everyone, but
running "midori foo" on the command line results in a new midori
process.
- Build with libunique. Then midori doesn't start unless there is a
session dbus, or dbus-launch can be used to create one:
$ midori; echo $?
(midori:2128): Unique-DBus-WARNING **: Unable to open a connection
to the session bus: Failed to execute dbus-launch to autolaunch
D-Bus session
(midori:2128): Unique-DBus-WARNING **: Unable to connect to the
running instance, aborting.
An instance of Midori is already running but not responding.
1
$ env | grep DBUS
$
Neither choice particularly appeals to me. Please sort out the code
so that when built with libunique, midori will fall back to the
"unique-less" behaviour when there is no session dbus.

2
debian/Ubuntu-config vendored Normal file
View file

@ -0,0 +1,2 @@
[settings]
homepage=file:///usr/share/ubuntu-artwork/home/index.html

626
debian/changelog vendored Normal file
View file

@ -0,0 +1,626 @@
midori (0.5.11-2) unstable; urgency=medium
* Remove "Force SSL verification" patch.
The patch "force-ssl-cert-verification.patch" was mistakenly included
in the last Midori release; this cased a regression because the user
cannot access a website that has a self-signed SSL/TLS certificate
anymore. This change removes the patch and allows the user to trust
self-signed certificates again. (Closes: #799337)
-- Sergio Durigan Junior <sergiodj@sergiodj.net> Fri, 18 Sep 2015 15:29:38 -0400
midori (0.5.11-1) unstable; urgency=low
[ Yves-Alexis Perez ]
* New upstream release.
* Apply patch from Colin Watson to improve conffile handling, using new
debhelper features. closes: #659773
* debian/control:
- update standards version to 3.9.3.
- update homepage address.
- remove myself from uploaders.
* debian/midori.maintscript:
- handle the /etc/xdg/midori/extensions/libadblock.so removal there.
closes: #660303
* debian/patches:
- force-ssl-cert-verification added, set ssl-strict to TRUE so connections
are not done if the ssl certificate can't be trusted.
* debian/compat bumped to 9.
[ Ryan Niebur ]
* new upstream version, including the waf unpack changes made thanks
to the NMU by Koichi Akabe
- refreshed patches
- add new Build-Dep on libzeitgeist-dev
* Improve dh_auto_clean target in d/rules to handle some leftover
files from quilt and waf
[ Andres Salomon ]
* Import Debian patch 0.4.3+dfsg-0.2
[ Sergio Durigan Junior ]
* Changing gbp.conf to not override the default tag name for releases.
* Updating section names on debian/gbp.conf
* Imported Upstream version 0.5.11
* Update debian/patches for the new Midori version (0.5.11).
* Revamp build system (use cmake instead of waf)
- Update debian/rules, removing old stuff (from waf) and adding new,
simpler rules for the cmake-based build.
- Update debian/control, listing the new package maintainer and
reviewed dependencies.
- Delete debian/waf-unpack file.
- Rename debian/config/{Debian,Ubuntu}.h files to
debian/config/{Debian,Ubuntu}.conf.
With this change, it is now unnecessary to create a DFSG-modified
version of the package, because Waf is not used as the build system
anymore (for more details, see Bug 645191).
It is possible to build the package now, but it still has some lintian
warnings that will be fixed in the following changes.
(Closes: #663185, #758103, #787878)
* Adding shlibs and lintian-overrides files.
Due to the way libraries (i.e., plugins) are built by Midori (without
a proper SONAME), it is necessary (or at least recommended) to provide
a shlibs file that contains trustworthy information about the
libraries being installed on the system.
Unfortunately, it is also necessary to provide a lintian-overrides
file in order to silence some lintian warnings (mostly about the
shlibs mentioned above). We'll have to work with upstream in order to
solve this problem.
Another lintian error that needed to be silenced was related to the
data/midori.swf file, present at the original tarball. This file is
used just for testing (i.e., it is not installed in the system), and
is actually generated using the png2swf utility (from the swftools
package), which means it can be verified.
* Rewrite manpage.
The old manpage was too simple and did not cover many of the options
supported by Midori on the command line. Fixed that by rewriting it
almost completely, including many missing options, updating dates and
author, and improving the formatting.
-- Sergio Durigan Junior <sergiodj@sergiodj.net> Tue, 15 Sep 2015 12:37:55 -0400
midori (0.4.3+dfsg-0.2) unstable; urgency=medium
* Non-maintainer upload.
* Drop debian/presubj.in as the webkit text browser
GtkLauncher is no longer packaged. (Closes: #759959)
-- Neil Williams <codehelp@debian.org> Thu, 06 Nov 2014 14:04:07 +0000
midori (0.4.3+dfsg-0.1) unstable; urgency=low
* Non-maintainer upload
* Repack to extract waf script (Closes: 645191)
* debian/waf-unpack
- add to describe how to extract waf script
* debian/rules
- add get-orig-source target
-- Koichi Akabe <vbkaisetsu@gmail.com> Sat, 24 Nov 2012 17:33:35 +0900
midori (0.4.3-1) unstable; urgency=low
* New upstream release.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 19 Dec 2011 00:26:46 +0100
midori (0.4.2-1) unstable; urgency=low
* New upstream release.
* debian/midori.{preinst,postinst,postrm}:
- handle adblock configuration file rename.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 14 Nov 2011 14:26:25 +0100
midori (0.4.1-2) unstable; urgency=low
* debian/control:
- update libwebkitgtk-dev build-dep to 1.4.3
* As a side effect, the rebuild against webkit 1.6.1 fix midori crashing
because of missing webkit_web_view_get_selected_text() closes: #646198
-- Yves-Alexis Perez <corsac@debian.org> Sat, 22 Oct 2011 14:46:34 +0200
midori (0.4.1-1) unstable; urgency=low
* New upstream release.
- fix middle click on back/forward button. closes: #644840
- correctly clear private data on quit when asked. closes: #644658
* debian/patches:
- 0001-Fix-for-Bug-819688 dropped, included upstream.
* debian/control:
- drop libjs-mootools from depends, it's not needed anymore.
* debian/rules:
- don't remove mootools.js since it's not even shipped anymore.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 10 Oct 2011 08:24:46 +0200
midori (0.4.0-2) unstable; urgency=low
* debian/patches:
- 0001-Fix-for-Bug-819688 added, correctly restore tab panel when needed.
-- Yves-Alexis Perez <corsac@debian.org> Tue, 06 Sep 2011 09:30:33 +0200
midori (0.4.0-1) unstable; urgency=low
* New upstream release.
* debian/control:
- bump webkit build-dep to 1.1.17.
- bump valac build-dep to 0.10.
-- Yves-Alexis Perez <corsac@debian.org> Tue, 02 Aug 2011 09:44:09 +0200
midori (0.3.6-2) unstable; urgency=low
* debian/rules:
- don't install upstream changelog twice. closes: #614692
* debian/Debian-config:
- update homepage to point to faq.html.
* debian/control:
- build-dep on libwebkitgtk-dev instead of libwebkit-dev.
-- Yves-Alexis Perez <corsac@debian.org> Tue, 26 Jul 2011 00:24:23 +0200
midori (0.3.6-1) unstable; urgency=low
* New upstream release.
* debian/control:
- update vcs info.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 16 May 2011 08:32:33 +0200
midori (0.3.5-1) unstable; urgency=low
* New upstream release.
* debian/control:
- add myself to uploaders...
- update standards version to 3.9.2.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 02 May 2011 21:50:53 +0200
midori (0.3.3-0.1) unstable; urgency=low
* Non-maintainer upload.
* New upstream release.
* debian/rules:
- install ChangeLog file as changelog and remove the one installed by make
install.
* debian/control:
- drop dpkg PreDepends.
-- Yves-Alexis Perez <corsac@debian.org> Tue, 15 Mar 2011 22:36:00 +0100
midori (0.3.2-0.1) unstable; urgency=low
* Non-maintainer upload.
* New upstream release.
- fix bookmarks multiplication. closes: #613739
* debian/patches:
- 0001-Only-no-adblock-if-main-frame-in-provisional-state dropped, included
upstream.
-- Yves-Alexis Perez <corsac@debian.org> Sun, 20 Feb 2011 10:50:11 +0100
midori (0.3.0-1.3) unstable; urgency=low
* Non-maintainer upload.
* debian/control:
- replace hardening-includes build-dep by hardening-wrapper.
* debian/rules:
- enable hardening.
-- Yves-Alexis Perez <corsac@debian.org> Fri, 04 Feb 2011 09:01:07 +0100
midori (0.3.0-1.2) unstable; urgency=low
* Non-maintainer upload.
* debian/patches:
- 0001-Only-no-adblock-if-main-frame-in-provisional-state added, fix
adblock extension. closes: #611682
* debian/rules:
- remove .lock-script in clean target.
-- Yves-Alexis Perez <corsac@debian.org> Wed, 02 Feb 2011 21:01:25 +0100
midori (0.3.0-1.1) unstable; urgency=low
* Non-maintainer upload.
* New upstream release.
* debian/rules:
- pick {C,LD}FLAGS from dpkg-buildflags.
- add -Wl,-z,defs -Wl,--as-needed to LDFLAGS.
- add hardening flags to {C,LD}FLAGS.
* debian/rules:
- remove waf stuff, midori waf has been updated so it's no longer needed
to dynamically patch waf for HPPA.
- install $(DISTRO)-config to /etc/xdg/midori to tune the default homepage
- add -O1 to LDFLAGS.
* debian/{Ubuntu,Debian}-config added, with default homepage setting.
* debian/patches:
- add-debian-search refreshed.
- fix-serial-build dropped thanks to waf upgrade in midori.
* debian/control:
- drop quilt build-dep, useless now.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 31 Jan 2011 17:49:21 +0100
midori (0.2.7-1.1) unstable; urgency=low
* Non-maintainer upload.
[Ryan Niebur]
* New Upstream Version (Closes: #582213)
- fixes segfault (Closes: #579118)
- correct link to FAQ (Closes: #582512)
* refresh patches
* update copyright
* use dpkg-maintscript-helper to remove old config file
/etc/midori/extensions/libadblock.so (Closes: #573208)
[Yves-Alexis Perez]
* New 2.7 upstream release.
* debian/watch edited to correctly track upstream versions.
* debian/rules:
- use --fail-missing in dh_install
* debian/control:
- add build-dep on valac to build certain extensions.
- update standards version to 3.9.1
-- Yves-Alexis Perez <corsac@debian.org> Tue, 17 Aug 2010 22:11:21 +0200
midori (0.2.4-3) unstable; urgency=low
* don't run the tests
* add debian/source/format
* fix building in Serial mode (on HPPA)
-- Ryan Niebur <ryan@debian.org> Sun, 18 Apr 2010 23:41:50 -0700
midori (0.2.4-2) unstable; urgency=low
* use a patched waf for hppa, thanks to Jakub Wilk (Closes: #559989)
-- Ryan Niebur <ryan@debian.org> Mon, 29 Mar 2010 00:39:30 -0700
midori (0.2.4-1) unstable; urgency=low
* New Upstream Version
- update d/copyright
- handles files in current dir correctly (Closes: #565329)
* use bundled waf again (Closes: 571709)
* set Standards-Version to 3.8.4
-- Ryan Niebur <ryan@debian.org> Sun, 07 Mar 2010 22:28:54 -0800
midori (0.2.2-1) unstable; urgency=low
* New Upstream Version (Closes: #556184, #558339)
- fixes local uri handling (Closes: #560866, #550844)
- move libnotify from Recommends to Build-Deps to follow upstream
- update debian/copyright to match upstream changes
- fixes handling of URLs like "some.url?%00" (Closes: #561451)
- running twice doesn't crash the browser (Closes: #514435)
- Ctrl-w on last tab now closes it but still not the browser
(Closes: #545251)
- Ctrl-u in urlbar with emacs key binding theme works (Closes: #538327)
* move libjs-mootools to Recommends, it's not required (Closes:
#547584)
* tell the user to report the bug against libwebkit-1.0-2 if they
reproduce it in the Webkit test browser. Figure out the package name
and the path to GtkLauncher automagically during build. (Closes:
#562501)
* switch to system waf
- the FTBFS #559989 is no longer the fault of anything in my package,
and I've set #561130 in the BTS to affect midori, so (Closes: #559989)
* refresh patch
-- Ryan Niebur <ryan@debian.org> Thu, 24 Dec 2009 18:30:46 -0800
midori (0.2.0-1) unstable; urgency=low
* New Upstream Version
(Closes: 551328, 551513)
* update debian/copyright
* bump libwebkit-dev build-dep to 1.1.15 for adblock (Closes: 546985)
* update my email address and remove DMUA field
-- Ryan Niebur <ryan@debian.org> Sun, 18 Oct 2009 15:44:22 -0700
midori (0.1.10-1) unstable; urgency=low
* New upstream release
* use mootools.js from the libjs-mootools package
-- Ryan Niebur <ryanryan52@gmail.com> Tue, 15 Sep 2009 22:46:55 -0700
midori (0.1.9-1) unstable; urgency=low
* fix watch file, thanks to Rogério Brito
* New Upstream Version (Closes: #541354)
- refresh patches
- update copyright
* fix Homepage field, thanks to Francesco Poli (Closes: #541414)
* improve bugs search to work for packages too, thanks to Denis
Laxalde for the suggestion (Closes: #542050)
* Debian Policy 3.8.3
-- Ryan Niebur <ryanryan52@gmail.com> Wed, 02 Sep 2009 15:36:37 -0700
midori (0.1.8-1) unstable; urgency=low
* New Upstream Version
- refresh patches
- enable tests
- update debian/copyright
* Debian Policy 3.8.2
-- Ryan Niebur <ryanryan52@gmail.com> Sat, 01 Aug 2009 09:07:30 -0700
midori (0.1.7-1) unstable; urgency=low
* New Upstream Version
* adopt package: set myself as maintainer, remove uploaders (Closes: #528731)
* rearrange the debian/rules file
* use xvfb for tests, but disable them, they don't work right
* use 'dh --with quilt' for patching instead of including
/usr/share/quilt/quilt.make
* fix format of debian/copyright
* build dep on debhelper 7.0.50 instead of 7.2
* add debian bts to the list of searches, thanks to Giuseppe for the
patch (Closes: #525991)
* refresh patches
* change the default-homepage patch to use the files in debian/config/
to set the default homepage based on whether it's debian, ubuntu,
etc (second half of ubuntu diff)
* also set a priority number for the alternative in the distro config
file. This sets it to 50 for debian, and 39 for ubuntu (just under
firefox). This addresses the other half of the ubuntu diff.
* add recommends on libnotify1
* update copyright information
* remove extra file, debian/patches/0001-Don-t-expressly-use-libkatze-
in-extensions-to-avoid.patch
* remove some old todo items from debian/TODO
-- Ryan Niebur <ryanryan52@gmail.com> Fri, 29 May 2009 20:31:09 -0700
midori (0.1.6-1) experimental; urgency=low
* New upstream release (Closes: #525471).
-- Trent W. Buck <trentbuck@gmail.com> Sat, 25 Apr 2009 11:09:59 +1000
midori (0.1.5-1) experimental; urgency=low
* New upstream release (Closes: #522549).
* Cherry-pick -fPIC fix from upstream's git and remove previous
kludge from debian/rules (Closes: #518281).
* Don't allow linking with incompatibly old libsoup (Closes: #522436).
* Use new "debug" section for midori-dbg.
* As Midori is still immature, reduce its priority as an x-www-browser
alternatives. Mainly this is to keep Ubuntu's iceweasel users happy.
Long-term, I should collaborate with the other x-www-browser providers
to agree on a numbering system (e.g. by popcon popularity). Currently
it is as follows:
20 conkeror, 30 chimera2, 50 dillo, 50 midori, 69 xlinks2,
70 iceweasel, 70 kazehakase, 85 epiphany-gecko, 100 konqueror,
100 netsurf, 120 galeon
-- Trent W. Buck <trentbuck@gmail.com> Sun, 05 Apr 2009 14:07:42 +1000
midori (0.1.4-2) experimental; urgency=low
* Always use -fPIC. (Closes: #518281).
* Force rebuild with newer dependencies, to see what happens.
The next upstream release will require these version bumps anyway.
* Bump libsoup dependency to 2.25.2.
* Bump webkit dependency to 1.1 (Closes: #519854, #519123).
* Bump libunique dependency to 1.0.6 (Closes: #509801).
Note that 1.0.2 should work: only 1.0.4 is bad.
* Reintroduce quilt while we wait for the 3.0 source format.
* Add a Debian search to the default search list (Closes: #520381).
* Make the homepage a local file. See patch header for rationale.
* Use new dh 7.2 "overrides" style.
* Update copyright file.
* Remove stale CDBS dependency.
* Bump standards version to 3.8.1. No changes necessary.
-- Trent W. Buck <trentbuck@gmail.com> Sat, 21 Mar 2009 21:39:05 +1100
midori (0.1.4-1) unstable; urgency=low
* New upstream release.
* Use dh(1).
* New dependency (libidn11-dev) and undependency (libhildon-1-dev).
* Install /etc/xdg/midori/search.
-- Trent W. Buck <trentbuck@gmail.com> Mon, 09 Mar 2009 22:29:12 +1100
midori (0.1.2-1) unstable; urgency=low
[ Trent W. Buck ]
* New upstream release (Closes: #512788).
Paraphrasing upstream's blog post:
* Support for bookmarklets (javascript in bookmarks).
* Links with target=_blank now work (opening a new tab).
* With recent versions of libsoup and webkit, cookies can persist
between sessions.
* Preferences or bookmarks are saved to disk as they are changed.
* The first time Midori is run after a crash, it will first
display a "rescue" dialog allowing preferences to be edited or
scripts disabled. This is intended for when a script causes
Midori to crash as it boots, which would otherwise require
editing config files by hand to fix.
* Significant speed and capacity improvements to browsing history.
* Appease lintian regarding various warnings.
* Update feature list in Description.
* Make me the Maintainer and William and Uploader.
* Rewrite manpage.
[ William Pitcock ]
* Fix lintian source warnings concerning midori-dbg.
* Update my e-mail address.
-- Trent W. Buck <trentbuck@gmail.com> Sat, 31 Jan 2009 14:24:16 +1100
midori (0.1.1-1) unstable; urgency=low
* New upstream release. From upstream's blog post:
* Integration of history completion in the location entry.
* libSoup is used in place of GIO for loading icons, viewing
sources, saving files, and for the first time icons are actually
cached on disk.
* The side panel gained a compact mode to take up considerably
less space. Bookmarks in the toolbar finally match the menu and
the panel at any time.
* The Web Inspector [in] WebKitGtk is now supported.
* The beginning of unit testing.
* The ground work for an extension interface has been done,
extension modules can be written in C at the moment. Bindings to
Lua and/ or Python are planned for the future. Note that the
side panel doesn't currently expose the extension management,
but the Page holder was actually rewritten as one of the example
extensions.
* Change build dependency to libsoup (from gvfs and gtksourceview).
* Rewrite manpage and package description.
-- Trent W. Buck <trentbuck@gmail.com> Sat, 13 Dec 2008 18:00:06 +1100
midori (0.1.0-1) unstable; urgency=low
* New upstream release
-- Trent W. Buck <trentbuck@gmail.com> Fri, 24 Oct 2008 15:42:29 +1100
midori (0.0.21+23-1) UNRELEASED; urgency=low
* Upstream snapshot.
* TODO: .po issue fixed upstream (FS: 114).
* TODO: Help > Contents now browses to FAQ (FS: 112).
-- Trent W. Buck <trentbuck@gmail.com> Thu, 18 Sep 2008 11:07:19 +1000
midori (0.0.21-1) unstable; urgency=low
* New upstream release (Closes: #497647).
* control: add new upstream dependencies.
* control: Bump Standards-Version to 3.8.0 (no changes). We were
actually already using the Homepage header field.
* control, compat, rules: bump debhelper to 7, because I'm a bit
paranoid about claiming to build with dh4.1. Fix dh_strip args in
rules file since the semantics changed in dh5.
* README.Debian: discuss "missing" icons.
* control: recommend gnome-icon-theme (Closes: #494061).
* control: fix homepage link (Closes: #492687).
* control: provide www-browser (Closes: #476178).
Not adding www-browser alternative since other X-based browsers seem
to only set the x-www-browser alternative.
* watch: fixed. Upstream tarballs now hosted by XFCE, yay!
* presubj, install: have users try GtkLauncher before reporting bugs.
* midori.menu: add (Closes: #466588).
* midori.install: install .mo and .png files!
* control: allow DM uploads, since I'll soon be a DM.
-- Trent W. Buck <trentbuck@gmail.com> Mon, 15 Sep 2008 22:10:35 +1000
midori (0.0.19-2) unstable; urgency=low
* Add build dependency on python (for ./waf).
-- Trent W. Buck <trentbuck@gmail.com> Wed, 13 Aug 2008 12:30:27 +1000
midori (0.0.19-1) unstable; urgency=low
* New upstream release
* Upstream uses waf now. Dirty hacks to make CDBS do waf.
* Drop the homepage patch, since it wasn't being unapplied correctly and
it doesn't really accomplish anything like the desired behaviour in
debian/TODO.
-- Trent W. Buck <trentbuck@gmail.com> Sun, 10 Aug 2008 22:18:52 +1000
midori (0.0.18-2) unstable; urgency=low
* Change release to unstable, per William Pitcock's request.
-- Trent W. Buck <trentbuck@gmail.com> Sun, 08 Jun 2008 13:32:23 +1000
midori (0.0.18-1) experimental; urgency=low
* New upstream release
* debian/control (Build-Depends): accommodate name change in webkit.
* debian/control (Build-Depends): appease lintian by dropping -1.
* debian/control (Build-Depends): add libxml-parser-perl.
* debian/control (Homepage): add.
* debian/control (Maintainer, Uploaders): change (Closes: #480026).
* debian/copyright: appease lintian by citing copyright verbatim.
* debian/midori.prerm, debian/midori.postrm: tweak cases where
update-alternatives is called, hopefully making them more correct.
* debian/rules: remove config.log to appease lintian.
* debian/watch: add (Closes: #482002).
-- Trent W. Buck <trentbuck@gmail.com> Sat, 07 Jun 2008 15:00:06 +1000
midori (0.0.17-1) experimental; urgency=low
* New upstream release. Closes: #457392
- Fix issues with the preference dialog. Closes: #454206
* Provide an alternative for x-www-browser. Closes: #454607
* Update Standards-Version.
-- Emanuele Rocca <ema@debian.org> Thu, 07 Feb 2008 11:11:14 +0100
midori (0.0.13-1) experimental; urgency=low
* New upstream release
-- Emanuele Rocca <ema@debian.org> Tue, 04 Dec 2007 19:41:39 +0100
midori (0.0.12-1) experimental; urgency=low
* New upstream release
-- Emanuele Rocca <ema@debian.org> Fri, 30 Nov 2007 18:41:48 +0100
midori (0.0.11-1) experimental; urgency=low
* New upstream release
-- Emanuele Rocca <ema@debian.org> Fri, 16 Nov 2007 18:56:50 +0100
midori (0.0.10-1) experimental; urgency=low
* New upstream release
-- Emanuele Rocca <ema@debian.org> Sat, 13 Oct 2007 10:45:09 +0200
midori (0.0.8-1) experimental; urgency=low
* New upstream release
* Patched to build correctly against webkit 0~svn26044-1
* libwebkitgdk has been renamed to libwebkitgtk, build dependency updated
accordingly
-- Emanuele Rocca <ema@debian.org> Tue, 09 Oct 2007 22:42:25 +0200
midori (0.0.7-1) experimental; urgency=low
* New upstream release.
* Added minori-dbg binary package.
* Improved long description.
-- Emanuele Rocca <ema@debian.org> Sat, 15 Sep 2007 14:01:58 +0200
midori (0.0.6-1) experimental; urgency=low
* Initial release. Closes: #441838
-- Emanuele Rocca <ema@debian.org> Mon, 10 Sep 2007 23:37:01 +0200

2
debian/clean vendored Normal file
View file

@ -0,0 +1,2 @@
midori/midori-debian.h
debian/midori.postinst

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

2
debian/config/Debian.conf vendored Normal file
View file

@ -0,0 +1,2 @@
DEBIAN_DISTRO_DEFAULT_HOMEPAGE "file:///usr/share/doc/midori/user/midori.html"
DEBIAN_WWW_ALTERNATIVES_PRIORITY 50

2
debian/config/Ubuntu.conf vendored Normal file
View file

@ -0,0 +1,2 @@
DEBIAN_DISTRO_DEFAULT_HOMEPAGE "file:///usr/share/ubuntu-artwork/home/index.html"
DEBIAN_WWW_ALTERNATIVES_PRIORITY 39

74
debian/control vendored Normal file
View file

@ -0,0 +1,74 @@
Source: midori
Section: web
Priority: optional
Maintainer: Sergio Durigan Junior <sergiodj@sergiodj.net>
Build-Depends: debhelper (>= 9),
cmake,
valac,
lsb-release,
libwebkitgtk-dev (>= 1.8.1),
libgtk2.0-dev (>= 2.24.0),
libglib2.0-dev,
libsoup-gnome2.4-dev (>= 2.27.90),
libxml2-dev (>= 2.6),
libsqlite3-dev (>= 3.6.19),
libjavascriptcoregtk-1.0-dev,
libnotify-dev,
libgcr-3-dev (>= 2.32),
librsvg2-bin,
intltool,
libunique-dev (>= 1.0.6),
libzeitgeist-2.0-dev,
# Necessary for 'make check'
xvfb,
xauth,
xfonts-base,
libxss-dev
Standards-Version: 3.9.6
Homepage: http://www.midori-browser.org
Vcs-Git: git://git.debian.org/collab-maint/midori.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/midori.git;a=summary
Package: midori
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: gnome-icon-theme
Provides: www-browser
# For http://bugs.debian.org/522436 (missing symbols):
Conflicts: libsoup2.4-1 (<< 2.25.2)
Description: fast, lightweight graphical web browser
Midori is a lightweight web browser based on WebKit.
.
Its features include:
.
* Full integration with GTK+2.
* Fast rendering with WebKit.
* Tabs, windows and session management.
* Flexibly configurable Web Search.
* User scripts and user styles support.
* Straightforward bookmark management.
* Customizable and extensible interface.
* Support for extensions (written in C).
* Custom context menu actions.
Package: midori-dbg
Architecture: any
Priority: extra
Section: debug
Depends: ${shlibs:Depends}, ${misc:Depends}, midori (= ${binary:Version})
Description: fast, lightweight graphical web browser (debug symbols)
Midori is a lightweight web browser based on WebKit.
.
Its features include:
.
* Full integration with GTK+2.
* Fast rendering with WebKit.
* Tabs, windows and session management.
* Flexibly configurable Web Search.
* User scripts and user styles support.
* Straightforward bookmark management.
* Customizable and extensible interface.
* Support for extensions (written in C).
* Custom context menu actions.
.
This package contains the debugging symbols for midori.

276
debian/copyright vendored Normal file
View file

@ -0,0 +1,276 @@
Format-Specification:
http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=227
Upstream-Name: midori
Upstream-Maintainer: Christian Dywan <christian@twotoasts.de>
Upstream-Source: http://goodies.xfce.org/releases/midori/
Files: *
Copyright: © 2007-2010, Christian Dywan <christian@twotoasts.de>
License: LGPL-2.1+
Files: tests/magic-uri.c
Copyright: © 2007-2009, Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Alexander Butenko <a.butenka@gmail.com>
License: LGPL-2.1+
Files: midori/midori-view.c
Copyright: Copyright (C) 2007-2010 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Jean-François Guchens <zcx000@gmail.com>
License: LGPL-2.1+
Files: data/speeddial-head.html
Copyright: Copyright (C) 2009 Jean-François Guchens <zcx000@gmail.com>
License: LGPL-2.1+
Files: data/mootools.js
Copyright: Copyright (c) 2006-2009 Valerio Proietti
License: MIT
Files: extensions/addons.c
Copyright: Copyright (C) 2008 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2008-2010 Arno Renevier <arno@renevier.net>
License: LGPL-2.1+
Files: colorful-tabs
Copyright: Copyright (C) 2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2010 Samuel Creshal <creshal@arcor.de>
License: LGPL-2.1+
Files: extensions/adblock.c
Copyright: Copyright (C) 2009-2010 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Alexander Butenko <a.butenka@gmail.com>
License: LGPL-2.1+
Files: extensions/cookie-manager.c extensions/cookie-manager/*
Copyright: Copyright (C) 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
License: LGPL-2.1+
Files: extensions/feed-panel/*
Copyright: Copyright (C) 2009-2010 Dale Whittaker <dayul@users.sf.net>
License: LGPL-2.1+
Files: debian/*
Copyright: © 2007, Emanuele Rocca <ema@debian.org>
© 2008, Trent W. Buck <trentbuck@gmail.com>
2009, Ryan Niebur <ryanryan52@gmail.com>
License: expat
Files: po/gl.po
Copyright: Copyright (C) 2008, 2009 Miguel Anxo Bouzada.
Copyright (C) 2009-2010 Leandro Regueiro.
License: LGPL-2.1+
Files: po/sv.po
Copyright: Copyright (C) 2008, 2009 Free Software Foundation, Inc.
License: LGPL-2.1+
Files: katze/katze-http-cookies.c
Copyright: Copyright (C) 2008-2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2008 Xan Lopez <xan@gnome.org>
Copyright (C) 2008 Dan Winship <danw@gnome.org>
License: LGPL-2.1+
Files: katze/katze-arrayaction.c
Copyright: Copyright (C) 2008-2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Enrico Tröger <enrico.troeger@uvena.de>
License: LGPL-2.1+
Files: midori/socket.c
Copyright: Copyright 1999-2008 Hiroyuki Yamamoto
Copyright 2006-2009 Enrico Tröger <enrico.troeger@uvena.de>
License: LGPL-2.1+
Files: katze/katze-utils.c
Copyright: Copyright (C) 2007-2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
Copyright 2000 Red Hat, Inc.
License: LGPL-2.1+
Files: katze/katze-utils.h
Copyright: Copyright (C) 2008-2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Dale Whittaker <dayul@users.sf.net
License: LGPL-2.1+
Files: midori/midori-browser.c
Copyright: Copyright (C) 2007-2010 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2008 Dale Whittaker <dayul@users.sf.net>
Copyright (C) 2009 Jérôme Geulfucci <jeromeg@xfce.org>
License: LGPL-2.1+
Files: extensions/formhistory.c
Copyright: Copyright (C) 2009 Alexander Butenko <a.butenka@gmail.com>
Copyright (C) 2009 Christian Dywan <christian@twotoasts.de>
License: LGPL-2.1+
Files: katze/katze-preferences.c
Copyright: Copyright (C) 2007-2009 Christian Dywan <christian@twotoasts.de>
License: LGPL-2.1+
Files: katze/katze-preferences.h
Copyright: Copyright (C) 2008-2009 Christian Dywan <christian@twotoasts.de>
License: LGPL-2.1+
Files: katze/katze-scrolled.c, katze/katze-scrolled.h
Copyright: Copyright (C) 2007 Henrik Hedberg <hhedberg@innologies.fi>
Copyright (C) 2009 Nadav Wiener <nadavwr@yahoo.com>
Copyright (C) 2009 Christian Dywan <christian@twotoasts.de>
License: LGPL-2.1+
Files: midori/midori-extension.c
Copyright: Copyright (C) 2008-2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Dale Whittaker <dayul@users.sf.net>
License: LGPL-2.1+
Files: midori/midori-locationaction.c
Copyright: Copyright (C) 2008-2010 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2008-2010 Dale Whittaker <dayul@users.sf.net>
License: LGPL-2.1+
Files: midori/gtkiconentry.?
Copyright: © 2004, Christian Hammond
© 2008, Cody Russell <bratsche@gnome.org>
(C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
Modified by the GTK+ Team and others 1997-2000
License: LGPL-2+
Files: extensions/mouse-gestures.c
Copyright: Copyright (C) 2009 Matthias Kruk <mkruk@matthiaskruk.de>
Copyright (C) 2009-2010 Christian Dywan <christian@twotoasts.de>
License: LGPL-2.1+
Files: extensions/status-clock.c
Copyright: Copyright (C) 2010 Arno Renevier <arno@renevier.net>
License: LGPL-2.1+
Files: extensions/tab-switcher.c
Copyright: Copyright (C) 2009 André Stösel <Midori-Plugin@PyIT.de>
License: LGPL-2.1+
Files: midori/midori.vapi
Copyright: Copyright (C) 2010 Christian Dywan <christian@twotoasts.de>
License: expat
Files: tools/check-style
Copyright: Copyright (C) 2010 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2010 Arno Renevier <arno@renevier.net>
License: LGPL-2.1+
Files: tools/midori-dev
Copyright: Copyright (C) 2010 David Mohr <david@mcbf.net>
License: LGPL-2.1+
Files: extensions/web-cache.c
Copyright: Copyright (C) 2009 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009 Alexander Butenko <a.butenka@gmail.com>
License: LGPL-2.1+
Files: icons/scalable/extension.svg
Copyright: © 2008, Nancy Runge <nancy@twotoasts.de>
License: LGPL-2.1+
Files: midori/sokoke.c
Copyright: Copyright (C) 2009 Dale Whittaker <dayul@users.sf.net>
Copyright (C) 2009 Alexander Butenko <a.butenka@gmail.com>
Copyright (C) 2009 Mario Sanchez Prada <msanchez@igalia.com>
Copyright (C) 2009 Dan Winship <danw@gnome.org>
License: LGPL-2.1+
Files: extensions/toolbar-editor.c
Copyright: Copyright (C) 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
License: LGPL-2.1+
Files: README, TRANSLATE, INSTALL, TODO, HACKING, ChangeLog,
wscript, */wscript_build, docs/user/midori.css
Copyright: © 2007, Christian Dywan <christian@twotoasts.de>
License: expat
Files: waf
Copyright: © 2005, Thomas Nagy
License: BSD-C3
License: LGPL-2.1+
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.
.
See /usr/share/common-licenses/LGPL-2.1 for the full license text.
License: LGPL-2+
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
See /usr/share/common-licenses/LGPL-2 for the full license text.
License: expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: BSD-C3
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

7
debian/gbp.conf vendored Normal file
View file

@ -0,0 +1,7 @@
[import-orig]
upstream-branch=upstream-unstable
debian-branch=master
[import-dsc]
upstream-branch=upstream-unstable
debian-branch=master

123
debian/midori.1 vendored Normal file
View file

@ -0,0 +1,123 @@
.TH MIDORI "1" "September 2015" "midori 0.5.11" "User commands"
.SH NAME
midori \- fast and lightweight Web Browser.
.SH SYNOPSIS
.PP
\fBmidori\fR [OPTION...] [URL]
.SH DESCRIPTION
\fBmidori\fR is a lightweight Web Browser.
.SH OPTIONS
.IP
.SS "Application Options:"
.TP
\fB\-a\fR \fIADDRESS\fR\fR, \fB\-\-app\fR=\fIADDRESS\fR
Run \fIADDRESS\fR as a web application.
.TP
\fB\-c\fR \fIFOLDER\fR, \fB\-\-config\fR=\fIFOLDER\fR
Use \fIFOLDER\fR as configuration folder.
.TP
\fB\-p\fR, \fB\-\-private\fR
Run Midori in private mode. No changes are saved in this mode.
.TP
\fB\-\-plain\fR
Plain GTK+ window with WebKit, akin to GtkLauncher.
.TP
\fB\-d\fR, \fB\-\-diagnostic\-dialog\fR
Show a diagnostic dialog.
.TP
\fB\-g\fR, \fB\-\-debug\fR
Run Midori within gdb and save a backtrace on crash. Useful when
reporting bugs against the package.
.TP
\fB\-r\fR \fIFILE\fR, \fB\-\-run\fR=\fIFILE\fR
Run \fIFILE\fR as a JavaScript.
.TP
\fB\-s\fR \fIURI\fR, \fB\-\-snapshot\fR=\fIURI\fR
Take a snapshot of \fIURI\fR.
.TP
\fB\-e\fR \fICOMMAND\fR, \fB\-\-execute\fR=\fICOMMAND\fR
Run the specified \fICOMMAND\fR. To obtain a list of supported
commands, see \fB\-\-help\-execute\fR below.
.TP
\fB\-\-help\-execute\fR
Print a list of available commands supported by \fB\-\-execute\fR.
.TP
\fB\-V\fR, \fB\-\-version\fR
Print the version of Midori.
.TP
\fB\-b\fR \fIPATTERN\fR, \fB\-\-block\-uris\fR=\fIPATTERN\fR
Block URIs according to the regular expression specified in
\fIPATTERN\fR.
.TP
\fB\-i\fR \fISECONDS\fR, \fB\-\-inactivity\-reset\fR=\fISECONDS\fR
Reset Midori after \fISECONDS\fR seconds of inactivity.
.TP
\fB\-\-display\fR=\fIDISPLAY\fR
X display to use.
.SS Help Options:
.TP
\-?, \fB\-\-help\fR
Show help options described above.
.TP
\fB\-\-help\-all\fR
Show all help options.
.TP
\fB\-\-help\-gtk\fR
Show GTK+ Options.
.SH REPORTING BUGS
Please report bugs using the Debian BTS <https://bugs.debian.org>.
.SH AUTHOR
\fBMidori\fR is copyright (C) 2007 Christian Dywan.
.PP
This manual page was completely rewritten by Sergio Durigan Junior
<sergiodj@sergiodj.net>, based on the previous version by Emanuele
Rocca <ema@debian.org>. It was written for the Debian GNU/Linux
system but may be used by others.
.PP
Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU General Public License, Version 2 or any later version published
by the Free Software Foundation.

2
debian/midori.docs vendored Normal file
View file

@ -0,0 +1,2 @@
docs/user/*.txt
docs/user/*.html

1
debian/midori.install vendored Normal file
View file

@ -0,0 +1 @@
debian/tmp/*

37
debian/midori.lintian-overrides vendored Normal file
View file

@ -0,0 +1,37 @@
# Overrides the warnings given by the following shlibs. These
# warnings are wrong because these shlibs are private to the project;
# they are actually plugins that Midori offers. For the rationale
# behind these overrides, see Debian Policy, section 10.2.
unused-shlib-entry-in-control-file libabout 1
unused-shlib-entry-in-control-file libadblock 1
unused-shlib-entry-in-control-file libaddons 1
unused-shlib-entry-in-control-file libapps 1
unused-shlib-entry-in-control-file libcolorful-tabs 1
unused-shlib-entry-in-control-file libcookie-manager 1
unused-shlib-entry-in-control-file libcookie-permissions 1
unused-shlib-entry-in-control-file libcopy-tabs 1
unused-shlib-entry-in-control-file libdelayed-load 1
unused-shlib-entry-in-control-file libdevpet 1
unused-shlib-entry-in-control-file libdomain-keys 1
unused-shlib-entry-in-control-file libexternal-download-manager 1
unused-shlib-entry-in-control-file libfeed-panel 1
unused-shlib-entry-in-control-file libflummi 1
unused-shlib-entry-in-control-file libformhistory 1
unused-shlib-entry-in-control-file libhistory-list 1
unused-shlib-entry-in-control-file libmouse-gestures 1
unused-shlib-entry-in-control-file libnojs 1
unused-shlib-entry-in-control-file libnotes 1
unused-shlib-entry-in-control-file libnsplugin-manager 1
unused-shlib-entry-in-control-file libopen-with 1
unused-shlib-entry-in-control-file libshortcuts 1
unused-shlib-entry-in-control-file libstatusbar-features 1
unused-shlib-entry-in-control-file libstatus-clock 1
unused-shlib-entry-in-control-file libtabby 1
unused-shlib-entry-in-control-file libtab-panel 1
unused-shlib-entry-in-control-file libtabs-minimized 1
unused-shlib-entry-in-control-file libtoolbar-editor 1
unused-shlib-entry-in-control-file libtransfers 1
unused-shlib-entry-in-control-file libwebmedia-now-playing 1
package-name-doesnt-match-sonames libmidori-core1
non-dev-pkg-with-shlib-symlink usr/lib/libmidori-core.so.0.0.0 usr/lib/libmidori-core.so

2
debian/midori.maintscript vendored Normal file
View file

@ -0,0 +1,2 @@
mv_conffile /etc/xdg/midori/extensions/libadblock.so/config /etc/xdg/midori/extensions/adblock/config 0.4.1-2
rm_conffile /etc/xdg/midori/extensions/libadblock.so 0.4.1-2

1
debian/midori.manpages vendored Normal file
View file

@ -0,0 +1 @@
debian/midori.1

2
debian/midori.menu vendored Normal file
View file

@ -0,0 +1,2 @@
?package(midori):needs="x11" section="Applications/Network/Web Browsing" \
title="Midori" command="midori"

13
debian/midori.postinst.base vendored Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh
set -e
case "$1" in
configure)
update-alternatives \
--install /usr/bin/x-www-browser \
x-www-browser /usr/bin/midori DEBIAN_WWW_ALTERNATIVES_PRIORITY \
--slave /usr/share/man/man1/x-www-browser.1.gz \
x-www-browser.1.gz /usr/share/man/man1/midori.1.gz
;;
esac
#DEBHELPER#
exit 0

9
debian/midori.prerm vendored Normal file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
case "$1" in
remove|deconfigure)
update-alternatives --remove x-www-browser /usr/bin/midori
;;
esac
#DEBHELPER#
exit 0

31
debian/midori.shlibs vendored Normal file
View file

@ -0,0 +1,31 @@
libmidori-core 1 midori
libabout 1 midori
libadblock 1 midori
libaddons 1 midori
libapps 1 midori
libcolorful-tabs 1 midori
libcookie-manager 1 midori
libcookie-permissions 1 midori
libcopy-tabs 1 midori
libdelayed-load 1 midori
libdevpet 1 midori
libdomain-keys 1 midori
libexternal-download-manager 1 midori
libfeed-panel 1 midori
libflummi 1 midori
libformhistory 1 midori
libhistory-list 1 midori
libmouse-gestures 1 midori
libnojs 1 midori
libnotes 1 midori
libnsplugin-manager 1 midori
libopen-with 1 midori
libshortcuts 1 midori
libstatusbar-features 1 midori
libstatus-clock 1 midori
libtabby 1 midori
libtab-panel 1 midori
libtabs-minimized 1 midori
libtoolbar-editor 1 midori
libtransfers 1 midori
libwebmedia-now-playing 1 midori

21
debian/patches/add-debian-searches vendored Normal file
View file

@ -0,0 +1,21 @@
Index: midori-debian-repo/config/search
===================================================================
--- midori-debian-repo.orig/config/search
+++ midori-debian-repo/config/search
@@ -34,3 +34,16 @@ text=Localize text or URL
uri=http://translate.google.com/?q=
token=gt
+[Debian Packages]
+name=Debian Packages
+text=Search Debian Packages
+uri=http://packages.debian.org/%s
+icon=
+token=d
+
+[Debian Bugs]
+name=Debian Bugs
+text=Debian Bugs Search
+uri=http://bugs.debian.org/%s
+icon=
+token=dbs

1
debian/patches/series vendored Normal file
View file

@ -0,0 +1 @@
add-debian-searches

57
debian/rules vendored Executable file
View file

@ -0,0 +1,57 @@
#!/usr/bin/make -f
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# Necessary for the configuration file (xdg).
DISTRO = $(shell lsb_release -is)
CONFIG_FILE = debian/config/$(DISTRO).conf
ifneq (0, $(shell test -f $(CONFIG_FILE); echo "$$?"))
DISTRO = Debian
endif
%:
dh $@ --buildsystem=cmake --builddirectory=_build/
# Midori uses a "poor man's configure" which only accepts a minimal,
# pre-defined set of flags. Therefore, we invoke cmake directly here.
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
..
# cmake does not emit useful information when compiling the source
# files. We use VERBOSE here for that.
override_dh_auto_build:
dh_auto_build -- VERBOSE=1
# We have to override 'make check' because it needs to run under
# xvfb-run. And some tests still fail.
override_dh_auto_test:
(cd _build && xvfb-run make check) || true
override_dh_auto_install:
dh_auto_install
rm -f debian/tmp/usr/share/doc/midori/COPYING debian/tmp/usr/share/doc/midori/TRANSLATE
install -m 0644 debian/$(DISTRO)-config debian/tmp/etc/xdg/midori/config
# Generate the debuginfo package.
override_dh_strip:
dh_strip --dbg-package=midori-dbg
# Updating the alternatives priority
PRIORITY = $(shell sed -ne 's/^DEBIAN_WWW_ALTERNATIVES_PRIORITY \([0-9]\+\)/\1/p' $(CONFIG_FILE))
debian/midori.postinst: debian/midori.postinst.base
sed 's/DEBIAN_WWW_ALTERNATIVES_PRIORITY/$(PRIORITY)/g' debian/midori.postinst.base > debian/midori.postinst
override_dh_installdeb: debian/midori.postinst
dh_installdeb
override_dh_installchangelogs:
rm -f debian/midori/usr/share/doc/midori/ChangeLog
dh_installchangelogs

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

9
debian/source/lintian-overrides vendored Normal file
View file

@ -0,0 +1,9 @@
# This file is just used for testing, and is not installed with the
# package. Moreover, it is generated from a PNG image, using the
# following command:
#
# png2swf -z -j 1 -o data/midori.swf ./icons/16x16/midori.png
#
# Which means that it can be easily verified. The png2swf command can
# be found in the swftools package.
midori source: source-is-missing data/midori.swf

3
debian/watch vendored Normal file
View file

@ -0,0 +1,3 @@
version=3
opts=dversionmangle=s/\+dfsg// \
http://archive.xfce.org/src/apps/midori/([\d\.]+)/midori-([\d.]+).tar.bz2

14
docs/api/CMakeLists.txt Normal file
View file

@ -0,0 +1,14 @@
# Copyright (C) 2013 Olivier Duchateau
include (GtkDoc)
if (GTKDOC_FOUND)
list (APPEND MODULES "katze" "midori")
foreach (MOD ${MODULES})
if (EXISTS "${CMAKE_SOURCE_DIR}/${MOD}")
gtkdoc (${MOD})
endif ()
endforeach ()
else ()
message (FATAL_ERROR "gtk-doc not found")
endif ()

View file

@ -1,35 +0,0 @@
#! /usr/bin/env python
# WAF build script for midori
# This file is licensed under the terms of the expat license, see the file EXPAT.
import pproc as subprocess
import os
for module in ('midori', 'katze'):
try:
if not os.access ('_build_', os.F_OK):
Utils.check_dir ('_build_')
if not os.access ('_build_/docs', os.F_OK):
Utils.check_dir ('_build_/docs')
if not os.access ('_build_/docs/api', os.F_OK):
Utils.check_dir ('_build_/docs/api')
subprocess.call (['gtkdoc-scan', '--module=' + module,
'--source-dir=' + module, '--output-dir=_build_/docs/api/' + module,
'--rebuild-sections', '--rebuild-types'])
os.chdir ('_build_/docs/api/' + module)
subprocess.call (['gtkdoc-mktmpl', '--module=' + module,
'--output-dir=.' + module])
subprocess.call (['gtkdoc-mkdb', '--module=' + module,
'--source-dir=.', '--output-dir=xml',
'--source-suffixes=c,h', '--output-format=xml',
'--default-includes=%s/%s.h' % (module, module),
'--sgml-mode', '--main-sgml-file=%s.sgml' % module])
if not os.access ('html', os.F_OK):
Utils.check_dir ('html')
os.chdir ('html')
subprocess.call (['gtkdoc-mkhtml', module, '../%s.sgml' % module])
Utils.pprint ('YELLOW', "Created documentation for %s." % module)
os.chdir ('../../../../..')
except Exception, msg:
print msg
Utils.pprint ('RED', "Failed to create documentation for %s." % module)

View file

@ -1,255 +0,0 @@
.. |(version)| replace:: 0.2.2
'''''''
Midori
'''''''
-----------------------------------------
A lightweight, portable GTK+ web browser
-----------------------------------------
:Authors: Christian Dywan
:Date: $Date: 2009-11-18 18:20:11 +0100 (Wed, 18 Nov 2009) $
:Version: |(version)|
Copyright © 2008-2009
This documentation is distributed under the terms of the
`GNU Lesser General Public License`_; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.. contents::
Introduction
''''''''''''
What is Midori
--------------
Midori is a lightweight and portable web browser based on Gtk+. The
interface is designed to be intuitive yet powerful.
* Full integration with GTK+2.
* Fast rendering with WebKit.
* Tabs, windows and session management.
* Flexibly configurable Web Search.
* User scripts and user styles support.
* Straightforward bookmark management.
* Customizable and extensible interface.
* Extensions written in C.
Running Midori
--------------
* If you are using a graphical desktop environment you will usually find
Midori in the menu under Network.
* You can also run Midori from a console or a Run dialog.
See also `Command line usage`.
$ midori
A browser window appears where you can start navigating the web right away.
The main interface
--------------------------
The main browser window consists of a few basic elements:
* The menubar. It's pretty much standardized and gives you access to
allmost all features, many of the items have a keyboard shortcut by default.
See also `Keyboard shortcuts`_.
* The navigationbar. It lets you open tabs, go back and forward, enter
addresses, search the web and reopen closed tabs.
See also `The navigationbar`.
* The sidepanel. It takes a pretty central role in the functionality it provides,
yet it can be hidden and resized to not distract you.
See also `The sidepanel`.
* The statusbar. It displays informational text when hovering something
with a pointer. That's it.
Taking a closer look
''''''''''''''''''''
Command line usage
------------------
Running Midori normally works as follows:
* $ midori
Just run a new instance of Midori. If an instance of Midori is already
running a new window in that instance will be opened.
* $ midori [URIs]
You can supply any number of URIs to open as arguments. If you have a
saved session or a running instance they will be added to the last
active window.
* $ midori [URI1]|[URI2]|...
You can separate URIS by a pipe (|) as well. They are handled as if you
provided all URIs as separate arguments.
* $ midori --run [JAVASCRIPT]
If you pass the filename of a javascript Midori will attempt to run
the contents of the file as javascript code.
Note that support for opening tabs in an existing instance depends on
your build and may not be available on some platforms.
The following arguments are supported if you call Midori from a command line.
+-------+--------------------+------------------------------------------------+
| Short | Long option | Function |
+=======+====================+================================================+
| -a | --app | Run ADDRESS as a web application |
+-------+--------------------+------------------------------------------------+
| -c | --config | Use FOLDER as configuration folder |
+-------+--------------------+------------------------------------------------+
| -r | --run | Run the specified filename as javascript |
+-------+--------------------+------------------------------------------------+
| -s | --snapshot + Take a snapshot of the specified URI |
+-------+--------------------+------------------------------------------------+
| -V | --version | Show version information and exit. |
+-------+--------------------+------------------------------------------------+
Configuration files
-------------------
The configuration files in Midori that save related states are by default
stored in the folder ~/.config/midori in the home directory. It is possible
to use a different folder by specifying '--config' on the command line.
The files stored in the primary configuration folder are the following:
+----------------+------------------------------------------------------------+
| Filename | Contents |
+================+============================================================+
| accels | Keyboard shortcuts, GtkAccelMap resource |
+----------------+------------------------------------------------------------+
| bookmarks.xbel | Bookmarks, XBEL |
+----------------+------------------------------------------------------------+
| config | Preferences, text key file |
+----------------+------------------------------------------------------------+
| cookies.txt | Cookies, Mozilla text cookies |
+----------------+------------------------------------------------------------+
| history.db | History, sqlite3 |
+----------------+------------------------------------------------------------+
| logins | Usernames and passwords, plain text |
+----------------+------------------------------------------------------------+
| running | A file created to track whether Midori quit cleanly |
+----------------+------------------------------------------------------------+
| search | Search engines, text key file |
+----------------+------------------------------------------------------------+
| session.xbel | The current or last session, ie. open tabs, |
+----------------+------------------------------------------------------------+
| tabtrash.xbel | The 10 last closed tabs |
+----------------+------------------------------------------------------------+
Note that generally manual modifications to these files aren't recommended. As
an exception, while Midori is *not* running, it is possible to edit or
replace the 'bookmarks.xbel' as long as it is valid XBEL/ XML.
Currently while Midori is running it will happily overwrite files as needed and
never read back any changes.
Keyboard shortcuts
------------------
...
The navigationbar
-----------------
The navigationbar is the primary toolbar containing notably back and forward
buttons, the location entry and a search entry. The "Toolbar Editor" extension
can be used to add or remove items.
The sidepanel
-------------
...
Extensions
----------
...
Frequently asked questions
''''''''''''''''''''''''''
How do you pronounce Midori and what does it mean anyway?
---------------------------------------------------------
Pronounce it "midoɺi", with a Bavarian/ Japanese "r" or "Mee-Doh-Ree"
in English or read it Italian. The name comes from the Japanese word
緑 (みどり) for the colour "green".
What does the logo mean?
------------------------
The paw of a green cat. Obviously. Also it resembles the letter "M"
in "Midori". The curving is supposed to emphasize speed.
On which platforms does Midori run currently?
---------------------------------------------
Midori is basically very portable and should run on all platforms that
its dependencies support.
Under which license is Midori distributed?
------------------------------------------
Midori, documentation and all delivered artwork are licensed under the LGPL2.
GNU Lesser General Public License
'''''''''''''''''''''''''''''''''
::
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
FIXME: Provide full license text

134
extensions/CMakeLists.txt Normal file
View file

@ -0,0 +1,134 @@
# Copyright (C) 2013 Christian Dywan <christian@twotoasts.de>
set(EXTENSIONDIR "${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PROJECT_NAME}")
include_directories(
"${CMAKE_SOURCE_DIR}"
"${CMAKE_SOURCE_DIR}/midori"
"${CMAKE_SOURCE_DIR}/katze"
${DEPS_INCLUDE_DIRS}
${OPTS_INCLUDE_DIRS}
${DEPS_GTK_INCLUDE_DIRS}
${OPTS_GTK_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}
"${CMAKE_BINARY_DIR}/midori"
)
file(GLOB EXTENSIONS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *)
if (HALF_BRO_INCOM_WEBKIT2)
list(REMOVE_ITEM EXTENSIONS
"cookie-permissions"
"addons.c"
"formhistory"
"external-download-manager.vala"
"nojs"
"nsplugin-manager.vala"
"tabs2one.c"
)
endif ()
# FIXME: re-enable webmedia extension
# once we have working notifications on win
if (WIN32)
list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
endif()
# FIXME: not stable enough for release
if (NOT REVISION)
list(REMOVE_ITEM EXTENSIONS "tabs2one.c")
endif()
foreach(UNIT_SRC ${EXTENSIONS})
string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)
if (UNIT_EXTENSION GREATER -1)
string(REPLACE ".c" "" UNIT ${UNIT_SRC})
add_library(${UNIT} MODULE ${UNIT_SRC})
target_link_libraries(${UNIT}
${LIBMIDORI}
)
set_target_properties(${UNIT} PROPERTIES
COMPILE_FLAGS ${CFLAGS}
)
install(TARGETS ${UNIT}
LIBRARY DESTINATION ${EXTENSIONDIR}
)
endif ()
endforeach ()
foreach(UNIT_SRC ${EXTENSIONS})
string(FIND ${UNIT_SRC} "." UNIT_EXTENSION)
if (UNIT_EXTENSION EQUAL -1)
file(GLOB UNIT_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${UNIT_SRC}/*.c")
file(GLOB UNIT_FILES_VALA RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${UNIT_SRC}/*.vala")
if (UNIT_FILES_VALA)
include(ValaPrecompile)
vala_precompile(UNIT_SRC_C ${UNIT_SRC}
${UNIT_FILES_VALA}
PACKAGES
${PKGS}
OPTIONS
${VALAFLAGS}
--use-header="${CMAKE_PROJECT_NAME}-core.h"
GENERATE_HEADER
"${UNIT_SRC}"
GENERATE_HEADER
${UNIT}
CUSTOM_VAPIS
${EXTRA_VAPIS}
"${CMAKE_SOURCE_DIR}/midori/midori.vapi"
"${CMAKE_BINARY_DIR}/midori/${LIBMIDORI}.vapi"
)
set(UNIT_FILES ${UNIT_FILES} ${UNIT_SRC_C})
endif ()
if (UNIT_FILES)
add_library(${UNIT_SRC} MODULE ${UNIT_FILES})
target_link_libraries(${UNIT_SRC}
${LIBMIDORI}
)
install(TARGETS ${UNIT_SRC}
LIBRARY DESTINATION ${EXTENSIONDIR}
)
# extensions with vala code get the lenient VALA_CFLAGS
# others get the usual CFLAGS with -Wall and -Werror
if (UNIT_FILES_VALA)
set_target_properties(${UNIT_SRC} PROPERTIES
COMPILE_FLAGS ${VALA_CFLAGS}
)
else ()
set_target_properties(${UNIT_SRC} PROPERTIES
COMPILE_FLAGS ${CFLAGS}
)
endif ()
endif ()
endif ()
endforeach ()
foreach(UNIT_SRC ${EXTENSIONS})
string(FIND ${UNIT_SRC} ".vala" UNIT_EXTENSION)
if (UNIT_EXTENSION GREATER -1)
string(REPLACE ".vala" "" UNIT ${UNIT_SRC})
include(ValaPrecompile)
vala_precompile(UNIT_SRC_C ${UNIT}
${UNIT_SRC}
PACKAGES
${PKGS}
OPTIONS
${VALAFLAGS}
--use-header="${CMAKE_PROJECT_NAME}-core.h"
GENERATE_HEADER
${UNIT}
CUSTOM_VAPIS
${EXTRA_VAPIS}
"${CMAKE_SOURCE_DIR}/midori/midori.vapi"
"${CMAKE_BINARY_DIR}/midori/${LIBMIDORI}.vapi"
)
add_library(${UNIT} MODULE ${UNIT_SRC_C})
target_link_libraries(${UNIT}
${LIBMIDORI}
)
set_target_properties(${UNIT} PROPERTIES
COMPILE_FLAGS "${VALA_CFLAGS}"
)
install(TARGETS ${UNIT}
LIBRARY DESTINATION ${EXTENSIONDIR}
)
endif ()
endforeach ()

373
extensions/about.vala Normal file
View file

@ -0,0 +1,373 @@
/*
Copyright (C) 2013 André Stösel <andre@stoesel.de>
Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace About {
private abstract class Page : GLib.Object {
public abstract string uri { get; set; }
public abstract void get_contents (Midori.View view, string uri);
protected void load_html (Midori.View view, string content, string uri) {
#if HAVE_WEBKIT2
view.web_view.load_html (content, uri);
#else
view.web_view.load_html_string (content, uri);
#endif
}
}
private class Widgets : Page {
public override string uri { get; set; default = "about:widgets"; }
public override void get_contents (Midori.View view, string uri) {
string[] widgets = {
"<input value=\"demo\"%s>",
"<p><input type=\"password\" value=\"demo\"%s></p>",
"<p><input type=\"checkbox\" value=\"demo\"%s> demo</p>",
"<p><input type=\"radio\" value=\"demo\"%s> demo</p>",
"<p><select%s><option>foo bar</option><option selected>spam eggs</option></select></p>",
"<p><select%s size=\"3\"><option>foo bar</option><option selected>spam eggs</option></select></p>",
"<p><input type=\"file\"%s></p>",
"<p><input type=\"file\" multiple%s></p>",
"<input type=\"button\" value=\"demo\"%s>",
"<p><input type=\"email\" value=\"user@localhost.com\"%s></p>",
"<input type=\"url\" value=\"http://www.example.com\"%s>",
"<input type=\"tel\" value=\"+1 234 567 890\" pattern=\"^[0+][1-9 /-]*$\"%s>",
"<input type=\"number\" min=1 max=9 step=1 value=\"4\"%s>",
"<input type=\"range\" min=1 max=9 step=1 value=\"4\"%s>",
"<input type=\"date\" min=1990-01-01 max=2010-01-01%s>",
"<input type=\"search\" placeholder=\"demo\"%s>",
"<textarea%s>Lorem ipsum doloret sit amet…</textarea>",
"<input type=\"color\" value=\"#d1eeb9\"%s>",
"<progress min=1 max=9 value=4 %s></progress>",
"<keygen type=\"rsa\" challenge=\"235ldahlae983dadfar\"%s>",
"<p><input type=\"reset\"%s></p>",
"<input type=\"submit\"%s>"
};
string content = """<html>
<head>
<style>
.fallback::-webkit-slider-thumb,
.fallback, .fallback::-webkit-file-upload-button {
-webkit-appearance: none !important;
}
.column {
display:inline-block; vertical-align:top;
width:25%;
margin-right:1%;
}
</style>
<title>%s</title>
</head>
<body>
<h1>%s</h1>
<div class="column">%s</div>
<div class="column">%s</div>
<div class="column">%s</div>
<p><a href="http://example.com" target="wp" onclick="javascript:window.open('http://example.com','wp','width=320, height=240, toolbar=false'); return false;">Popup window</a></p>
</body>
</html>""";
string[] widget_options = {"", " disabled", " class=\"fallback\""};
string[] widgets_formated = {"", "", ""};
for (int i = 0; i < widget_options.length && i < widgets_formated.length; i++) {
for (int j = 0; j < widgets.length; j++) {
widgets_formated[i] = widgets_formated[i] + widgets[j].printf (widget_options[i]);
}
}
this.load_html (view, content.printf (uri, uri, widgets_formated[0], widgets_formated[1], widgets_formated[2]), uri);
}
}
private class Version : Page {
public override string uri { get; set; }
private GLib.HashTable<string, Page> about_pages;
public Version (string alias, HashTable<string, Page> about_pages) {
this.uri = alias;
this.about_pages = about_pages;
}
private string list_about_uris () {
string links = "";
foreach (unowned string uri in about_pages.get_keys ())
links = links + "<a href=\"%s\">%s</a> &nbsp;".printf (uri, uri);
return "<p>%s</p>".printf (links);
}
public override void get_contents (Midori.View view, string uri) {
string contents = """<html>
<head><title>about:version</title></head>
<body>
<h1>a<span style="position: absolute; left: -1000px; top: -1000px">lias a=b; echo Copy carefully #</span>bout:version</h1>
<p>%s</p>
<img src="res://logo-shade.png" style="position: absolute; right: 15px; bottom: 15px; z-index: -9;">
<table>
<tr><td>Command line %s</td></tr>
%s
<tr><td>Platform %s %s %s</td></tr>
<tr><td>Identification %s</td></tr>
%s
</table>
<table>
%s
</table>
%s
</body>
</html>""";
GLib.StringBuilder versions = new GLib.StringBuilder ();
Midori.View.list_versions (versions, true);
string ident;
unowned string architecture;
unowned string platform;
unowned string sys_name = Midori.WebSettings.get_system_name (out architecture, out platform);
view.settings.get ("user-agent", out ident);
GLib.StringBuilder video_formats = new GLib.StringBuilder ();
view.list_video_formats (video_formats, true);
GLib.StringBuilder ns_plugins = new GLib.StringBuilder ();
view.list_plugins (ns_plugins, true);
/* TODO: list active extensions */
this.load_html (view, contents.printf (
_("Version numbers in brackets show the version used at runtime."),
Midori.Paths.get_command_line_str (true),
versions.str,
platform, sys_name, architecture != null ? architecture : "",
ident,
video_formats.str,
ns_plugins.str,
this.list_about_uris ()
), uri);
}
}
private class Private : Page {
public override string uri { get; set; default = "about:private"; }
public override void get_contents (Midori.View view, string uri) {
this.load_html (view, """<html dir="ltr">
<head>
<title>%s</title>
<link rel="stylesheet" type="text/css" href="res://about.css">
</head>
<body>
<img id="logo" src="res://logo-shade.png" />
<div id="main" style="background-image: url(stock://dialog/gtk-dialog-info);">
<div id="text">
<h1>%s</h1>
<p class="message">%s</p><ul class=" suggestions"><li>%s</li><li>%s</li><li>%s</li></ul>
<p class="message">%s</p><ul class=" suggestions"><li>%s</li><li>%s</li><li>%s</li><li>%s</li></ul>
</div><br style="clear: both"></div>
</body>
</html>""".printf (
_("Private Browsing"), _("Private Browsing"),
_("Midori doesn't store any personal data:"),
_("No history or web cookies are being saved."),
_("Extensions are disabled."),
_("HTML5 storage, local database and application caches are disabled."),
_("Midori prevents websites from tracking the user:"),
_("Referrer URLs are stripped down to the hostname."),
_("DNS prefetching is disabled."),
_("The language and timezone are not revealed to websites."),
_("Flash and other Netscape plugins cannot be listed by websites.")
), uri);
}
}
private class Paths : Page {
public override string uri { get; set; default = "about:paths"; }
public override void get_contents (Midori.View view, string uri) {
string res_dir = Midori.Paths.get_res_filename ("about.css");
string lib_dir = Midori.Paths.get_lib_path (PACKAGE_NAME);
this.load_html (view, """<html>
<body>
<h1>%s</h1>
<p>config: <code>%s</code></p>
<p>res: <code>%s</code></p>
<p>data: <code>%s/%s</code></p>
<p>lib: <code>%s</code></p>
<p>cache: <code>%s</code></p>
<p>tmp: <code>%s</code></p>
</body>
</html>""".printf (
uri, Midori.Paths.get_config_dir_for_reading (), res_dir,
Midori.Paths.get_user_data_dir_for_reading (), PACKAGE_NAME,
lib_dir, Midori.Paths.get_cache_dir_for_reading (), Midori.Paths.get_tmp_dir ()
), uri);
}
}
private class Dial : Page {
public override string uri { get; set; default = "about:dial"; }
public override void get_contents (Midori.View view, string uri) {
var browser = Midori.Browser.get_for_widget (view);
Midori.SpeedDial dial;
browser.get ("speed-dial", out dial);
if (dial == null)
return;
try {
this.load_html (view, dial.get_html (), uri);
} catch (Error error) {
this.load_html (view, error.message, uri);
}
}
}
private class Geolocation : Page {
public override string uri { get; set; default = "about:geolocation"; }
public override void get_contents (Midori.View view, string uri) {
this.load_html (view, """<html>
<body>
<a href="http://dev.w3.org/geo/api/spec-source.html" id="method"></a>
<span id="locationInfo"><noscript>No Geolocation without Javascript</noscript></span>
<script>
function displayLocation (position) {
var geouri = 'geo:' + position.coords.latitude + ',' + position.coords.longitude + ',' + position.coords.altitude + ',u=' + position.coords.accuracy;
document.getElementById('locationInfo').innerHTML = '<a href="' + geouri + '">' + geouri + '</a><br><code>'
+ ' timestamp: ' + position.timestamp
+ ' latitude: ' + position.coords.latitude
+ ' longitude: ' + position.coords.longitude
+ ' altitude: ' + position.coords.altitude + '<br>'
+ ' accuracy: ' + position.coords.accuracy
+ ' altitudeAccuracy: ' + position.coords.altitudeAccuracy
+ ' heading: ' + position.coords.heading
+ ' speed: ' + position.coords.speed
+ '</code>';
}
function handleError (error) {
var errorMessage = '<b>' + ['Unknown error', 'Permission denied', 'Position failed', 'Timed out'][error.code] + '</b>';
if (error.code == 3) document.getElementById('locationInfo').innerHTML += (' ' + errorMessage);
else document.getElementById('locationInfo').innerHTML = errorMessage;
}
if (navigator.geolocation) {
var options = { enableHighAccuracy: true, timeout: 60000, maximumAge: "Infinite" };
if (navigator.geolocation.watchPosition) {
document.getElementById('method').innerHTML = '<code>geolocation.watchPosition</code>:';
navigator.geolocation.watchPosition(displayLocation, handleError, options);
} else {
document.getElementById('method').innerHTML = '<code>geolocation.getCurrentPosition</code>:';
navigator.geolocation.getCurrentPosition(displayLocation, handleError);
}
} else
document.getElementById('locationInfo').innerHTML = 'Geolocation unavailable';
</script>
</body>
</html>""", uri);
}
}
private class Redirects : Page {
public override string uri { get; set; }
private string property;
public Redirects (string alias, string property) {
this.uri = alias;
this.property = property;
}
public override void get_contents (Midori.View view, string uri) {
string new_uri = uri;
view.settings.get (property, out new_uri);
if (uri == "about:search")
new_uri = Midori.URI.for_search (new_uri, "");
view.set_uri (new_uri);
}
}
private class Manager : Midori.Extension {
private GLib.HashTable<string, Page>? about_pages;
private void register (Page page) {
this.about_pages.insert (page.uri, page);
}
private bool about_content (Midori.View view, string uri) {
unowned Page? page = this.about_pages.get (uri);
if (page != null) {
page.get_contents (view, uri);
return true;
}
return false;
}
private void tab_added (Midori.Browser browser, Midori.View view) {
view.about_content.connect (this.about_content);
}
private void tab_removed (Midori.Browser browser, Midori.View view) {
view.about_content.disconnect (this.about_content);
}
private void browser_added (Midori.Browser browser) {
foreach (Midori.View tab in browser.get_tabs ()) {
this.tab_added (browser, tab);
}
browser.add_tab.connect (this.tab_added);
browser.remove_tab.connect (this.tab_removed);
}
private void browser_removed (Midori.Browser browser) {
foreach (Midori.View tab in browser.get_tabs ()) {
this.tab_removed (browser, tab);
}
browser.add_tab.disconnect (this.tab_added);
browser.remove_tab.disconnect (this.tab_removed);
}
public void activated (Midori.App app) {
this.about_pages = new GLib.HashTable<string, Page> (GLib.str_hash, GLib.str_equal);
register (new Widgets ());
register (new Version ("about:", about_pages));
register (new Version ("about:version", about_pages));
register (new Private ());
register (new Paths ());
register (new Geolocation ());
register (new Redirects ("about:new", "tabhome"));
register (new Redirects ("about:home", "homepage"));
register (new Redirects ("about:search", "location-entry-search"));
register (new Dial ());
foreach (Midori.Browser browser in app.get_browsers ()) {
this.browser_added (browser);
}
app.add_browser.connect (this.browser_added);
}
public void deactivated () {
Midori.App app = this.get_app ();
foreach (Midori.Browser browser in app.get_browsers ()) {
this.browser_removed (browser);
}
app.add_browser.disconnect (this.browser_added);
this.about_pages = null;
}
internal Manager () {
GLib.Object (name: "About pages",
description: "Internal about: handler",
version: "0.1",
authors: "André Stösel <andre@stoesel.de>");
this.activate.connect (this.activated);
this.deactivate.connect (this.deactivated);
}
}
}
public Midori.Extension extension_init () {
return new About.Manager ();
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,146 @@
/*
Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Config : GLib.Object {
List<Subscription> subscriptions;
public string? path { get; private set; }
KeyFile keyfile;
bool should_save;
public bool enabled { get; set; }
public Config (string? path, string? presets) {
should_save = false;
subscriptions = new GLib.List<Subscription> ();
enabled = true;
this.path = path;
size = 0;
load_file (path);
load_file (presets);
should_save = true;
}
void load_file (string? filename) {
if (filename == null)
return;
keyfile = new GLib.KeyFile ();
try {
keyfile.load_from_file (filename, GLib.KeyFileFlags.NONE);
string[] filters = keyfile.get_string_list ("settings", "filters");
foreach (unowned string filter in filters) {
bool active = false;
string uri = filter;
if (filter.has_prefix ("http-/"))
uri = "http:" + filter.substring (5);
else if (filter.has_prefix ("file-/"))
uri = "file:" + filter.substring (5);
else if (filter.has_prefix ("http-:"))
uri = "https" + filter.substring (5);
else
active = true;
Subscription sub = new Subscription (uri);
sub.active = active;
sub.add_feature (new Updater ());
add (sub);
}
enabled = !keyfile.get_boolean ("settings", "disabled");
} catch (KeyFileError.KEY_NOT_FOUND key_error) {
/* It's no error if a key is missing */
} catch (KeyFileError.GROUP_NOT_FOUND group_error) {
/* It's no error if a group is missing */
} catch (FileError.NOENT exist_error) {
/* It's no error if no config file exists */
} catch (GLib.Error settings_error) {
warning ("Error reading settings from %s: %s\n", filename, settings_error.message);
}
notify["enabled"].connect (enabled_changed);
}
void enabled_changed (ParamSpec pspec) {
keyfile.set_boolean ("settings", "disabled", !enabled);
save ();
}
void active_changed (Object subscription, ParamSpec pspec) {
update_filters ();
}
void update_filters () {
var filters = new StringBuilder ();
foreach (unowned Subscription sub in subscriptions) {
if (!sub.mutable)
continue;
if (sub.uri.has_prefix ("http:") && !sub.active)
filters.append ("http-" + sub.uri.substring (4));
else if (sub.uri.has_prefix ("file:") && !sub.active)
filters.append ("file-" + sub.uri.substring (5));
else if (sub.uri.has_prefix ("https:") && !sub.active)
filters.append ("http-" + sub.uri.substring (5));
else
filters.append (sub.uri);
filters.append_c (';');
}
if (filters.str.has_suffix (";"))
filters.truncate (filters.len - 1);
string[] list = filters.str.split (";");
keyfile.set_string_list ("settings", "filters", list);
save ();
}
public void save () {
try {
FileUtils.set_contents (path, keyfile.to_data ());
} catch (Error error) {
warning ("Failed to save settings: %s", error.message);
}
}
/* foreach support */
public new unowned Subscription? get (uint index) {
return subscriptions.nth_data (index);
}
public uint size { get; private set; }
bool contains (Subscription subscription) {
foreach (unowned Subscription sub in subscriptions)
if (sub.uri == subscription.uri)
return true;
return false;
}
public bool add (Subscription sub) {
if (contains (sub))
return false;
sub.notify["active"].connect (active_changed);
subscriptions.append (sub);
size++;
if (should_save)
update_filters ();
return true;
}
public void remove (Subscription sub) {
if (!contains (sub))
return;
subscriptions.remove (sub);
sub.notify["active"].disconnect (active_changed);
update_filters ();
size--;
}
}
}

View file

@ -0,0 +1,36 @@
/*
Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Element : Feature {
public HashTable<string, string> blockcssprivate;
bool debug_element;
public Element () {
base ();
debug_element = "adblock:element" in (Environment.get_variable ("MIDORI_DEBUG") ?? "");
}
public override void clear () {
blockcssprivate = new HashTable<string, string> (str_hash, str_equal);
}
public string? lookup (string domain) {
return blockcssprivate.lookup (domain);
}
public void insert (string domain, string value) {
if (debug_element)
stdout.printf ("Element to be blocked %s => %s\n", domain, value);
blockcssprivate.insert (domain, value);
}
}
}

View file

@ -0,0 +1,865 @@
/*
Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public enum Directive {
ALLOW,
BLOCK
}
public enum State {
ENABLED,
DISABLED,
BLOCKED
}
public string? parse_subscription_uri (string? uri) {
if (uri == null)
return null;
if (uri.has_prefix ("http") || uri.has_prefix ("abp") || uri.has_prefix ("file"))
{
string sub_uri = uri;
if (uri.has_prefix ("abp:")) {
uri.replace ("abp://", "abp:");
if (uri.has_prefix ("abp:subscribe?location=")) {
/* abp://subscripe?location=http://example.com&title=foo */
string[] parts = uri.substring (23, -1).split ("&", 2);
sub_uri = parts[0];
}
}
string decoded_uri = Soup.URI.decode (sub_uri);
return decoded_uri;
}
return null;
}
public class Extension : Midori.Extension {
internal Config config;
internal Subscription custom;
internal StringBuilder hider_selectors;
internal StatusIcon status_icon;
internal SubscriptionManager manager;
internal bool debug_element;
#if !USE_CSS_SELECTOR_FOR_BLOCKED_RESOURCES
internal string? js_hider_function_body;
#endif
#if HAVE_WEBKIT2
#if !HAVE_WEBKIT2_3_91
public Extension.WebExtension (WebKit.WebExtension web_extension) {
init ();
web_extension.page_created.connect (page_created);
}
void page_created (WebKit.WebPage web_page) {
web_page.send_request.connect (send_request);
}
bool send_request (WebKit.WebPage web_page, WebKit.URIRequest request, WebKit.URIResponse? redirected_response) {
return request_handled (request.uri, web_page.uri);
}
#endif
#endif
public Extension () {
GLib.Object (name: _("Advertisement blocker"),
description: _("Block advertisements according to a filter list"),
version: "2.0",
authors: "Christian Dywan <christian@twotoasts.de>");
activate.connect (extension_activated);
deactivate.connect (extension_deactivated);
open_preferences.connect (extension_preferences);
}
void extension_preferences () {
manager.add_subscription (null);
}
void extension_activated (Midori.App app) {
#if HAVE_WEBKIT2
string cache_dir = Environment.get_user_cache_dir ();
string wk2path = Path.build_path (Path.DIR_SEPARATOR_S, cache_dir, "wk2ext");
Midori.Paths.mkdir_with_parents (wk2path);
string filename = "libadblock." + GLib.Module.SUFFIX;
var wk2link = File.new_for_path (wk2path).get_child (filename);
var library = File.new_for_path (Midori.Paths.get_lib_path (PACKAGE_NAME)).get_child (filename);
try {
wk2link.make_symbolic_link (library.get_path ());
} catch (IOError.EXISTS exist_error) {
/* It's no error if the file already exists. */
} catch (Error error) {
critical ("Failed to create WebKit2 link: %s", error.message);
}
#endif
init ();
foreach (var browser in app.get_browsers ())
browser_added (browser);
app.add_browser.connect (browser_added);
app.remove_browser.connect (browser_removed);
}
void extension_deactivated () {
var app = get_app ();
foreach (var browser in app.get_browsers ())
browser_removed (browser);
app.add_browser.disconnect (browser_added);
app.remove_browser.disconnect (browser_removed);
}
void browser_added (Midori.Browser browser) {
foreach (var tab in browser.get_tabs ())
tab_added (tab);
browser.add_tab.connect (tab_added);
browser.remove_tab.connect (tab_removed);
browser.add_action (status_icon);
}
void browser_removed (Midori.Browser browser) {
foreach (var tab in browser.get_tabs ())
tab_removed (tab);
browser.add_tab.disconnect (tab_added);
browser.remove_tab.disconnect (tab_removed);
browser.remove_action (status_icon);
}
void tab_added (Midori.View view) {
view.navigation_requested.connect (navigation_requested);
#if !HAVE_WEBKIT2
view.web_view.resource_request_starting.connect (resource_requested);
#endif
view.notify["load-status"].connect (load_status_changed);
view.context_menu.connect (context_menu);
}
void tab_removed (Midori.View view) {
#if !HAVE_WEBKIT2
view.web_view.resource_request_starting.disconnect (resource_requested);
#endif
view.navigation_requested.disconnect (navigation_requested);
view.notify["load-status"].disconnect (load_status_changed);
view.context_menu.disconnect (context_menu);
}
void load_status_changed (Object object, ParamSpec pspec) {
var view = object as Midori.View;
if (config.enabled) {
if (view.load_status == Midori.LoadStatus.FINISHED)
inject_css (view, view.uri);
}
}
void context_menu (WebKit.HitTestResult hit_test_result, Midori.ContextAction menu) {
string label, uri;
if ((hit_test_result.context & WebKit.HitTestResultContext.IMAGE) != 0) {
label = _("Bl_ock image");
uri = hit_test_result.image_uri;
} else if ((hit_test_result.context & WebKit.HitTestResultContext.LINK) != 0) {
label = _("Bl_ock link");
uri = hit_test_result.link_uri;
} else
return;
var action = new Gtk.Action ("BlockElement", label, null, null);
action.activate.connect ((action) => {
CustomRulesEditor custom_rules_editor = new CustomRulesEditor (custom);
custom_rules_editor.set_uri (uri);
custom_rules_editor.show();
});
menu.add (action);
}
#if !HAVE_WEBKIT2
void resource_requested (WebKit.WebView web_view, WebKit.WebFrame frame,
WebKit.WebResource resource, WebKit.NetworkRequest request, WebKit.NetworkResponse? response) {
if (request_handled (request.uri, web_view.uri)) {
request.set_uri ("about:blank");
}
}
#endif
bool navigation_requested (Midori.Tab tab, string uri) {
if (uri.has_prefix ("abp:")) {
string parsed_uri = parse_subscription_uri (uri);
manager.add_subscription (parsed_uri);
return true;
}
status_icon.set_state (config.enabled ? State.ENABLED : State.DISABLED);
return false;
}
#if USE_CSS_SELECTOR_FOR_BLOCKED_RESOURCES
string? get_hider_css_for_blocked_resources () {
if (hider_selectors.str == "")
return null;
/* Hide elements that were blocked, otherwise we will get "broken image" icon */
var code = new StringBuilder (hider_selectors.str);
string hider_css;
if (debug_element)
hider_css = " { background-color: red; border: 4px solid green; }";
else
hider_css = " { visiblility: hidden; width: 0; height: 0; }";
code.truncate (code.len -3);
code.append (hider_css);
if (debug_element)
stdout.printf ("hider css: %s\n", code.str);
return code.str;
}
#else
string? fetch_js_hider_function_body () {
string filename = Midori.Paths.get_res_filename ("adblock/element_hider.js");
File js_file = GLib.File.new_for_path (filename);
try {
uint8[] function_body;
js_file.load_contents (null, out function_body, null);
return (string)function_body;
}
catch (Error error) {
warning ("Error while loading adblock hider js: %s\n", error.message);
}
return null;
}
string? get_hider_js_for_blocked_resorces () {
if (hider_selectors.str == "")
return null;
if (js_hider_function_body == null || js_hider_function_body == "")
return null;
var js = new StringBuilder ("(function() {");
js.append (js_hider_function_body);
js.append ("var uris=new Array ();");
js.append (hider_selectors.str);
js.append (" hideElementBySrc (uris);})();");
return js.str;
}
#endif
string[]? get_domains_for_uri (string uri) {
if (uri == null)
return null;
string[]? domains = null;
string domain = Midori.URI.parse_hostname (uri, null);
string[] subdomains = domain.split (".");
if (subdomains == null)
return null;
int cnt = subdomains.length - 1;
var subdomain = new StringBuilder (subdomains[cnt]);
subdomain.prepend_c ('.');
cnt--;
while (cnt >= 0) {
subdomain.prepend (subdomains[cnt]);
domains += subdomain.str;
subdomain.prepend_c ('.');
cnt--;
}
return domains;
}
string? get_hider_css_rules_for_uri (string page_uri) {
if (page_uri == null)
return null;
string[]? domains = get_domains_for_uri (page_uri);
if (domains == null)
return null;
var code = new StringBuilder ();
int blockscnt = 0;
string? style = null;
foreach (unowned Subscription sub in config) {
foreach (unowned Feature feature in sub) {
var element = feature as Element;
if (element != null) {
foreach (unowned string subdomain in domains) {
style = element.lookup (subdomain);
if (style != null) {
code.append (style);
code.append_c (',');
blockscnt++;
}
}
}
}
}
if (blockscnt == 0)
return null;
code.truncate (code.len - 1);
string hider_css;
if (debug_element)
hider_css = " { background-color: red !important; border: 4px solid green !important; }";
else
hider_css = " { display: none !important }";
code.append (hider_css);
if (debug_element)
stdout.printf ("css: %s\n", code.str);
return code.str;
}
void inject_css (Midori.View view, string page_uri) {
/* Don't block ads on internal pages */
if (!Midori.URI.is_http (page_uri))
return;
if ("adblock:element" in (Environment.get_variable ("MIDORI_DEBUG") ?? ""))
debug_element = true;
else
debug_element = status_icon.debug_element_toggled;
#if USE_CSS_SELECTOR_FOR_BLOCKED_RESOURCES
string? blocked_css = get_hider_css_for_blocked_resources ();
if (blocked_css != null)
view.inject_stylesheet (blocked_css);
#else
string? blocked_js = get_hider_js_for_blocked_resorces ();
if (blocked_js != null)
view.execute_script (blocked_js, null);
#endif
string? style = get_hider_css_rules_for_uri (page_uri);
if (style != null)
view.inject_stylesheet (style);
}
internal void init () {
hider_selectors = new StringBuilder ();
load_config ();
manager = new SubscriptionManager (config);
status_icon = new StatusIcon (config, manager);
foreach (unowned Subscription sub in config) {
try {
sub.parse ();
} catch (GLib.Error error) {
warning ("Error parsing %s: %s", sub.uri, error.message);
}
}
config.notify["size"].connect (subscriptions_added_removed);
manager.description_label.activate_link.connect (open_link);
#if !USE_CSS_SELECTOR_FOR_BLOCKED_RESOURCES
js_hider_function_body = fetch_js_hider_function_body ();
#endif
}
bool open_link (string uri) {
var browser = get_app ().browser;
var view = browser.add_uri (uri);
browser.tab = view;
return true;
}
void subscriptions_added_removed (ParamSpec pspec) {
hider_selectors = new StringBuilder ();
}
void load_config () {
#if HAVE_WEBKIT2
string config_dir = Path.build_filename (GLib.Environment.get_user_config_dir (), PACKAGE_NAME, "extensions", "libadblock." + GLib.Module.SUFFIX);
Midori.Paths.mkdir_with_parents (config_dir);
#else
string config_dir = Midori.Paths.get_extension_config_dir ("adblock");
#endif
string presets = Midori.Paths.get_extension_preset_filename ("adblock", "config");
string filename = Path.build_filename (config_dir, "config");
config = new Config (filename, presets);
string custom_list = GLib.Path.build_filename (config_dir, "custom.list");
try {
custom = new Subscription (Filename.to_uri (custom_list, null));
custom.mutable = false;
custom.title = _("Custom");
config.add (custom);
} catch (Error error) {
custom = null;
warning ("Failed to add custom list %s: %s", custom_list, error.message);
}
}
public Adblock.Directive get_directive_for_uri (string request_uri, string page_uri) {
if (!config.enabled)
return Directive.ALLOW;
/* Always allow the main page */
if (request_uri == page_uri)
return Directive.ALLOW;
/* Skip adblock on internal pages */
if (Midori.URI.is_blank (page_uri))
return Directive.ALLOW;
/* Skip adblock on favicons and non http schemes */
if (!Midori.URI.is_http (request_uri) || request_uri.has_suffix ("favicon.ico"))
return Directive.ALLOW;
Directive? directive = null;
foreach (unowned Subscription sub in config) {
directive = sub.get_directive (request_uri, page_uri);
if (directive != null)
break;
}
if (directive == null)
directive = Directive.ALLOW;
else if (directive == Directive.BLOCK) {
status_icon.set_state (State.BLOCKED);
#if USE_CSS_SELECTOR_FOR_BLOCKED_RESOURCES
hider_selectors.append ("img[src*=\"%s\"] , iframe[src*=\"%s\"] , ".printf (request_uri, request_uri));
#else
hider_selectors.append (" uris.push ('%s');\n".printf (request_uri));
#endif
}
return directive;
}
internal bool request_handled (string request_uri, string page_uri) {
return get_directive_for_uri (request_uri, page_uri) == Directive.BLOCK;
}
}
static void debug (string format, ...) {
bool debug_match = "adblock:match" in (Environment.get_variable ("MIDORI_DEBUG") ?? "");
if (!debug_match)
return;
var args = va_list ();
stdout.vprintf (format + "\n", args);
}
internal static string? fixup_regex (string prefix, string? src) {
if (src == null)
return null;
var fixed = new StringBuilder ();
fixed.append(prefix);
uint i = 0;
if (src[0] == '*')
i++;
uint l = src.length;
while (i < l) {
char c = src[i];
switch (c) {
case '*':
fixed.append (".*"); break;
case '|':
case '^':
case '+':
break;
case '?':
case '[':
case ']':
case '.':
case '(':
case ')':
fixed.append_printf ("\\%c", c); break;
default:
fixed.append_c (c); break;
}
i++;
}
return fixed.str;
}
}
#if HAVE_WEBKIT2
#if !HAVE_WEBKIT2_3_91
Adblock.Extension? filter;
public static void webkit_web_extension_initialize (WebKit.WebExtension web_extension) {
filter = new Adblock.Extension.WebExtension (web_extension);
}
#endif
#endif
public Midori.Extension extension_init () {
return new Adblock.Extension ();
}
static string? tmp_folder = null;
string get_test_file (string contents) {
if (tmp_folder == null)
tmp_folder = Midori.Paths.make_tmp_dir ("adblockXXXXXX");
string checksum = Checksum.compute_for_string (ChecksumType.MD5, contents);
string file = Path.build_path (Path.DIR_SEPARATOR_S, tmp_folder, checksum);
try {
FileUtils.set_contents (file, contents, -1);
} catch (Error file_error) {
GLib.error (file_error.message);
}
return file;
}
struct TestCaseConfig {
public string content;
public uint size;
public bool enabled;
}
const TestCaseConfig[] configs = {
{ "", 0, true },
{ "[settings]", 0, true },
{ "[settings]\nfilters=foo;", 1, true },
{ "[settings]\nfilters=foo;\ndisabled=true", 1, false }
};
void test_adblock_config () {
assert (new Adblock.Config (null, null).size == 0);
foreach (var conf in configs) {
var config = new Adblock.Config (get_test_file (conf.content), null);
if (config.size != conf.size)
error ("Wrong size %s rather than %s:\n%s",
config.size.to_string (), conf.size.to_string (), conf.content);
if (config.enabled != conf.enabled)
error ("Wrongly got enabled=%s rather than %s:\n%s",
config.enabled.to_string (), conf.enabled.to_string (), conf.content);
}
}
struct TestCaseSub {
public string uri;
public bool active;
}
const TestCaseSub[] subs = {
{ "http://foo.com", true },
{ "http://bar.com", false },
{ "https://spam.com", true },
{ "https://eggs.com", false },
{ "file:///bla", true },
{ "file:///blub", false }
};
void test_adblock_subs () {
var config = new Adblock.Config (get_test_file ("""
[settings]
filters=http://foo.com;http-//bar.com;https://spam.com;http-://eggs.com;file:///bla;file-///blub;http://foo.com;
"""), null);
assert (config.enabled);
foreach (var sub in subs) {
bool found = false;
foreach (unowned Adblock.Subscription subscription in config) {
if (subscription.uri == sub.uri) {
assert (subscription.active == sub.active);
found = true;
}
}
if (!found)
error ("%s not found", sub.uri);
}
/* 6 unique URLs, 1 duplicate */
assert (config.size == 6);
/* Duplicates aren't added again either */
assert (!config.add (new Adblock.Subscription ("https://spam.com")));
/* Saving the config and loading it should give back identical results */
config.save ();
var copy = new Adblock.Config (config.path, null);
assert (copy.size == config.size);
assert (copy.enabled == config.enabled);
for (int i = 0; i < config.size; i++) {
assert (copy[i].uri == config[i].uri);
assert (copy[i].active == config[i].active);
}
/* Enabled status should be saved and loaded */
config.enabled = false;
copy = new Adblock.Config (config.path, null);
assert (copy.enabled == config.enabled);
/* Flipping individual active values should be retained after saving */
foreach (unowned Adblock.Subscription sub in config)
sub.active = !sub.active;
copy = new Adblock.Config (config.path, null);
for (uint i = 0; i < config.size; i++) {
if (config[i].active != copy[i].active) {
string contents;
try {
FileUtils.get_contents (config.path, out contents, null);
} catch (Error file_error) {
error (file_error.message);
}
error ("%s is %s but should be %s:\n%s",
copy[i].uri, copy[i].active ? "active" : "disabled", config[i].active ? "active" : "disabled", contents);
}
}
/* Adding and removing works, changes size */
var s = new Adblock.Subscription ("http://en.de");
assert (config.add (s));
assert (config.size == 7);
config.remove (s);
assert (config.size == 6);
/* If it was removed before we should be able to add it again */
assert (config.add (s));
assert (config.size == 7);
}
void test_adblock_init () {
/* No config */
var extension = new Adblock.Extension ();
extension.init ();
assert (extension.config.enabled);
/* Defaults plus custom */
if (extension.config.size != 3)
error ("Expected 3 initial subs, got %s".printf (
extension.config.size.to_string ()));
assert (extension.status_icon.state == Adblock.State.ENABLED);
/* Add new subscription */
string path = Midori.Paths.get_res_filename ("adblock.list");
string uri;
try {
uri = Filename.to_uri (path, null);
} catch (Error error) {
GLib.error (error.message);
}
var sub = new Adblock.Subscription (uri);
extension.config.add (sub);
assert (extension.status_icon.state == Adblock.State.ENABLED);
assert (extension.config.size == 4);
try {
sub.parse ();
} catch (GLib.Error error) {
GLib.error (error.message);
}
/* The page itself never hits */
assert (!extension.request_handled ("https://ads.bogus.name/blub", "https://ads.bogus.name/blub"));
/* Favicons don't either */
assert (!extension.request_handled ("https://foo.com", "https://ads.bogus.name/blub/favicon.ico"));
assert (extension.status_icon.state == Adblock.State.ENABLED);
/* Some sanity checks to be sure there's no earlier problem */
assert (sub.title == "Exercise");
assert (sub.get_directive ("https://ads.bogus.name/blub", "") == Adblock.Directive.BLOCK);
/* A rule hit should add to the cache */
assert (extension.request_handled ("https://ads.bogus.name/blub", "https://foo.com"));
assert (extension.status_icon.state == Adblock.State.BLOCKED);
assert (extension.hider_selectors.str != "");
/* Disabled means no request should be handled */
extension.config.enabled = false;
assert (!extension.request_handled ("https://ads.bogus.name/blub", "https://foo.com"));
// FIXME: assert (extension.status_icon.state == Adblock.State.DISABLED);
/* Removing a subscription should clear the cached CSS */
extension.config.remove (sub);
assert (extension.hider_selectors.str == "");
assert (extension.config.size == 3);
/* Now let's add a custom rule */
extension.config.enabled = true;
extension.custom.add_rule ("/adpage.");
assert (extension.custom.get_directive ("http://www.engadget.com/_uac/adpage.html", "http://foo.com") == Adblock.Directive.BLOCK);
assert (extension.request_handled ("http://www.engadget.com/_uac/adpage.html", "http://foo.com"));
assert (extension.status_icon.state == Adblock.State.BLOCKED);
/* Second attempt, from cache, same result */
assert (extension.custom.get_directive ("http://www.engadget.com/_uac/adpage.html", "http://foo.com") == Adblock.Directive.BLOCK);
assert (extension.request_handled ("http://www.engadget.com/_uac/adpage.html", "http://foo.com"));
/* Another custom rule */
extension.custom.add_rule ("/images/*.png");
assert (extension.custom.get_directive ("http://alpha.beta.com/images/yota.png", "https://foo.com") == Adblock.Directive.BLOCK);
assert (extension.request_handled ("http://alpha.beta.com/images/yota.png", "https://foo.com"));
/* Second attempt, from cache, same result */
assert (extension.request_handled ("http://alpha.beta.com/images/yota.png", "https://foo.com"));
/* Similar uri but .jpg should pass */
assert (!extension.request_handled ("http://alpha.beta.com/images/yota.jpg", "https://foo.com"));
assert (extension.custom.get_directive ("http://alpha.beta.com/images/yota.jpg", "https://foo.com") != Adblock.Directive.BLOCK);
/* Add whitelist rule */
extension.custom.add_rule ("@@http://alpha.beta.com/images/drop*bear.png");
assert (!extension.request_handled ("http://alpha.beta.com/images/drop-bear.png", "https://foo.com"));
assert (!extension.request_handled ("http://alpha.beta.com/images/dropzone_bear.png", "https://foo.com"));
assert (extension.custom.get_directive ("http://alpha.beta.com/images/drop-bear.png", "https://foo.com") != Adblock.Directive.BLOCK);
/* Doesn't match whitelist, matches *.png rule, should be blocked */
assert (extension.request_handled ("http://alpha.beta.com/images/bear.png", "https://foo.com"));
assert (extension.custom.get_directive ("http://alpha.beta.com/images/bear.png", "https://foo.com") == Adblock.Directive.BLOCK);
}
struct TestCaseLine {
public string line;
public string fixed;
}
const TestCaseLine[] lines = {
{ null, null },
{ "!", "!" },
{ "@@", "@@" },
{ "##", "##" },
{ "[", "\\[" },
{ "+advert/", "advert/" },
{ "*foo", "foo" },
{ "f*oo", "f.*oo" },
{ "?foo", "\\?foo" },
{ "foo?", "foo\\?" },
{ ".*foo/bar", "..*foo/bar" },
{ ".*.*.*.info/popup", "\\..*\\..*\\..*\\.info/popup" },
{ "http://bla.blub/*", "http://bla.blub/.*" },
{ "bag?r[]=*cpa", "bag\\?r\\[\\]=.*cpa" },
{ "(facebookLike,", "\\(facebookLike," }
};
void test_adblock_fixup_regexp () {
foreach (var line in lines) {
Katze.assert_str_equal (line.line, Adblock.fixup_regex ("", line.line), line.fixed);
}
}
struct TestCasePattern {
public string uri;
public Adblock.Directive directive;
}
const TestCasePattern[] patterns = {
{ "http://www.engadget.com/_uac/adpage.html", Adblock.Directive.BLOCK },
{ "http://test.dom/test?var=1", Adblock.Directive.BLOCK },
{ "http://ads.foo.bar/teddy", Adblock.Directive.BLOCK },
{ "http://ads.fuu.bar/teddy", Adblock.Directive.ALLOW },
{ "https://ads.bogus.name/blub", Adblock.Directive.BLOCK },
// FIXME { "http://ads.bla.blub/kitty", Adblock.Directive.BLOCK },
// FIXME { "http://ads.blub.boing/soda", Adblock.Directive.BLOCK },
{ "http://ads.foo.boing/beer", Adblock.Directive.ALLOW },
{ "https://testsub.engine.adct.ru/test?id=1", Adblock.Directive.BLOCK },
{ "http://test.ltd/addyn/test/test?var=adtech;&var2=1", Adblock.Directive.BLOCK },
{ "http://add.doubleclick.net/pfadx/aaaa.mtvi", Adblock.Directive.BLOCK },
{ "http://add.doubleclick.net/pfadx/aaaa.mtv", Adblock.Directive.ALLOW },
{ "http://objects.tremormedia.com/embed/xml/list.xml?r=", Adblock.Directive.BLOCK },
{ "http://qq.videostrip.c/sub/admatcherclient.php", Adblock.Directive.ALLOW },
{ "http://qq.videostrip.com/sub/admatcherclient.php", Adblock.Directive.BLOCK },
{ "http://qq.videostrip.com/sub/admatcherclient.php", Adblock.Directive.BLOCK },
{ "http://br.gcl.ru/cgi-bin/br/test", Adblock.Directive.BLOCK },
{ "https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&query_based_on=gtkport&field0-0-0=keywords&type0-0-0=anywordssubstr&value0-0-0=Gtk%20Cairo%20soup&field0-0-1=short_desc&type0-0-1=anywordssubstr&value0-0-1=Gtk%20Cairo%20soup%20autoconf%20automake%20autotool&field0-0-2=component&type0-0-2=equals&value0-0-2=WebKit%20Gtk", Adblock.Directive.ALLOW },
{ "http://www.engadget.com/2009/09/24/google-hits-android-rom-modder-with-a-cease-and-desist-letter/", Adblock.Directive.ALLOW },
{ "http://karibik-invest.com/es/bienes_raices/search.php?sqT=19&sqN=&sqMp=&sqL=0&qR=1&sqMb=&searchMode=1&action=B%FAsqueda", Adblock.Directive.ALLOW },
{ "http://google.com", Adblock.Directive.ALLOW }
};
string pretty_directive (Adblock.Directive? directive) {
if (directive == null)
return "none";
return directive.to_string ();
}
void test_adblock_pattern () {
string path = Midori.Paths.get_res_filename ("adblock.list");
string uri;
try {
uri = Filename.to_uri (path, null);
} catch (Error error) {
GLib.error (error.message);
}
var sub = new Adblock.Subscription (uri);
try {
sub.parse ();
} catch (Error error) {
GLib.error (error.message);
}
foreach (var pattern in patterns) {
Adblock.Directive? directive = sub.get_directive (pattern.uri, "");
if (directive == null)
directive = Adblock.Directive.ALLOW;
if (directive != pattern.directive) {
error ("%s expected for %s but got %s",
pretty_directive (pattern.directive), pattern.uri, pretty_directive (directive));
}
}
}
string pretty_date (DateTime? date) {
if (date == null)
return "N/A";
return date.to_string ();
}
struct TestUpdateExample {
public string content;
public bool result;
public bool valid;
}
const TestUpdateExample[] examples = {
{ "[Adblock Plus 1.1]\n! Last modified: 05 Sep 2010 11:00 UTC\n! This list expires after 48 hours\n", true, true },
{ "[Adblock Plus 1.1]\n! Last modified: 05.09.2010 11:00 UTC\n! Expires: 2 days (update frequency)\n", true, true },
{ "[Adblock Plus 1.1]\n! Updated: 05 Nov 2024 11:00 UTC\n! Expires: 5 days (update frequency)\n", false, true },
{ "[Adblock]\n! dutchblock v3\n! This list expires after 14 days\n|http://b*.mookie1.com/\n", false, true },
{ "[Adblock Plus 2.0]\n! Last modification time (GMT): 2012.11.05 13:33\n! Expires: 5 days (update frequency)\n", true, true },
{ "[Adblock Plus 2.0]\n! Last modification time (GMT): 2012.11.05 13:33\n", true, true },
{ "[Adblock]\n ! dummy, i dont have any dates\n", false, true },
/* non-standard update time metadata as found in http://abp.mozilla-hispano.org/nauscopio/filtros.txt */
{ "[Adblock Plus 2.0]\n ! Last modified: Oct 26, 2013 18:00 UTC\n ! This list expires after 5 days\n! Last modified by maty: 12Oct2013\n! \n", false, true },
{ "\n", false, false }
};
void test_subscription_update () {
string uri;
FileIOStream iostream;
File file;
try {
file = File.new_tmp ("midori_adblock_update_test_XXXXXX", out iostream);
uri = file.get_uri ();
} catch (Error error) {
GLib.error (error.message);
}
var sub = new Adblock.Subscription (uri);
var updater = new Adblock.Updater ();
sub.add_feature (updater);
foreach (var example in examples) {
try {
file.replace_contents (example.content.data, null, false, FileCreateFlags.NONE, null);
sub.clear ();
sub.parse ();
} catch (Error error) {
GLib.error (error.message);
}
if (example.valid != sub.valid)
error ("Subscription expected to be %svalid but %svalid:\n%s",
example.valid ? "" : "in", sub.valid ? "" : "in", example.content);
if (example.result != updater.needs_update)
error ("Update%s expected for:\n%s\nLast Updated: %s\nExpires: %s",
example.result ? "" : " not", example.content,
pretty_date (updater.last_updated), pretty_date (updater.expires));
}
}
struct TestSubUri {
public string? src_uri;
public string? dst_uri;
}
const TestSubUri[] suburis =
{
{ null, null },
{ "not-a-link", null },
{ "http://some.uri", "http://some.uri" },
{ "abp:subscribe?location=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Fabpindo%2Beasylist.txt&title=ABPindo%2BEasyList", "https://easylist-downloads.adblockplus.org/abpindo+easylist.txt" }
};
void test_subscription_uri_parsing () {
string? parsed_uri;
foreach (var example in suburis) {
parsed_uri = Adblock.parse_subscription_uri (example.src_uri);
if (parsed_uri != example.dst_uri)
error ("Subscription expected to be %svalid but %svalid:\n%s",
example.dst_uri, parsed_uri, example.src_uri);
}
}
public void extension_test () {
Test.add_func ("/extensions/adblock2/config", test_adblock_config);
Test.add_func ("/extensions/adblock2/subs", test_adblock_subs);
Test.add_func ("/extensions/adblock2/init", test_adblock_init);
Test.add_func ("/extensions/adblock2/parse", test_adblock_fixup_regexp);
Test.add_func ("/extensions/adblock2/pattern", test_adblock_pattern);
Test.add_func ("/extensions/adblock2/update", test_subscription_update);
Test.add_func ("/extensions/adblock2/subsparse", test_subscription_uri_parsing);
}

View file

@ -0,0 +1,52 @@
/*
Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public abstract class Filter : Feature {
Options optslist;
protected HashTable<string, Regex?> rules;
public virtual void insert (string sig, Regex regex) {
rules.insert (sig, regex);
}
public virtual Regex? lookup (string sig) {
return rules.lookup (sig);
}
public virtual uint size () {
return rules.size ();
}
protected Filter (Options options) {
optslist = options;
clear ();
}
public override void clear () {
rules = new HashTable<string, Regex> (str_hash, str_equal);
}
protected bool check_rule (Regex regex, string pattern, string request_uri, string page_uri) throws Error {
if (!regex.match_full (request_uri))
return false;
var opts = optslist.lookup (pattern);
if (opts != null && Regex.match_simple (",third-party", opts,
RegexCompileFlags.CASELESS, RegexMatchFlags.NOTEMPTY))
if (page_uri != null && regex.match_full (page_uri))
return false;
debug ("blocked by pattern regexp=%s -- %s", regex.get_pattern (), request_uri);
return true;
}
}
}

View file

@ -0,0 +1,47 @@
/*
Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Keys : Filter {
List<Regex> blacklist;
public Keys (Options options) {
base (options);
}
public override void clear () {
base.clear ();
blacklist = new List<Regex> ();
}
public override Directive? match (string request_uri, string page_uri) throws Error {
string? uri = fixup_regex ("", request_uri);
if (uri == null)
return null;
int signature_size = 8;
int pos, l = uri.length;
for (pos = l - signature_size; pos >= 0; pos--) {
string signature = uri.offset (pos).ndup (signature_size);
var regex = rules.lookup (signature);
if (regex == null || blacklist.find (regex) != null)
continue;
if (check_rule (regex, uri, request_uri, page_uri))
return Directive.BLOCK;
blacklist.prepend (regex);
}
return null;
}
}
}

View file

@ -0,0 +1,32 @@
/*
Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Options : GLib.Object {
HashTable<string, string?> optslist;
public Options () {
clear ();
}
public void insert (string sig, string? opts) {
optslist.insert (sig, opts);
}
public string? lookup (string sig) {
return optslist.lookup (sig);
}
public void clear () {
optslist = new HashTable<string, string?> (str_hash, str_equal);
}
}
}

View file

@ -0,0 +1,26 @@
/*
Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Pattern : Filter {
public Pattern (Options options) {
base (options);
}
public override Directive? match (string request_uri, string page_uri) throws Error {
foreach (unowned string patt in rules.get_keys ())
if (check_rule (rules.lookup (patt), patt, request_uri, page_uri))
return Directive.BLOCK;
return null;
}
}
}

View file

@ -0,0 +1,404 @@
/*
Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public abstract class Feature : GLib.Object {
public virtual bool header (string key, string value) {
return false;
}
public virtual bool parsed (File file) {
return true;
}
public virtual Directive? match (string request_uri, string page_uri) throws Error {
return null;
}
public virtual void clear () {
}
}
public class Subscription : GLib.Object {
public string? path;
bool debug_parse;
public string uri { get; set; default = null; }
public string title { get; set; default = null; }
public bool active { get; set; default = true; }
public bool mutable { get; set; default = true; }
public bool valid { get; private set; default = true; }
HashTable<string, Directive?> cache;
List<Feature> features;
public Pattern pattern;
public Keys keys;
public Options optslist;
public Whitelist whitelist;
public Element element;
#if !HAVE_WEBKIT2
WebKit.Download? download;
#endif
public Subscription (string uri) {
debug_parse = "adblock:parse" in (Environment.get_variable ("MIDORI_DEBUG") ?? "");
this.uri = uri;
this.optslist = new Options ();
this.whitelist = new Whitelist (optslist);
add_feature (this.whitelist);
this.keys = new Keys (optslist);
add_feature (this.keys);
this.pattern = new Pattern (optslist);
add_feature (this.pattern);
this.element = new Element ();
add_feature (this.element);
clear ();
}
public void add_feature (Feature feature) {
features.append (feature);
size++;
}
/* foreach support */
public new unowned Feature? get (uint index) {
return features.nth_data (index);
}
public uint size { get; private set; }
public void clear () {
cache = new HashTable<string, Directive?> (str_hash, str_equal);
foreach (unowned Feature feature in features)
feature.clear ();
optslist.clear ();
}
internal void parse_line (string? line) throws Error {
if (line.has_prefix ("@@")) {
if (line.contains("$") && line.contains ("domain"))
return;
if (line.has_prefix ("@@||"))
add_url_pattern ("^", "whitelist", line.offset (4));
else if (line.has_prefix ("@@|"))
add_url_pattern ("^", "whitelist", line.offset (3));
else
add_url_pattern ("", "whitelist", line.offset (2));
return;
}
/* TODO: [include] [exclude] */
if (line[0] == '[')
return;
/* CSS block hider */
if (line.has_prefix ("##")) {
/* TODO */
return;
}
if (line[0] == '#')
return;
/* TODO: CSS hider whitelist */
if ("#@#" in line)
return;
/* Per domain CSS hider rule */
if ("##" in line) {
frame_add_private (line, "##");
return;
}
if ("#" in line) {
frame_add_private (line, "#");
return;
}
/* URL blocker rule */
if (line.has_prefix ("|")) {
/* TODO: handle options and domains excludes */
if (line.contains("$"))
return;
if (line.has_prefix ("||"))
add_url_pattern ("", "fulluri", line.offset (2));
else
add_url_pattern ("^", "fulluri", line.offset (1));
return /* add_url_pattern */;
}
add_url_pattern ("", "uri", line);
return /* add_url_pattern */;
}
void frame_add_private (string line, string sep) {
string[] data = line.split (sep, 2);
if (!(data[1] != null && data[1] != "")
|| data[1].chr (-1, '\'') != null
|| (data[1].chr (-1, ':') != null
&& !Regex.match_simple (".*\\[.*:.*\\].*", data[1],
RegexCompileFlags.CASELESS, RegexMatchFlags.NOTEMPTY))) {
return;
}
if (data[0].chr (-1, ',') != null) {
string[] domains = data[0].split (",", -1);
foreach (unowned string domain in domains) {
/* Ignore Firefox-specific option */
if (domain == "~pregecko2")
continue;
string stripped = domain.strip ();
/* FIXME: ~ should negate match */
if (stripped[0] == '~')
stripped = stripped.substring (1, -1);
update_css_hash (stripped, data[1]);
}
}
else {
update_css_hash (data[0], data[1]);
}
}
bool css_element_seems_valid (string element) {
bool is_valid = true;
string[] valid_elements = { "::after", "::before", "a", "abbr", "address", "article", "aside",
"b", "blockquote", "caption", "center", "cite", "code", "div", "dl", "dt", "dd", "em",
"feed", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6",
"header", "hgroup", "i", "iframe", "iframe html *", "img", "kbd", "label", "legend", "li",
"m", "main", "marquee", "menu", "nav", "ol", "option", "p", "pre", "q", "samp", "section",
"small", "span", "strong", "summary", "table", "tr", "tbody", "td", "th", "thead", "tt", "ul" };
if (!element.has_prefix (".") && !element.has_prefix ("#")
&& !(element.split("[")[0] in valid_elements))
is_valid = false;
bool debug_selectors = "adblock:css" in (Environment.get_variable ("MIDORI_DEBUG") ?? "");
if (debug_selectors)
stdout.printf ("Adblock '%s' %s: %s\n",
this.title, is_valid ? "selector" : "INVALID?", element);
return is_valid;
}
void update_css_hash (string domain, string value) {
if (css_element_seems_valid (value)) {
string? olddata = element.lookup (domain);
if (olddata != null) {
string newdata = olddata + " , " + value;
element.insert (domain, newdata);
} else {
element.insert (domain, value);
}
}
}
void add_url_pattern (string prefix, string type, string line) throws Error {
string[]? data = line.split ("$", 2);
if (data == null || data[0] == null)
return;
string patt, opts;
patt = data[0];
opts = type;
if (data[1] != null)
opts = type + "," + data[1];
if (Regex.match_simple ("subdocument", opts,
RegexCompileFlags.CASELESS, RegexMatchFlags.NOTEMPTY))
return;
string format_patt = fixup_regex (prefix, patt);
if (debug_parse)
stdout.printf ("got: %s opts %s\n", format_patt, opts);
compile_regexp (format_patt, opts);
/* return format_patt */
}
bool compile_regexp (string? patt, string opts) throws Error {
if (patt == null)
return false;
try {
var regex = new Regex (patt, RegexCompileFlags.OPTIMIZE, RegexMatchFlags.NOTEMPTY);
/* is pattern is already a regex? */
if (Regex.match_simple ("^/.*[\\^\\$\\*].*/$", patt,
RegexCompileFlags.UNGREEDY, RegexMatchFlags.NOTEMPTY)
|| (opts != null && opts.contains ("whitelist"))) {
if (debug_parse)
stdout.printf ("patt: %s\n", patt);
if (opts.contains ("whitelist"))
this.whitelist.insert (patt, regex);
else
this.pattern.insert (patt, regex);
this.optslist.insert (patt, opts);
return false;
} else { /* nope, no regex */
int pos = 0, len;
int signature_size = 8;
string sig;
len = patt.length;
/* chop up pattern into substrings for faster matching */
for (pos = len - signature_size; pos>=0; pos--)
{
sig = patt.offset (pos).ndup (signature_size);
/* we don't have a * nor \\, does not look like regex, save chunk as "key" */
if (!Regex.match_simple ("[\\*]", sig, RegexCompileFlags.UNGREEDY, RegexMatchFlags.NOTEMPTY) && keys.lookup (sig) == null) {
this.keys.insert (sig, regex);
this.optslist.insert (sig, opts);
} else {
/* starts with * or \\ - save as regex */
if ((sig.has_prefix ("*") || sig.has_prefix("\\")) && this.pattern.lookup (sig) == null) {
this.pattern.insert (sig, regex);
this.optslist.insert (sig, opts);
}
}
}
}
return false;
}
catch (Error error) {
warning ("Adblock compile regexp: %s", error.message);
return true;
}
}
public void parse_header (string header) throws Error {
/* Headers come in two forms
! Foo: Bar
! Some freeform text
*/
string key = header;
string value = "";
if (header.contains (":")) {
string[] parts = header.split (":", 2);
if (parts[0] != null && parts[0] != ""
&& parts[1] != null && parts[1] != "") {
key = parts[0].substring (2, -1);
value = parts[1].substring (1, -1);
}
}
debug ("Header '%s' says '%s'", key, value);
if (key == "Title")
title = value;
foreach (unowned Feature feature in features) {
if (feature.header (key, value))
break;
}
}
#if !HAVE_WEBKIT2
void download_status (ParamSpec pspec) {
if (download.get_status () != WebKit.DownloadStatus.FINISHED)
return;
download = null;
try {
parse ();
} catch (Error error) {
warning ("Error parsing %s: %s", uri, error.message);
}
}
#endif
public void parse () throws Error
{
if (!active)
return;
debug ("Parsing %s (%s)", uri, path);
clear ();
if (uri.has_prefix ("file://"))
path = Filename.from_uri (uri);
else {
string cache_dir = GLib.Path.build_filename (GLib.Environment.get_user_cache_dir (), PACKAGE_NAME, "adblock");
Midori.Paths.mkdir_with_parents (cache_dir);
string filename = Checksum.compute_for_string (ChecksumType.MD5, this.uri, -1);
path = GLib.Path.build_filename (cache_dir, filename);
}
File filter_file = File.new_for_path (path);
DataInputStream stream;
try {
stream = new DataInputStream (filter_file.read ());
} catch (IOError.NOT_FOUND exist_error) {
#if HAVE_WEBKIT2
/* TODO */
#else
/* Don't bother trying to download local files */
if (!uri.has_prefix ("file://")) {
if (download != null)
return;
string destination_uri = Filename.to_uri (path, null);
debug ("Fetching %s to %s now", uri, destination_uri);
download = new WebKit.Download (new WebKit.NetworkRequest (uri));
if (!Midori.Download.has_enough_space (download, destination_uri, true))
throw new FileError.EXIST ("Can't download to \"%s\"", path);
download.destination_uri = destination_uri;
download.notify["status"].connect (download_status);
download.start ();
}
#endif
return;
}
valid = false;
string? line;
while ((line = stream.read_line (null)) != null) {
if (line == null)
continue;
string chomped = line.chomp ();
if (chomped == "")
continue;
if (line[0] == '!')
parse_header (chomped);
else
parse_line (chomped);
/* The file isn't completely empty */
valid = true;
}
foreach (unowned Feature feature in features) {
if (!feature.parsed (filter_file))
valid = false;
}
}
public Directive? get_directive (string request_uri, string page_uri) {
try {
Directive? directive = cache.lookup (request_uri);
if (directive != null)
return directive;
foreach (unowned Feature feature in features) {
directive = feature.match (request_uri, page_uri);
if (directive != null) {
debug ("%s gave %s for %s (%s)\n",
feature.get_type ().name (), directive.to_string (), request_uri, page_uri);
return directive;
}
}
} catch (Error error) {
warning ("Adblock match error: %s\n", error.message);
}
return null;
}
public void add_rule (string rule) {
try {
var file = File.new_for_uri (uri);
file.append_to (FileCreateFlags.NONE).write (("%s\n".printf (rule)).data);
parse ();
} catch (Error error) {
warning ("Failed to add custom rule: %s", error.message);
}
}
}
}

View file

@ -0,0 +1,155 @@
/*
Copyright (C) 2014 Paweł Forysiuk <tuxator@o2.pl>
Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Updater : Feature {
string expires_meta;
string last_mod_meta;
public DateTime last_updated { get; set; }
public DateTime expires { get; set; }
public bool needs_update { get; set; }
public Updater () {
}
public override void clear () {
expires_meta = null;
last_mod_meta = null;
last_updated = null;
expires = null;
needs_update = false;
}
public override bool header (string key, string value) {
if (key.has_prefix ("Last mod") || key == "Updated") {
last_mod_meta = value;
return true;
} else if (key == "Expires") {
/* ! Expires: 5 days (update frequency) */
expires_meta = value;
return true;
} else if (key.has_prefix ("! This list expires after")) {
/* ! This list expires after 14 days */
expires_meta = key.substring (26, -1);
return true;
}
return false;
}
public override bool parsed (File file) {
process_dates (file);
/* It's not an error to have no update headers, we go for defaults */
return true;
}
int get_month_from_string (string? month) {
if (month == null)
return 0;
string[] months = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
for (int i = 0; i<= months.length; i++)
{
if (month.has_prefix (months[i]))
return i+1;
}
return 0;
}
void process_dates (File file) {
DateTime now = new DateTime.now_local ();
last_updated = null;
expires = null;
/* We have "last modification" metadata */
if (last_mod_meta != null && (last_mod_meta.contains (" ") && last_mod_meta[0].isdigit () == true)) {
int h = 0, min = 0, d, m, y;
/* Date in a form of: 20.08.2012 12:34 */
if (last_mod_meta.contains (".") || last_mod_meta.contains("-")) {
string[] parts = last_mod_meta.split (" ", 2);
string[] date_parts;
string split_char = " ";
/* contains time part ? */
if (parts[1] != "" && parts[1].contains (":")) {
string[] time_parts = parts[1].split (":", 2);
h = int.parse(time_parts[0]);
min = int.parse(time_parts[1]);
}
/* check if dot or dash was used as a delimiter */
if (parts[0].contains ("."))
split_char = ".";
else if (parts[0].contains ("-"))
split_char = "-";
date_parts = parts[0].split (split_char, 3);
m = int.parse(date_parts[1]);
if (date_parts[2].length == 4) {
y = int.parse(date_parts[2]);
d = int.parse(date_parts[0]);
} else {
y = int.parse(date_parts[0]);
d = int.parse(date_parts[2]);
}
} else { /* Date in a form of: 20 Mar 2012 12:34 */
string[] parts = last_mod_meta.split (" ", 4);
/* contains time part ? */
if (parts[3] != null && parts[3].contains (":")) {
string[] time_parts = parts[3].split (":", 2);
h = int.parse(time_parts[0]);
min = int.parse(time_parts[1]);
}
m = get_month_from_string (parts[1]);
if (parts[2].length == 4) {
y = int.parse(parts[2]);
d = int.parse(parts[0]);
} else {
y = int.parse(parts[0]);
d = int.parse(parts[2]);
}
}
last_updated = new DateTime.local (y, m, d, h, min, 0.0);
} else {
/* FIXME: use file modification date if there's no update header
try {
string modified = FileAttribute.TIME_MODIFIED;
var info = file.query_filesystem_info (modified);
last_updated = new DateTime.from_timeval_local (info.get_modification_time ());
} catch (Error error) {
last_updated = now;
}
*/
last_updated = now;
}
/* We have "expires" metadata */
if (expires_meta != null) {
if (expires_meta.contains ("days")) {
string[] parts = expires_meta.split (" ");
expires = last_updated.add_days (int.parse (parts[0]));
} else if (expires_meta.contains ("hours")) {
string[] parts = expires_meta.split (" ");
expires = last_updated.add_hours (int.parse (parts[0]));
}
} else {
/* No expire metadata found, assume x days */
int days_to_expire = 7;
expires = last_updated.add_days (days_to_expire);
}
/* Check if we are past expire date */
needs_update = now.compare (expires) == 1;
}
}
}

View file

@ -0,0 +1,30 @@
/*
Copyright (C) 2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2014 Paweł Forysiuk <tuxator@o2.pl>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class Whitelist : Filter {
public Whitelist (Options options) {
base (options);
}
public override Directive? match (string request_uri, string page_uri) throws Error {
foreach (unowned string white in rules.get_keys ()) {
var regex = rules.lookup (white);
if (!regex.match_full (request_uri))
return null;
if (Regex.match_simple (regex.get_pattern (), request_uri, RegexCompileFlags.UNGREEDY, RegexMatchFlags.NOTEMPTY))
return Directive.ALLOW;
}
return null;
}
}
}

View file

@ -0,0 +1,292 @@
/*
Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
namespace Adblock {
public class StatusIcon : Midori.ContextAction {
Config config;
SubscriptionManager manager;
public State state;
public bool debug_element_toggled;
public StatusIcon (Adblock.Config config, SubscriptionManager manager) {
GLib.Object (name: "AdblockStatusMenu");
this.config = config;
this.manager = manager;
this.debug_element_toggled = false;
var item = new Midori.ContextAction ("Preferences",
_("Preferences"), null, Gtk.STOCK_PREFERENCES);
item.activate.connect (() => {
manager.add_subscription (null);
});
add (item);
add (null);
var checkitem = new Gtk.ToggleAction ("Disable", _("Disable"), null, null);
checkitem.set_active (!config.enabled);
checkitem.toggled.connect (() => {
config.enabled = !checkitem.active;
set_state (config.enabled ? Adblock.State.ENABLED : Adblock.State.DISABLED);
});
add (checkitem);
var hideritem = new Gtk.ToggleAction ("HiddenElements",
_("Display hidden elements"), null, null);
hideritem.set_active (debug_element_toggled);
hideritem.toggled.connect (() => {
this.debug_element_toggled = hideritem.active;
});
add (hideritem);
set_status (config.enabled ? "enabled" : "disabled");
}
void set_status (string status) {
gicon = new GLib.ThemedIcon ("adblock-%s".printf (status));
}
public void set_state (Adblock.State state) {
this.state = state;
if (this.state == State.BLOCKED) {
set_status ("blocked");
tooltip = _("Blocking");
} else if (this.state == State.ENABLED) {
set_status ("enabled");
tooltip = _("Enabled");
} else if (this.state == State.DISABLED) {
set_status ("disabled");
tooltip = _("Disabled");
} else
assert_not_reached ();
}
}
public class SubscriptionManager {
Gtk.TreeView treeview;
Gtk.ListStore liststore;
Adblock.Config config;
public Gtk.Label description_label;
string description;
public SubscriptionManager (Config config) {
this.config = config;
this.liststore = new Gtk.ListStore (1, typeof (Subscription));
this.description_label = new Gtk.Label (null);
this.description = _("Type the address of a preconfigured filter list in the text entry and hit Enter.\n");
this.description += _("You can find more lists by visiting following sites:\n %s, %s\n".printf (
"<a href=\"http://adblockplus.org/en/subscriptions\">adblockplus.org/en/subscriptions</a>",
"<a href=\"http://easylist.adblockplus.org/\">easylist.adblockplus.org</a>"
));
}
public void add_subscription (string? uri) {
var dialog = new Gtk.Dialog.with_buttons (_("Configure Advertisement filters"),
null,
#if !HAVE_GTK3
Gtk.DialogFlags.NO_SEPARATOR |
#endif
Gtk.DialogFlags.DESTROY_WITH_PARENT,
Gtk.STOCK_HELP, Gtk.ResponseType.HELP,
Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE);
#if HAVE_GTK3
dialog.get_widget_for_response (Gtk.ResponseType.HELP).get_style_context ().add_class ("help_button");
#endif
dialog.set_icon_name (Gtk.STOCK_PROPERTIES);
dialog.set_response_sensitive (Gtk.ResponseType.HELP, false);
var hbox = new Gtk.HBox (false, 0);
(dialog.get_content_area () as Gtk.Box).pack_start (hbox, true, true, 12);
var vbox = new Gtk.VBox (false, 0);
hbox.pack_start (vbox, true, true, 4);
this.description_label.set_markup (this.description);
this.description_label.set_line_wrap (true);
vbox.pack_start (this.description_label, false, false, 4);
var entry = new Gtk.Entry ();
if (uri != null)
entry.set_text (uri);
vbox.pack_start (entry, false, false, 4);
liststore = new Gtk.ListStore (1, typeof (Subscription));
treeview = new Gtk.TreeView.with_model (liststore);
treeview.set_headers_visible (false);
var column = new Gtk.TreeViewColumn ();
var renderer_toggle = new Gtk.CellRendererToggle ();
column.pack_start (renderer_toggle, false);
column.set_cell_data_func (renderer_toggle, (column, renderer, model, iter) => {
Subscription sub;
liststore.get (iter, 0, out sub);
renderer.set ("active", sub.active,
"sensitive", sub.mutable);
});
renderer_toggle.toggled.connect ((path) => {
Gtk.TreeIter iter;
if (liststore.get_iter_from_string (out iter, path)) {
Subscription sub;
liststore.get (iter, 0, out sub);
sub.active = !sub.active;
}
});
treeview.append_column (column);
column = new Gtk.TreeViewColumn ();
var renderer_text = new Gtk.CellRendererText ();
column.pack_start (renderer_text, false);
renderer_text.set ("editable", true);
// TODO: renderer_text.edited.connect
column.set_cell_data_func (renderer_text, (column, renderer, model, iter) => {
Subscription sub;
liststore.get (iter, 0, out sub);
string status = "";
foreach (unowned Feature feature in sub) {
var updater = feature as Adblock.Updater;
if (updater != null) {
if (updater.last_updated != null)
status = updater.last_updated.format (_("Last update: %x %X"));
}
}
if (!sub.valid)
status = _("File incomplete - broken download?");
renderer.set ("markup", (Markup.printf_escaped ("<b>%s</b>\n%s",
sub.title ?? sub.uri, status)));
});
treeview.append_column (column);
column = new Gtk.TreeViewColumn ();
Gtk.CellRendererPixbuf renderer_button = new Gtk.CellRendererPixbuf ();
column.pack_start (renderer_button, false);
column.set_cell_data_func (renderer_button, on_render_button);
treeview.append_column (column);
var scrolled = new Gtk.ScrolledWindow (null, null);
scrolled.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
scrolled.add (treeview);
vbox.pack_start (scrolled);
int height;
treeview.create_pango_layout ("a\nb").get_pixel_size (null, out height);
scrolled.set_size_request (-1, height * 5);
foreach (unowned Subscription sub in config)
liststore.insert_with_values (null, 0, 0, sub);
treeview.button_release_event.connect (button_released);
entry.activate.connect (() => {
string? parsed_uri = Adblock.parse_subscription_uri (entry.text);
if (parsed_uri != null) {
var sub = new Subscription (parsed_uri);
if (config.add (sub)) {
liststore.insert_with_values (null, 0, 0, sub);
try {
sub.parse ();
} catch (GLib.Error error) {
warning ("Error parsing %s: %s", sub.uri, error.message);
}
}
}
entry.text = "";
});
dialog.get_content_area ().show_all ();
dialog.response.connect ((response)=>{ dialog.destroy (); });
dialog.show ();
}
void on_render_button (Gtk.CellLayout column, Gtk.CellRenderer renderer,
Gtk.TreeModel model, Gtk.TreeIter iter) {
Subscription sub;
liststore.get (iter, 0, out sub);
renderer.set ("stock-id", sub.mutable ? Gtk.STOCK_DELETE : null,
"stock-size", Gtk.IconSize.MENU);
}
public bool button_released (Gdk.EventButton event) {
Gtk.TreePath? path;
Gtk.TreeViewColumn column;
if (treeview.get_path_at_pos ((int)event.x, (int)event.y, out path, out column, null, null)) {
if (path != null) {
if (column == treeview.get_column (2)) {
Gtk.TreeIter iter;
if (liststore.get_iter (out iter, path)) {
Subscription sub;
liststore.get (iter, 0, out sub);
if (sub.mutable) {
config.remove (sub);
liststore.remove (iter);
return true;
}
}
}
}
}
return false;
}
}
class CustomRulesEditor {
Gtk.Dialog dialog;
Subscription custom;
public string? rule { get; set; }
public CustomRulesEditor (Subscription custom) {
this.custom = custom;
}
public void set_uri (string uri) {
this.rule = uri;
}
public void show () {
this.dialog = new Gtk.Dialog.with_buttons (_("Edit rule"),
null,
#if !HAVE_GTK3
Gtk.DialogFlags.NO_SEPARATOR |
#endif
Gtk.DialogFlags.DESTROY_WITH_PARENT,
Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,
Gtk.STOCK_ADD, Gtk.ResponseType.ACCEPT);
dialog.set_icon_name (Gtk.STOCK_ADD);
dialog.resizable = false;
var hbox = new Gtk.HBox (false, 8);
var sizegroup = new Gtk.SizeGroup (Gtk.SizeGroupMode.HORIZONTAL);
hbox.border_width = 5;
var label = new Gtk.Label.with_mnemonic (_("_Rule:"));
sizegroup.add_widget (label);
hbox.pack_start (label, false, false, 0);
(dialog.get_content_area () as Gtk.Box).pack_start (hbox, false, true, 0);
var entry = new Gtk.Entry ();
sizegroup.add_widget (entry);
entry.activates_default = true;
entry.set_text (this.rule);
hbox.pack_start (entry, true, true, 0);
dialog.get_content_area ().show_all ();
dialog.set_default_response (Gtk.ResponseType.ACCEPT);
if (dialog.run () != Gtk.ResponseType.ACCEPT)
return;
this.rule = entry.get_text ();
this.dialog.destroy ();
custom.add_rule (this.rule);
}
}
}

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more