scc%netscape.com
00a3bf5489
Lots of changes to get this stuff building on Solaris, et al. None of these changes effect the mainline build yet, and won't until |NEW_STRING_APIS| is defined for everyone (coming soon)
...
git-svn-id: svn://10.0.0.236/trunk@64052 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:33:58 +00:00
rickg%netscape.com
61451beb94
WIP for new string library, and defensive coding improvement in SetCapcity; r=buster
...
git-svn-id: svn://10.0.0.236/trunk@64014 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:21:56 +00:00
rickg%netscape.com
39a364f3bd
correct off-by-one error (edge case); r=buster
...
git-svn-id: svn://10.0.0.236/trunk@64013 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:19:00 +00:00
rickg%netscape.com
f39e05af9c
fixed bug31317; r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@64012 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:17:51 +00:00
waterson%netscape.com
b503688549
Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). r=scc
...
git-svn-id: svn://10.0.0.236/trunk@64004 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:02:59 +00:00
waterson%netscape.com
41acdb82ce
Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). Minor silly fixes.
...
git-svn-id: svn://10.0.0.236/trunk@64003 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:02:37 +00:00
dougt%netscape.com
adcf7dec28
Adding a rename test.
...
git-svn-id: svn://10.0.0.236/trunk@64000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:48:18 +00:00
dougt%netscape.com
38316cfc04
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.
git-svn-id: svn://10.0.0.236/trunk@63999 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:47:39 +00:00
jim_nance%yahoo.com
e0700bf12e
Added code to put a U after unsigned numbers. This gets rid of the
...
"decimal constant is so large its unsigned" warnings.
r=shaver
git-svn-id: svn://10.0.0.236/trunk@63978 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:19:34 +00:00
jfrancis%netscape.com
cfcc495edd
nsIEditRules IID
...
git-svn-id: svn://10.0.0.236/trunk@63958 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:43:38 +00:00
waterson%netscape.com
f40e891d2e
Condition nsAutoCString operator=() on NEW_STRING_APIS. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63957 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:41:40 +00:00
waterson%netscape.com
230de8a1d0
Condition nsAutoString operator=() and some Assign() based on NEW_STRING_APIS. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63956 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:40:47 +00:00
waterson%netscape.com
c16ef3cc46
Use NS_MIN and NS_MAX instead of std::min and std::max. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63955 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:39:44 +00:00
waterson%netscape.com
945689663d
Add NS_MIN and NS_MAX macros to hide inconsistencies with std::min and std::max. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63954 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:38:52 +00:00
dp%netscape.com
920aad1008
Stack walking code for powerpc linux. Thanks to patch from
...
darkmane@w-link.net r=waterson
git-svn-id: svn://10.0.0.236/trunk@63927 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:39:25 +00:00
sfraser%netscape.com
ebc52d7f5d
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.
...
git-svn-id: svn://10.0.0.236/trunk@63926 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:33:23 +00:00
slamm%netscape.com
ce51b4a0c0
Quiet 'Illegal empty declaration' warning from Mac.
...
git-svn-id: svn://10.0.0.236/trunk@63916 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:29 +00:00
scc%netscape.com
946ef71be0
fixing ambiguities caused by name hiding
...
git-svn-id: svn://10.0.0.236/trunk@63899 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:53:53 +00:00
scc%netscape.com
33689dfd59
resolving ambiguities; getting the new string APIs to build everywhere
...
git-svn-id: svn://10.0.0.236/trunk@63897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:42:34 +00:00
scc%netscape.com
cfed15f5a1
Added "nsCharTraits.h"; no longer relying on |std::char_traits|. Renamed some things so overloading wouldn't fight with overriding.
...
git-svn-id: svn://10.0.0.236/trunk@63876 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:15:01 +00:00
scc%netscape.com
64c527337e
Added "nsCharTraits.h"
...
git-svn-id: svn://10.0.0.236/trunk@63874 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:10:46 +00:00
scc%netscape.com
6543af6118
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@63872 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:09:27 +00:00
scc%netscape.com
5fcf54179f
Conditionally enable the new string APIs. Don't worry, they're not turned on yet. All changes r=waterson. Changes that effect |nsString| unconditionally, r=rickg.
...
git-svn-id: svn://10.0.0.236/trunk@63813 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:12:23 +00:00
sspitzer%netscape.com
e185151db4
fix a typo.
...
git-svn-id: svn://10.0.0.236/trunk@63798 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:49:32 +00:00
scc%netscape.com
d05dc6672e
fixed some warnings
...
git-svn-id: svn://10.0.0.236/trunk@63781 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:55:10 +00:00
scc%netscape.com
852772fd1e
|wchar_t| will not be turned on by default, yet. These files are still not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@63780 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:53:44 +00:00
scc%netscape.com
d4c745fe80
slight renaming and fixed a template signature for AIX
...
git-svn-id: svn://10.0.0.236/trunk@63778 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:52:17 +00:00
scc%netscape.com
92d963eb95
Getting rid of warnings. These files are not yet part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@63777 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:51:18 +00:00
scc%netscape.com
ae6cee7e1d
Incremental changes. These files are still not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@63730 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:22:28 +00:00
scc%netscape.com
cdb32d5be1
Made critical operations exploit chunky iterators. These files are not yet part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@63729 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:19:48 +00:00
ruslan%netscape.com
631f5753e7
Fix MAC build bustage - forgot to remove nsIByteArrayInputStream.h from the
...
MANIFEST as well
git-svn-id: svn://10.0.0.236/trunk@63710 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 04:14:26 +00:00
ruslan%netscape.com
921b8f7203
Cause NS_NewByteArrayInputStream to get actually exported out of windows
...
dll, r=warren
git-svn-id: svn://10.0.0.236/trunk@63700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:07:39 +00:00
ruslan%netscape.com
e07a5aac0d
Fix Unix build bustage - makefiles on unix and windows seems to actually
...
behave differently in this case
git-svn-id: svn://10.0.0.236/trunk@63698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:02:34 +00:00
ruslan%netscape.com
84da80ad5b
Enabling ByteArrayInputStream. Needed to fix 32600, r=warren
...
git-svn-id: svn://10.0.0.236/trunk@63692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:50:56 +00:00
sfraser%netscape.com
6f132223fd
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:48 +00:00
dougt%netscape.com
27ce86ed83
Fixing SetModificationTime based on MS documentation. It is still failing, but
...
this is documented to work:
http://support.microsoft.com/support/kb/articles/Q167/2/96.ASP
git-svn-id: svn://10.0.0.236/trunk@63678 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:37:52 +00:00
warren%netscape.com
fca9f5829c
Added nsIByteArrayInputStream.idl and nsByteArrayInputStream.cpp for Ruslan.
...
git-svn-id: svn://10.0.0.236/trunk@63676 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:12 +00:00
ruslan%netscape.com
fcb56ad562
Add ByteArrayInoutStream. Not part of the build yet
...
git-svn-id: svn://10.0.0.236/trunk@63669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:48:48 +00:00
ftang%netscape.com
a170448c56
add assertion code for data lostage. r/a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@63605 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:04:50 +00:00
tor%cs.brown.edu
f75329eb51
C++ comment in header included from C files is a Bad Thing (tm). r=cls
...
git-svn-id: svn://10.0.0.236/trunk@63417 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 00:01:22 +00:00
mccabe%netscape.com
163180b9f8
Fix to 11454
...
Respect [noscript] property for attributes by setting the attribute as hidden in the emitted typelib.
r=jband
git-svn-id: svn://10.0.0.236/trunk@63382 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 07:55:43 +00:00
scc%netscape.com
fd4ef985aa
Added the Bill Law trick to make |nsCOMPtr| break the build for everybody where it use to break it only for Solaris and a few others (the `tainting' problem). Added a haiku. r=danm
...
git-svn-id: svn://10.0.0.236/trunk@63372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:17:46 +00:00
mccabe%netscape.com
e55dfb384a
Adding [noscript].
...
git-svn-id: svn://10.0.0.236/trunk@63362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:34:02 +00:00
mccabe%netscape.com
ec89277669
Fix bustage; replace strdup (no prototype on mac) with call to (existing!) xpidl_strdup.
...
git-svn-id: svn://10.0.0.236/trunk@63361 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:29:23 +00:00
mccabe%netscape.com
a1fefe68af
Adding [noscript], to get past my recently-added xpidl compiletime error. Looks like I missed a file.
...
git-svn-id: svn://10.0.0.236/trunk@63357 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:01:19 +00:00
mccabe%netscape.com
554699a6de
- Add preliminary code for a documentation backend. Hopefully someone will want to extend it...
...
- Add a compile-time check requiring non-scriptable (because they're native) attributes to be marked [noscript] within [scriptable] interfaces. This mirrors an existing check for methods, and may save some hair-pulling for script authors. Partial fix to 11454.
- Emit a sample implementation (#ifdef 0) into the generated .h file that component authors can copy and use as the start of their implementation. Code courtesy jband.
r=jband, r=mccabe
git-svn-id: svn://10.0.0.236/trunk@63355 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:30:35 +00:00
scc%netscape.com
b19fe053b7
Added spaces to the cast macros to allow casting of template types. Moved |HAVE_CPP_...| symbols here from "nsCOMPtr.h" since more files need them. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@63331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:29 +00:00
scc%netscape.com
2b15cf20b5
Renamed an internal typename. Was |nsDontAddRef<T>|, now is |already_AddRefed<T>| in hopes that it can be used outside of "nsCOMPtr.h". Moved |HAVE_CPP_...| symbols out of here and into "nscore.h" because more files need them. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@63330 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:18 +00:00
scc%netscape.com
3717f373dc
Added the new string interface files to the export lists for each platform. They still aren't part of the build. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@63317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:04:48 +00:00
sspitzer%netscape.com
0f6cad9a9c
fix for #32245 . r=bienvenu.
...
git-svn-id: svn://10.0.0.236/trunk@63315 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:53:49 +00:00