dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
darin%netscape.com
3872488d18
b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
...
r=dougt sr=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
cathleen%netscape.com
6a0e426e6c
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
bryner%netscape.com
632ac8da85
Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@113571 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 07:05:10 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
mscott%netscape.com
15165102a9
Bug #32222 --> re-expose the search method on the input stream of a pipe.
...
r/sr=darin,bienvenu
git-svn-id: svn://10.0.0.236/trunk@91664 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 21:29:11 +00:00
waterson%netscape.com
214693cd4a
Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@86858 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:33:11 +00:00
darin%netscape.com
5bdcf4f717
Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
...
r=bryner,gagan,brendan,dougt sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85602 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:28:00 +00:00
darin%netscape.com
73495dffa0
Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
...
r=dougt@netcape.com , sr=mscott@netscape.com .
git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
warren%netscape.com
f29b00bbe4
Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
...
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
danm%netscape.com
a561ef00c3
Deathgrip the output stream during WriteSegments to prevent bug 46267. This is a temporary patch to stop a common startup crash, until the real underlying cause is found. r=ruslan
...
git-svn-id: svn://10.0.0.236/trunk@75328 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:33:36 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
warren%netscape.com
9fa657f1cd
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.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
mscott%netscape.com
86330f79ee
Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
...
r=warren
a=leaf
git-svn-id: svn://10.0.0.236/trunk@59785 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 21:45:46 +00:00
warren%netscape.com
9d42d7f278
Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@59754 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 08:33:17 +00:00
jdunn%netscape.com
7fe5ff0d54
Fix slamm's warnings of shadowing previous variables.
...
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57481 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:54:10 +00:00
warren%netscape.com
4b49861500
Added OnClose method to nsIPipeObserver (bug#23080)
...
git-svn-id: svn://10.0.0.236/trunk@56824 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 05:07:46 +00:00
dougt%netscape.com
77509d47e0
Adding include of prlink.h to nsILocalFile.idl.
...
remove a bad semicolon in nsLocalFileWin
above not in build.
Adding an explict include of nsCRT to nsPipe2.cpp
this is in the build, but is trival.
git-svn-id: svn://10.0.0.236/trunk@56352 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 04:11:13 +00:00
valeski%netscape.com
62482783f2
21723. a=chofmann, r=warren. earlier this week segment size and max size parameters were exposed to higher level consumers of necko apis. this change warns a user if they try to create a pipe w/ zero len segs and max sizes. pipes are useless without sizes
...
git-svn-id: svn://10.0.0.236/trunk@55989 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:08:40 +00:00
warren%netscape.com
871543dac7
Fix from Jud where we were dropping error code. r=warren
...
git-svn-id: svn://10.0.0.236/trunk@54972 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 00:58:43 +00:00
dp%netscape.com
9b0cfefb70
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54812 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:36:32 +00:00
warren%netscape.com
50fd544966
Fix for case where we're trying to Write to a blocking stream, and we're out of buffer space. This should block. r=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@53413 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 06:16:52 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
warren%netscape.com
54581e51ee
Added some sanity assertions. r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@52514 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:38:22 +00:00
mscott%netscape.com
42395fb4cd
Bug #14612 . I'm checking this in for warren. r=mscott
...
The pipe shouldn't block when you write more bytes into the pipe than the size of the pipe's buffer. Add an extra
notify to the writer of the pipe after we read data out of it.
git-svn-id: svn://10.0.0.236/trunk@50190 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 02:03:34 +00:00
warren%netscape.com
f074880c8c
Took out unused page manager.
...
git-svn-id: svn://10.0.0.236/trunk@49088 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 07:26:21 +00:00
warren%netscape.com
3d8d35d25f
Fixed warnings.
...
git-svn-id: svn://10.0.0.236/trunk@48377 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:57:21 +00:00
warren%netscape.com
f54f77ad2a
Fixed uninitialized return value.
...
git-svn-id: svn://10.0.0.236/trunk@47323 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 09:33:53 +00:00
warren%netscape.com
7192e49585
Disabled the page manager until we have more time to make it work properly.
...
git-svn-id: svn://10.0.0.236/trunk@46890 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:34:12 +00:00
warren%netscape.com
de60d2685c
Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
...
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
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
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
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
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
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
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
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
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