Commit Graph

322 Commits

Author SHA1 Message Date
Taras Glek
adb8367c39 Bug 588873 - Crashfix, catch EXCEPTION_IN_PAGE_ERROR, use file io for checksum on Windows for more safety+speed r=benh a=blocking-betaN 2010-12-03 10:16:10 -08:00
Jonas Sicking
c99b797b78 Bug 448611: Use proper escaping in form submission names and values. Also treat textareas with an empty name the way that IE handles them and don't submit them. r=smaug a=blocker 2010-11-23 00:50:55 -08:00
Kyle Huey
99fecd3066 Backing out Bug 590181 since the GCC 4.5 upgrade failed on this CLOSED TREE 2010-11-11 12:36:01 -05:00
Justin Lebar
e5476a3105 Bug 590181 - Part 2: Use -O3 on Linux. r=ted, a2.0=dbaron (landing on CLOSED TREE) 2010-09-08 10:10:31 -07:00
Chris Pearce
02cab52e51 Bug 572579 - Create nsMediaCacheRemover after a 3 minute timeout. r=bsmedberg a=blocking2.0 2010-11-08 19:43:25 +13:00
Chris Pearce
2a501c4276 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce
4cc3f8fa4f Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce
5581ad0abb Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Josh Matthews
cfd2d775ff Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Jae-Seong Lee-Russo
6c6ab6aa0e Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Dan Witte
353424c48f Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Josh Matthews
796315a49f Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Jae-Seong Lee-Russo
59fe8fd6d5 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 1: serialize them. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00
Chris Pearce
71200c3075 Bug 572579 - Backed out changeset 34c006122b71 a=backout 2010-10-17 09:55:35 +13:00
Chris Pearce
d5088dd4c8 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Taras Glek
341f4817b3 Bug 596429 - Firefox 4.0b5 Crash Report nsFastLoadFileWriter::Open() r=benedict a=2.0 2010-09-16 13:22:40 -07:00
Byron Milligan
3c2cca6244 Bug 588507: Skip caching if Content-Length is greater than eviction size. r=michal, a=betaN+ 2010-09-07 15:39:28 -07:00
Shawn Wilsher
b3b7f224fd Bug 590654 - Let JavaScript read embedded nulls from input streams
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream.  Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Wolfgang Rosenauer
717bd8d70c Bug 562897 - Add required implementation to open files on Maemo 6. r=dougt
--HG--
extra : rebase_source : 49d8fbe234bf447b87486ac4404a148d676e009c
2010-07-30 12:46:20 -07:00
Michael Wu
111382a66c Bug 580434 - Use of readdir in nsLocalFileUnix not reliable when recursively deleting files on Android/Bionic. r=dougt 2010-07-28 18:12:34 -07:00
Josh Aas
c69a5826b5 Bug 581518: Make Mac OS X impl of nsLocalFile::SetPersistentDescriptor behave like it did previosly, supporting aliases. r=benwa 2010-07-25 23:49:28 -04:00
Josh Aas
4800a81166 Backed out changeset 45e3b4a37bad, that was intended for try server not m-c 2010-07-25 17:43:32 -04:00
Josh Aas
dc008d5ac7 old-persist1 2010-07-25 16:20:46 -04:00
Josh Aas
8470cb1a51 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg 2010-07-21 23:25:24 -04:00
Walter Meinl
4183c3cdef Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Josh Aas
5759fdff07 Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
6a6d3c8ee5 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE 2010-07-16 18:35:59 -04:00
Jason Duell
ebf928ae13 bug 576420 - Fix nsIInputStream::Available documentation. r=bz 2010-07-08 23:32:59 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ginn Chen
91bd938a72 Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Benjamin Smedberg
202aa47626 Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
c020d3bdef Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Benjamin Smedberg
755c2ae337 Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Brad Lassey
4346c1fc9c bug 565138 - Implement extloader backend for Android r=vlad 2010-06-14 15:04:16 -04:00
Matt Brubeck
c171261a8f Bug 571440 - Android build fails on new quota check from bug 520098 (nsLocalFileUnix.cpp), r=bsmedberg 2010-06-11 19:48:33 -07:00
Hanspeter Niederstrasser
f675bd2dc2 Bug 520098 - Darwin build fails on new quota check from bug 72892 (nsLocalFileUnix.cpp). r=bsmedberg 2009-10-01 18:07:00 -04:00
Michael Wu
f6b9e6e472 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Steve Harper
9b9de75895 Bug 199473: Make downloads work if temporary directory is encrypted on Windows. r=jmathies
--HG--
extra : rebase_source : e88b316e071dd9bb8a57ab11e1bd13bc39d7d8eb
2010-05-23 10:48:21 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
timeless@mozdev.org
f183d85605 Bug 562528 - comparison between signed and unsigned integer expressions in nsEscapeHTML2, r=bsmedberg
--HG--
extra : rebase_source : 995cb88bc3bdb692ea154be2ebee597b0f777e58
2010-04-28 17:58:00 -07:00
Paolo Amadini
b54f24971a Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg 2010-05-02 10:28:26 +02: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
Dave Townsend
42dcecd548 Bug 557539: Trying to set nsILocalFile.lastModifiedTime for a directory on windows throws NS_ERROR_ACCESS_DENIED. r=jimm 2010-04-08 12:12:19 -07:00
bjarne@runitsoft.com
3f4bfa2d27 Bug 529272 - Wrong loop in nsInputStreamTee, r=michal.novotny
--HG--
extra : rebase_source : d95b0280646c62c88354432c5920befeaf0424a4
2010-03-19 08:43:00 +01:00
Robert Strong
e3958725d5 Bug 552602 - Open Containing Folder button on about:support(Troubleshooting Information) page does not work. Fallout from bug 548426. r=dougt 2010-03-17 16:12:00 -07:00
Uli Link
86f6901495 Bug 526457. Fix AIX compilation. r=bsmedberg 2010-03-15 14:43:16 +13:00
Brad Lassey
cd471a77fa bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg 2010-03-09 11:40:16 -05:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Serge Gautherie
2c26aa63fc Bug 514787 - Remove unused TARGET_CARBON and TARGET_API_MAC_CARBON in configure.in; (Cv1) Update nsILocalFileMac.idl too.
r=benjamin.
2010-03-05 21:57:14 +01:00
Ginn Chen
bbc617f0ad Bug 542738 nsLocalFile::IsWritable/IsReadable/IsExecutable is wrong on Solaris r=dougt 2010-03-02 13:51:57 +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
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Palo Misik
cbe20e57ef Bug 530505: Rev IID on various interfaces for Gecko 1.9.3 r=bsmedberg 2010-01-23 11:34:08 -05:00
Taras Glek
55fb09bedb Bug 537158: Make fastload more robust r=brendan 2009-12-29 14:04:38 -08:00
Shailen
cd92b3ecb4 Bug 526450 - "AIX Compilation error for 3.7a1pre source xpcom/io/nsWildCard.cpp", line 455.20: 1540-0274 (S) The name lookup for "ns_WildCardMatch" did not find a declaration" [r=bsmedberg] 2009-11-04 03:19:00 -06:00
Gijs Kruitbosch
e37068a79b Bug 527400 - Fix OOM null deref from bug 514872, r=jwalden+bmo, a=beltzner
--HG--
extra : rebase_source : 43a222a11bf131b8ef2420ef2d657c84ba452bb3
2009-12-02 19:48:48 +01:00
L. David Baron
de183afba2 Fix a spelling mistake to force another round of builds (particularly needed for 1.9.2, but fixing on mozilla-central as well). 2009-11-13 22:36:58 -08:00
Josh Aas
b9ea59d446 Backed out changeset 88b83c564d3c 2009-11-13 07:22:28 -05:00
Josh Aas
953c7cb963 Get rid of FSRef usage in XRE_GetBinaryPath. Also resolve cached paths when initializing from CFURL sources. b=506812 r=vlad 2009-11-13 05:24:41 -05:00
Drew Willcoxon
deed34287c Bug 506814 - Get rid of GetPersistentDescriptor. r=josh 2009-11-10 20:46:16 +01:00
Ginn Chen
3074b292fc Bug 526176 use madvise on Solaris for fastload r=brendan 2009-11-10 18:23:53 +08:00
Josh Aas
278c4c6e2e Implement nsIFile::IsHidden without FSRefs on Mac OS X. Fixes failures on virtual file system objects. b=491688 r=bsmedberg 2009-11-02 16:15:40 -05:00
Taras Glek
0f83b72143 Bug 524313: crash [@ RaiseException ] nsFastLoadFileReader::ReadFooter r=brendan
--HG--
extra : rebase_source : d9f2f41d0c2dfc0e7a2d90c97789e66a38c3f43f
2009-10-26 12:35:12 -07:00
Taras Glek
0ef7f9fffa Bug 522141: Don't crash on fasl close
--HG--
extra : rebase_source : ec9a5bf70b7b6acc2b9c16dca8d33da277278ac1
2009-10-16 17:17:55 -07:00
bhsieh@mozilla.com
be1800b20f Bug 511761 - Only use compatibility.ini (not .autoreg, or stat()s) to invalidate fastloads and other caches (r=bsmedberg, RELAND WITH TEST FIX) 2009-10-15 23:32:29 -07:00
Taras Glek
f6af9aacf7 Bug 522141 - FastLoadFileReader fails to close if an error occurs during opening r=brendan
--HG--
extra : rebase_source : 8fc163f6f29fca4155195f6df63f58bffa635f6d
2009-10-15 11:20:39 -07:00
Paul O’Shannessy
b996efa481 Backed out changeset 89f53914ecd9 (bug 511761) 2009-10-14 12:41:03 -07:00
bhsieh@mozilla.com
82dfde45d6 Bug 511761 - Only use compatibility.ini (not .autoreg, or stat()s) to invalidate fastloads and other caches (r=bsmedberg) 2009-10-14 09:40:45 -07:00
Taras Glek
35c2cb9c61 bug 412796: typos in earlier commit. r=brendan
--HG--
extra : rebase_source : 43492f71b96213f56166dc87cf128612ee670bc1
2009-10-12 11:56:37 -07:00
Robert Strong
75d676942c Bug 513958 - Firefox silently fails to start if %APPDATA% variable is missing. r=jmathies, r=bsmedberg 2009-10-08 20:03:09 -07:00
Taras Glek
bfe943ded9 Bug 412796: Optimize fastload system (mmap fileIO) r=brendan
--HG--
extra : rebase_source : 425e1c4254b8e5c7c3b9fc98efb91c06805d1f02
2009-10-08 10:30:21 -07:00
Benjamin Smedberg
3c188b80ba Force rebuild of nsLocalFileUnix.cpp
--HG--
extra : rebase_source : 4bae544468e94d7d5bcbebe5d5de042c59b5b168
2009-10-01 11:23:54 -04:00
Martin Stránský
485d0bfba9 Bug 72892 - nsLocalFile::GetDiskSpaceAvaialble ignores quotas for unix, r=bsmedberg
--HG--
extra : rebase_source : 3bd5a75f7548a1ca45ff96676a752f23a2e9a13d
2009-09-30 14:26:10 -04:00
Gijs Kruitbosch
bf943f9594 Bug 514872 - nsWildCard ~ regexp was broken. r=jwalden+bmo (Jeff Walden) 2009-10-01 08:46:28 -04:00
Blake Kaplan
92ecfbe8b4 Bug 519498 - Follow XPCOM rules about reading values after a failure. r=sayrer 2009-09-30 15:15:51 -07:00
Josh Aas
797a2e8063 Backed out changeset 76c570389975. b=506812 2009-09-27 05:54:43 -04:00
Josh Aas
ab803bb1ea Faster directory enum code for Mac OS X, don't use FSRefs. b=506812 r=vlad 2009-09-27 05:07:14 -04:00
Josh Aas
1dae1b5c04 Backed out changeset 65aff8912e7c. b=506812 2009-09-27 03:09:47 -04:00
Josh Aas
2f90712ffa Get rid of unnecessary FSRef creation in startup path. b=506812 r=vlad 2009-09-27 01:49:41 -04:00
Robert Sayre
14ef91c61f Merge mozilla-central to tracemonkey. 2009-09-25 11:55:38 -07:00
Josh Aas
66101db8a2 Fix test_symlinks.js failure on Mac OS X, match UNIX native target code (use readlink, not realpath). b=516799 r=bsmedberg 2009-09-22 13:37:30 -04:00
Brendan Eich
127f3afdb7 Fix indentation. 2009-09-21 16:44:35 -07:00
Josh Aas
7503175a46 Allow Gecko to find JavaPlugin2. b=510035 r=smichaud 2009-09-08 17:22:49 -04:00
jhorak@redhat.com
0535295ab4 Bug 402892. Support gio as well as gnome-vfs. r=roc 2009-08-25 11:58:11 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
timeless@mozdev.org
18ff2518cc Bug 504170 nsAStreamCopier::Process can use sourceCondition, sinkCondition uninitialized if someone cancels the copy early
r=dougt
2009-08-12 11:49:52 +02:00
Serge Gautherie
2ee7edc8d1 Bug 508760 - Remove MSVC6 support from the tree; (Cv1a) xpcom/io/*.cpp; r=doug.turner 2009-08-11 00:37:37 +02:00
Shawn Wilsher
782cbb5800 Bug 508605 - NetUtil.asyncCopy does not handle nsISafeOutputStreams correctly
This moves nsISafeOutputStream.idl into xpcom/io and makes nsAStreamCopier
handle nsISafeOutputStream correctly (calling finish instead of close).
r=bz
r=bsmedberg

--HG--
rename : netwerk/base/public/nsISafeOutputStream.idl => xpcom/io/nsISafeOutputStream.idl
2009-08-06 13:34:46 -07:00
Jeff Walden
984c42f069 Bug 507485 - Fix a potential character-range bug. r=nelsonb for a change only needed on trunk 2009-07-30 18:53:53 -07:00
Josh Aas
c363be995f Backed out changeset ad9a4a3a5409, bug 506812. CLOSED TREE 2009-07-31 16:49:48 -04:00
Josh Aas
f0f1c069ce Faster directory enum code for Mac OS X, don't use slow FSRefs. b=506812 r=vlad 2009-07-31 11:17:42 -04:00
Josh Aas
abcbf6312b Cache UTF-8 POSIX path in Mac OS X nsIFile impl. b=505792 r=mstange sr=bsmedberg 2009-07-30 00:47:06 -04:00