Commit Graph

235 Commits

Author SHA1 Message Date
Jeff Walden
d7340cf852 Pick up a few straggler uses of {NS,JS}_ARRAY_LENGTH, probably added since the switch but before the deprecation announcement, and convert them to mozilla::ArrayLength. Also convert the two users of PR_ARRAY_SIZE, yet another length-computing macro, to mozilla::ArrayLength. No bug, r=sparky 2011-10-21 03:16:47 -07:00
Michal Novotny
c1b64f0555 Bug 681407 - crash nsLocalFile::CopyMove 2011-10-19 13:02:57 +02:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Taras Glek
6b84a69d43 Bug 686691 - Plumbing to expose OS-level readhead. r=bsmedberg 2011-10-02 21:24:54 +02:00
Brian R. Bondy
61f7c3c5cc Bug 688882 - Investigate stack buffer overflow in nsLocalFile::EnsureShortPath. r=bsmedberg 2011-09-29 09:06:27 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Brian R. Bondy
5110997b62 Bug 682571 - nsLocalFile::isWritable behaves wrongly on Windows. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy
84bedd0c31 Bug 300692 - Win32 nsLocalFile::Create returns not found if no access. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy
a70c3691f8 Bug 429484 - Win32 nsILocalFile.exists() returns false when files exist and inaccessible. r=bsmedberg 2011-09-21 09:14:22 -04:00
Brian R. Bondy
557693b9f7 Bug 685847 - Crash in [@ ILFindLastID ]. r=jimm 2011-09-12 07:25:41 -07:00
Brian R. Bondy
3f27051cab Bug 670068 - Open Containing Folder spawns multiple instances of explorer.exe. r=jimm 2011-09-08 11:37:43 -04:00
Marco Bonardo
45434c3917 Bug 681660 - [win] GetDiskSpaceAvailable doesn't work on files.
r=jimm
2011-08-26 13:29:45 +02:00
Jason Duell
4d23bba943 Bug 670911: Skip reset of NTFS ACLs when renaming file w/o changing directory. r=bsmedberg, sr=neil 2011-07-28 04:13:06 -07:00
Matheus Kerschbaum
200b657e7d Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Daniel Veditz
8ba098f8fe bug 662309 speedbumps for archive formats, r=bsmedberg 2011-06-07 10:12:02 -07:00
Ed Morley
49398a0b56 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Chris Jones
9ae6458637 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
ecb9597975 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a 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
L. David Baron
7f8b96762f 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
Steve Harper
373bd562dd Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm 2011-03-28 07:36:33 -05:00
Masatoshi Kimura
f808e62e25 Bug 377307 - nsILocalFile shows the wrong lastModifiedTime; r=jmathies a=bsmedberg 2011-01-17 12:33:34 -05:00
Taras Glek
5d2d1cdae6 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
Benjamin Smedberg
0e824d90bb 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
Steve Harper
85b6d4b26a Bug 199473: Make downloads work if temporary directory is encrypted on Windows. r=jmathies 2010-05-23 10:48:21 -07:00
Michael Kohler
61fec64afe Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Dave Townsend
a5da2488a9 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
Robert Strong
26f1e9b343 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
Brad Lassey
869f1f1241 bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg 2010-03-09 11:40:16 -05:00
Jae-Seong Lee-Russo
f1dbba608c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
L. David Baron
786b96cf90 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
Serge Gautherie
b623b2a8a7 Bug 508760 - Remove MSVC6 support from the tree; (Cv1a) xpcom/io/*.cpp; r=doug.turner 2009-08-11 00:37:37 +02:00
Hiroyuki Ikezoe
37784ca0c4 Bug 489500 - Implement nsLocalFile::ResolveShortcut for WinCE. r=dougt, sr=vlad 2009-07-08 10:51:38 -07:00
Stuart Parmenter
f8a64e02ef 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
Jim Mathies
0fdafa8e2e Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt) 2009-04-20 20:06:03 -05:00
Neil Rashbrook
1a0b547aef Followup to bug 224692 to only reset inherited permissions r+sr=bsmedberg 2009-04-01 17:10:29 +01:00
Robert O'Callahan
31eb9ebeab Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13:00
Neil Rashbrook
125aaf9154 Bug 478732 nsLocalFileWin/OS2.cpp's InitWithPath is inefficient r=bsmedberg 2009-03-04 09:48:48 +00:00
Nickolay_Ponomarev
b85e312102 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
Vladimir Vukicevic
2c56169689 b=477727; add missing braces around WinCE bits in LocalFileWin; r+sr=stuart 2009-02-10 15:10:08 -08:00
Daniel Veditz
5fb451ef46 bug 452217 nsLocalFileWin should return errors consistent with other platforms, r=neil, sr=bsmedberg 2009-01-27 16:50:14 -08:00
Brad Lassey
99016c4b14 Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Brad Lassey
8da2d3932d Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Brad Lassey
fc089b0d56 Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Ben Turner
5287cc33a6 Backed out changeset 2bbdbe2127d3 due to hanging unit tests. 2008-10-09 12:23:22 -07:00
Josh Aas
c980afa365 Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt 2008-10-09 13:52:08 -04:00
Doug Turner
460c9b59b4 backing out the top level comment line to its orig state 2008-10-08 21:25:11 -07:00