brendan%mozilla.org
40bece4baa
Use deadlock detecting nsAutoMonitors, etc., correctly.
...
git-svn-id: svn://10.0.0.236/trunk@46127 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:57:40 +00:00
driehuis%playbeing.org
39e631595e
Unbreak the BSD/OS build. sys/mount.h drags in net/radix.h, which happens
...
to define a symbol called Free. Sigh. Clean up after net/radix.h.
git-svn-id: svn://10.0.0.236/trunk@46038 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 00:49:01 +00:00
bruce%cybersight.com
3a6ad64e5e
Use nsCRT::free() on result of nsEscape() instead of delete[].
...
git-svn-id: svn://10.0.0.236/trunk@46014 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 17:10:10 +00:00
bruce%cybersight.com
a5103b136d
MacFileHelpers::EncodeMacPath() returns the result of an nsEscape() call, so all callers must nsCRT::free() the result instead of using delete[].
...
git-svn-id: svn://10.0.0.236/trunk@46013 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 17:09:06 +00:00
bruce%cybersight.com
1f08e07e26
Use nsAllocator. Some comments tweaked.
...
git-svn-id: svn://10.0.0.236/trunk@46010 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 16:33:12 +00:00
shaver%netscape.com
aff923d924
add IsChildOf, and dougt's relative-path-handling diff
...
git-svn-id: svn://10.0.0.236/trunk@45975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:44:59 +00:00
duncan%be.com
c725727628
A bunch of things to get the BeOS build to work. Mostly
...
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
git-svn-id: svn://10.0.0.236/trunk@45881 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 12:54:05 +00:00
dougt%netscape.com
1e7ceb2732
more changes from conversations with brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@45570 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:51:11 +00:00
cata%netscape.com
82b73ce0cc
Fixing build warnings. Step 2: switch to use new method from the interface.
...
git-svn-id: svn://10.0.0.236/trunk@45546 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:50:50 +00:00
mscott%netscape.com
36df82089a
Bug #9836 --> Unix only fix. When returning the temp directory, don't return /tmp/. Try to return the temp dir
...
specified by the unix environment variable: TMPDIR. If that variable isn't set, then use /tmp/.
a=sdagley
git-svn-id: svn://10.0.0.236/trunk@45421 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 02:37:55 +00:00
cyeh%netscape.com
c6342ee432
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
...
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
warren%netscape.com
90f71e2680
Made NS_BASE_STREAM_WOULD_BLOCK a failure code (for JS). Reduced socket transport buffer size. Fixed ABBA deadlock when calling OnEmpty in pipe code (bug#12870).
...
git-svn-id: svn://10.0.0.236/trunk@45357 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 21:47:30 +00:00
rjc%netscape.com
a744f7636b
For Unix, don't return "." ".." or any file/directory that begins with a "."! Perhaps we should really end up having a preference that determines whether to return these "hidden" items or not.
...
git-svn-id: svn://10.0.0.236/trunk@45146 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 11:40:29 +00:00
bruce%cybersight.com
eeddabfab0
Fix build bustage. Thanks waterson! Sorry about that.
...
git-svn-id: svn://10.0.0.236/trunk@45102 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 01:06:54 +00:00
bruce%cybersight.com
ad237541df
Fix warning from my last checkin.
...
git-svn-id: svn://10.0.0.236/trunk@45101 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:51:56 +00:00
bruce%cybersight.com
d14a97c695
Change deallocation for nsAutoCString to use nsAllocator. This removes several thousand FMM errors in Purify.
...
git-svn-id: svn://10.0.0.236/trunk@45098 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:32:27 +00:00
shaver%netscape.com
b6754876bd
make sure that /path/to/dir and /path/to/dir/ are treated as equal
...
git-svn-id: svn://10.0.0.236/trunk@45082 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 22:05:11 +00:00
mscott%netscape.com
b80311651e
Bug #12638 --> Fix nsPipe2::GetLength to return the number of unread bytes in the pipe. r=warren, a=cyeh
...
git-svn-id: svn://10.0.0.236/trunk@44853 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 19:14:57 +00:00
warren%netscape.com
2b50803a43
Fixed bug that OnEmpty wasn't called. Fixed bug in Search (it would terminate prematurely on eof).
...
git-svn-id: svn://10.0.0.236/trunk@44803 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 10:32:45 +00:00
beard%netscape.com
6e47742ea0
plugged a memory leak in GetCString().
...
git-svn-id: svn://10.0.0.236/trunk@44715 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:47:43 +00:00
warren%netscape.com
87fff7df9f
Reset cursors on Empty.
...
git-svn-id: svn://10.0.0.236/trunk@44587 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 00:25:43 +00:00
warren%netscape.com
011397fd0d
Fixed QI bug that could cause the input stream to be closed too early.
...
git-svn-id: svn://10.0.0.236/trunk@44586 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 00:25:20 +00:00
dougt%netscape.com
2074d0de9b
more changes based on feedback.
...
git-svn-id: svn://10.0.0.236/trunk@44463 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 06:11:14 +00:00
brendan%mozilla.org
d87f3f7b04
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
dougt%netscape.com
58f84fa5ea
more changes as suggested by warren@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@44363 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:32 +00:00
dougt%netscape.com
24ff470d00
renaming nsIDirectoryIterator.idl to nsIDirectoryEnumerator.idl
...
git-svn-id: svn://10.0.0.236/trunk@44333 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 20:22:21 +00:00
pavlov%netscape.com
30ec336bcb
isHidden was returning backwards results
...
git-svn-id: svn://10.0.0.236/trunk@44309 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:32:06 +00:00
warren%netscape.com
466d3cb0e7
Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more.
...
git-svn-id: svn://10.0.0.236/trunk@44272 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 08:45:17 +00:00
warren%netscape.com
7a7fd24d13
Added -- supercedes nsIBuffer.h
...
git-svn-id: svn://10.0.0.236/trunk@44247 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 04:54:56 +00:00
dougt%netscape.com
85d906f782
a real iid.
...
git-svn-id: svn://10.0.0.236/trunk@44231 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 03:59:07 +00:00
dougt%netscape.com
fe70c4bdd6
First cut of an IDL for a replace of the nsDirectoryIterator class.
...
git-svn-id: svn://10.0.0.236/trunk@44201 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:47:41 +00:00
dougt%netscape.com
f96c91fe01
Adding Append() and ResolveSymlink()
...
git-svn-id: svn://10.0.0.236/trunk@44200 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:47:02 +00:00
scc%netscape.com
56d5ad0b43
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
...
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
scc%netscape.com
7c0b0cb314
Added |GetIID|
...
git-svn-id: svn://10.0.0.236/trunk@44086 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 20:54:08 +00:00
mccabe%netscape.com
f54a574f03
Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
...
git-svn-id: svn://10.0.0.236/trunk@44056 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:25:50 +00:00
dougt%netscape.com
a2743e2a69
first cut of a new file class.
...
git-svn-id: svn://10.0.0.236/trunk@43978 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 07:38:26 +00:00
dougt%netscape.com
9ce9c8b2b7
Adding fix for 6181. It is currently ifdef'ed out. Looking for a mac person to
...
verify.
git-svn-id: svn://10.0.0.236/trunk@43448 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 02:17:21 +00:00
warren%netscape.com
7a040bf33f
Fix for bug 10797: Messenger hang. 2 problems: mac shouldn't be using page manager -- doesn't do vm, and trying to flush when the buffer is empty ends up spinning.
...
git-svn-id: svn://10.0.0.236/trunk@43271 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 00:46:16 +00:00
dougt%netscape.com
2cfd1b381f
Fix for bug 9007 submitted by david.gardiner@unisa.edu.au.
...
git-svn-id: svn://10.0.0.236/trunk@43066 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:00:53 +00:00
warren%netscape.com
0d36a9523c
Removed crtdbg.h
...
git-svn-id: svn://10.0.0.236/trunk@43014 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 20:30:45 +00:00
mcafee%netscape.com
e062496972
Fixing linux bustage, I can't find crtdbg.h in the tree.
...
git-svn-id: svn://10.0.0.236/trunk@43012 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 20:11:25 +00:00
warren%netscape.com
1500b9cd8d
Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build.
...
git-svn-id: svn://10.0.0.236/trunk@43001 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:21:17 +00:00
warren%netscape.com
63a73eb8df
Added new pipe implementation -- simpler and faster.
...
git-svn-id: svn://10.0.0.236/trunk@42999 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:18:39 +00:00
warren%netscape.com
72aec95888
Made Read return as soon as it's got something, rather than waiting until the buffer is full.
...
git-svn-id: svn://10.0.0.236/trunk@42997 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:48 +00:00
mccabe%netscape.com
1999447bdb
Changes to the xpidl compiler -
...
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].
This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.
As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout. As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
git-svn-id: svn://10.0.0.236/trunk@42960 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 12:18:01 +00:00
alecf%netscape.com
ec7111b0bd
fix constructor warning
...
git-svn-id: svn://10.0.0.236/trunk@42662 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 20:06:38 +00:00
pinkerton%netscape.com
086f5f9900
remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete.
...
git-svn-id: svn://10.0.0.236/trunk@41942 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 04:51:45 +00:00
briano%netscape.com
c3620d71f5
Fix for SCO OpenServer.
...
git-svn-id: svn://10.0.0.236/trunk@41731 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 19:33:36 +00:00
dougt%netscape.com
e4563ddee0
Changing nonscriptable to noscript.
...
git-svn-id: svn://10.0.0.236/trunk@41722 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:37:29 +00:00
duncan%be.com
ded6da2abc
Fix ResolveSymlink for BeOS (BeOS doesn't have realpath).
...
BEOS ONLY FIX NEEDED TO UNBREAK THE BUILD!
git-svn-id: svn://10.0.0.236/trunk@41591 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 12:03:25 +00:00