Commit Graph

5103 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
f2b6131ff6 Bug 780483 - Tests. r=froydnj 2012-08-30 18:03:06 -04:00
David Rajchenbach-Teller
0e1e714c5c Bug 780483 - Make {read, write} become {_read, _write} and {readTo, writeFrom} become {read, write}. r=froydnj 2012-08-30 18:03:06 -04:00
Brian R. Bondy
e5dea77d70 Bug 785744 - Async file picker cleanup. r=neil 2012-08-29 14:37:43 -04:00
Landry Breuil
26986d4dea Bug 785738 Part 6: use PRTime where appropriate, and add reinterpret_casts to int64_t in corresponding GetInt64 calls. r=ehsan
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:
In member function 'bool nsNavHistory::FindLastVisit(nsIURI*, int64_t*,
PRTime*, int64_t*)':
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:619:
error: invalid static_cast from type 'PRTime*' to type 'int64_t*'
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:
In member function 'bool
nsNavHistory::CheckIsRecentEvent(nsDataHashtable<nsCStringHashKey, long
long int>*, const nsACString_internal&)':
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:4360:
error: invalid static_cast from type 'PRTime*' to type 'int64_t*'
2012-08-30 09:10:49 +02:00
Landry Breuil
d4d6157146 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Mark Hammond
8df594e851 Bug 786085 - fix intermittent orange in browser_notifications.js. r=gavin 2012-08-30 16:49:50 +10:00
Ryan VanderMeulen
5a69b0a918 Backout 84103a267a9e (bug 785200) due to debug orange on a CLOSED TREE. 2012-08-29 18:37:17 -04:00
Abhishek Potnis
8e63d297e5 Bug 785200 - Conditioned logging in osfiles with exports.OS.Shared.DEBUG. r=dteller 2012-08-29 14:12:23 +05:30
Nathan Froyd
9cd7beb2c1 Bug 748444 - eliminate relocations from histogram data; r=taras 2012-08-28 12:55:32 -04:00
Nathan Froyd
23fa494b36 Bug 764585 - make enumerated histograms harder to get wrong; r=taras 2012-08-28 13:21:56 -04:00
David Rajchenbach-Teller
65719a4f7f Bug 785828 - Load libxul.so lazily in OS.Shared. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
a7c531b1ca Bug 784373 - Test setPosition without optional argument. r=froydnj 2012-08-28 13:23:47 -04:00
David Rajchenbach-Teller
fbfbf26fa2 Bug 784373 - Fixed typo: SEEK_START => SEEK_SET. r=froydnj 2012-08-28 13:23:47 -04:00
Nathan Froyd
a6c49999cf Bug 785959 - change several linear histograms to enumerated ones; r=taras 2012-08-27 14:05:57 -04:00
Nathan Froyd
bb8dfe3874 Bug 785964 - NEWTAB_PAGE_PINNED_SITES_COUNT should be an enumerated histogram. r=ttaubert 2012-08-27 14:15:47 -04:00
Nathan Froyd
bd740b8d2a Bug 748417 - double-check Python-generated range-information; r=taras 2012-08-27 16:47:32 -04:00
Nathan Froyd
e3eb1f1195 Bug 748417 - provide a proper Histogram class; r=taras 2012-08-23 16:32:34 -04:00
Paul Adenot
55730cebcd Bug 761393 - Add telemetry probes to guess the retention time. r=taras 2012-08-26 21:12:36 -07:00
Paul Adenot
af04b2790e Bug 782459 - Generalize the telemetry AutoTimer RAII class to provide multiple resolution. r=taras 2012-08-26 21:11:55 -07:00
Marshall Culpepper
c8db8050ae Bug 764683: Manage /system mount permissions when applying Gecko updates in B2G, and download them to /data/local. r=rstrong r=bbondy r=cjones 2012-08-27 12:27:14 -03:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Shane Caraveo
9cd6d3d4d3 Bug 784535 - enable opening chats from worker. r=jaws 2012-08-26 16:51:24 -07:00
Shane Caraveo
a037408b20 Bug 774506 - Implement toast notification support. r=jaws 2012-08-26 16:46:45 -07:00
Brian R. Bondy
45bfaeffeb Bug 784842 - Add the new async nsIFilePicker::open to the XUL file picker. r=roc 2012-08-24 07:55:08 -04:00
David Rajchenbach-Teller
ca1a728fc9 Bug 771617 - Tests for readTo/writeFrom/readAll. r=froydnj 2012-08-25 17:18:44 -04:00
David Rajchenbach-Teller
a90159d61b Bug 771617 - Fix WinFile.{ReadFile, WriteFile} to accept void*. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
f43abd5010 Bug 771617 - OS.File.prototype.{readTo, writeFrom, readAll}. r=froydnj 2012-08-25 17:18:43 -04:00
David Rajchenbach-Teller
efba2518c7 Bug 771617 - Refactoring to better share code between implementations of OS.File. r=froydnj 2012-08-25 17:18:43 -04:00
Shane Caraveo
f53332ee80 Bug 779923 - implement social activity flyout panel. r=jaws 2012-08-23 17:11:02 -07:00
Mark Hammond
9701ecf307 Bug 783410 - prevent social URLs from ending up in global history. r=gavin 2012-08-25 13:54:03 +10:00
Felipe Gomes
55b9ce1b55 Bug 782468. Basic telemetry for SocialAPI. r=froydnj,mixedpuppy 2012-08-24 17:24:52 -07:00
David Rajchenbach-Teller
9ee8ed57ee Bug 783676 - Export OS.Path (companion test suite). r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
89bde2c5b1 Bug 783676 - Normalize "../../..". r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
326e47e183 Bug 783676 - Export OS.Path. r=taras 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
8795bbf704 Bug 761138 - Create/remove directories (testsuite). r=froydnj 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
57d1134ed4 Bug 761138 - Create/remove directories (Windows version). r=froydnj 2012-08-24 16:18:15 -04:00
David Rajchenbach-Teller
300050b577 Bug 761138 - Create/remove directories (Unix version). r=froydnj 2012-08-24 16:18:15 -04:00
Nathan Froyd
15ab57a68b Bug 781531 - generate histogram information from JSON; r=taras 2012-08-24 15:54:55 -04:00
Brian R. Bondy
45c4c5ef77 Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal 2012-08-23 22:23:10 -04:00
Luke Wagner
ca5e3432ef Bug 625199 - Convert one more JSAutoEnterCompartment in ObserverPair.h (r=bustage) 2012-08-23 18:13:08 -07:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Nathan Froyd
c31911aafd Bug 781200 - fixup several cache histograms; r=bsmith,hurley 2012-08-23 13:23:03 -04:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Nathan Froyd
5a0bd9d7ca Bug 764190 - fix PLACES_EXPIRATION_STEPS_TO_CLEAN telemetry; r=taras,mak 2012-08-07 15:46:39 -04:00
Ehsan Akhgari
da56516b3c Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-23 11:30:56 -04:00
Ed Morley
a9b1f4197e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-23 11:29:20 +01:00
Tim Taubert
5c6f1513a0 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Blair McBride
381797b2c1 Bug 775072 - Inline autocomplete munges URLs that contain characters that would normally be escaped. r=mak 2012-08-23 00:44:19 +12:00
Phil Ringnalda
9dd734f9d1 Back out cbb72643bbae (bug 723362) for leaking 2012-08-20 20:28:19 -07:00
Shane Caraveo
983d9c226d Bug 779686 - implement docked chat content areas, r=felipe
--HG--
extra : transplant_source : c%29h%B5%89%27%F3S%C0%B6%CB%82%A27%3C%0D%AEL%14V
2012-08-20 17:52:26 -07:00
Jared Wein
346ea2fdee Bug 779360 - Implement mozSocial.isVisible API for social sidebar window, r=felipe
--HG--
extra : transplant_source : %1FB%A6T%7B%9D%60T%E6%95%CD%A7%27%E5%00%60%A5%B8%84%F8
2012-08-20 14:18:50 -07:00
Michal Novotny
e0dd387b14 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-08-21 03:30:40 +02:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola
7ab935bae1 Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Vladan Djeric
19580422cb Bug 779310: Remove string literals from slowSql reports. r=taras 2012-08-21 15:29:28 -04:00
Gian-Carlo Pascutto
9b64357c0e Bug 779687 - Add detection for ARMv7 CPUs. r=dougt 2012-08-21 13:20:46 +02:00
Gian-Carlo Pascutto
781e4da933 Bug 779687 - Telemetry around Fennec OOM kills. r=blassey 2012-08-21 13:20:26 +02:00
Brian R. Bondy
9eadcef903 Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal 2012-08-20 08:08:46 -04:00
David Rajchenbach-Teller
aae499be46 Bug 782303 - Serialize directory entries. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
78915f7eb1 Bug 776259 - Serialize file info. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
a9d944b960 Bug 771929 - Serialize numbers. r=froydnj 2012-08-18 12:26:35 -04:00
David Rajchenbach-Teller
9e6cb7e3a2 Bug 783284 - [OS.File] Rename *Time to *Date. r=froydnj 2012-08-18 08:25:49 -04:00
Bill McCloskey
ca6a8c8bbc Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8) 2012-08-17 18:44:54 -07:00
Bill McCloskey
8bb5f2651f Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures 2012-08-17 12:55:52 -07:00
Bill McCloskey
b34884ecdf Bug 783147 - Send telemetry about SCC GC times (r=mccr8) 2012-08-17 10:05:11 -07:00
David Rajchenbach-Teller
99e34b8691 Bug 780501 - Path types for OS.File;r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
481b4a6df6 Bug 771928 - Test OS.File pointer arithmetic. r=froydnj 2012-08-16 22:05:30 -04:00
David Rajchenbach-Teller
ea388b9318 Bug 771928 - OS.File pointer arithmetics. r=froydnj 2012-08-16 22:05:30 -04:00
Nathan Froyd
39694228e3 Bug 783050 - tweak STARTUP_MEASUREMENT_ERRORS histogram definition; r=taras 2012-08-15 15:06:06 -04:00
Nathan Froyd
bb1855d6d3 Bug 779298 - part 2: fix fetching of lastShutdownDuration and add a test; r=taras 2012-08-02 10:57:59 -04:00
Nathan Froyd
449735ba4a Bug 779298 - part 1: store shutdown times in profile directory and initialize class members; r=dougt 2012-08-01 12:06:28 -04:00
Ed Morley
19f841495d Backout c4b249ca469b & 5bd90df027d0 (bug 779298) for assertions on OS X 2012-08-16 17:00:10 +01:00
Nathan Froyd
3a151ada0a Bug 782117 - part 2: don't save pings that already exist on disk; r=taras 2012-08-13 09:26:24 -04:00
Nathan Froyd
1c8371b1b2 Bug 782117 - part 1: don't use safe-file-output-stream when writing ping data; r=taras 2012-08-15 13:16:08 -04:00
Nathan Froyd
be43485333 Bug 779298 - part 2: fix fetching of lastShutdownDuration and add a test; r=taras 2012-08-02 10:57:59 -04:00
Nathan Froyd
37667e07ef Bug 779298 - part 1: store shutdown times in profile directory and initialize class members; r=dougt 2012-08-01 12:06:28 -04:00
Nathan Froyd
d243b95459 Bug 782373 - use HISTOGRAM_BOOLEAN more consistently; r=taras
--HG--
extra : rebase_source : 5ab66c02696a4e7a595504dcf4f72e3f44380325
2012-08-13 14:49:10 -04:00
Aryeh Gregor
0a8f6b4783 Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Andrew Hurle
97def80127 Bug 634139 - Add a service for finding the representative color in an image. r=MattN
--HG--
extra : rebase_source : 111c2a3e6b0abfd8b75b90afbe5e736f80ff2939
2012-08-03 14:18:00 -07:00
Gian-Carlo Pascutto
dc55f14bc5 Bug 673470 - Update the new SafeBrowsing code to MPL 2.0. r=dcamp 2012-08-15 09:10:56 +02:00
Gian-Carlo Pascutto
fd79fd27b0 Bug 673470 - Skip chunks we already have during merges. r=dcamp 2012-08-15 09:10:39 +02:00
Gian-Carlo Pascutto
e66cc5f615 Bug 673470 - Simplify PrefixSet by removing (unneeded) thread safety. r=dcamp 2012-08-15 09:10:24 +02:00
Gian-Carlo Pascutto
656e57f541 Bug 738533 - Replace NS_QuickSort use by qsort. r=dcamp 2012-08-15 09:10:07 +02:00
Gian-Carlo Pascutto
b3ffcf582f Bug 750625 - crash in nsUrlClassifierPrefixSet::GetPrefixes. r=dcamp 2012-08-15 09:09:53 +02:00
Gian-Carlo Pascutto
250fc55156 Bug 673470 - Remove some unneeded PromiseFlatCString. r=dcamp 2012-08-15 09:09:40 +02:00
Gian-Carlo Pascutto
32e2eaa965 Bug 673470 - Make the PrefixSet/LookupCache construction infallible again. r=dcamp f=jlebar 2012-08-15 09:09:25 +02:00
Gian-Carlo Pascutto
a4e635e69a Bug 673470 - Expire SubPrefixes that can't do anything immediately. r=dcamp 2012-08-15 09:08:51 +02:00
Gian-Carlo Pascutto
e8070ad271 Bug 673470 - Don't resort if not needed. Fix comparator. Cleanups. r=dcamp 2012-08-15 09:08:37 +02:00
Gian-Carlo Pascutto
d343cbac15 Bug 673470 - Fix wrong order of arguments to KeyedHash function. r=dcamp 2012-08-15 09:08:23 +02:00
Gian-Carlo Pascutto
792fd20ea2 Bug 673470 - Fix order of SubPrefix Knockouts. r=dcamp 2012-08-15 09:08:09 +02:00
Gian-Carlo Pascutto
fb781f9dfa Bug 673470 - Remove unused compare functions. r=dcamp 2012-08-15 09:07:56 +02:00
Gian-Carlo Pascutto
d221c8cfb3 Bug 673470 - Fix inconsistent variable naming. r=dcamp 2012-08-15 09:07:36 +02:00
Gian-Carlo Pascutto
417d61322a Bug 673470 - Fix format description in HashStore.cpp. r=dcamp 2012-08-15 09:07:23 +02:00
Gian-Carlo Pascutto
ee6d11560d Bug 768871 - Provide an option to disable per-client randomization. r=dcamp 2012-08-15 09:07:10 +02:00
Gian-Carlo Pascutto
144c10fd4e Bug 730247 - Use byteslice coding for SafeBrowsing data. r=dcamp 2012-08-15 09:06:54 +02:00
Gian-Carlo Pascutto
a824d46c0a Bug 729640 - Fix broken UrlClassifier assertion. r=dcamp 2012-08-15 09:05:32 +02:00
Gian-Carlo Pascutto
952775e4c5 Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp 2012-08-15 09:05:18 +02:00
Gian-Carlo Pascutto
d705e725b0 Bug 726002 - More OOM handling in UrlClassifier. r=dcamp 2012-08-15 09:05:08 +02:00
Gian-Carlo Pascutto
1caaad7538 Bug 725597 - SafeBrowsing fails to update persistent PrefixSet on Windows. r=dcamp 2012-08-15 09:04:51 +02:00