Gecko engine for Wine
Go to file
Felix Fung 5730c65256 Bug 397424 - Downloads cause high CPU usage. r=gavin
This addresses an issue with the download manager that can cause high CPU usage
when there is an active download.  The underlying issue is the frequency of
updates that the download progress listener receives.
Things changed:
- reduced the number of null checks in DownloadUtils.jsm's getDownloadStatus
  function by one (down to two from three).
- obtain and format strings from the nsIStringBundle.  This removes all the
  calls to String.replace in DownloadUtils.jsm.
- modifies the download manager back-end to update the percentComplete and size
  property on downloads before dispatching a state changed notification for
  downloads entering the DOWNLOAD_DOWNLOADING state.  This saves us two calls to
  setAttribute on downloads that we know how big they are, and saves us the same
  two calls to setAttribute for indeterminate downloads as well as not
  dispatching a ValueChange event on the progressmeter every time
  onProgressChange is called on the DownloadProgressListener.
- has nsDownload implement nsIClassInfo so we do not need to QueryInterface when
  going through the list of active downloads in both the download manager's UI
  and the browser's taskbar UI.
2011-11-03 15:25:55 -07:00
accessible bug 375564 - remove mac 10.4 ifdefs from a11y r=davidb 2011-11-02 17:18:31 -04:00
browser Bug 397424 - Downloads cause high CPU usage. r=gavin 2011-11-03 15:25:55 -07:00
build Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
caps Bug 525468 - nsIPrincipal.origin based on asciiHost, r=bz 2011-11-02 17:18:53 +01:00
chrome Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
config Bug 632630 - Should add debug flag of assembler obj when MOZ_DEBUG_SYMBOLS. r=khuey 2011-11-04 11:59:47 +09:00
content Bug 693212 - crash test. r=test-only 2011-11-04 19:05:35 +01:00
db/sqlite3 Bug 414946 - Don't link sqlite with mozutils on OSX. r=khuey 2011-10-05 09:03:44 +02:00
dbm
docshell Back out 65ffdabf1b6b (bug 698656) for orange, and lots of it 2011-10-31 20:03:26 -07:00
dom Bug 693212 - Fix "Assertion failure: !cx->isExceptionPending()" by adding a missing ReportPendingException() call. r=bzbarsky 2011-11-04 19:05:35 +01:00
editor Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz 2011-10-29 22:21:20 +02:00
embedding Bug 696038 - (3/3) Battery API Android backend. r=cjones 2011-11-02 16:36:44 +01:00
extensions Bug 684638 part 5. When we have an event posted to spell-check the whole document, suppress other spell-check events. r=ehsan 2011-11-04 01:32:09 -04:00
gfx Bug 699420 - Update OTS to r74; r=jfkthame 2011-11-04 01:26:56 +00:00
hal Bug 696041 - Battery API backend for linux with upower. r=karlt,cjones sr=roc 2011-11-03 11:33:31 +01:00
image Bug 695421 - Some reftests with invalid width and height in the ICO header. r=joe 2011-11-04 09:57:24 -04:00
intl Bug 699009 - Remove MOZ_USE_NATIVE_UCONV. r=smontagu 2011-11-04 11:59:04 +09:00
ipc Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
js Bug 698495 followup: deal with uint32 being inconsistently defined by JS and NSPR in ways that break the Win64 build. r=waldo pending 2011-11-04 13:57:39 -04:00
layout Bug 671484 - Change 'ABORT: root should not have auto-height containing block' into an assertion for now to avoid aborting fuzz testing. r=roc 2011-11-04 19:05:35 +01:00
media Bug 696390 - Fix libvpx splitmv clamping, r=cpearce 2011-11-02 15:31:10 -07:00
memory Bug 699101 - Warn when NO_MAC_JEMALLOC is set on i386 machines, because it doesn't work there. r=khuey 2011-11-04 11:41:53 -04:00
mfbt Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
mobile Bug 699009 - Remove MOZ_USE_NATIVE_UCONV. r=smontagu 2011-11-04 11:59:04 +09:00
modules Bug 699459 - Add a pref to disable Battery API. r=sicking 2011-11-04 00:31:32 +01:00
netwerk bug 599295 r=jduell 2011-11-02 17:43:27 -04:00
nsprpub Update NSPR to NSPR_4_9_BETA4 tag. Fixes bug 681558, bug 675593, bug 674277, bug 481815 2011-11-03 15:13:17 -04:00
other-licenses Bug 577867 - Add CityHash NSIS extension to build. r=rstrong 2011-11-03 09:39:50 -05:00
parser Bug 699749 - Avoid the term "astral" in error messages. r=l10n. 2011-11-04 15:36:29 +02:00
probes
profile Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
rdf Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
security Bug 675221: Remove XPCOM proxy header #includes from PSM, r=kaie 2011-11-02 21:17:54 -07:00
services Bug 698792 - don't have TPS logout of Sync, a=testonly, DONTBUILD, CLOSED TREE 2011-11-01 13:45:25 -07:00
startupcache Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz 2011-11-03 16:39:08 -04:00
storage Bug 672324 - Fix test for bug 650509 (Other apps can read Firefox profile files). r=mak77 2011-11-04 17:40:25 +09:00
testing Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
toolkit Bug 397424 - Downloads cause high CPU usage. r=gavin 2011-11-03 15:25:55 -07:00
tools Bug 696376 - If stacks_enabled is false, only walk the stack on OS X 32 bits. r= 2011-11-04 09:49:48 -04:00
uriloader Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
view Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
widget Bug 503879, remove nsIToolkit, additinal windows only changes which simplify message handling, patch by robarnold, r=jmathies 2011-11-03 16:39:07 -04:00
xpcom Bug 693240 Use *((PRUint32*)ap) instead of *((bool*)ap) for big endian machines r=glandium 2011-11-04 16:55:21 +08:00
xpfe Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
xpinstall Pick up a few straggler uses of {NS,JS}_ARRAY_LENGTH, probably added since the switch but before the deprecation announcement, and convert them to mozilla::ArrayLength. Also convert the two users of PR_ARRAY_SIZE, yet another length-computing macro, to mozilla::ArrayLength. No bug, r=sparky 2011-10-21 03:16:47 -07:00
xulrunner Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
.gitignore Bug 676599. Add .gitignore. r=ted 2011-10-26 12:25:40 -04:00
.hgignore Bug 686354 - hgignore addition for Vim swap files. r=ted 2011-09-12 17:25:24 -07:00
.hgtags Bug 682805, add tag UPDATE_PACKAGING_R15 (on R14), a=legneato DONTBUILD 2011-10-26 12:09:03 +13:00
aclocal.m4 Bug 687766 part 1: Remove build-time dependency on libIDL. r=khuey 2011-09-27 10:09:54 +02:00
allmakefiles.sh Back out cb715f8a1363 (bug 680246) because of Win opt build failures on a CLOSED TREE 2011-09-30 20:43:13 -07:00
client.mk Bug 684617 client.mk runs configure twice r=khuey 2011-09-07 20:08:36 +01:00
client.py Bug 599748 - Remove custom |def check_call()|, now that Python 2.4 is unsupported; (Av1) Remove 'util.py'. 2011-04-14 15:44:13 +02:00
configure.in Bug 669061: Upgrade Mozilla to NSS 3.13.1, r=wtc 2011-11-02 20:54:18 -07:00
LEGAL
LICENSE Bug 547914 - Replace /LICENSE with a mention of where the canonical license info lives, and stop shipping it with binaries, r=gerv,shaver 2010-02-23 09:37:07 -08:00
Makefile.in Bug 677897 - Use objcopy from the NDK in symbolstore.py. r=ted 2011-10-06 09:08:14 +02:00
README.txt added nightly.mozilla.org mention to README.txt, pushing to a CLOSED TREE, a=davidb 2011-03-30 08:23:52 -03:00

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/