101 Commits

Author SHA1 Message Date
mcmullen%netscape.com
681a46c1c0 Added tests for size and mod date.
git-svn-id: svn://10.0.0.236/trunk@23566 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:03:53 +00:00
waterson%netscape.com
195f0c9dd4 Added OS_CurrentProcessDirectory test.
git-svn-id: svn://10.0.0.236/trunk@23502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:08:06 +00:00
mcmullen%netscape.com
2b21b06cb7 Turning on dougt's special system directory stuff, and adding it to the Macintosh build. Fixed spurious leading slash on getting leaf name (win and unix). Adding dougt's equality test operator, too. Adding dougt's test code for all the above.
git-svn-id: svn://10.0.0.236/trunk@23385 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:33:36 +00:00
warren%netscape.com
5d0cd73d0a Include problem.
git-svn-id: svn://10.0.0.236/trunk@23334 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 14:44:24 +00:00
warren%netscape.com
e082c74dc0 Backed out the nsService template stuff.
git-svn-id: svn://10.0.0.236/trunk@23320 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:49:41 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
mcmullen%netscape.com
5b8c2045d8 Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:53:56 +00:00
dougt%netscape.com
1cbb8d488d Added testcases for nsSpecialSystemDirectory. These cases are
currently turned off until mcmullen takes a look at them on the mac.


git-svn-id: svn://10.0.0.236/trunk@22924 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:21:33 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
ramiro%netscape.com
164e781dbc Do the exception thing only if HAVE_CPP_EXCEPTIONS is defined.
git-svn-id: svn://10.0.0.236/trunk@22438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:54:16 +00:00
mcmullen%netscape.com
9e4dad31a3 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
git-svn-id: svn://10.0.0.236/trunk@22383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:36:48 +00:00
mcafee%netscape.com
9f2b58f6b6 Switching false/true over to PR_FALSE/PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@22199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:47:48 +00:00
ebina%netscape.com
13608a9e24 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22145 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:19:00 +00:00
ebina%netscape.com
f3c0c2ca83 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22111 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:59:52 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
mcafee%netscape.com
290b452307 Better ifdef logic for last checkin
git-svn-id: svn://10.0.0.236/trunk@22087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:44:50 +00:00
mcafee%netscape.com
a61404126a Solaris/CC refused to compile part of this file, giving up for now. a=scc
git-svn-id: svn://10.0.0.236/trunk@22083 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:41:15 +00:00
dougt%netscape.com
451b4db4af Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.


git-svn-id: svn://10.0.0.236/trunk@21977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:49:47 +00:00
warren%netscape.com
c49d0d89a8 Fixed NS_INIT_REFCNT problem.
git-svn-id: svn://10.0.0.236/trunk@21573 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 04:37:31 +00:00
mjudge%netscape.com
a811da51ec changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@21356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:20 +00:00
mcafee%netscape.com
d16f99e851 Solaris: adding do_QueryInterface() wrapper per scc's carpool.
git-svn-id: svn://10.0.0.236/trunk@21305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:14:26 +00:00
danm%netscape.com
1aaae0af52 activate exception handling for tests: TestCOMPtr uses them
git-svn-id: svn://10.0.0.236/trunk@20854 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:18:40 +00:00
scc%netscape.com
4e937fc0aa updated to new interface for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20847 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:58:25 +00:00
scc%netscape.com
390cefda5f Activate browser so you get the colorized source
git-svn-id: svn://10.0.0.236/trunk@20329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:35:54 +00:00
scc%netscape.com
218ef805b6 Added |nsresult nsCOMPtr::assignment_error() const;| which returns the error, if any, from the most recent operation (constructor or assignment operator) that implicitly calls |QueryInterface|. This did not increase the size of an |nsCOMPtr|.
git-svn-id: svn://10.0.0.236/trunk@20328 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:34:07 +00:00
sar%netscape.com
31c3b38273 Turn of "modification date caching" so that dependencies are sure to work.
git-svn-id: svn://10.0.0.236/trunk@20306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:04:46 +00:00
dp%netscape.com
fbd9ebf114 Adding libreg as xpcom depends on it
git-svn-id: svn://10.0.0.236/trunk@20208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:01:50 +00:00
mcafee%netscape.com
6f5c751027 Adding TestID.cpp, removing unused rules, more portable link line
git-svn-id: svn://10.0.0.236/trunk@19922 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 08:19:16 +00:00
waterson%netscape.com
19cc41ca68 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@19618 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:40:22 +00:00
ftang%netscape.com
3dcda91510 calling nsSetupRegistry for mac. Need to try UNIX and Window before turn out the #ifdef XP_MAC
git-svn-id: svn://10.0.0.236/trunk@19385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:50:15 +00:00
mcafee%netscape.com
a59efb63f6 Adding License
git-svn-id: svn://10.0.0.236/trunk@19275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:16:52 +00:00
erik%netscape.com
cc32d390c7 Added test program and test file for new nsIProperties stuff.
(Like Java properties.)


git-svn-id: svn://10.0.0.236/trunk@18657 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:51:18 +00:00
waterson%netscape.com
c3e5920240 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen.
git-svn-id: svn://10.0.0.236/trunk@18654 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:33 +00:00
ftang%netscape.com
48e0a7b1ab change nsCharSetID into nsString type
git-svn-id: svn://10.0.0.236/trunk@18491 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 16:05:04 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
ramiro%netscape.com
b21219c408 Build TestCOMPtr by default.
git-svn-id: svn://10.0.0.236/trunk@18375 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:03:44 +00:00
mcmullen%netscape.com
67a2f24b86 Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely.
git-svn-id: svn://10.0.0.236/trunk@17274 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 23:38:21 +00:00
mcmullen%netscape.com
4bbbe1f26f Simplify the console case, so that Windows does not think it has to compile with exception handling.
git-svn-id: svn://10.0.0.236/trunk@16914 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 00:24:32 +00:00
law%netscape.com
de264087db Add nsFile* to Windows build
git-svn-id: svn://10.0.0.236/trunk@16817 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 20:06:56 +00:00
scc%netscape.com
e9d8de921a added |dont_QueryInterface| facility, re-added the NS_ADDREF macros, though conditionally
git-svn-id: svn://10.0.0.236/trunk@16781 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 23:26:39 +00:00
mcmullen%netscape.com
a4ac66b40a Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now.
git-svn-id: svn://10.0.0.236/trunk@16688 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:06:54 +00:00
scc%netscape.com
46ba36922f NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed.
git-svn-id: svn://10.0.0.236/trunk@16637 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 03:44:51 +00:00
scc%netscape.com
261d8c4bf9 Fixed build bustage (bad access paths)
git-svn-id: svn://10.0.0.236/trunk@16600 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:47:47 +00:00
mjudge%netscape.com
3d5e302f6d removing files from repository
git-svn-id: svn://10.0.0.236/trunk@16598 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:39:02 +00:00
scc%netscape.com
a09cdf1a14 COM_auto_ptr --> nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@16596 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:27:29 +00:00
mjudge%netscape.com
e0271df732 changing auto ptr to use the new header
git-svn-id: svn://10.0.0.236/trunk@16594 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:25:32 +00:00
scc%netscape.com
82b43093b4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16593 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:21:58 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
mcmullen%netscape.com
ab3213f20d Made all this build on Unix, using Macros up the wazoo
git-svn-id: svn://10.0.0.236/trunk@16466 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:45:09 +00:00
scc%netscape.com
6ae6d4c919 VC++4.2 can't use a declaration expression as a test. Oh well. Moved declaration to outside the test.
git-svn-id: svn://10.0.0.236/trunk@16288 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:26:11 +00:00