Commit Graph

305 Commits

Author SHA1 Message Date
rickg%netscape.com
b6f21d1225 improvements to string testbed to test perf
git-svn-id: svn://10.0.0.236/trunk@65352 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:04:12 +00:00
scc%netscape.com
fc66e4de74 Added tests for construction and |Find|. Added null loop timings to help better analyze results. Temporarily commented out block-stomping tests.
git-svn-id: svn://10.0.0.236/trunk@65148 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:20:05 +00:00
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
mkaply%us.ibm.com
284d146f9e # 33859
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65074 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:56:47 +00:00
scc%netscape.com
5dd09e2ded incremental changes. these files are not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@64725 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:28:38 +00:00
scc%netscape.com
3c41ffc527 Fixed timer code for Mac (PR_Now wasn't doing the trick). Now using |nsInt64| instead of implementing my own |operator-()|
git-svn-id: svn://10.0.0.236/trunk@64469 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:14:09 +00:00
scc%netscape.com
890d5950d9 added "nsFragmentedString.h"
git-svn-id: svn://10.0.0.236/trunk@64468 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:12:54 +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
scc%netscape.com
7e7ce110f6 updating to reflect work done and desired
git-svn-id: svn://10.0.0.236/trunk@64229 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 09:07:39 +00:00
scc%netscape.com
b6347939dc traded in |copy_chunky_backward| for |string_copy_backward| and moved it to "nsAReadableString.h" along with the |string_copy|s. Added tests for |SetLength|, which would have caught the problem in |nsString| I fixed earlier, and one for |Insert| that exposed the trouble in |copy_chunky_backward|.
git-svn-id: svn://10.0.0.236/trunk@64228 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 09:06:37 +00:00
rickg%netscape.com
5ac964af00 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64195 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:06:01 +00:00
scc%netscape.com
50b474b6ca re-fix for the Mac after working with Pav to make all the tests compile on Linux
git-svn-id: svn://10.0.0.236/trunk@64108 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:44:57 +00:00
scc%netscape.com
4aea0e4591 File Removed.
git-svn-id: svn://10.0.0.236/trunk@64106 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:37:30 +00:00
pavlov%netscape.com
550e39bc3f make string tests build on unix
git-svn-id: svn://10.0.0.236/trunk@64090 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:59:19 +00:00
scc%netscape.com
6887e9c19b getting the unit tests and profiling tests to run on all platforms
git-svn-id: svn://10.0.0.236/trunk@64079 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:56:47 +00:00
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
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
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
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
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
e080803e50 Added ToDo.doc, so the list of things to do is visible in the project. This project is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62943 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:32:27 +00:00
scc%netscape.com
16821f8726 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62942 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:31:43 +00:00
scc%netscape.com
51948b288b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62939 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 15:56:34 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
rickg%netscape.com
f003eabfaa moved string test to windows subdirectory
git-svn-id: svn://10.0.0.236/trunk@61790 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:58:17 +00:00
rickg%netscape.com
0b6c107cd7 Added nsString regression test; not part of build
git-svn-id: svn://10.0.0.236/trunk@61789 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:57:30 +00:00
rickg%netscape.com
a972d34e67 adding testfile for nsString; this is NOT part of the build
git-svn-id: svn://10.0.0.236/trunk@61787 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:53:11 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
pp%ludusdesign.com
fdfd888608 Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59394 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 14:26:27 +00:00
scc%netscape.com
6d5641deac fix include paths
git-svn-id: svn://10.0.0.236/trunk@59196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 20:09:20 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
briano%netscape.com
ffdb784714 Replaced MOZ_COMPONENT_XPCOM_LIBS with MOZ_COMPONENT_LIBS so we pick up the NSPR libs as well. Fixes a couple of ignored platform Tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@57975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 22:52:57 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
edburns%acm.org
1af32fc433 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.


git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
warren%netscape.com
070a48ce2a Made nsIProperties scriptable. Bug #21982
git-svn-id: svn://10.0.0.236/trunk@56832 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 09:29:25 +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
e273b1a9c4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@56701 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:50:08 +00:00
dougt%netscape.com
bf5350e2e6 removing unneeded header file.
not part of build.


git-svn-id: svn://10.0.0.236/trunk@56339 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:58:25 +00:00
briano%netscape.com
fcb98dd458 NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before....
git-svn-id: svn://10.0.0.236/trunk@56263 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 01:39:12 +00:00
scc%netscape.com
dba31d43b3 and there's another instance of the build-busting old cast still in the file
git-svn-id: svn://10.0.0.236/trunk@55585 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 15:51:21 +00:00
scc%netscape.com
d35ae0e781 Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-(
git-svn-id: svn://10.0.0.236/trunk@55583 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 15:26:41 +00:00
scc%netscape.com
5344c3abe4 Attempting to fix build bustage. Looks like a compiler bug (since |TestObserver| isn't a base class of |nsISupports| in any way, at least the error message has got to be wrong).
git-svn-id: svn://10.0.0.236/trunk@55582 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:46:35 +00:00
scc%netscape.com
fd67f20a6a Make observers support weak references. Bug #18682; r=dp.
git-svn-id: svn://10.0.0.236/trunk@55580 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:06:36 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
dougt%netscape.com
2f8584c230 updating to new interface and design.
git-svn-id: svn://10.0.0.236/trunk@55138 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:44:01 +00:00
mcafee%netscape.com
6724125aa5 Removing EXPORTS, parent makefile explicitly points at this directory now. r=bryner
git-svn-id: svn://10.0.0.236/trunk@54846 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 02:30:38 +00:00
waterson%netscape.com
d0ed7ceda0 Try to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@54845 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 02:25:28 +00:00
mcafee%netscape.com
3f178b45e9 missing exports
git-svn-id: svn://10.0.0.236/trunk@54844 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 02:24:01 +00:00
dp%netscape.com
694b0720be NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54828 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:21:53 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00