Changes between Version 1 and Version 7 of Ticket #4127


Ignore:
Timestamp:
03/15/2017 12:45:56 PM (3 years ago)
Author:
trev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4127

    • Property Priority changed from P3 to P2
    • Property Owner set to trev
    • Property Blocked By changed from to 4989
  • Ticket #4127 – Description

    v1 v7  
    55Reimplement most of the current API in C++. Quite a few properties don't need to be exposed however, these are only used internally anyway. Other differences: 
    66 
    7 * JavaScript code obtaining references to filters has to call `subscription.delete()` in order to release the reference.  
     7* `ExternalSubscription` shouldn't be implemented, API for third parties adding subscriptions is going away. 
     8* JavaScript code obtaining references to filters has to call `subscription.delete()` in order to release the reference. 
     9* `Subscription.fixedTitle` is exposed as `DownloadableSubscription.fixedTitle` (this is where this property belongs). 
     10* Creating a subscription with a random ID is done via `Subscription.fromURL(null)` rather than `SpecialSubscription.create()`. 
     11* Making a subscription to be the default for particular types is done via `SpecialSubscription.makeDefaultFor()` rather than `SpecialSubscription.createForFilter()`. 
    812* `Subscription.filters` array replaced by `Subscription.filterCount` property and `Subscription.filterAt()` method. In addition, there should be `SpecialSubscription.removeFilterAt()` and `SpecialSubscription.insertFilterAt()` methods to manipulate the filters. 
    913* `Subscription.fromObject()` in unimplemented (to become an internal method once `FilterStorage` has been converted).