Commit Graph

1028 Commits

Author SHA1 Message Date
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Boris Zbarsky
72b6be05b8 Bug 559618. Treat negative max-age values as 0. r=jduell 2010-04-26 16:27:01 -04:00
timeless@mozdev.org
fc1f012750 Bug 560171 - nsDiskCacheStreamIO::Write leaks mBuffer on realloc failure, r=biesi
--HG--
extra : rebase_source : ab53e9aa6bbd9616b412bd82d3556157f6c80abd
2010-04-18 23:22:00 -07:00
Mike Hommey
7ef93c2266 Bug 448375 - Only depend on dbus-glib when needed. Depend on dbus instead [r=benjamin] 2010-04-24 09:39:53 +02:00
Doug Turner
e35d8e72d5 Bug 545869 - Remove small buffer #defines and use preferences. r=honza 2010-04-20 09:32:28 -07:00
Mike Hommey
90dd1ec0b9 Bug 502301 - Fix binhex_decode array signedness which broke builds on architectures where char is unsigned [r=benjamin]
This was detected by the C++0x narrowing conversion inside {} compilation errors.
2010-04-20 10:44:59 +02:00
Pam Greene
a2396d18b9 Bug 557604 - add IDN <iran>.ir in two forms to PSL. r=gerv. 2010-04-19 15:24:59 +01:00
Taras Glek
b1eaf1cf2d Bug 516085 - replace the most frequent IOService getter with an efficient one r=biesi 2010-04-12 08:44:28 -07:00
Brandon Sterne
674aa49910 Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi 2010-04-10 16:08:21 -04:00
Boris Zbarsky
f898fcf78e Bug 537120 part 1: Make sure the multipart converter's part channels install a type sniffer as needed. r=jduell 2010-04-10 09:10:21 -07:00
Blake Kaplan
63886e99f2 Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Justin Lebar
ca62b5df57 Bug 553970 - Fix nsIURL::GetRelativeSpec documentation. r=biesi
--HG--
extra : rebase_source : 874de0e571120e2b9034d924b4e4f33f808bc0f0
2010-03-22 13:29:51 -07:00
Justin Lebar
ecbe0b409d Bug 554120: Fix out-of-bounds read in nsStandardURL.cpp. r=biesi 2010-03-22 00:36:38 -07:00
Jeff Walden
6375114985 Bug 513854 - httpd.js should write its response data asynchronously. r=sayrer 2009-09-29 19:54:34 -07:00
Neil Rashbrook
1dc6cbeca8 Bug 415761 Adding Windows-only test r=waldo 2010-03-20 23:57:57 +00:00
Ted Mielczarek
d042a88b57 bug 552032 - compile nsIAppleFileDecoder.idl on x86_64 builds. r=josh 2010-03-17 19:09:10 -04:00
Shawn Wilsher
5bdff598be Bug 536978 - Cookies should write to the database asynchronously.
This makes cookie insertion, updates, and deletions happen asynchronously off of
the main thread.  The only I/O done on the main thread is the initial loading of
the database at each startup.
r=dwitte
2010-03-12 07:18:38 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Marco Bonardo
28774cea88 Backing out bug 536978, due to a Storage assertion causing orange. CLOSED TREE 2010-03-12 17:41:28 +01:00
Shawn Wilsher
6fb0361405 Bug 536978 - Cookies should write to the database asynchronously.
This makes cookie insertion, updates, and deletions happen asynchronously off of
the main thread.  The only I/O done on the main thread is the initial loading of
the database at each startup.
r=dwitte
2010-03-12 07:18:38 -08:00
Josh Aas
bcb41f783d More Carbon usage cleanup. b=550787 r=bsmedberg 2010-03-10 14:30:11 -05:00
Brad Lassey
8857f4c08a bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Christian Biesinger
3473afeef6 Bug 531801 followup (should fix bug 547537). Don't prevent caching of non-SSL content to disk if the pref for not caching SSL content to disk is set. r=bzbarsky 2010-03-08 19:30:02 -05:00
Gervase Markham
04bf91afb3 Bug 547985 - Comment out nsw.gov.au in PSL. r=pkasting. 2010-03-08 16:28:57 +00:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Ginn Chen
a4f691a504 Bug 530484 Implement Necko-WiFi on Solaris (missed a file in last commit) r=dougt 2010-03-05 10:40:05 +08:00
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Boris Zbarsky
5c81205e6b Bug 547239 followup to address biesi's review comments. 2010-03-03 18:53:18 -05:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Ginn Chen
849834f24a Bug 545371 Remove trailing white space at end of line for netwerk/wifi r=dougt 2010-03-02 13:56:06 +08:00
Ginn Chen
69fd4e5282 Bug 530484 Implement Necko-WiFi on Solaris r=dougt 2010-03-02 13:55:23 +08:00
Benjamin Smedberg
9485b136dd Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad 2009-11-12 14:37:34 -05:00
Boris Zbarsky
d60a23da49 Make the nsIChannel comments clearer in terms of threading behavior. r=biesi 2010-03-01 12:47:31 -05:00
Josh Aas
618e493885 Fix memory leaks in Mac OS X CoreWLAN code. b=548796 r=smichaud 2010-02-26 14:18:12 -06:00
Paul O’Shannessy
6af0de413b Reduce extraneous console output from DNS Service when offline [r=dwitte] 2010-02-24 11:59:26 -08:00
Boris Zbarsky
d2033f6182 Bug 547239. Don't lose our POST body on 307 redirects and internal proxy-related redirects. r=sicking. r=jduell and biesi pending. 2010-02-23 23:37:47 -05:00
Shawn Wilsher
541e2d0c5d Merge for back out of changeset bb9e847a02c8 (bug 193911) due to performance regressions. 2010-02-23 17:13:00 -08:00
Shawn Wilsher
e350020303 Backed out changeset bb9e847a02c8 (bug 193911) due to performance regressions. 2010-02-23 17:12:33 -08:00
bjarne@runitsoft.com
505a28d5cc Bug 513074 - remove sync writes from current cache, r=biesi,michal.novotny sr=bzbarsky 2010-02-23 10:13:18 -08:00
Steve Chapel
57829ccc4f Bug 193911 - Increase default disk cache size. r=biesi, sr=bz 2010-02-23 10:04:30 +01:00
Kaspar Brand
2a6b53a9a0 Bug 541334 - Add recognition of SHA-2 hashes when verifying S/MIME messages with detached signatures (application/pkcs7-signature); Patch for recognizing SHA-2 micalgs in libmime (m-c part).
r=cbiesinger sr=bzbarsky.
2010-02-23 06:06:29 +01:00
Frédéric Wang
e55eb6a822 Bug 124709. Treat application/mathml+xml as an XML type. r=bzbarsky 2009-11-29 23:18:53 +01:00
Frédéric Wang
8b46e8bd69 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
timeless@mozdev.org
e99a1058cb Bug 540566 nsCacheEntryDescriptor::GetDeviceID may crash in NS_strdup [@strlen | NS_strdup(char const*) ]
r=biesi
2010-02-21 15:53:13 +01:00
Christian Biesinger
f84c7344f6 Fix build bustage from bug 445168 / changeset 5a153fc2dc6f 2010-02-18 15:57:05 +01:00
Christian Biesinger
f297ee0fbb bug 445168 format IPv6 address literals correctly when using a proxy
r=bz
2010-02-18 15:42:32 +01:00
Christian Biesinger
9820d7ccf4 Bug 531801 Remove code that cached SSL content to disk when Cache-Control: public was sent
r=bz

