Граф коммитов

5822 Коммитов

Автор SHA1 Сообщение Дата
bbaetz%student.usyd.edu.au 3a7b7c499f Change the never-defined copy-constructor signature to refer to nsCOMArray<T>
instead of nsCOMArray. Should fix OS2 bustage, which noticed this because
it instantiates the function even when its not used
r=sicking, sr=mozbot, a=tinderbox
2002-10-15 05:19:30 +00:00
dbaron%fas.harvard.edu 22cde85310 Make Linux stack walking code (DEBUG only) print library and offset information even when symbol is unavailable. b=174168 r=bbaetz sr=bzbarsky a=rjesup 2002-10-14 23:59:31 +00:00
timeless%mac.com ceff62e99b Bugzilla Bug 174447 fix typos in nsStaticNameTable.h 2002-10-14 22:39:44 +00:00
dougt%netscape.com a0f10303cd Not part of build 2002-10-14 17:41:00 +00:00
brendan%mozilla.org 73c5d5279f Comment improvements motivated by bug 173797, no code changes. 2002-10-13 19:08:07 +00:00
ccarlen%netscape.com 5b84169fbb Bug 172018 - Use CFURLs with Mach-0 and Carbon file picker. r=sdagley/sr=sfraser 2002-10-09 03:58:40 +00:00
mkaply%us.ibm.com 50d022b0bf #172243
r=mkaply, sr=blizzard
OS/2 only - subtract 1980 from date before using it
2002-10-09 02:37:48 +00:00
jkeiser%netscape.com 9f10a98502 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com c854cc03a3 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu 2002-10-08 06:19:10 +00:00
timeless%mac.com a5279aac41 Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
shanjian%netscape.com e47ccfac8e #134053 utf8 conversion problem in nsString.h
Change conversion to handle surrogates
r=yokoyama, sr=scc
2002-10-08 02:10:52 +00:00
seawood%netscape.com 9ce0c58d1e Callback functions must be declared as such.
Fixing OS/2 tinderbox bustage.
2002-10-08 01:04:09 +00:00
alecf%netscape.com af97ea6355 try to fix orange - didn't mean to #if 0 this out 2002-10-08 00:12:37 +00:00
mkaply%us.ibm.com 07e3b3ef85 OS/2 bustage - need PR_CALLBACK 2002-10-07 21:32:37 +00:00
alecf%netscape.com 5a8ad99388 oops, one more part of bug 162115, r=dougt, sr=darin - make sure the new functions are exported by putting them in dlldeps.cpp 2002-10-07 19:11:18 +00:00
alecf%netscape.com 36cde0fbc6 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless
2002-10-07 19:03:41 +00:00
dougt%netscape.com 72b7254d32 Not part of build 2002-10-07 18:53:51 +00:00
dougt%netscape.com 985638d756 nsDirectoryServiceDefs.h needs to be frozen 168572, r=ccarlen@netscape.com, sr=darin@netscape.com 2002-10-07 18:52:34 +00:00
dougt%netscape.com a956edb3f5 Provides support for a conditional interface map entry 172833, r=bzbarsky@mit.edu, sr=darin@netscape.com 2002-10-07 18:52:27 +00:00
mkaply%us.ibm.com 6334ccb812 OS/2 orange part two 2002-10-07 03:49:32 +00:00
mkaply%us.ibm.com 1fd18da096 OS/2 orange 2002-10-07 03:47:50 +00:00
mkaply%us.ibm.com b7d5f9515a A couple nits and then we should be good 2002-10-06 03:42:55 +00:00
darin%netscape.com 856c2dc123 another attempt at fixing the OS2 bustage 2002-10-06 03:18:11 +00:00
darin%netscape.com d62fd64525 fixing OS2 bustage -- my bad for forgetting to follow mkaply's advice! 2002-10-06 02:38:43 +00:00
darin%netscape.com 2d08c9acd7 fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf
2002-10-06 00:29:46 +00:00
dougt%netscape.com 6a89f8aa64 Removing silly comment. 2002-10-06 00:26:20 +00:00
timeless%mac.com 677efd82f2 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc
2002-10-05 23:59:57 +00:00
arougthopher%lizardland.net b176abcb6b Bug#169506
IsExecutable() deos not work for BeOS

BeOS now uses stat() instead of access() for:
IsWritable()
IsReadable()
IsExecutable()

