Commit Graph

255 Commits

Author SHA1 Message Date
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
jwatt@jwatt.org
1fff33d333 Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. r=benjamin@smedbergs.us 2007-06-27 01:36:03 -07:00
asqueella@gmail.com
7cb7471f2a Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
kherron@fmailbox.com
8d9db0e22f Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
bzbarsky@mit.edu
de40ae1d88 Fix NS_InputStreamIsBuffered to detect buffered empty streams correctly. Bug368328, patch by Ryan Jones <sciguyryan@gmail.com>, r=bsmedberg, sr=biesi 2007-06-08 09:00:09 -07:00
joshmoz@gmail.com
eb98521dbc fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg 2007-06-04 08:44:43 -07:00
asqueella@gmail.com
3c8901d1d8 Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt 2007-05-13 09:48:39 -07:00
gavin@gavinsharp.com
3b23c3bc14 Bug 364297: add a new per-profile default-pref directory and associated directory service keys, and a way to trigger pref service default pref reloading to facilitate the change of default prefs without affecting exisiting users, r=mconnor, sr=bsmedberg 2007-05-02 13:13:33 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
dbaron@dbaron.org
10314006af Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
jwalden@mit.edu
d352fc4921 Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg 2007-03-25 00:31:45 -07:00
jwalden@mit.edu
72db7ae2c3 Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg 2007-03-25 00:28:06 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00