--HG--
extra : rebase_source : 8d02615ec3777cba578786b2d1aa60cce60b3c03
2010-02-12 18:04:04 +01:00
Ben Bucksch
1e96bf1207 nsIAuthPrompt2: add PREVIOUS_FAILED, bug 521467, r=biesi, sr=bz
Add flag nsIAuthInformation.PREVIOUS_FAILED to notify the
login manager that the previous login attempt failed.
That allows it to show a prompt instead of using the
stored values (silently).

--HG--
extra : rebase_source : 5a725bba1ae34d030fd60ecd5d67c74317de5d4f
2010-02-12 17:55:11 +01:00
Pam Greene
412d6ac0ad Bug 544319 - fix up PSL for .ml (Mali) TLD. r=gerv. 2010-02-11 13:39:12 +00:00
Dan Witte
883d2679b1 Remove unnecessary stripping of quotes prior to calling PR_ParseTimeString. b=542974, r=abarth 2010-02-10 12:22:49 -08:00
Dan Witte
cb4683a020 Fix failing test. 2010-02-09 15:42:44 -08:00
Zack Weinberg
5d31f02b7d Bug 540633: Label httpd.js debug logs, optionally timestamp them, and add support for enabling or disabling them in the middle of a run (currently only for mochitests). r=jwalden 2010-02-09 14:07:33 -08:00
Adam Barth
2f2a7320df Bug 542974 - Make the cookie parser's handling of " characters more like IE. r=dwitte 2010-02-09 13:07:16 -08:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Kai Engert
5e46a26c8d Bug 535649 - Implement UI around CVE-2009-3555 and draft-rescorla-tls-renegotiation, r=rrelyea
== NSS 3.12.6 will block some renegotiation attempts on SSL sockets by default
== This patch does not yet implement new UI by default, but adds 4 new prefs to get fine grained control (blocking/allowing, displaying broken state)
== One of the prefs is a temporary pref that is supposed to go away at some point in the future
2010-02-07 13:09:51 +01:00
Honza Bambas
d07221c060 Bug 542318 - Firefox 3.6 needs constant re-auths when connecting through NTLM proxy with credentials different from currently logged in Windows user, r=bz 2010-02-06 16:06:48 +01:00
Daniel Holbert
2c341fb9da Bug 543497, Patch A: Fix "warning: suggest parentheses around comparison in operand of &" in nsBinHexDecoder.cpp. r=jduell 2010-02-02 13:56:45 -08:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Andrey Ivanov
88efb74b09 Bug 178506: Preserve original last-modified date on downloads r=sdwilsh 2010-01-30 12:58:01 -05:00
Zack Weinberg
d6677fdb08 Bug 536603 followup: Look up network.http.max-connections-per-server in httpd.js, rather than hardwiring a constant that needs to be bigger than that pref. r=jwalden 2010-01-29 18:17:33 -08:00
Philippe De Ryck
ee1ce03d38 Bug 537670 - Failure to load pages using Basic Auth and lots of content, after setting the LOAD_ANONYMOUS flag, contributed by Honza Bambas <honzab.moz@firemni.cz>, r=bz+honzab 2010-01-26 14:33:03 +01:00
Honza Bambas
fe1a10ceaf Bug 534698 - nsTransportEventSinkProxy implementation eats event notifications, r=bz 2010-01-26 14:33:03 +01:00
timeless@mozdev.org
1fa2fbbe1a Bug 538930 - [@ @0x0 | nsNotifyAddrListener::Run] assumes InitIPHelperLibrary will never fail and that sNotifyAddrChange will be non null, r=biesi 2010-01-11 07:40:00 -08:00
Steffen Wilberg
d54888ab83 Bug 538421: Add a nsIAboutModule flag to hide 'about:' pages from about:about. r=mano, sr=bzbarsky 2010-01-23 11:07:48 +01:00
Zack Weinberg
ab052b17a8 Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel 2010-01-18 18:12:39 -08:00
Zack Weinberg
bee097ea73 Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg
ef69f941b3 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Dan Witte
a6881a59c8 Bug 536650 - Cookie values not saved for pages loaded from file://; part 2: deal with empty hosts in the
cookieservice . r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Dan Witte
64bc002cbf Bug 536650 - Cookie values not saved for pages loaded from file://, part 1: tighten up the etld service.
r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Peter Kasting
19dc51f350 Bug 528470. Update Public Suffix List. r=gerv 2010-01-07 13:55:10 +13:00
Jacek Caban
ecf65d17c4 Bug 536091 - Make nsNotifyAddrListener.cpp compile on new mingw, r=beisi 2009-12-29 14:19:47 -05:00
Shawn Wilsher
d2d7f4df99 Bug 532147 - NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel
This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch.  It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
2009-12-15 23:33:08 -08:00
Shawn Wilsher
f06ffc75df Bug 532146 - NetUtil.jsm needs a helper for creating new channels
Adds a new method for creating an nsIChannel from a string spec, an nsIURI, or
an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:06 -08:00
Adam Barth
da5871d549 Bug 536514 - Treat leading and trailing "."s in Domain attributes like other browsers. r=dwitte 2009-12-26 13:39:35 -08:00
Oleg Romashin
67a2c02400 b=536031; netwerk/system/maemo linkage fail in no-libxul configuration, r=cbiesinger 2009-12-23 14:00:38 +02:00
Dan Witte
4b537e927a Bug 536230 - Crash or Hang @ [nsCookieService::RemoveCookieFromList(nsListIter const&)]. r=sdwilsh 2009-12-22 14:54:26 -08:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Dan Witte
7feb44aac0 Whitespace change to force rebuild. 2009-12-19 22:12:06 -08:00
Dan Witte
7bddc14a9f Bug 321624 - cookie per-host limit doesn't include all cookies from a domain. r=sdwilsh 2009-12-19 15:55:56 -08:00
Benjamin Smedberg
0177a8612f Merge plugin changes from electrolysis to mozilla-central. 2009-12-16 19:06:54 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Dietrich Ayala
ea1d1d7c7b Backout of bug 532147 and bug 532146 due to test failure. 2009-12-16 11:02:10 -08:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Shawn Wilsher
5cafb80613 Bug 532147 - NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel
This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch.  It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
2009-12-15 23:33:08 -08:00
Shawn Wilsher
2bcf4bf0cd Bug 532146 - NetUtil.jsm needs a helper for creating new channels
Adds a new method for creating an nsIChannel from a string spec, an nsIURI, or
an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:06 -08:00
Shawn Wilsher
da980cf6e1 Bug 532143 - NetUtil.newURI should take a string or nsIFile
You can now automagically get an nsIURI providing a string or an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:03 -08:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Dan Witte
2b2abe5315 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
Myk Melez
e56434ddcc update comments to clarify that (get|set)CookieString[FromHTTP] should be passed a channel so that cookies are correctly get/set when third-party cookies are disabled by the user; rs=bzbarsky
--HG--
extra : rebase_source : bba695d76a8bdef06a64772e67dc6c8feaf656f8
2009-12-14 16:24:44 -08:00
Robert O'Callahan
77f0bb0079 Bug 526323. httpd.js should send custom headers with 416 responses. r=jwalden 2009-12-16 09:08:58 +13:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00