Adblock Plus and (a little) more

Dragging comments to other filter groups now possible · 2008-11-21 23:39 by Wladimir Palant

A new Adblock Plus 0.7.5.5+ development build (2008112122) has been uploaded. Multi-language build is available but not all translations are done yet (missing strings will be in English). This is a release candidate for Adblock Plus 1.0.

Installation

https://adblockplus.org/devbuilds/

Warning: Format of patterns.ini file changed in a way that is not backwards compatible. If you want to go back to an older version of Adblock Plus, keep a backup or you will loose all your filters.

Changes

  • Added new filter composer dialog that is opened to add a new filter
  • Moved warning that Adblock Plus is disabled from preferences to composer dialog, made it possible to enable with a single click (forum topic)
  • Merged first run preferences extensions.adblockplus.checkedtoolbar, extensions.adblockplus.showsubscriptions, extensions.adblockplus.checkedadblockinstalled into an extensions.adblockplus.currentVersion preference
  • Filter subscription dialog on first run now opens in a new tab (bug 15786)
  • Made filter subscription dialog warn if Filterset.G is installed and suggest automatic uninstall
  • Removed Adblock warning as a separate question, made filter subscription dialog warn if Adblock is installed and suggest automatic uninstall
  • Subscription dialog on first start shows up even if other extensions already added a filter subscription, only existing downloadable filter subscriptions disable the dialog
  • Blockable items: Changed default action for blocked items to “add exception rule” instead of “edit filter”
  • Blockable items: Tooltip now shows the filter source in addition to the filter itself (forum topic)
  • Blockable items: Added “Copy filter” item to the context menu (forum topic)
  • Blockable items: Multiple selection and copying of multiple addresses/filters now possible (forum topic)
  • Blockable items: Added “Select all” item to the context menu
  • Blockable items: Filters can now be disabled and re-enabled from the context menu (forum topic)
  • Blockable items: Added “Size” column (hidden by default)
  • Blockable items: Added element size to the tooltip
  • Blockable items: Sort by “State” column by default (blocked items first)
  • Blockable items: Filter is shown in a different color for element hiding hits (forum topic)
  • Fixed: Subscriptions are sometimes loaded from browser cache
  • For subscription downloads, a comment “! Checksum: abcd” is now interpreted and files with wrong checksum are rejected (forum topic, reference implementation to add checksums)
  • Added hidden preference extensions.adblockplus.savestats to allow turning off hit statistics (useful if patterns.ini is put into a version control system) (bug 18650)
  • Added support for private browsing mode in Firefox 3.1, hit statistics are disabled automatically
  • Firefox 1.5, Thunderbird 1.5, SeaMonkey 1.0, Songbird 0.5/0.6 are no longer supported
  • Flock 1.2 and Songbird 0.7 are supported now
  • Added support for Prism 0.9 (forum topic)
  • Cleaned up some backwards compatibility hacks
  • Removed ancient drag&drop handling code (not discoverable and not advertised anywhere)
  • Redesigned core classes for better maintainability, added code documentation and tests for large parts of the core
  • Changed patterns.ini format to allow user-defined filters to be stored in any filter group
  • Fixed: Element hiding hits aren’t always registered in Firefox 3
  • Fixed: Exception rules don’t always apply to element hiding in Firefox 3 (bug 20034)
  • Adblock Plus 0.6 preferences are no longer imported on upgrade
  • Adblock preferences are no longer imported on upgrade (filter list still imported)
  • Preferences: eliminated delay when Preferences window is opened and much of the delay when changes are applied
  • Preferences: Added “View” menu to control visible columns and sorting, removed column picker
  • Preferences: Made new “View” menu the context menu for list header
  • Fixed: Dates in Preferences window would sometimes use wrong character encoding (bug 441370)
  • Fixed: “Edit filter in effect” might select the filter in a disabled subscription even though it exists in an enabled one (forum topic)
  • Preferences: Filter export inserts a checksum comment into the file (forum topic)
  • Preferences: Pasting filters that contain spaces (especially comments) now possible (bug 18920)
  • Preferences: Groups containing user-defined filters can now be disabled as well” (forum topic)
  • Preferences: Removed “Add filter” dummy from the list (forum topic)
  • Preferences: Comments can now be inserted in all filter groups, not only “Advertisement filters”
  • Preferences: Comments can be moved to other filter groups via drag&drop
  • Preferences: Comments now always stay before the same filter (or end of the group), regardless of sorting
  • Preferences: Dragging comments is even possible when the list is sorted
  • About dialog: Made it possible to select and copy version number
  • Made sure filter composer warns the user on regexps and too short filters
  • Preferences: Showing exclamation mark for too short filters as well now
  • Preferences: Added a tooltip explaining the meaning of the exclamation mark
  • Preferences: For invalid filters, the tooltip now explains why they are invalid
  • Preferences: Removed regular expressions warning and corresponding preference extensions.adblockplus.warnregexp (warning in composer and exclamation mark are enough) (forum topic)
  • Preferences: Removed dropdown list from filter editor (forum topic)
  • Preferences: Filter changes (with exception of element hiding) no longer apply immediately to the “current” window, this is only done for the composer (forum topic)
  • Preferences: “Add subscription” now opens a list of subscriptions instead of the “custom subscription” dialog
  • Preferences: Added a way to disable/enable filters and subscriptions from context menu
  • Preferences: Changed names for groups of user-defined filters (forum topic)
  • Preferences: Group/subscription titles use bold text now (forum topic)
  • Fixed: Findbar in preferences dialog has no icons (Firefox 3)
  • Fixed: Clicking twice on the Enabled column starts filter editor
  • Mac OS X: Preferences menu changed into toolbar to make sure it stays inside the window (forum topic)
  • About Adblock Plus: Made homepage link localizable (and different for German/French locales, bug 17136)
  • Fixed: Object tabs show up on print (bug 19405)
  • New options $third-party and $~third-party restrict filters to third-party/first-party requests (forum topic)
  • Subscription download: Next attempt after failed download is after one day now rather than after one hour (preference extensions.adblockplus.subscriptions_fallbackerrors adjusted accordingly)
  • Fallback request can now disable automatic downloads for subscriptions that are no longer available
  • Fixed: Preferences dialog doesn’t immediately display changes to “downloaded automatically” status
  • Fixed: Blockable items list header is hidden in fullscreen mode
  • Preferences: “Reset filter statistics” now resets “Last hit” as well (bug 18650)
  • Preferences: using more obvious images for the “Enabled” column (forum topic, forum topic)
  • Fixed: “Disable on this page only” won’t work for pages with query string
  • Significantly reduced the time for reading patterns list from disk as well as for writing it back
  • Reduced the amount of memory used for long filter lists
  • Made sure patterns file isn’t overwritten unless write was successful (bug 16488)
  • Added “Adblock Plus: Blockable Items” to the View menu in Firefox (View – Toolbars menu in SeaMonkey)
  • Renamed Tools menu item into “Adblock Plus Preferences”
  • Fixed: “getBoxObjectFor() is deprecated” warning in error console (bug 19126)

