pedemont%us.ibm.com
aadb826aea
Bug 325260 - On Mac OS X, XPCOMGlueLoadXULFunctions should search library's symbol table, not global symbol table. Also, use snprintf (instead of sprintf) on all platforms. r=bsmedberg, sr=mentovai.
...
git-svn-id: svn://10.0.0.236/trunk@188670 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 16:51:12 +00:00
darin%meer.net
fff2cf22d2
fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@188465 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 17:16:50 +00:00
mark%moxienet.com
a862a15819
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
...
git-svn-id: svn://10.0.0.236/trunk@188060 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 20:11:08 +00:00
bzbarsky%mit.edu
784dbe430c
Remove assertion that unnecessarily makes do_GetInterface less useful. Bug
...
323382, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=darin,
moa=dougt, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187985 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 22:24:27 +00:00
jag%tty.nl
168c741a4f
Bug 324124: nsCOMPtr can be constructed with const char* and nsID
...
r=bsmedberg, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@187963 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 11:23:32 +00:00
darin%meer.net
1f014ca92b
fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@187255 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 20:38:54 +00:00
darin%meer.net
c0e834f3c6
fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
bsmedberg%covad.net
6ac2de868d
Bug 320377 - XPCOM glue linking not enabled for SunOS, patch by Jens Hatlak <jh@junetz.de> r=me r=pete.zha
...
git-svn-id: svn://10.0.0.236/trunk@186163 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 15:51:15 +00:00
bsmedberg%covad.net
9888e5eb9a
Bug 320449 - Make properties of GRE_GetGREPathWithProperties useful, r=darin; nsGREGlue.cpp supplementary logic fix r=#developers, earlier testing would have been good :-(
...
git-svn-id: svn://10.0.0.236/trunk@186161 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 14:58:57 +00:00
darin%meer.net
a72f9bf21d
fixes bug 319068 "problems with older compilers" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@185997 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 18:00:35 +00:00
bsmedberg%covad.net
117197e182
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
...
git-svn-id: svn://10.0.0.236/trunk@185996 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 17:55:43 +00:00
gerv%gerv.net
5f7eecebd5
Bug 236613: change to MPL/LGPL/GPL tri-license. Correctly indent Contributors lines. <yawn>
...
git-svn-id: svn://10.0.0.236/trunk@185991 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 14:27:13 +00:00
darin%meer.net
b08f55c1bd
fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@185974 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 21:28:29 +00:00
bsmedberg%covad.net
60e0f9fa24
Re-land bug 318625 that was backed out accidentally with bug 316416 (r=darin)
...
git-svn-id: svn://10.0.0.236/trunk@185956 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 14:11:01 +00:00
bsmedberg%covad.net
9c52a8d23a
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
...
git-svn-id: svn://10.0.0.236/trunk@185645 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
dc84be3e28
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@185574 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 16:34:42 +00:00
jst%mozilla.jstenback.com
b3caccffbd
Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
bryner%brianryner.com
a47051c31e
Fix crashes when dealing with 0-sized arrays (bug 317959). Patch by darin, r+sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@185333 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 20:27:42 +00:00
timeless%mozdev.org
dae7b0629a
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
darin%meer.net
973ce6aa62
fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@185211 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 19:44:16 +00:00
pedemont%us.ibm.com
32dc1a2229
Bug 312927 - fix Win32 registry comments in glue code. r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@185074 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 19:40:46 +00:00
pedemont%us.ibm.com
6503fef67a
Bug 316098 - Add 'const' to function impl to fix linking issue and fix error check. r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@185072 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 19:36:15 +00:00
mkaply%us.ibm.com
fe4b7d4be6
OS/2 version of 316098
...
git-svn-id: svn://10.0.0.236/trunk@184925 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 18:48:45 +00:00
bsmedberg%covad.net
0dfb1200fc
Bug 316098 - Need standalone glue functions for loading symbols from libxul, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@184921 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 17:45:59 +00:00
bsmedberg%covad.net
bbf7fb0c53
Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
...
git-svn-id: svn://10.0.0.236/trunk@184904 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 14:18:49 +00:00
bsmedberg%covad.net
b3fec8fa65
Backing out bug 313309 part 3 due to various intermingled bustages.
...
git-svn-id: svn://10.0.0.236/trunk@184585 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 16:37:43 +00:00
bsmedberg%covad.net
eedc1bd69f
The XPCOM glue cannot use NSPR, provisional r=bz to fix btek bustage until I can find an XPCOM peer.
...
git-svn-id: svn://10.0.0.236/trunk@184584 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 16:36:39 +00:00
bsmedberg%covad.net
f9e96a984f
Bug 313309 part 3 - use static data symbol (it's a weak symbol, we're tricking compilers into emitting a weak symbol by using templates) for NS_GET_IID instead of an inline function, r=shaver. This may break some tinderboxen (in which case I'll backout), especially the old mac tinderboxen which haven't yet been upgraded from xcode1.1 to a newer version.
...
git-svn-id: svn://10.0.0.236/trunk@184581 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 15:07:07 +00:00
bsmedberg%covad.net
0217e2f9a9
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
dougt%meer.net
883bc11945
Fixing 314997. Fixing Sun Studio 9 bustage from bug 289010
...
git-svn-id: svn://10.0.0.236/trunk@184403 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 16:53:25 +00:00
bsmedberg%covad.net
29ef2cc109
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184394 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:09:38 +00:00
bsmedberg%covad.net
7344fa60e3
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184392 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 14:43:22 +00:00
bsmedberg%covad.net
26c0c0dac9
Try to fix brad bustage by backing out these declarations, which aren't on the equivalent nsVoidArray symbols
...
git-svn-id: svn://10.0.0.236/trunk@184314 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 20:55:30 +00:00
bsmedberg%covad.net
112c33275c
Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
...
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
smfr%smfr.org
295d57702d
Fix bug 315246: nsGetInterface::operator() can use an uninitialized nsresult variable, if the source fails to implement nsIInterfaceRequestor (which fires an assertion in debug builds). r=dougt, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@184212 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 18:31:09 +00:00
bsmedberg%covad.net
d15fe4686d
Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
...
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
git-svn-id: svn://10.0.0.236/trunk@184052 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 20:38:21 +00:00
gerv%gerv.net
c5acf15e5d
Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups.
...
git-svn-id: svn://10.0.0.236/trunk@183987 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:27 +00:00
cvshook%sicking.cc
88896b619f
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
git-svn-id: svn://10.0.0.236/trunk@183986 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:26 +00:00
bzbarsky%mit.edu
7e5388cbd6
nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
...
r=darin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@183985 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:25 +00:00
caillon%redhat.com
d890560761
Kill off nsComObsolete.h
...
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@183984 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:24 +00:00
cvshook%sicking.cc
34dcfde7cc
Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
...
r=rjesup sr=jst
git-svn-id: svn://10.0.0.236/trunk@183983 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:23 +00:00
Olli.Pettay%helsinki.fi
92acd6276e
Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@183982 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:22 +00:00
dbaron%dbaron.org
fd48169895
Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@183981 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:21 +00:00
gerv%gerv.net
751af0272c
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@183980 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:20 +00:00
dbaron%dbaron.org
f9b951db56
Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@183979 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:19 +00:00
bzbarsky%mit.edu
dd845f0702
Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@183978 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:18 +00:00
timeless%mozdev.org
c7de01ce89
Bug 106386 Correct misspellings in source code
...
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
git-svn-id: svn://10.0.0.236/trunk@183977 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:17 +00:00
seawood%netscape.com
e1fc7e3c62
Remove xp_core.h & xp_mem.h and all build references to them.
...
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
git-svn-id: svn://10.0.0.236/trunk@183976 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:16 +00:00
sicking%bigfoot.com
886dad9781
Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
...
r=bryner sr=alecf
git-svn-id: svn://10.0.0.236/trunk@183975 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:15 +00:00
bsmedberg%covad.net
0b876ce56a
Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
...
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
git-svn-id: svn://10.0.0.236/trunk@183974 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:05:14 +00:00