Gecko engine for Wine
Go to file
Ehsan Akhgari 1576e9507a Bug 1101337 - Make the ReplaceSubstring() XPCOM string API linear; r=froydnj
ReplaceSubstring() is an O(n*m) algorithm (n being the length of the
string and m being the number of occurrences of aTarget) because we have
to move the remainder of the string, search it again and potentially
memmove most of it again as we find more matches.  This patch rewrites
that function to make it O(n+m).

Note that we currently don't build TestStrings.cpp, so the test case in
this patch is not run automatically, but the test case has been verified
to pass separately by moving the test function into Gecko and calling it
during startup and stepping through it in the debugger.

--HG--
extra : rebase_source : b020e17c1973330b0dbbd6bf956c073cfdcb775e
2014-12-12 18:57:09 -05:00
accessible bug 1110510 - make sure to create and destroy proxies for documents r=surkov 2014-12-11 17:36:59 -05:00
addon-sdk Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures. 2014-12-11 11:28:30 -05:00
b2g Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
browser Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
build Bug 1047124 - Clean up memory leaks. r=BenWa 2014-12-11 09:41:00 -05:00
caps Bug 1110615 - Fix inheriting problem for blobs (r=sicking) 2014-12-12 09:03:47 -08:00
chrome Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - chrome/ changes (r=sicking) 2014-12-12 09:05:34 -08:00
config Bug 1109826 - part 2 - don't complain about missing directives for PREF_JS_EXPORTS and DIST_FILES; r=mshal 2014-12-10 14:56:14 -05:00
content Remove testcase for bug 894137 because it causes assertions in other tests 2014-11-24 08:41:42 -08:00
db/sqlite3 Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
docshell Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
dom Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
editor Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
embedding Bug 1103412 - Gecko does not compile with printing disabled. r=mconley 2014-11-22 12:15:00 +01:00
extensions Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - extensions/ changes (r=karlt) 2014-12-12 09:06:42 -08:00
gfx Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE 2014-12-12 18:11:59 -08:00
hal Bug 1100964 - Reset phone while enabling unrestricted devtools mode. r=fabrice, r=sicking 2014-11-26 06:46:00 -05:00
image Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
intl Bug 1109972: nsHyphenator should not assume sizeof(bool) == sizeof(char). r=dbaron 2014-12-10 17:10:35 -08:00
ipc Back out 58982e7b5c45 (bug 1092311) for asserting 2014-12-10 21:12:40 -08:00
js Bug 1110871. Ion-compile JSOP_SYMBOL. r=jandem 2014-12-12 20:52:40 -05:00
layout Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
media Bug 1110478 - Remove obsolete peerConnectionImpl.connectDataConnection. r=smaug, r=jesup 2014-12-12 13:00:42 -05:00
memory Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures. 2014-12-11 11:28:30 -05:00
mfbt Bug 1109407 - Give SegmentedVector a default segment size. r=froydnj. 2014-12-11 14:11:43 -08:00
mobile Bug 1107133 - Expose tracking protection in Fennec privacy preferences. r=liuche 2014-12-08 15:17:32 -08:00
modules Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
mozglue Bug 1104649 - Always cast the string for putenv. r=glandium 2014-11-26 20:26:56 +08:00
netwerk Backed out 3 changesets (bug 1107516) for b2g debug emulator mochitest bustage 2014-12-12 15:29:28 -08:00
nsprpub Bug 1049006 - Update Mozilla 33 to use NSS 3.17 final and NSPR 4.10.7 final, r=wtc 2014-08-13 21:47:00 +02:00
other-licenses Bug 1077366 - Remove most symbol wrapping from Android builds. r=nfroyd 2014-10-14 07:17:13 +09:00
parser Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
probes Bug 1041795 - Disable system libs when generating DTrace probes. f=sfink f=ginn.chen 2014-11-04 02:01:00 +01:00
profile Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
python Bug 1109826 - part 1 - make the preprocessor able to avoid emitting warnings about missing directives; r=mshal 2014-12-10 14:49:44 -05:00
rdf Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps 2014-12-04 01:11:14 -08:00
security Bug 1107666: Fix OCSP stapling telemetry (SSL_OCSP_STAPLING), r=keeler 2014-12-11 23:22:35 -08:00
services Bug 1110691 - Submit which health reporter provider is currently shutting down on AsyncShutdownTimeout. r=yoric 2014-12-12 14:50:07 +01:00
startupcache Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps 2014-10-30 13:06:12 +09:00
storage Bug 1097267 - Change the enumerate hook usage in XPC and browser. r=bholley 2014-12-11 19:31:10 +01:00
testing Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
toolkit Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
tools No bug - Fix type error breaking microsecond profiling. r=me 2014-12-12 16:49:00 -05:00
uriloader Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - uriloader/ changes (r=smaug,sicking) 2014-12-12 09:08:01 -08:00
view Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
webapprt Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures. 2014-12-11 11:28:30 -05:00
widget Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
xpcom Bug 1101337 - Make the ReplaceSubstring() XPCOM string API linear; r=froydnj 2014-12-12 18:57:09 -05:00
xpfe Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
xulrunner Bug 1102602 - part 2: Rename the XULRunner stub, so that we can compile it. r=gps 2014-11-20 17:08:40 -08:00
.clang-format
.clang-format-ignore
.gdbinit Backed out changeset 047d21f101de (bug 846018) 2014-11-13 17:11:25 -05:00
.gitignore Bug 1065252 - Ignore Emacs .dir-locals.el. r=ted 2014-09-09 23:40:00 +02:00
.hgignore Bug 1044411 - Generate Loop ToS static content, r=abr,dmose; rs=ted for .hgignore changes 2014-08-26 12:58:00 -05:00
.hgtags No bug - Tagging mozilla-central b297a6727acf with FIREFOX_AURORA_36_BASE a=release DONTBUILD CLOSED TREE 2014-11-28 10:53:24 -05:00
.lldbinit
aclocal.m4 Bug 1081682 - Make --with-ccache use --with-compiler-wrapper under the hood. r=mshal 2014-10-15 14:47:02 +09:00
Android.mk
AUTHORS
client.mk Backed out changeset b30422149e3e (bug 1082323) because this version is terribly broken. 2014-10-15 14:55:36 +09:00
client.py
CLOBBER Merge m-c to b-i 2014-11-28 11:59:19 -08:00
configure.in Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
LEGAL
LICENSE
mach
Makefile.in Bug 910781 - add support for FINAL_TARGET_FILES; r=gps 2014-07-23 13:56:25 -04:00
moz.build Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
mozilla-config.h.in
README.txt

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/