Commit Graph

77 Commits

Author SHA1 Message Date
bryner%brianryner.com
988d792046 Set FORCE_PR_LOG for this entire directory, if MOZ_LOGGING is defined (bug 347686) r=marria 2006-08-25 17:38:33 +00:00
bryner%brianryner.com
66f6c6967b Log autocomplete textentered events (bug 347686), r=marria 2006-08-24 01:22:10 +00:00
bryner%brianryner.com
2f21caaaf2 add a client data version stamp (bug 348746), r=marria 2006-08-23 22:46:29 +00:00
bryner%brianryner.com
4b41ac84eb Fix trunk Places build (branch Places build is unsupported) 2006-08-08 17:57:42 +00:00
bryner%brianryner.com
6243e5a2a0 Factor out subframe check and add it for window events (bug 347305) r=brettw 2006-08-07 18:46:24 +00:00
bryner%brianryner.com
1320edb8d4 Add a subframe attribute for document events (bug 347305) r=darin 2006-08-04 19:24:07 +00:00
bryner%brianryner.com
aa2cebba1d Collect better data about bookmark usage (bug 346609) r=marria 2006-08-01 02:26:30 +00:00
bzbarsky%mit.edu
83f73addbf Fix build bustage. Caused by bug 342062, but I put the patch in bug 344050 for
some reason.  r=bryner, sr=sicking
2006-07-25 02:26:30 +00:00
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