Commit Graph

60 Commits

Author SHA1 Message Date
bryner%brianryner.com
66fc0738d0 Fix trunk Places build (branch Places build is unsupported)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206894 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 17:57:51 +00:00
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
26319fd0fd Add a subframe attribute for document events (bug 347305) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206615 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 19:24:07 +00:00
bryner%brianryner.com
d8be6c5a37 Collect better data about bookmark usage (bug 346609) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206251 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 02:26:30 +00:00
bryner%brianryner.com
142a1b8fa2 Stop collection and clean up when the metrics.upload.enable pref is set to false (bug 344366) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201950 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 16:54:18 +00:00
bryner%brianryner.com
b6dda77631 Suppress uploading while idle, up until a next-ping time (bug 333381) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200772 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 00:17:03 +00:00
bryner%brianryner.com
d5e849f657 Don't exit early from ProfileStartup just because the event count pref doesn't exist (bug 341438) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@199847 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 22:46:07 +00:00
bryner%brianryner.com
5c92660570 Initialize member variables earlier, in case the observer service notifications don't happen in the expected order (bug 341318) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@199829 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 20:01:59 +00:00
bryner%brianryner.com
d172d1452b Improve handling of server and network errors (bug 335965) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198859 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 06:06:54 +00:00
bryner%brianryner.com
091dc1a8d1 enable sourceEvent code on the branch now that bug 336696 has landed
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198445 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 06:31:20 +00:00
bryner%brianryner.com
5f3ff9cad0 Pull in md5.c directly to avoid early NSS initialization (bug 338590) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198435 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 23:02:18 +00:00
(no author)
e50eecaa62 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198434 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 22:59:33 +00:00
bryner%brianryner.com
9f8abaa75f Pull in md5.c directly to avoid early NSS initialization (bug 338590) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198433 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 22:59:32 +00:00
bryner%brianryner.com
6ff7a04c08 log some stats about bookmark usage (bug 338016) r=marria,brettw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198431 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 22:41:16 +00:00
bryner%brianryner.com
e05f4627eb log the source of a command event if it was retargeted (bug 338591) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198426 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 21:27:11 +00:00
bryner%brianryner.com
fe026413aa Add a document destroy event, and number documents so that it can be matched up with the load event (bug 335842) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198410 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 20:05:06 +00:00
bryner%brianryner.com
45fea00ac7 fixing bustage - don't use AutoString since it's not a frozen string API
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198195 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 20:32:52 +00:00
bryner%brianryner.com
fa39faf21f Include a hash of the document URL for chrome:// loads, to distinguish between known XUL documents (bug 335841) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198101 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-20 22:49:52 +00:00
bryner%brianryner.com
b886dec7f6 Hook up the command event listener to existing windows when the collector is attached (bug 336525) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198098 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-20 21:37:50 +00:00
bryner%brianryner.com
82783da036 Don't log origin=other, just leave it off instead (bug 337234) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196238 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-09 23:04:38 +00:00
bryner%brianryner.com
abe764d755 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.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196201 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-09 00:09:13 +00:00
bryner%brianryner.com
b27503801f - 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.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195834 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 19:53:28 +00:00
bryner%brianryner.com
8306b5cf70 Log a hash of the plugin filename as well as the display name (bug 336163) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195825 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 19:21:36 +00:00
bryner%brianryner.com
b965acb316 fix build bustage (bug 336199) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195787 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 00:24:14 +00:00
bryner%brianryner.com
222d73aca8 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
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195741 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-30 19:22:28 +00:00
bryner%brianryner.com
f7492e783f Tag metrics upload channels using the property bag API, rather than trying to keep a reference to our pending channel (bug 335850) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195720 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-29 21:17:36 +00:00
bryner%brianryner.com
f06a5327dc Make sure to call GetMemUsage_Shutdown when the load collector goes away (bug 335480) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195463 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 20:41:13 +00:00
bryner%brianryner.com
87d73df08b fix MSVC6 build (bug 335120) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195461 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 20:37:19 +00:00
bryner%brianryner.com
56ae7e64da Strip cookies from upload requests (bug 335455) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195454 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:22:07 +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
bd63a36431 Don't unnecessarily truncate the memory size (bug 335119) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195216 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 02:45:37 +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
5b2004993f fix mac bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195025 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:54:13 +00:00
bryner%brianryner.com
713bbb08ed Address a review comment by keeping a reference to the metrics service (bug 329871), r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195018 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:32:44 +00:00
bryner%brianryner.com
2efcb930f4 remove unneeded include of nsIUUIDGenerator.h (bug 334750) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195011 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 23:25:37 +00:00
bryner%brianryner.com
278cff5157 Change from nsMemory::Free to NS_Free (bug 329871) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195002 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 22:33:09 +00:00
bryner%brianryner.com
7d04039d91 Add some missing includes (bug 329871) r=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195001 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 22:31:27 +00:00
bryner%brianryner.com
db79f28b9d Add support for profile events (bug 329871), r=marria.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194982 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 18:31:58 +00:00
bryner%brianryner.com
4f03a5c300 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.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194980 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 17:36:06 +00:00
bryner%brianryner.com
734869d5bb Fix libbz2 stream usage so that compression works again (bug 334768). r=darin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194979 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 17:26:03 +00:00
darin%meer.net
6f006d43db fixes bug 334774 "reset mEventCount upon upload" r+a=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194952 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 05:08:48 +00:00
bryner%brianryner.com
1037fa5db7 Fix assertions from nsMetricsEventItem::SetProperties() (bug 334044). r=darin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194648 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 01:07:37 +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
471bb6f858 fixing branch compile error (bug 333079) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193777 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 02:03:14 +00:00
bryner%brianryner.com
1ce999409b Add support for logging nested data structures with events (bug 332172). r=marria.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193361 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 00:10:07 +00:00
bryner%brianryner.com
9f063b0001 fix usage of mEventSet prior to initializing it (regression from bug 331166) r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193095 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 01:40:51 +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
f02d37ac7c change <load> event to <document action='load'> for consistency (bug 330711). r=marria
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192974 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 02:35:59 +00:00
bryner%brianryner.com
788acccc4c fix metrics build on the 1.8 branch, where NS_ASSIGNMENT_COPY is not defined (bug 331622). patch by darin, r=me.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192931 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 19:00:58 +00:00