Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Myk Melez 6766e7066c document the Observers module better 2009-01-13 17:58:01 -08:00
Myk Melez 34afc922d5 document the API for the notify method, including information about the deprecation of the data parameter 2008-12-29 06:15:33 -08:00
Myk Melez 04a039079e fix a bug in the Observers module that caused observers to sometimes not get called; only unwrap notification subjects if it's our wrapper they are sporting (otherwise they're real XPCOM components and should be treated as such, even if they are JS XPCOM components and contain a wrappedJSObject); modify the Observers API such that passing it a function causes it not to pass the topic to the function (so functions are for listening to notifications for a single topic, while objects are for listening to notifications for multiple topics) 2008-12-29 05:42:11 -08:00
Myk Melez ed04c2a8ac fix regression from parameter reordering and subject optionalization that caused Observer::observe to fail on subject == null 2008-12-27 16:52:56 -08:00
Myk Melez 971795322d add a note about how Observer::observe should only unwrap the subject if its one of the Observers module's own Subject instances 2008-12-26 20:23:31 -08:00
Myk Melez b83ac95c0c make the Observers module support a thisObject parameter to its add and remove methods as well as passing the callback as a string representing the name of the callback function in the thisObject 2008-12-26 19:31:37 -08:00
Myk Melez ce779bb889 a new version of the Observers module with a non-backwards-compatible change in the order of arguments to various API calls, and updates to Snowl code so that it works with the new version of the module 2008-12-26 16:49:31 -08:00
Myk Melez 3031f11b2c don't remove observers that aren't in our list of observers, and support observers that are objects rather than functions 2008-09-01 18:58:02 -07:00
Myk Melez 4d99863333 move files to top level instead of bogus extension subdirectory
--HG--
rename : extension/chrome.manifest => chrome.manifest
rename : extension/content/about.xul => content/about.xul
rename : extension/content/arrow-down.png => content/arrow-down.png
rename : extension/content/arrow-up.png => content/arrow-up.png
rename : extension/content/collections.css => content/collections.css
rename : extension/content/collections.js => content/collections.js
rename : extension/content/collections.xul => content/collections.xul
rename : extension/content/firstrun.html => content/firstrun.html
rename : extension/content/icons/add.png => content/icons/add.png
rename : extension/content/icons/application_split.png => content/icons/application_split.png
rename : extension/content/icons/application_tile_horizontal.png => content/icons/application_tile_horizontal.png
rename : extension/content/icons/arrow_refresh_small.png => content/icons/arrow_refresh_small.png
rename : extension/content/icons/delete.png => content/icons/delete.png
rename : extension/content/icons/new.png => content/icons/new.png
rename : extension/content/icons/newspaper.png => content/icons/newspaper.png
rename : extension/content/icons/opml-icon-16x16.png => content/icons/opml-icon-16x16.png
rename : extension/content/icons/page_white_text.png => content/icons/page_white_text.png
rename : extension/content/icons/rainbow.png => content/icons/rainbow.png
rename : extension/content/icons/tick.png => content/icons/tick.png
rename : extension/content/icons/user.png => content/icons/user.png
rename : extension/content/login.js => content/login.js
rename : extension/content/login.xul => content/login.xul
rename : extension/content/message/message.css => content/message/message.css
rename : extension/content/message/message.js => content/message/message.js
rename : extension/content/message/message.xul => content/message/message.xul
rename : extension/content/portal-view.css => content/portal-view.css
rename : extension/content/portal-view.html => content/portal-view.html
rename : extension/content/portal-view.js => content/portal-view.js
rename : extension/content/preferences.js => content/preferences.js
rename : extension/content/preferences.xul => content/preferences.xul
rename : extension/content/river-xhtml.css => content/river-xhtml.css
rename : extension/content/river-xhtml.js => content/river-xhtml.js
rename : extension/content/river.css => content/river.css
rename : extension/content/river.js => content/river.js
rename : extension/content/river.xhtml => content/river.xhtml
rename : extension/content/river.xul => content/river.xul
rename : extension/content/riverContent.css => content/riverContent.css
rename : extension/content/riverOfNewsView.js => content/riverOfNewsView.js
rename : extension/content/riverOfNewsView.xul => content/riverOfNewsView.xul
rename : extension/content/sidebar.js => content/sidebar.js
rename : extension/content/sidebar.xul => content/sidebar.xul
rename : extension/content/snowl.css => content/snowl.css
rename : extension/content/snowl.js => content/snowl.js
rename : extension/content/snowl.xul => content/snowl.xul
rename : extension/content/strands.js => content/strands.js
rename : extension/content/subscribe.css => content/subscribe.css
rename : extension/content/subscribe.js => content/subscribe.js
rename : extension/content/subscribe.xul => content/subscribe.xul
rename : extension/content/update.html => content/update.html
rename : extension/defaults/preferences/snowl.js => defaults/preferences/snowl.js
rename : extension/install.rdf => install.rdf
rename : extension/locale/en-US/login.dtd => locale/en-US/login.dtd
rename : extension/locale/en-US/login.properties => locale/en-US/login.properties
rename : extension/locale/en-US/subscribe.dtd => locale/en-US/subscribe.dtd
rename : extension/modules/Observers.js => modules/Observers.js
rename : extension/modules/Preferences.js => modules/Preferences.js
rename : extension/modules/URI.js => modules/URI.js
rename : extension/modules/collection.js => modules/collection.js
rename : extension/modules/datastore.js => modules/datastore.js
rename : extension/modules/feed.js => modules/feed.js
rename : extension/modules/identity.js => modules/identity.js
rename : extension/modules/log4moz.js => modules/log4moz.js
rename : extension/modules/message.js => modules/message.js
rename : extension/modules/service.js => modules/service.js
rename : extension/modules/source.js => modules/source.js
rename : extension/modules/twitter.js => modules/twitter.js
2008-08-04 11:24:48 -07:00