sr=scc
r-dougt,arougthopher
2002-10-05 19:06:28 +00:00
dougt%netscape.com a9319d69a8 Backing out nsStringService. 2002-10-04 23:49:23 +00:00
dougt%netscape.com e7b353379f backing out nsGenericFactory.cpp 2002-10-04 23:23:51 +00:00
dougt%netscape.com 1528238c51 Mac files. 2002-10-04 23:16:07 +00:00
dougt%netscape.com 25d4bee19d manifest 2002-10-04 23:12:36 +00:00
dougt%netscape.com 314f8a80e8 adding UNDER_REVIEW 2002-10-04 22:29:27 +00:00
dougt%netscape.com 3300c73ca0 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
alecf%netscape.com cacac9ca3d argh, I'm stupid, s/class/interface/
not part of build
2002-10-04 00:48:16 +00:00
alecf%netscape.com ce539d06f8 pre-declare nsISimpleEnumerator instead of #including the header, per darin's request
not part of build, for bug 162115
2002-10-04 00:47:14 +00:00
alecf%netscape.com 351baf72df add do_QueryElementAt, and make NS_NewArray() give you an nsIMutableArray instead of nsIArray
not part of build, for bug 162115
2002-10-03 20:20:13 +00:00
caillon%returnzero.com 197e01cbff Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
jkeiser%netscape.com 7dd8441962 Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com 2002-10-03 03:43:11 +00:00
alecf%netscape.com d263b3ce43 more work for bug 162115 - add support for weak references in nsIArray
not part of build
2002-10-02 21:00:42 +00:00
alecf%netscape.com f5efff9d9f more work on bug 162115 - use "friend" to allow nsCOMArray<T>'s copy constructor to be protected, but still usable from nsArray
not part of build
2002-10-02 18:54:12 +00:00
alecf%netscape.com 7bce86e8cd from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build
2002-10-01 18:29:30 +00:00
alecf%netscape.com 16cf343fb7 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
2002-10-01 17:34:25 +00:00
kmcclusk%netscape.com 8b47e32e0b improve user interactivity during long page loads by doing better detection of user-input and interrupting the parser more frequently. Also moved the WIN32 specific logic for determining when the user is moving a top-level window from plevent.c to the widget module. b=165039 r=rods@netscape.com sr=kin@netscape.com 2002-10-01 03:04:22 +00:00
alecf%netscape.com 62479fa6e9 - fix ReplaceObjectAt to properly account for existing null entries
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
2002-10-01 00:37:41 +00:00
alecf%netscape.com 1e525fd19c add lots of docs for bug 162115, not part of build 2002-10-01 00:26:00 +00:00
alecf%netscape.com e8e44bcfc3 not part of build, more for bug 162115:
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2002-09-30 23:02:31 +00:00
alecf%netscape.com cd487a30e7 match up some reviewers comments:
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2002-09-30 22:01:46 +00:00
dougt%netscape.com 30d4ca5c78 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584 2002-09-30 21:49:48 +00:00
dougt%netscape.com 9e694942f6 Fixes assertion logic/build warnings. patch by tenthumbs@cybernex.net, b=171399 2002-09-30 21:49:35 +00:00
dbaron%fas.harvard.edu 630ee775dd Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
kyle.yuan%sun.com cf801d0295 Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
dbaron%fas.harvard.edu a995665f0c Fix additional typos (and Linux/Mac bustage) from dougt's checkin. b=157133 r=gcc-3.2 2002-09-27 20:35:33 +00:00
dougt%netscape.com 242aa8a666 missing arg 2002-09-27 20:31:19 +00:00
alecf%netscape.com 3bc4c4d05c move contactID out of nsArray.h - not part of build 2002-09-27 19:52:47 +00:00
alecf%netscape.com 895980b124 add documentation and comments, mark interface UNDER_REVIEW
(also not part of build)
2002-09-27 19:33:01 +00:00
alecf%netscape.com 3c4577f486 continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
Then, we move some of the non-trivial methods of this class into a .cpp file
2002-09-27 19:29:45 +00:00
dougt%netscape.com 0ec338eb4b move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133 2002-09-27 19:23:21 +00:00
ducarroz%netscape.com f032354928 Fix for bug 171121. prevValue could be null therefore we need to use NS_IF_RELEASE instead of
NS_RELEASE. R=dougt, SR=sspitzer
2002-09-27 17:49:08 +00:00
dougt%netscape.com a08bffac6a Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +00:00
alecf%netscape.com 7af1cd1a1e continue work-in-progress with freezable array.
Also introduce nsCOMArray<nsIFoo>
not part of build
2002-09-27 06:08:49 +00:00
jkeiser%netscape.com 1fc9da18f9 Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
dougt%netscape.com 11d28d20ad Set means Define. When the method Define was removed, we didn't adjust Set to implictly Define. patch by ashishbhatt@netscape.com, r=khanson, r=dougt, b=169563 2002-09-25 21:27:20 +00:00
mkaply%us.ibm.com 3edcf83e87 Urgent OS/2 fix - port change for 164190 to OS/2 2002-09-25 17:55:39 +00:00
ccarlen%netscape.com d9ea2f11b9 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
ccarlen%netscape.com b771eedfb9 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:04:50 +00:00
rpotts%netscape.com 0e293491d8 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
dougt%netscape.com aed6c7a857 exports xpcom tools to sdk r=seawood, b=170275 2002-09-24 01:19:05 +00:00
timeless%mac.com 42a667539c Bug 166775 Remove unused _IMPL_NS_APPSHELL defines
patch by walk84@yahoo.com r=bryner
2002-09-24 00:56:20 +00:00
timeless%mac.com 65be0f3e7f Bug 165400 _IMPL_NS_PLUGIN unused
patch by walk84@yahoo.com r=biesi sr=bryner
2002-09-24 00:41:35 +00:00
dougt%netscape.com 57a6b28a06 170369 - autoload xpcom components. r=dveditz@netscape.com, sr=rpotts@netscape.com 2002-09-23 21:46:25 +00:00
jdunn%netscape.com 81014107e6 adding support for hpux ia64/11.20, also strip off MOZ_OPTIMIZE_FLAGS
(instead of just -O) for hpux
r=cls@seawood.org
# 136163
2002-09-23 20:31:30 +00:00
dougt%netscape.com 306e77d569 Further improvement. r=drepper@redhat.com, sr=brendan@mozilla.org, b=168508 2002-09-23 19:39:26 +00:00
bryner%netscape.com 1cf4c608d8 Fix a problem with the prefs file being deleted at shutdown on Windows, introduced by the checkin for bug 164190. Windows' implementation of nsLocalFile::CopyMove was assuming that a null parent directory meant we should always rename - not true. r=hewitt, sr=brendan. 2002-09-21 08:26:02 +00:00
dougt%netscape.com fb603e4960 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584 2002-09-20 22:23:24 +00:00
bnesse%netscape.com ef73c49861 Fix for bug 164925. Remove unused directory key and support code. r=ccarlen, sr=beard. 2002-09-20 18:47:49 +00:00
kmcclusk%netscape.com 1ff7993339 Change PLEvent notification on WIN32 to use a native timer instead of a posted WM_APP message when documents are not loading. This fixes some DHTML paint starvation issues and lowers overall CPU usage on many pages with DHTML. bug=164931 r=rpotts@netscape.com sr=kin@netscape.com 2002-09-19 02:53:05 +00:00
jaggernaut%netscape.com dabd1ed2fa Bug 162017: step 2: remove aIgnoreCase from FindChar1. r=peterv, sr=dbaron 2002-09-17 22:49:00 +00:00
jaggernaut%netscape.com 7147157dc4 Bug 162017: first step to inlining nsStr. r=kaie, sr=alecf 2002-09-17 13:56:34 +00:00
alecf%netscape.com 2eb51aa759 re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
dougt%netscape.com 684022eca5 nsCOMPtr.h needs nsISupportsUtils.h. b=169049, r=rpotts, sr=alecf 2002-09-17 02:32:00 +00:00
alecf%netscape.com e58883353c backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com ce7a2b3f57 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
dougt%netscape.com 399ae09e13 fixes a gcc warning about a partially-bracketed initializer. patch by dbaron, r=me, b=168584 2002-09-15 20:59:29 +00:00
dougt%netscape.com 25a0ca4e18 Fixing Unregister method to use the same PR_CALLBACK signature for implementations as were used for function declarations. 2002-09-15 19:55:08 +00:00
seawood%netscape.com 35134793ea Use the same PR_CALLBACK signature for funciton implementations as were used for function declarations.
Fixing OS/2 tinderbox bustage.
2002-09-15 02:48:28 +00:00
dougt%netscape.com babd7bd40b Freeze nsICategoryManager. b=154047 r=alecf@netscape.com, sr=rpotts@netscape.com 2002-09-14 17:14:02 +00:00
dougt%netscape.com 8a0fb705c2 XPCOM Glue Is broken on linux. b=168584, sr=alecf@netscape.com, r=bryner@netscape.com 2002-09-14 17:12:46 +00:00
law%netscape.com cdc8e5a2eb Backing out timeless's change (plus mine that fixed the build bustage); hopefully will clear orange on Linux builds 2002-09-14 00:18:33 +00:00
law%netscape.com 4713043e58 Fixing build bustage 2002-09-13 23:06:10 +00:00
timeless%mac.com 173d3e4bf1 Bug 155413 nsIClassInfo crash [@nsGenericFactory::GetHelperForLanguage] mInfo is null
r=dougt sr=dveditz
2002-09-13 22:36:48 +00:00
chak%netscape.com 033b7f3ce7 Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf
2002-09-13 22:18:43 +00:00
dougt%netscape.com a3a325b2e9 Moving frozen interfaces to SDK per http://www.mozilla.org/projects/embedding/HowToFreeze.html. 2002-09-13 21:39:07 +00:00
dougt%netscape.com fc5cfbc845 Fixes compiler warnings. b=168396, r=dougt, sr=dveditz. patch by walk84@yahoo.com 2002-09-13 19:55:02 +00:00
dougt%netscape.com 6c6a5e01a8 Adding null checks. patch by timeless, r=me 2002-09-12 19:35:49 +00:00
bryner%netscape.com aec851c4a7 Remove nsAVLTree.cpp to fix mac bustage from alecf's checkin (bug 124182). 2002-09-12 08:36:17 +00:00
alecf%netscape.com cf32a5293b fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00
alecf%netscape.com b2ef8b0375 first cut at freezable array interface
not part of build
2002-09-12 04:37:51 +00:00
danm%netscape.com 105a88fa26 just because an observer supports weak refs doesn't mean it is one. (found while leak hunting in) bug 166442 r=jag,jst 2002-09-11 02:35:26 +00:00
roc+%cs.cmu.edu 86f18db9c0 Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin 2002-09-11 02:33:43 +00:00