Граф коммитов

642 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com 9f611c7d16 #42637
r=mkaply, a=brendan
OS/2 bringup - rewrite of nsFileSpecOS2.cpp to be more like Windows
2000-06-28 14:50:12 +00:00
mkaply%us.ibm.com d5fc9b2942 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories
2000-06-27 21:23:51 +00:00
dougt%netscape.com 10d25c54b3 Initializing var before use. simple fix. 2000-06-27 20:55:54 +00:00
cls%seawood.org 5d60a61ea2 Given the statement "a == b ? c : d;" , the WorkShop 5.0 compiler expects c & d to be of the same type. 2000-06-27 06:10:21 +00:00
dougt%netscape.com 6c0973984f Bug 43314.
r=Henry Sobotka <sobotka@axess.com>
a=brendan@mozilla.org
s=Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-27 03:35:32 +00:00
mkaply%us.ibm.com f273e5133c #42637
r=mkaply, a=brendan
OS/2 bring up - Set mresolvepath - OS/2 only
2000-06-26 14:50:20 +00:00
dougt%netscape.com 891877778e nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-24 01:50:53 +00:00
mscott%netscape.com a778fbd165 Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott
2000-06-21 06:32:45 +00:00
mkaply%us.ibm.com f6a13621c9 #42637
r=mkaply, a=brendan
OS/2 bring up - Need io.h for GCC build
2000-06-21 01:35:21 +00:00
beard%netscape.com 5cca8adbe7 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com 2657651195 #42637
r=mkaply, a=brendan
OS/2 bring up - rewrite some nsLocalFileOS2 stuff to be more like Windows
2000-06-20 14:06:00 +00:00
mkaply%us.ibm.com 7b18e753a4 #42637
r=mkaply, a=brendan
Remove OS/2 debugging messages during bringup
2000-06-20 13:21:22 +00:00
bryner%uiuc.edu f3584cb69d Fix for blocker bug 42371 - unable to startup on Linux. r=akkana. 2000-06-13 20:26:30 +00:00
ruslan%netscape.com b8042f8141 Partial fix for 41248. Check for the buffer being null and assert, but don't
crash, a=gagan
2000-06-10 02:11:04 +00:00
ssu%netscape.com c9020d78da Fixing bug #31259 (nsbeta2+) - Install.modDate() and Install.modDateChanged() now shows the correct values. This *might* also happen to fix the following bugs: #42070 - Mac files get installed with the wrong date #38553 - nsIFile - Reducing modification dates significant digits #36681 - document.lastModified date is incorrect for a local file This only affects the Mac platforms. Pre-Checkin Tests: passed r=sgehani 2000-06-10 00:51:06 +00:00
ssu%netscape.com 4d96b12dcb fixing bug #37168 - fixing the mac side of the bug. Install.Execute() now works on the Mac. precheckin tests=passed r=sgehani 2000-06-08 00:31:06 +00:00
inaky.gonzalez%intel.com 2b549b6f09 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
nhotta%netscape.com 8d71d33c09 Added PRUnichar version of escape function, bug 34373, r=rhp, a=bobj. 2000-06-05 22:01:32 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com 4aad2c830d # 37239
r = mkaply, a = brendan
OS/2 bringup - need a cast for OS/2 - OS/2 only
2000-06-02 20:15:33 +00:00
warren%netscape.com 7b7db14544 Fixed leak. 2000-05-31 04:34:54 +00:00
mkaply%us.ibm.com e06e081f89 # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00
mkaply%us.ibm.com 1327c328d1 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only
2000-05-25 14:23:27 +00:00
mkaply%us.ibm.com 70c48c4864 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only!
2000-05-22 19:38:22 +00:00
dougt%netscape.com 76d0fd531d fixing confusing comment. 38553 2000-05-21 05:42:57 +00:00
scc%mozilla.org dc02e4d194 fixed non-standard include-guard. This file is not currently part of the build 2000-05-20 20:48:12 +00:00
sfraser%netscape.com 3397e240e9 Un-inline a bunch of methods that wouldn't have been inlined anyway because they are virtual. Just tidyup. 2000-05-17 01:53:21 +00:00
dougt%netscape.com 0a752c90da Fixing 38767. Allows C: to be a valid path to InitWithPath(); 2000-05-17 00:29:59 +00:00
ssu%netscape.com a2d9db4f27 fixing bug #37457. Xpinstall's File.dirRemove() is now working. 2000-05-16 22:01:59 +00:00
brendan%mozilla.org 4f3dc7517a Comment grammar and style fixes. 2000-05-15 06:41:00 +00:00
dp%netscape.com 7d031aa4f9 Standalone xpcom. 2000-05-14 22:46:24 +00:00
scc%netscape.com 3d2ee11bee fix bug #36316 2000-05-12 23:09:28 +00:00
scc%netscape.com 76fd1bdfc5 fix bug #36311 2000-05-12 23:05:11 +00:00
mkaply%us.ibm.com c3b039c794 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes
2000-05-12 19:26:34 +00:00
scc%netscape.com 6a3f519024 Added "nsStringIO.h" to exports. r=hyatt 2000-05-12 07:46:13 +00:00
scc%netscape.com af47a17c7e First Checked In. 2000-05-12 03:16:35 +00:00
dougt%netscape.com 3add1c8cc5 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
pavlov%netscape.com d3743f534d fix for unix filepicker not coming up correctly (bug #38810) 2000-05-10 23:41:33 +00:00
nhotta%netscape.com d4cbdabbeb Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
check in for m_kato@ga2.so-net.ne.jp, r=ftang, bug 29546.
2000-05-10 22:24:22 +00:00
dougt%netscape.com 8e124a4998 InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.
2000-05-09 23:53:03 +00:00
dougt%netscape.com f3404beec0 Fixing bustage 2000-05-09 19:38:20 +00:00
dougt%netscape.com 7301481bba Missed six chars. fixing bustage 2000-05-09 19:28:55 +00:00
dougt%netscape.com e15f900e51 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com 2000-05-09 19:11:14 +00:00
dp%netscape.com 5a5476a465 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
mkaply%us.ibm.com fea354c37e # 34082
r= dougt
OS/2 bring up continues - support for OS/2 nsLocalFile
2000-05-02 23:14:31 +00:00
mkaply%us.ibm.com 11949af38c # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
cls%seawood.org 58aac2e6af OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106 2000-05-02 01:18:46 +00:00
mkaply%us.ibm.com 5c44941967 # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
2000-05-01 22:25:44 +00:00
mkaply%us.ibm.com aab38ad60d # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - checking in files for the OS/2 team
2000-05-01 22:21:43 +00:00
waterson%netscape.com 1d9fda50da Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc 2000-04-27 04:44:56 +00:00
dougt%netscape.com b139d06f0b Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.
2000-04-26 21:37:45 +00:00
ftang%netscape.com 86711491f1 check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
handle 0x5C properly by calling DBCSIsLeadByte function
2000-04-26 03:57:34 +00:00
dougt%netscape.com 1630293e17 Fixes problems in local file where getting a parent of a non-existant file did not work. Fixes a problem if you tried to create a folder and it parents did not exist. Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path. Fixing nsInstallFile to use nsIFile:: enums insteads of numbers. r=sgehani, a=leaf 2000-04-26 01:50:24 +00:00
dougt%netscape.com 56f4d7e351 missed commenting out two assertions which will cause mac and OS2 users
lots of pain.  r=brade, a=leaf.
2000-04-25 18:16:16 +00:00
sspitzer%netscape.com f249873f43 fix the threadsafe assertion. 2000-04-25 14:56:59 +00:00
pinkerton%netscape.com a7bb525b7c adding a helper to create/init from an FSSpec. 2000-04-25 04:09:18 +00:00
ssu%netscape.com b8fe8bbb03 fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use. 2000-04-25 02:39:42 +00:00
dougt%netscape.com cf392312f9 checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
2000-04-25 01:48:02 +00:00
dougt%netscape.com 79681b7a19 Adding xpcom.currentProcess 2000-04-24 22:54:04 +00:00
dougt%netscape.com 3bf4c6a4f3 Fix for bug 35751. Caching type and creator information for nsLocalFileMac. This is so that files can be created with a given type/creator tag after the initialization of the ifile.. r=warren and sfraser. 2000-04-24 03:24:49 +00:00
scc%netscape.com 03755b0d9d making string conversions explicit 2000-04-22 08:43:34 +00:00
ftang%netscape.com c8017ec30e fix nsFileSpec unicode interface . 2000-04-21 21:44:23 +00:00
cls%seawood.org 16043963c0 BeOS uses the Unix local file implementation. 2000-04-21 21:04:35 +00:00
cls%seawood.org 741fb751f9 Removed extra & as suggested by Matthew Z. on m.beos. 2000-04-21 21:03:56 +00:00
scc%netscape.com 1a5f86f42b making string conversions explicit 2000-04-21 07:09:51 +00:00
dbragg%netscape.com f68faea6f7 typo in Manifest file 2000-04-20 23:06:00 +00:00
dbragg%netscape.com 65f25ea943 Oops, forgot nsFileSpec.h 2000-04-20 22:59:30 +00:00
ftang%netscape.com 492cbadd7d 1. small fix on nsLocalFileCommon.cpp to fix unix warrning
2. add unicode methods to nsIFile/nsILocalFile idl
3. add nsLocalFileCommon.cpp to the unix and window makefile
2000-04-20 22:53:29 +00:00
dbragg%netscape.com 17f53749f2 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00
ftang%netscape.com d968ef267e first add for nsILocalFile unicode interface wrapper code
not part of the build system yet.
2000-04-20 05:44:03 +00:00
ftang%netscape.com 329f088d23 fix 22116. Check in patch from m_kato@ga2.so-net.ne.jp
Perform IsDBCSLeadByte before 0x5c escaping
2000-04-20 05:08:02 +00:00
dougt%netscape.com 7264d84926 fix for 36266. submitting by koehler@mythrium.com. 2000-04-20 01:08:53 +00:00
beard%netscape.com 9d3aee255a Compatibility with Universal Headers 3.3 or later. a=leaf 2000-04-19 22:13:51 +00:00
jdunn%netscape.com d2182db1a4 adding newline - hp bustage 2000-04-19 14:57:43 +00:00
davidm%netscape.com 65508e91e9 28412 metaDataLength is wrong in nsCachedNetData::Deserialize. Add routines to build stream from char* and length 2000-04-19 04:54:53 +00:00
andreas.otte%primus-online.de 63dfd3d4fa fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com 2000-04-16 07:33:25 +00:00
scc%netscape.com d0cd9d8b84 making string conversions explicit 2000-04-15 05:23:09 +00:00
warren%netscape.com d28275f713 Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE. 2000-04-13 09:20:58 +00:00
waqar%netscape.com 1954ef23e9 nsIByteArrayInputStream.h files does not exist any more. r=pollmann,a=leaf 2000-04-10 22:48:27 +00:00
ruslan%netscape.com 2aa756bb2c Fix nsBinaryStream::ReadStringZ which used to add extra '\0' thus causing
tje string lenth to be off by 1 and all these nasty nsString warnings;
a=leaf,r=smfr
2000-04-06 21:28:09 +00:00
jim_nance%yahoo.com 84e20f258d Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885
2000-04-05 22:37:01 +00:00
cls%seawood.org d8b7f7ec3a Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> . 2000-04-05 02:12:26 +00:00
waterson%netscape.com ce694992f4 Making string conversions explicit. 2000-04-04 09:35:51 +00:00
bruce%cybersight.com 04783ebdd8 Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc 2000-04-04 04:16:07 +00:00
mkaply%us.ibm.com f36999ebaf # 33860
r= mkaply@us.ibm.com
OS/2 bringup
2000-04-04 00:07:04 +00:00
davidm%netscape.com e7da0178b3 27857 nsIFile - MAC not completely implemented 2000-04-03 01:54:22 +00:00
davidm%netscape.com 9880d44313 First Checked In. 2000-04-03 01:50:18 +00:00
scc%netscape.com d5acc2d706 not sure if this is the _best_ way to solve the problem, but I added a c-string version of |NS_NewStringInputStream|, which can't use overloading since it's |extern "C"|, so I named it |NS_NewCStringInputStream|. 2000-04-01 22:27:03 +00:00
blizzard%redhat.com ca872d8778 checkin patches to implement nsILocalFile::GetDiskSpaceAvailable from Jason Eager and nsIFile::GetParent from pavlov. r=pavlov,blizzard,dougt. a=dougt 2000-04-01 20:07:14 +00:00
scc%netscape.com 080a801eb7 making string conversions explicit 2000-04-01 00:39:02 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jband%netscape.com 2e62a370df if people are going to insert four space tabs then let's set the Mode line's tab-width correctly 2000-03-28 05:01:05 +00:00
sgehani%netscape.com 7f72344dbd Fixing nsIFile::SetLastModificationDate on Win32.
b = 12368
r = dbragg
2000-03-28 03:39:02 +00:00
sgehani%netscape.com f18bd82eb6 Implemented nsIFile::SetLastModificationDate on the Mac. b = 12368 r = dbragg 2000-03-27 22:05:54 +00:00
sgehani%netscape.com 670a530d19 Fixing nsIFile::SetLastModificationDate for Unix.
b = 12368
r = ssu
2000-03-27 22:04:46 +00:00
dougt%netscape.com a1307c0064 Fix for 33098. MoveTo and CopyTo do not rename if the |in| parent is null.
I renamed the in parameter, and created a new stack var which I assign the
in parameter.  If the var is null, I initial it with the |this| parent. I
also made sure that if null was passed, we would tree the action as a move.
2000-03-24 05:47:39 +00:00
sfraser%netscape.com 70f4a2bdfe Fixing nsLocalFileMac so that Contains() works with file aliases, and is much faster. Also fix an issue with cacheing data, so that cacheing actually works. r=pinkerton. 2000-03-23 23:33:23 +00:00
ruslan%netscape.com 53a9b4ab75 Fix MAC build bustage - forgot to remove nsIByteArrayInputStream.h from the
MANIFEST as well
2000-03-22 04:14:26 +00:00
ruslan%netscape.com 3a22f6a8a0 Fix Unix build bustage - makefiles on unix and windows seems to actually
behave differently in this case
2000-03-22 03:02:34 +00:00