Commit Graph

8 Commits

Author SHA1 Message Date
bryner%brianryner.com
19de0f9388 Factor out subframe check and add it for window events (bug 347305) r=brettw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206736 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 18:46:24 +00:00
bryner%brianryner.com
772b8b59a2 Add logging for command events in the UI (bug 328069). As part of this change, we're adding an onAttach() notification to nsIMetricsCollector, so that re-enabling a disabled collector can work properly. Patch by Marria Nazif <marria@gmail.com>, r=me.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195422 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 04:18:57 +00:00
bryner%brianryner.com
2fe4cc83f4 Redo the way that collectors are created and destroyed to be more stable and extensible (bug 335120). Collectors are now instantiated by contract id and held onto by the metrics service directly. r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195333 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:03:51 +00:00
bryner%brianryner.com
d45ddc5123 Work around lack of toplevel-window-ready in Firefox 1.5 by using a timer callback when we see a domwindowopened notification (bug 334892) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195028 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 02:05:32 +00:00
darin%meer.net
bcc942c283 fixes bug 334044 "build metrics as standalone extension" r+a=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194639 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:37:50 +00:00
bryner%brianryner.com
5473cc3dd2 Separate the window ID map from the window collector, so that there's not a dependency between the collectors (bug 331508), r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193076 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 22:51:31 +00:00
bryner%brianryner.com
4dffb04155 - attach a session id to each logged event
- move the bulk of MetricsService startup to the profile-after-change  notification, so that it can read and write profile prefs.
- don't start up all collectors at startup, just the ones we were told to enable. make the collectors handle repeated startup or shutdown calls.
- move log flushing from xpcom-shutdown to quit-application to avoid DOM serializer crashes
- default to no event limit, if the server doesn't give a limit
- avoid a debug warning if there's no config file present at startup

bug 331166, r=marria


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192869 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 21:35:14 +00:00
bryner%brianryner.com
6de940c90f Landing the metrics extension on the branch. This code will be kept in sync with the trunk via cross-commit. Bug 329287, not part of default build.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191878 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 05:16:31 +00:00