Commit Graph

68 Commits

Author SHA1 Message Date
Jeff Walden
21ccc6854b 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
--HG--
extra : rebase_source : f019e35a037516df872d0efb7262fa9c475f903c
2011-10-21 03:16:47 -07:00
Michal Novotny
05beb01b45 Bug 681407 - crash nsLocalFile::CopyMove 2011-10-19 13:02:57 +02:00
Ehsan Akhgari
2a602a5685 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
b7753477cf 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
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Taras Glek
2948333894 Bug 686691 - Plumbing to expose OS-level readhead. r=bsmedberg 2011-10-02 21:24:54 +02:00
Brian R. Bondy
0ffa1961e1 Bug 688882 - Investigate stack buffer overflow in nsLocalFile::EnsureShortPath. r=bsmedberg
--HG--
extra : rebase_source : c872ba5d7b05bd611ee5926e6b3f9e7432db913e
2011-09-29 09:06:27 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Brian R. Bondy
b08f3661e6 Bug 682571 - nsLocalFile::isWritable behaves wrongly on Windows. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy
e1befc2bea Bug 300692 - Win32 nsLocalFile::Create returns not found if no access. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy
b4b86ddb0b 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
baf8fd8929 Bug 685847 - Crash in [@ ILFindLastID ]. r=jimm 2011-09-12 07:25:41 -07:00
Brian R. Bondy
8afc725de0 Bug 670068 - Open Containing Folder spawns multiple instances of explorer.exe. r=jimm 2011-09-08 11:37:43 -04:00
Marco Bonardo
807199a534 Bug 681660 - [win] GetDiskSpaceAvailable doesn't work on files.
r=jimm
2011-08-26 13:29:45 +02:00
Jason Duell
d02a32360f 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
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Daniel Veditz
ca29160d23 bug 662309 speedbumps for archive formats, r=bsmedberg 2011-06-07 10:12:02 -07:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02: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
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
Steve Harper
2ee441bddf Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm 2011-03-28 07:36:33 -05:00
Masatoshi Kimura
0fb5489c8f Bug 377307 - nsILocalFile shows the wrong lastModifiedTime; r=jmathies a=bsmedberg 2011-01-17 12:33:34 -05: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
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
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
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
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
Brad Lassey
cd471a77fa bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg 2010-03-09 11:40:16 -05:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05: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
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
Hiroyuki Ikezoe
e9b5c3edfc Bug 489500 - Implement nsLocalFile::ResolveShortcut for WinCE. r=dougt, sr=vlad 2009-07-08 10:51:38 -07: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
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
Neil Rashbrook
6dee7126e7 Followup to bug 224692 to only reset inherited permissions r+sr=bsmedberg 2009-04-01 17:10:29 +01:00
Robert O'Callahan
00231acd97 Bug 482942. Implement nsILocalFile::DELETE_ON_CLOSE. r=bsmedberg 2009-03-20 09:56:05 +13: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
Vladimir Vukicevic
b28374e66f b=477727; add missing braces around WinCE bits in LocalFileWin; r+sr=stuart 2009-02-10 15:10:08 -08: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
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
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
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