Known issues

  • Comments cannot be moved between filter groups
  • Subscription dialog on first start doesn’t play nice with session restore
  • Preferences: when a subscription is added to the list its filters are sometimes not sorted correctly
  • Preferences: sometimes when a filter is removed this isn’t properly reflected in the list
  • Pattern backups are not created

Source code revision: c7764d8c9fda

Tags:

Comment [4]

  1. Simon · 2008-11-22 14:37 · #

    Is it just me or are pattern backups indeed broken (as in: no backups are created at all)? In case in matters: I’ve changed the .patternsfile pref to adblockplus.ini and the .patternsbackups pref to 1.

    Furthermore I occasionally get the following errors with this build (2008112122) on the latest Minefield nightly. See https://bugzilla.mozilla.org/show_bug.cgi?id=459784 for a possible fix.

    Error: uncaught exception: 2147500034
    Source File: chrome://adblockplus/content/prefs.js
    Line: 75 / 126

    Reply from Wladimir Palant:

    No, it is not only you – backups are broken, confirmed. Thanks for noticing!

    As to the exception, I’ve never seen this one but will look into it.

    Reply from Wladimir Palant:

    Backup creation is fixed: http://hg.mozdev.org/adblockplus/rev/8dc77ad72c10

    As to the error message – is it reported for both Line 75 and Line 126? It would somewhat make sense for Line 126 (some other extension is probably causing it, maybe NoScript) but Line 75 cannot create exceptions.

  2. Simon · 2008-11-22 16:19 · #

    I get the same error on a clean profile. Note that line 75 is

    .getService(Components.interfaces.nsIPrivateBrowsingService)

    which maybe causes the exception when called too soon?

    Reply from Wladimir Palant:

    An exception there won’t be too surprising – private browsing is new, there might be bugs. Thing is, Adblock Plus explicitly catches all exceptions coming from private browsing service, so they shouldn’t reach the error console.

    Reply from Wladimir Palant:

    Apparently, this is a Firefox regression. The forum topic (http://adblockplus.org/forum/viewtopic.php?t=3160) has more details.

  3. sat · 2008-11-26 00:42 · #

    adblock plus (even the dev builds) are not working with firefox 3.1b2 from ftp://ftp.mozilla.org/pub/firefox/nightly/3.1b2-candidates/

    Reply from Wladimir Palant:

    Thanks, I updated the compatibility info on addons.mozilla.org – installation should work there now. Next development build will install in Beta 2 as well.

  4. Ömer Fadıl USTA · 2008-11-26 17:19 · #

    Hi
    Addons.mozilla.org’s build hasn’t got compatibility with Firefox 3.1 Beta 3 pre version

    Reply from Wladimir Palant:

    Fixed, thanks for letting me know.

Commenting is closed for this article.