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
Jeff Walden
059af73b7d
Bug 332173 - Followup followup fix for trunk-only necessary-for-templatization changes (not needed for any branches, that is).
...
--HG--
extra : rebase_source : 767c90867afbbe7bf52e29820c987e45c9e60d03
2009-07-29 21:27:46 -07:00
Nelson Bolyard
50022505cc
Bug 332173 - Problems with regexp parsing of '~' in nsIZipReader.findEntries (and other nsWildCard uses). r=jwalden, a=ss
2009-07-29 14:07:45 -07:00
Jeff Walden
a18aaced58
Backed out changeset ab1686101bfb, pending orange investigation
...
--HG--
extra : rebase_source : ad872bd18b36237fcc450f5fdc61d6579b532518
2009-07-29 16:24:14 -07:00
Nelson Bolyard
bce220d64b
Bug 332173 - Problems with regexp parsing of '~' in nsIZipReader.findEntries (and other nsWildCard uses). r=jwalden, a=ss
2009-07-29 14:07:45 -07:00
Vladimir Vukicevic
127485d199
b=499863; XREDirProvider gives wrong APPDATA dir on Windows CE; r=rs
2009-07-17 16:04:56 -07:00
Benjamin Smedberg
4965608501
Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted
2009-07-17 10:41:26 -04:00
Mark Finkle
bf922f33d2
Bug 500324: 'Open' button in download manager doesn't correctly launch the file in it's viewer, r=bsmedberg, blassey
2009-07-16 15:40:28 -04:00
Josh Aas
adc1d1302a
Comment cleanup and macro rename for Mac OS X nsIFile impl. No bug. r=bsmedberg
2009-07-12 16:04:25 -04:00
Hiroyuki Ikezoe
e9b5c3edfc
Bug 489500 - Implement nsLocalFile::ResolveShortcut for WinCE. r=dougt, sr=vlad
2009-07-08 10:51:38 -07:00
Josh Aas
4b26557c2d
Use the same path comparison behavior for nsIFile::Equals on all platforms. b=491245 sr=bsmedberg
2009-07-08 11:26:07 -04:00
Wolfgang Rosenauer
a726181bc9
Bug 496708 - non biarch system plugin location (added missing Makefile magic); r+=joshmoz
2009-07-08 09:59:01 +02:00
Josh Aas
dbbc06a937
Rewrite SetFileSize for Mac OS X using POSIX API. b=501307 r/sr=roc
2009-07-05 02:39:04 -04:00
Wolfgang Rosenauer
0af041e2b2
Bug 496708 - add biarch system plugin location (Linux); r=joshmoz, sr=roc
2009-06-24 09:21:43 +02:00
Josh Aas
19297b541b
Use POSIX to get/set file permissions on Mac OS X. b=499875 sr=roc
2009-06-23 08:55:59 -04:00
Stuart Parmenter
7355e671a2
bug 492114. Deal with the fact that CE doesn't have . or .. files and will give different behavior for empty directories. r=bsmedberg
2009-06-22 10:00:52 -07:00
Shailen
b216db3469
Bug 497838 - "AIX Compilation error for 3.6a1pre source xpcom/io/nsWildCard.cpp", line 215.28: 1540-0274 (S) The name lookup for "_shexp_match" did not find a declaration" [r=benjamin]
2009-06-14 01:41:19 -07:00
Josh Aas
e7a19f1220
Make Mac OS X local file code aware of symlinks instead of old-school aliases. Also moves more things to POSIX functions instead of inefficient Carbon calls. b=484297,491074,491145 r=mstange sr=roc
2009-06-10 22:23:57 -07:00
Peter Annema
8fd7a3afff
Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
...
- Clean up white space.
2009-05-13 20:22:54 -07:00
Peter Annema
36ce94740c
Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
...
- Move nsWildCard.{h,cpp} into xpcom/io.
--HG--
rename : modules/libjar/nsWildCard.cpp => xpcom/io/nsWildCard.cpp
rename : modules/libjar/nsWildCard.h => xpcom/io/nsWildCard.h
2009-05-13 20:22:54 -07:00
Boris Zbarsky
cb4004dfeb
Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg.
2009-05-07 15:21:54 -04:00
Josh Aas
3c0d1f8196
Backed out changeset 294eaf175b7b
2009-05-02 15:14:47 -07:00
Josh Aas
dd75e12aaf
Improve nsIFile's IsFile on Mac OS X, stop using FSGetCatalogInfo. b=491074 r=mstange sr=roc
2009-05-02 12:54:08 -07:00
Josh Aas
1c7a7e4420
Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc
2009-05-02 11:01:25 -07:00
Josh Aas
6a4414bd1d
Improve nsIFile's GetFileSize on Mac OS X, stop using FSGetCatalogInfo. b=491050 r=mstange sr=roc
2009-05-01 21:52:21 -07:00
Josh Aas
ec3f88567a
Make nsIFile ::Exists on Mac OS X more efficient, stop using FSRef. b=490870 r=mstange sr=roc
2009-05-01 18:32:38 -07:00
Josh Aas
7d154a6842
Remove workaround for pre-10.2 systems in nsLocalFileOSX, no need to look for CFStringNormalize. b=490959 r=mstange sr=roc
2009-05-01 09:59:33 -07:00
Josh Aas
1fab52b5b5
Backed out changeset cb8262ea787f
2009-04-30 17:01:06 -07:00
Josh Aas
80847b0dcf
Improve Mac OS X local file equality testing, stop comparing FSRefs. b=490372 r=mstange sr=roc
2009-04-30 10:08:35 -07:00
Josh Aas
c9da9740e0
Improve nsILocalFile GetDiskSpaceAvailable on Mac OS X, stop using old Carbon APIs. b=490171 r=mstange sr=roc
2009-04-29 23:53:43 -07:00
Josh Aas
b61ee76085
Optimize Mac OS X filesystem time methods. Clean up UNIX time methods wrt LL_ macro usage. b=489015 r=mstange sr=roc
2009-04-23 22:22:20 -04:00
L. David Baron
58c8aff7e0
Back out previous logging patches (92791a422f0a and 5617c22ea9ac) for bug 469514.
2009-04-22 15:21:17 -07:00
Jesse Ruderman
a85b7c9758
Make temporary debug-only logging code not crash. r=sdwilsh
2009-04-21 16:57:19 -07:00
Shawn Wilsher
746d546bc7
Debug-only logging code to track down bug 469514.
...
r=ted
2009-04-21 11:32:07 -04:00
Jim Mathies
704b5a2912
Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt)
2009-04-20 20:06:03 -05:00
Nils Maier
79baf946a3
Bug 389087 - nsILocalFileUnix affected by 32bit stat/statvfs/truncate, therefore does not work with large files; r+sr=benjamin
2009-04-16 14:09:21 +02:00
Josh Aas
5ba0afd55a
optimize/modernize Mac OS X toolkit/xre code. b=486733 r=mstange sr=bsmedberg
2009-04-09 20:54:11 -04:00
Josh Aas
48535f072b
Minor Mac OS X fs code cleanup, mostly change some member variable names. b=487045 r/sr=roc
2009-04-09 20:46:49 -04:00
Peter Annema
af171a53a8
Bug 485328: nsLocalFileUnix::GetNativeTarget() is broken for symlinks and (dangling) symlinks. r=neil, sr=bsmedberg
2009-04-07 04:38:41 -07:00
Peter Annema
0e102000be
Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg
2009-04-07 04:38:23 -07:00
Peter Annema
70d10e77f6
Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg
2009-04-07 02:20:05 -07:00
Josh Aas
587678f9aa
Fix argument name in older function decl to match newer impl. no bug.
2009-04-05 02:26:40 -04:00
Arpad Borsos
e79293b2c0
Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg
2009-04-03 18:43:08 +02:00
Neil Rashbrook
6dee7126e7
Followup to bug 224692 to only reset inherited permissions r+sr=bsmedberg
2009-04-01 17:10:29 +01:00
Michal Novotny
b90f4bc271
Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky.
2009-03-30 15:10:13 -04:00
Josh Aas
56feab23a2
Fix some type usage in nsIStreamBufferAccess.idl. b=478687 r=wtc r=bsmedberg
2009-03-24 10:47:02 -07:00
Robert O'Callahan
46307c1705
Bug 482942. Tests for nsILocalFile implementations. Also changes nsLocalFileUnix::MoveTo to update the object to refer to the destination, matching other platforms' behaviour. r=bsmedberg
...
--HG--
rename : xpcom/tests/nsIFileTest.cpp => xpcom/tests/TestFile.cpp
2009-03-24 13:44:37 +13:00
Robert O'Callahan
00231acd97
Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg
2009-03-20 09:56:05 +13:00
Josh Aas
a017628a07
Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg
2009-03-19 10:41:13 -07:00
Robert O'Callahan
98e0044197
Bug 482938. nsPipe should create and destroy monitors using nsAutoMonitor so the potential-deadlock detector doesn't get confused. r=bsmedberg
...
--HG--
extra : rebase_source : 76fca82ad7015f55fb09e30d282f3dedf0c3976b
2009-03-19 09:18:19 +13:00