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

69 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com b5bb524f37 Stop collection and clean up when the metrics.upload.enable pref is set to false (bug 344366) r=marria 2006-07-12 16:54:18 +00:00
cvshook%sicking.cc 2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
bryner%brianryner.com 8e54ca6b3f Suppress uploading while idle, up until a next-ping time (bug 333381) r=darin 2006-06-24 00:16:51 +00:00
bryner%brianryner.com c3a0a668ca fix trunk build 2006-06-23 18:51:53 +00:00
bzbarsky%mit.edu 9509962b32 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin
2006-06-19 21:02:12 +00:00
bryner%brianryner.com 5472b873cc sync with the branch (removing #ifdef) 2006-06-16 01:53:10 +00:00
bryner%brianryner.com 3f5f91c26c Don't exit early from ProfileStartup just because the event count pref doesn't exist (bug 341438) r=marria 2006-06-13 22:46:07 +00:00
bryner%brianryner.com bed2226d47 Initialize member variables earlier, in case the observer service notifications don't happen in the expected order (bug 341318) r=marria 2006-06-13 20:01:59 +00:00
bryner%brianryner.com 644d3762a9 Add missing IS_COMPONENT=1, fixes build regression from bug 335965. r=marria 2006-06-05 19:50:13 +00:00
bryner%brianryner.com ef02e3e3de Improve handling of server and network errors (bug 335965) r=marria 2006-06-02 06:06:54 +00:00
bryner%brianryner.com 4ad105cdbf Pull in md5.c directly to avoid early NSS initialization (bug 338590) r=darin 2006-05-25 22:58:03 +00:00
bryner%brianryner.com 505b01b9e9 log some stats about bookmark usage (bug 338016) r=marria,brettw 2006-05-25 22:41:16 +00:00
bryner%brianryner.com 505d843801 log the source of a command event if it was retargeted (bug 338591) r=marria 2006-05-25 21:27:07 +00:00
bryner%brianryner.com 52f69657b5 Add a document destroy event, and number documents so that it can be matched up with the load event (bug 335842) r=marria 2006-05-25 20:05:06 +00:00
bryner%brianryner.com 8df17f7e8b fixing bustage - don't use AutoString since it's not a frozen string API 2006-05-22 20:32:46 +00:00
bryner%brianryner.com ae5b528aac Include a hash of the document URL for chrome:// loads, to distinguish between known XUL documents (bug 335841) r=marria 2006-05-20 22:49:42 +00:00
bryner%brianryner.com 229cb1758f Hook up the command event listener to existing windows when the collector is attached (bug 336525) r=marria 2006-05-20 21:37:50 +00:00
bryner%brianryner.com af0d11fd8c Don't log origin=other, just leave it off instead (bug 337234) r=marria 2006-05-09 23:04:32 +00:00
bryner%brianryner.com bdf2027728 Fix crash due to not removing dead windows from the window map, by removing the correct pointer and making the hashtable key typesafe (bug 336780). r=marria. Not part of any default builds. 2006-05-09 00:09:13 +00:00
bryner%brianryner.com 3e3f29d9be - Check the HTTP response code before assuming the upload was successful
- Avoid a crash in the app restart case by canceling our upload timer in xpcom-shutdown rather than quit-application (which isn't received at all)
- Always loop over PR_GetRandomNoise until we have the required number of bytes.

Bug 335966, r=darin.
2006-05-02 19:52:36 +00:00
bryner%brianryner.com caf2f78e9a Log a hash of the plugin filename as well as the display name (bug 336163) r=marria 2006-05-02 19:21:23 +00:00
bryner%brianryner.com ed8c5bae4c Unit test for MetricsEventItem (bug 332449) r=marria 2006-05-02 17:58:33 +00:00
bryner%brianryner.com 2a811161cf fix build bustage (bug 336199) r=marria 2006-05-02 00:24:04 +00:00
bryner%brianryner.com 287ceb402b Change from using nsIUpdateTimerManager to a combination of normal timers and a pref-stored retry time in case of repeated errors. This fixes the seconds/milliseconds bug so that the upload timer fires at the right time. Also, flush the prefs file after we set prefs, in case of crash, and turn on NSPR logging in release builds. Bug 335890, r=marria 2006-04-30 19:22:28 +00:00
bryner%brianryner.com d8a102dbcd Tag metrics upload channels using the property bag API, rather than trying to keep a reference to our pending channel (bug 335850) r=darin 2006-04-29 21:17:36 +00:00
bryner%brianryner.com 53d8b1407e Make sure to call GetMemUsage_Shutdown when the load collector goes away (bug 335480) r=marria 2006-04-26 20:41:09 +00:00
bryner%brianryner.com f63f050b59 fix MSVC6 build (bug 335120) r=marria 2006-04-26 20:37:19 +00:00
bryner%brianryner.com 89cb5787e8 Strip cookies from upload requests (bug 335455) r=marria 2006-04-26 19:21:28 +00:00
bryner%brianryner.com 67ac1db716 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. 2006-04-26 04:16:38 +00:00
bryner%brianryner.com 22ba033aa0 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 2006-04-25 04:00:40 +00:00
bryner%brianryner.com e60fb67cd7 Don't unnecessarily truncate the memory size (bug 335119) r=marria 2006-04-24 02:45:27 +00:00
bryner%brianryner.com 9e237614e6 Install metrics as a global extension if it's built (bug 334896). r=darin 2006-04-21 06:08:56 +00:00
bryner%brianryner.com 5e0e1947a2 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 2006-04-21 02:05:32 +00:00
darin%meer.net de6ca592ac fix mac bustage 2006-04-21 01:54:13 +00:00
bryner%brianryner.com 04e3a56d1a Address a review comment by keeping a reference to the metrics service (bug 329871), r=marria 2006-04-21 01:32:44 +00:00
darin%meer.net 344c13ee1c fixes bug 334873 "metrics.dll fails to link on windows" patch by bryner, r=darin 2006-04-21 01:26:14 +00:00
bryner%brianryner.com 76a576b446 remove unneeded include of nsIUUIDGenerator.h (bug 334750) r=marria 2006-04-20 23:25:32 +00:00
bryner%brianryner.com 6155ecee0e Change from nsMemory::Free to NS_Free (bug 329871) r=darin 2006-04-20 22:33:09 +00:00
bryner%brianryner.com b69372252d Add some missing includes (bug 329871) r=darin 2006-04-20 22:31:27 +00:00
bryner%brianryner.com ac3800ee1e Add support for profile events (bug 329871), r=marria. 2006-04-20 18:31:05 +00:00
bryner%brianryner.com 484bb7e786 Install a BadCertHandler to avoid prompting the user when there's an SSL cert mismatch. Add a pref for automatic accept of a different cert name. Bug 334783, r=darin. 2006-04-20 17:35:53 +00:00
bryner%brianryner.com 1136d6d9a9 Fix libbz2 stream usage so that compression works again (bug 334768). r=darin. 2006-04-20 17:25:52 +00:00
darin%meer.net 54f6bc3d00 fixes bug 334774 "reset mEventCount upon upload" r=bryner 2006-04-20 05:07:59 +00:00
bryner%brianryner.com 37bae83aa1 Fix assertions from nsMetricsEventItem::SetProperties() (bug 334044). r=darin. 2006-04-19 01:07:18 +00:00
darin%meer.net c256dfbe2b fixes bug 334044 "build metrics as a standalone extension" r=bryner 2006-04-18 22:36:26 +00:00
bryner%brianryner.com c0f9fdac7f fixing branch compile error (bug 333079) r=marria 2006-04-07 02:03:14 +00:00
bryner%brianryner.com 08f71c16e4 Add support for logging nested data structures with events (bug 332172). r=marria. 2006-04-01 00:06:41 +00:00
bryner%brianryner.com a7a6028139 fix usage of mEventSet prior to initializing it (regression from bug 331166) r=marria 2006-03-28 01:40:22 +00:00
bryner%brianryner.com 5dff8731c7 Separate the window ID map from the window collector, so that there's not a dependency between the collectors (bug 331508), r=marria 2006-03-27 22:48:14 +00:00
bryner%brianryner.com 0ec527b6ae change <load> event to <document action='load'> for consistency (bug 330711). r=marria 2006-03-25 02:34:17 +00:00