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

59 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com e8f9a40fef 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 8636f2e38e log some stats about bookmark usage (bug 338016) r=marria,brettw 2006-05-25 22:41:16 +00:00
bryner%brianryner.com 0a24e504f5 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 d83d8be3da 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 0417c079f4 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 010209f554 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 cf29ea8ec1 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 825efb5bb9 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 6cd3d255c3 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 6fb2767163 - 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 ab93947737 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 bdf68a8e0e Unit test for MetricsEventItem (bug 332449) r=marria 2006-05-02 17:58:33 +00:00
bryner%brianryner.com c2bf26b418 fix build bustage (bug 336199) r=marria 2006-05-02 00:24:04 +00:00
bryner%brianryner.com aafeda432b 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 b9e219d724 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 a8d3072bce 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 4a48d066a1 fix MSVC6 build (bug 335120) r=marria 2006-04-26 20:37:19 +00:00
bryner%brianryner.com dad081af71 Strip cookies from upload requests (bug 335455) r=marria 2006-04-26 19:21:28 +00:00
bryner%brianryner.com a99dd6b675 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 589c17408d 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 7dc4ee2932 Don't unnecessarily truncate the memory size (bug 335119) r=marria 2006-04-24 02:45:27 +00:00
bryner%brianryner.com e4fc8985d5 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 d0d4fd3cca 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 5f3fa58c8d fix mac bustage 2006-04-21 01:54:13 +00:00
bryner%brianryner.com 478e6d3c17 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 41e9e8692c 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 2e65e639a5 remove unneeded include of nsIUUIDGenerator.h (bug 334750) r=marria 2006-04-20 23:25:32 +00:00
bryner%brianryner.com 3c071fede6 Change from nsMemory::Free to NS_Free (bug 329871) r=darin 2006-04-20 22:33:09 +00:00
bryner%brianryner.com 95f8758ad7 Add some missing includes (bug 329871) r=darin 2006-04-20 22:31:27 +00:00
bryner%brianryner.com 9f55f10b08 Add support for profile events (bug 329871), r=marria. 2006-04-20 18:31:05 +00:00
bryner%brianryner.com 5e767aadb6 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 74ae19e592 Fix libbz2 stream usage so that compression works again (bug 334768). r=darin. 2006-04-20 17:25:52 +00:00
darin%meer.net 23c4744aa8 fixes bug 334774 "reset mEventCount upon upload" r=bryner 2006-04-20 05:07:59 +00:00
bryner%brianryner.com 451da54c73 Fix assertions from nsMetricsEventItem::SetProperties() (bug 334044). r=darin. 2006-04-19 01:07:18 +00:00
darin%meer.net 3d7fad9c83 fixes bug 334044 "build metrics as a standalone extension" r=bryner 2006-04-18 22:36:26 +00:00
bryner%brianryner.com 16c6df3a80 fixing branch compile error (bug 333079) r=marria 2006-04-07 02:03:14 +00:00
bryner%brianryner.com aca3b4c231 Add support for logging nested data structures with events (bug 332172). r=marria. 2006-04-01 00:06:41 +00:00
bryner%brianryner.com 75c2b6cf14 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 79790c083b 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 f4d5f8fe3c change <load> event to <document action='load'> for consistency (bug 330711). r=marria 2006-03-25 02:34:17 +00:00
bryner%brianryner.com db9184041d fix metrics build on the 1.8 branch, where NS_ASSIGNMENT_COPY is not defined (bug 331622). patch by darin, r=me. 2006-03-24 19:00:20 +00:00
bryner%brianryner.com 24074e3d8b - 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
2006-03-23 21:34:00 +00:00
bryner%brianryner.com ded7c30864 Go back to the attribute-based approach for client id (bug 330712), r=darin. 2006-03-23 20:33:58 +00:00
bryner%brianryner.com a6728de24f fixing bad assertion bustage, bug 330712 2006-03-22 18:19:06 +00:00
bryner%brianryner.com c7a4820900 #ifdef'ing new include for the branch 2006-03-22 04:59:11 +00:00
bryner%brianryner.com 7d279f4e5c Generate a client ID and send it in an HTTP header (bug 330712) r=darin 2006-03-22 02:53:05 +00:00
darin%meer.net cc3b41a11c fixes bug 328125 "Add support for dynamic configuration and throttling" r=bryner 2006-03-17 02:58:16 +00:00
bryner%brianryner.com 41e6c02b2f Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
darin%meer.net 4087d000df fixes bug 328068 "[osx] gather memory usage data for load events" r=bryner 2006-03-15 00:25:05 +00:00
darin%meer.net b0ba7d76d7 fixes bug 328068 "gather memory usage data for load events" r=bryner 2006-03-08 15:09:25 +00:00