Mike Hommey
5324e02805
Bug 655003 - On Linux, use -Os on normal builds and -O3 when PGO is enabled. r=ted
2011-05-24 12:56:04 +02:00
Daniel Holbert
f9082b947a
Bug 662242: Swap out the old nsIURL IID for the new one, in nsBinaryInputStream::ReadObject. r=bz
2011-06-09 12:10:42 -07:00
Kyle Huey
fabb917634
Bug 661529: Add an API in xpcom/ for encoding input streams to base64. r=bsmedberg sr=bz
...
--HG--
extra : rebase_source : 673ed4d1a0ab6dd62a4cf0fb2b25b190ecc0b012
2011-06-08 11:08:31 -07:00
Daniel Veditz
ca29160d23
bug 662309 speedbumps for archive formats, r=bsmedberg
2011-06-07 10:12:02 -07:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ted Mielczarek
e9454f8e7a
bug 676589 - configure and xpcom changes for targeting iOS. r=khuey
2010-04-27 08:57:34 -04:00
Kyle Huey
bb3e253c3d
Backed out changeset 0bf1fe7f9be1
2011-05-24 08:58:55 -07:00
Mike Hommey
80401d54e0
Bug 655003 - On Linux, use -Os on normal builds and -O3 when PGO is enabled. r=ted,a=sheriff
2011-05-24 12:56:04 +02:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Ed Morley
082d53f39b
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Justin Lebar
2da59057fe
Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted.
2011-04-28 15:49:16 +02:00
Daniel Holbert
01393bfa6e
Back out cset bc80c46f185d (Bug 590181 part 2) on suspicion of causing linux reftest permaorange (bug 654858) when PGO is disabled. rs=glandium CLOSED TREE
2011-05-04 16:39:15 -07:00
Ed Morley
aa86759d37
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
7af0c522be
Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE
2011-04-28 15:49:16 +02:00
Dave Townsend
7b8beb7836
Bug 566787: Use the windows API to get the home directory when possible. r=jimm, sr=bsmedberg
2011-04-21 09:36:44 -07:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Ehsan Akhgari
73dd5db57d
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
f4575bfe5e
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Makoto Kato
99b3bfb912
Bug 617267 - xpcom/io/nsWildCard.cpp(212) : warning C4244: '=' : conversion from 'const PRUnichar' to 'char', possible loss of data
2011-03-28 17:26:31 -04:00
Justin Lebar
7e2c5ae50d
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Steve Harper
2ee441bddf
Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm
2011-03-28 07:36:33 -05:00
Rafael Ávila de Espíndola
4b8cd0c2c8
Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg
2011-03-24 19:26:55 -04:00
Kyle Huey
ee2b740dd2
Merge m-c to bs.
2011-03-04 23:54:03 -05:00
Brad Lassey
40bf82c592
bug 637487 - Unable to install extensions when Fennec moved to SD Card r=dougt a=blocking-fennec
2011-03-04 17:57:25 -05:00
Sean Dunn
85046fcaa6
Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg
2011-02-11 16:49:07 -05:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Jeremias Bosch
43d8ca0e70
Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0
...
--HG--
extra : rebase_source : 435438ae2c39833353a958ba2770f0e44439d7bc
2011-02-03 08:31:36 +02:00
Boris Zbarsky
09d0569741
Bug 626259. Use the right statvfs fields for determining disk size. r=josh, a=blocker
2011-01-18 21:20:35 -05:00
Masatoshi Kimura
0fb5489c8f
Bug 377307 - nsILocalFile shows the wrong lastModifiedTime; r=jmathies a=bsmedberg
2011-01-17 12:33:34 -05:00
timeless@mozdev.org
a019ee0828
Bug 620968 GetUnixXDGUserDirectory can leave rv uninitialized ifdef MOZ_PLATFORM_MAEMO
...
r=dougt a=dougt
2011-01-05 14:17:10 -08:00
L. David Baron
4e49730a18
Backout changeset 9ddbf8ab23a5 (bug 588873) to see if it caused bug 617048.
2010-12-08 14:38:26 -08:00
Taras Glek
dd68e4737c
Bug 616256 - Don't stat files on directory enumeration on windows r=bsmedberg+dougt a=2.0
2010-12-07 11:47:24 -08:00
timeless@mozdev.org
079d109ca2
Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL
...
r=bsmedberg
--HG--
extra : rebase_source : aad0b56b3e3adb11a591bcb3f94ebaf3067dca47
2010-12-04 11:07:31 +01:00
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
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
Peter Annema
301db0539d
Bug 207973: Directory listing errors when a bad soft link (symlink) is present. r=joshmoz, sr=bsmedberg
...
CFURLGetFSRef doesn't handle dangling symlinks well. Check if that's what we're dealing with, and use an alternative approach to create an FSRef.
2009-03-07 18:59:40 -08:00
Josh Aas
32feedaedf
Only use FSIORefNum in the 64-bit case. Bustage fix for part 1 patch on bug 478687.
2009-03-06 12:48:40 -06:00
Josh Aas
ab3b25ec6a
Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg
2009-03-06 12:32:57 -06:00
Neil Rashbrook
c07aefc948
Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg
2009-03-04 09:48:48 +00:00
Nickolay_Ponomarev
fa24740272
Bug 478086 - enumerating drives/disks on Win32 using nsIFile.directoryEntries returns a single string with embedded NULLs in it; r=benjamin
2009-02-26 18:34:07 +01:00
Antonio Gomes (tonikitoo)
213ed89b02
Bug 465783: Fennec default download location inaccessible to users. r=sdwilsh sr=bsmedberg
2009-02-25 03:26:45 -04:00
Sunil Mohan Adapa
7afd1bbd24
Bug 412610 - MAXPATHLEN too small for glibc's realpath(); m-c part; r=*
...
jsfile.cpp + reg.c + SpecialSystemDirectory.cpp : benjamin
lcms.h : bholley
XRemoteClient.cpp : roc
2009-02-23 19:28:12 +01:00
Shawn Wilsher
b0d2521c47
Bug 476174 - Default Download Directory (DfltDwnld) uses old Safari 2's value instead of Leopard's ~/Downloads
...
This changeset makes us default to the Downloads folder on OS X 10.5 and later,
and the Desktop for 10.4. Additionally, this fixes bug 301647 ([Mac] remove
support of retrieving the 'system' download folder from
nsDirectoryService::GetFile).
r=gavin
r=josh
sr=bsmedberg
ui-r=beltzner
2009-02-19 18:06:49 -05:00
Josh Aas
018ca06ce3
Allow null as a destination file name argument for CopyTo in nsLocalFileOSX. b=478549 r=mbanner sr=roc
2009-02-15 19:20:27 -05:00
Josh Aas
626467bbe9
Remove all MoreFilesX usage and remove MoreFilesX from the tree. b=476230 r=smichaud sr=dougt
2009-02-11 23:26:59 -05:00
Vladimir Vukicevic
b28374e66f
b=477727; add missing braces around WinCE bits in LocalFileWin; r+sr=stuart
2009-02-10 15:10:08 -08:00
Josh Aas
eedee75861
Make IsSymlink check for actual symlinks as well as aliases on Mac OS X. b=476919 r=ted sr=roc
2009-02-09 13:37:32 -05:00
Daniel Veditz
be1524f476
bug 452217 nsLocalFileWin should return errors consistent with other platforms, r=neil, sr=bsmedberg
2009-01-27 16:50:14 -08:00
Daniel Holbert
2a7d88e05a
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
7d5761cdfa
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Josh Aas
7537dc5537
Modernize xpcom i/o launch and reveal methods on Mac OS X, 64-bit compat. b=473078 sr=dougt
2009-01-15 17:57:43 -05:00
Peter Weilbacher
cac12268be
[OS/2] Bug 472753: fix OS/2 build break in nsComponentManager.cpp by adding necessary defines to the os2.h include in nsLocalFileOS2.h (fix suggested by Walter Meinl)
...
(OS/2 only, so does not affect a CLOSED TREE)
2009-01-11 14:19:00 +01:00
Benjamin Smedberg
8e93542d35
Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent
2008-12-11 15:13:52 -05:00
Brad Lassey
c217f58544
Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg
2008-12-03 08:42:03 -05:00
Brad Lassey
4342224fbe
Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg
2008-12-03 08:41:12 -05:00
Josh Aas
7fe11ffa84
comment and whitespace cleanup for Mac OS X filesystem code. no bug.
2008-11-28 13:37:40 -05:00
Daniel Veditz
2a977ae2d8
bug 464998 - r+sr=bsmedberg, a=beltzner
2008-11-19 11:55:59 -05:00
Daniel Veditz
90dbbefb64
bug 455987 crash fix, r/sr=bsmedberg
2008-10-24 16:15:33 -07:00
Brad Lassey
dbe8393bf5
Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg
2008-10-20 13:03:20 -04:00
Mike Hommey
d4ff8b856e
Bug 440506 - Add a globally shared location for plugins; r=joshmoz sr=jst
2008-10-10 17:54:33 +02:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Ben Turner
cb9c51cb1f
Backed out changeset 2bbdbe2127d3 due to hanging unit tests.
2008-10-09 12:23:22 -07:00
Josh Aas
73a055d8ee
Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt
2008-10-09 13:52:08 -04:00
Doug Turner
59512b44b6
backing out the top level comment line to its orig state
2008-10-08 21:25:11 -07:00
Doug Turner
c0f3061262
removing erronous change to nsLocalFileWin
2008-10-08 21:22:21 -07:00
Doug Turner
996fd0f708
Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg
2008-10-08 20:51:54 -07:00
Josh Aas
8097f27218
Backed out changeset 4a461b03f6ae, b=456603
2008-10-08 01:32:04 -04:00
Josh Aas
b0da2fc34b
Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt
2008-10-07 23:18:05 -04:00
Josh Aas
e877a4f430
Don't incorrectly change permissions on link target in SetPermissionsOfLink in unix fs code. Just don't do anything for changes targetting links. b=457487 r=smichaud sr=dougt
2008-10-07 21:26:41 -04:00
Serge Gautherie
1947a775cd
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin
2008-10-08 02:27:05 +02:00
Serge Gautherie
9d1b7dd56f
Bug 438331 - Remove WIN16 (support) code everywhere; (Av1) </xpcom/*>; r+sr=benjamin
2008-10-08 02:21:13 +02:00
Josh Aas
d801805b7e
Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt
2008-09-30 02:06:18 -04:00
Josh Aas
b7e93895fb
Remove a lot of dead Mac code. Part of bug 456662. sr=pinkerton
2008-09-25 12:23:33 -04:00
Josh Aas
4eb4f3ba2a
Get rid of FSRef cache on Mac OS X as it can't invalidate correctly in the face of changes outside the current nsLocalFile object. Fixes local page reload issues, probably other stuff. b=455828,322686 r=mstange sr=dougt
2008-09-19 15:50:41 -04:00
Benjamin Smedberg
31cc134e02
Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron
2008-09-19 11:07:22 -04:00
Håkan Waara
1e6a760ca0
Bug 442401 – nsILocalFile::IsPackage does not consider a Keynote bundle (.key) to be a package. r=josh, sr=roc
2008-08-26 11:17:13 +02:00
Michal Novotny
2395826de0
Bug 367736 - make nsEscape more efficient and clean up some signed/unsigned issues to prevent theoretical overflow, r=bsmedberg+dveditz
2008-08-19 09:57:12 -04:00
Uli Link
d3623a5d74
Bug 445951 - missing keyword 'public' in xpcom/glue/nsAutoLock.h, r=bsmedberg
2008-08-18 20:39:19 +02:00
Aaron Nowack
2cbabc4311
Bug 224692 - Downloaded files don't inherit NTFS properties... on nsILocalFile.moveTo use the NTFS permissions inherited from the new folder, instead of keeping permissions from the old location, r=bsmedberg
2008-08-14 11:48:06 -04:00
Mike Hommey
ea248b175e
Bug 278738 – file:// directory not shown containing a file larger than 2GB. r=bsmedberg
2008-08-06 13:09:44 +02:00
reed@reedloden.com
62ba3210af
Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a1.9=beltzner]
2008-04-01 23:41:23 -07:00
jag@tty.nl
4400be542e
Bug 333505: nsLocalFileOSX crash. Original patch by Shane Caraveo <shanec@ActiveState.com>, review nits addressed by me. Unit test by Callek. r=mentovai, r/sr=bsmedberg, a1.9=damons
2008-03-18 06:31:01 -07:00
bugzilla@standard8.plus.com
7dfdd04f86
Bug 420459 Move mailnews-specific profe code. r=benjamin,Neil,sr=dmose,a1.9=beltzner
2008-03-17 12:05:24 -07:00
dwitte@stanford.edu
9f32f0bf76
Bug 409803 - gcc (4.1 only) zealously avoids inlining at -Os. make -finline-limit=50 the default on linux -Os builds. r=ted, blocking1.9+
2008-03-15 19:48:01 -07:00
reed@reedloden.com
38c1550ae2
Correct copyright case ("Red Hat inc" -> "Red Hat, Inc."), as per bug 422692.
2008-03-14 11:34:21 -07:00
smontagu@smontagu.org
2365b296db
Reject properties files with encoding errors. Bug 397093, r+sr=bsmedberg, a1.9=damons
2008-03-13 12:01:53 -07:00
reed@reedloden.com
2c1bf0f84c
Bug 399498 - "use XDG downloads dir as default downloads dir" (use XDG download dir, with a fallback to the current default if the XDG user dirs are disabled) [p=chpe@gnome.org (Christian Persch) r=sdwilsh r=bsmedberg a1.9=damons]
2008-03-12 15:40:51 -07:00
reed@reedloden.com
315b9859b3
Bug 399500 - "support XDG user dirs in the directory service" [p=chpe@gnome.org (Christian Persch) r=caillon sr=bsmedberg a1.9=damons]
2008-03-12 15:35:56 -07:00
dietrich@mozilla.com
fcb8ab3a86
Bug 421943 ? "redundant multiplexed document" should be a warning not assertion (r=sayre, sr+a=shaver)
2008-03-12 09:28:45 -07:00
blassey@mozilla.com
3c99833e3e
backing out: switching narrow char system calls to wide char in windows b=418703
2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6
switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon
2008-03-11 14:49:53 -07:00
timeless@mozdev.org
655c0267e5
Bug 419326 Crashes in Main Tab of Options [@ _wgetdcwd - nsLocalFile::Normalize] r=bsmedberg a=beltzner
2008-03-11 10:46:48 -07:00
blassey@mozilla.com
92c51991b0
backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox
2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40
switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner
2008-03-05 13:39:29 -08:00
joshmoz@gmail.com
9d15dd6a9e
always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner
2008-02-29 15:24:53 -08:00
joshmoz@gmail.com
9f0b667d23
rename files to .mm. b=419390,419392 r/sr=roc
2008-02-26 18:03:08 -08:00
reed@reedloden.com
5caa975618
Bug 359255 - "Importers: Import Filters from current Eudora" (Get{Native}Target implementations for OS X) [p=beckley@qualcomm.com (Jeff Beckley) r=mento sr=mscott a1.9=damons]
2008-02-26 01:57:06 -08:00
gavin@gavinsharp.com
52710de133
Fix DOS newlines added by the patch for bug 308073
2008-02-23 13:54:41 -08:00
dougt@meer.net
c8c57fc064
Fixes for Windows CE. b=418662, r=bsmedberg, a=damons
2008-02-22 16:22:47 -08:00
reed@reedloden.com
23e398896c
Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner]
2008-02-01 18:07:49 -08:00
reed@reedloden.com
41073ec644
Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :(
2008-02-01 00:51:29 -08:00
reed@reedloden.com
1e807eff0d
Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner]
2008-01-31 17:39:11 -08:00
enndeakin@sympatico.ca
d23cbccf38
Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner
2008-01-31 11:18:07 -08:00
reed@reedloden.com
0582342e0a
Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor]
2008-01-30 15:39:42 -08:00
reed@reedloden.com
2e75103f0e
Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+]
2008-01-29 12:51:46 -08:00
reed@reedloden.com
2c81d2a307
Back out patch from bug 411579, as there may be a Ts perf regression.
2008-01-18 02:36:40 -08:00
reed@reedloden.com
a6dbb66e21
Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+]
2008-01-18 01:08:09 -08:00
smontagu@smontagu.org
632ed6f4c8
Make CreateUnique use UTF-16 path names on Windows and correct some bugs with handling over-long filenames. Bug 364285, r=bsmedberg, blocking-firefox3=beltzner
2008-01-09 13:10:06 -08:00
dwitte@stanford.edu
99e1fea0b7
bug 410579 - remove nsStringIO.h. r+sr+a=jst
2008-01-02 17:32:26 -08:00
sayrer@gmail.com
545da3b51c
Bug 407794. Nightlies should not override module-specific build settings. r=ted.mielczarek.
2007-12-13 19:22:52 -08:00
jwalden@mit.edu
908d04a379
Kick the stupid Windows test box.
2007-12-03 19:40:06 -08:00
cbiesinger@gmx.at
1e54b36be6
bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin
2007-11-30 10:05:54 -08:00
reed@reedloden.com
2776adeb96
Bug 391980 - "New Download manager automatically associates all types of files including folders with one file type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg a=blocking-firefox3+]
2007-11-26 15:55:34 -08:00
mozilla@weilbacher.org
46515c91a9
[OS/2] Bug 403989: fix file saving issues by backing out OS/2 part of patch from bug 402460, r=mkaply
2007-11-16 16:16:35 -08:00
reed@reedloden.com
b3e67000d1
Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons]
2007-11-13 02:27:26 -08:00
neil@parkwaycc.co.uk
9af3bcabe5
Bug 402460 CreateUnique is very slow and returns bogus error for write-protected directory r=bsmedberg a=mtschrep
2007-11-12 01:24:32 -08:00
mozilla@weilbacher.org
050077beb5
[OS/2] Bug 400939: fix crash when using FireFTP with local files without extension, r=mkaply
2007-10-25 13:49:37 -07:00
reed@reedloden.com
ffa3ace89f
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
reed@reedloden.com
e2df9b35fd
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
tglek@mozilla.com
62f4ae88bd
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
reed@reedloden.com
fe89775410
Bug 315305 - "Improve nsILocalFile error reporting on Mac" [p=smfr r=ccarlen sr=dougt a1.9=sayrer]
2007-10-14 20:05:20 -07:00
jst@mozilla.org
45005266fc
Fixing bug 398465. Eliminate dead code from nsPipeOutputStream. r=jwalden+bmo@mit.edu, sr=benjamin@smedbergs.us, a=sayrer@gmail.com
2007-10-13 09:39:13 -07:00
jwalden@mit.edu
08317171e2
Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz
2007-09-20 23:17:59 -07:00
roc+@cs.cmu.edu
559a8984a7
Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky
2007-09-18 16:12:06 -07:00
bzbarsky@mit.edu
7fbc1dc914
Improve docs. Bug 396069, r+sr=biesi, a=bsmedberg
2007-09-17 15:30:58 -07:00
mozilla@weilbacher.org
ee0bb25b48
[OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply
2007-09-16 13:46:35 -07:00
mozilla@weilbacher.org
cdd5eae28c
[OS/2] Bug 394837: saving files doesn't work when WPS not active, r=mkaply
2007-09-06 14:44:05 -07:00
jag@tty.nl
d535057a5e
Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg
2007-09-05 02:13:57 -07:00
jwalden@mit.edu
f57320c98b
Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
2007-09-04 23:41:35 -07:00
asqueella@gmail.com
a70495c235
Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array p=Alfred Kayser <alfredkayser@nl.ibm.com> r+a=bsmedberg
2007-09-02 14:57:11 -07:00
asqueella@gmail.com
4d33ba5d39
Bug 375778 - Read-Only Files Changed to Read-Write p=Simon Bunzli (busy) <zeniko@gmail.com> r=dougt, sr=bsmedberg, a=bz
2007-09-02 14:50:48 -07:00
thunder@mozilla.com
cfe7ec5883
Bug 392967: Load app and extension prefs separately. r=bsmedberg
2007-08-31 19:16:47 -07:00
cbiesinger@gmx.at
0ff9cf25bd
add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag. r+sr+a=bz
2007-08-31 13:19:37 -07:00
sdwilsh@shawnwilsher.com
d84e1dbbf7
Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor
2007-08-21 10:22:02 -07:00
cbiesinger@gmx.at
07c4078d63
381812 make it possible to get storage input streams for empty streams r=bsmedberg
2007-08-17 13:27:50 -07:00
bzbarsky@mit.edu
57d1cb60be
Make it possible to serialize an nsISerializable instance to an arbitrary stream, not just to the fastload file. Bug 390474, r=bsmedberg, sr=brendan, a=bsmedberg.
2007-08-06 19:00:55 -07:00
enndeakin@sympatico.ca
4ada13e2d9
Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg
2007-07-25 09:53:37 -07:00
bzbarsky@mit.edu
0363001136
Fix string leak. Bug 389191, r=josh, sr=bsmedberg
2007-07-24 13:19:03 -07:00
bzbarsky@mit.edu
dc8de3f8f7
Reland part of the patch for bug 330420 which got backed out by the
...
table-driven QI landing. Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
cbiesinger@gmx.at
7938f2525a
add a comment explaining the 0x20..0x7f range
2007-07-23 20:30:00 -07:00
cbiesinger@gmx.at
3fec674918
bug 389106 escape spaces even for the OnlyNonASCII flag
...
r=bzbarsky sr=dveditz
2007-07-23 17:28:42 -07:00
bzbarsky@mit.edu
ad85e1d5b5
Make fastload handle short reads from its underlying buffered stream. Bug
...
387588, r+sr=biesi
2007-07-17 18:54:55 -07:00
jwalden@mit.edu
e3c4baccae
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00