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

1713 Коммитов

Автор SHA1 Сообщение Дата
Fred Jendrzejewski d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan 804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
timeless@mozdev.org 266462dbca Bug 471296 nsArray (NS_ARRAY_CONTRACTID) can't be used on a single thread of its creator's choice, r=bsmedberg 2009-01-15 20:02:22 -08:00
Taras Glek 254745952a Bug 471087. Kill nsIDKey. r=bsmedberg
--HG--
extra : rebase_source : 9d60a541863c545101417cf00a11cb9ceda70a09
2009-01-08 21:43:07 +13:00
Robert O'Callahan 586e8a3c8c Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Benjamin Smedberg 470d4ccbfb Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert O'Callahan d6c8ca697b Fixing filename case bustage 2008-10-01 14:17:15 +13:00
Jonas Sicking 69b9ff0371 Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Ryan VanderMeulen a03a62455e Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Boris Zbarsky b90077bfb2 Bug 439206. Make sure to not skip over the next char after the high surrogate when we have a missing low surrogate. r+sr=jst 2008-09-04 11:13:54 -04:00
Joe Drew 692689e7af Bug 449543 - nsExpirationTracker's Iterator doesn't work properly, r=roc a=bsmedberg 2008-08-19 10:27:28 -04:00
Justin Dolske 527c3d9af8 Reland bug 121341. 2008-08-13 21:30:45 -07:00
Justin Dolske ba00588e10 Backed out changeset db55605b2a4c (relanding bug 121341) 2008-08-13 21:30:12 -07:00
Dave Townsend 8114ea8a37 Backout of bug 121341 2008-08-13 21:45:08 +01:00
Dave Townsend 2045996769 Backed out changeset cc82f602d986 2008-08-13 21:44:20 +01:00
Neil Rashbrook 93a5504ec3 Bug 447593 Crash [@ NS_NewAtom] r=bsmedberg 2008-08-11 21:26:40 +01:00
Michal Novotny b3c9502fcb Bug 121341. Switch nsPersistentProperties::Load from reading a char at a time to reading a block at a time, with a state-machine parser and all. r=bsmedberg, sr=bzbarsky 2008-08-07 17:05:19 -04:00
Sudheer Kumar Peddireddy e620026ed6 Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron 2008-06-03 15:25:31 -07:00
David Mandelin f8c68d8368 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
smontagu@smontagu.org 88d760e0f4 Define codepoints below 0x20 as illegal characters in filenames. Bug393488, r=bsmedberg, b=beltzner 2008-04-02 09:05:55 -07:00
reed@reedloden.com c236aa4092 Bustage fix for bug 413787. 2008-04-01 21:21:31 -07:00
reed@reedloden.com 267d919be7 Bustage fix for bug 413787. 2008-04-01 21:09:08 -07:00
reed@reedloden.com bf68ef82c8 Bug 413787 - "NSToIntRound, NSToCoordRound code generation" [p=mmoy@yahoo.com (Michael Moy) r+sr=roc a1.9=schrep] 2008-04-01 20:47:07 -07:00
benjamin@smedbergs.us 1141ded71b Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
reed@reedloden.com 985694bc9f Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+] 2008-02-13 03:34:46 -08:00
peterv@propagandism.org ab07d4da83 Part 2 of the fix for bug 413281 (Firefox leaks when Yahoo Toolbar is installed). r/sr=sicking. 2008-02-07 03:37:18 -08:00
benjamin@smedbergs.us adac3963d9 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
dwitte@stanford.edu 450e10614f remove nsValueArray. b=410360, r+sr=bsmedberg, a=schrep 2008-01-10 12:18:22 -08:00
reed@reedloden.com f9ee4eb39f Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
jwalden@mit.edu 8c59f2d9ac Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
reed@reedloden.com 59d2451ae9 Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer] 2007-10-19 16:26:52 -07:00
reed@reedloden.com b60e8823f4 Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com 2145eeea65 Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -07:00
benjamin@smedbergs.us 25928c5f24 Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron 2007-10-02 12:16:30 -07:00
roc+@cs.cmu.edu 672e66c2d2 Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon 2007-09-30 14:34:56 -07:00
dholbert@cs.stanford.edu e81193d88b Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits. r=bz sr=roc blocking1.9=dbaron 2007-09-25 10:12:17 -07:00
scott@scott-macgregor.org fc5215cfe6 Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage. Patch by prasad <prasad@medhas.org> sr=bsmedberg a=bsmedberg 2007-09-20 16:14:25 -07:00
roc+@cs.cmu.edu 8f30adbc19 Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead). 2007-09-18 17:24:27 -07:00
roc+@cs.cmu.edu 9972360428 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
aaronr@us.ibm.com 4d5884fb58 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
sharparrow1@yahoo.com 9f9b12bd99 Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky. 2007-09-05 18:26:57 -07:00
sharparrow1@yahoo.com b2aaa876db Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky. 2007-09-05 18:13:42 -07:00
jwalden@mit.edu d09c44d69c Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
pavlov@pavlov.net 4901eb7dd6 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg. original patch from David Humphrey <david.humphrey@senecac.on.ca> 2007-08-28 13:44:12 -07:00
sharparrow1@yahoo.com fe9a203e49 Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky 2007-08-07 12:16:52 -07:00
benjamin@smedbergs.us 5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
jonas@sicking.cc 1d3132db39 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
jst@mozilla.org 0240a7e8d9 Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org 2007-07-11 13:46:43 -07:00
neil@parkwaycc.co.uk 10de8387c8 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com 6fc71d4edd Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc 2007-07-01 22:22:51 -07:00
sdwilsh@shawnwilsher.com fc5b52d4f2 Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger 2007-06-26 17:45:52 -07:00
wtc@google.com 10490a7e00 Bugzilla Bug 376568: the definition of PR_STATIC_ASSERT has been moved fromprerror.h to prlog.h. r=jwalden sr=roc 2007-05-28 07:51:08 -07:00
peterv@propagandism.org 5acbaf5478 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
asqueella@gmail.com 4f83fa46f3 Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt 2007-05-13 09:48:39 -07:00
smontagu@smontagu.org 3c0f9b5c0b Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin. Recheckin including fix for bug 378839, r=bsmedberg, sr=biesi 2007-04-29 10:51:38 -07:00
smontagu@smontagu.org 9e38adda2c Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC 2007-04-26 11:56:30 -07:00
bent.mozilla@gmail.com 2c4edbd812 Bug 37795 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg. 2007-04-26 06:53:48 -07:00
smontagu@smontagu.org 93a55d9d3b Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin 2007-04-25 07:48:12 -07:00
jwalden@mit.edu 9de7196002 Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc 2007-04-12 15:19:26 -07:00
sayrer@gmail.com 13219592fa Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky 2007-03-28 22:33:45 -07:00
dbaron@dbaron.org ea80210b60 Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 08:34:14 -07:00
dbaron@dbaron.org d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
peterv@propagandism.org 12431cf555 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron. 2007-03-27 02:49:06 -07:00
roc+@cs.cmu.edu ed1b4a6e54 Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking 2007-03-26 20:38:21 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
peterv%propagandism.org a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
pavlov%pavlov.net 73157b52b7 adding new round/ceil/floor that behave like (or call through to) the libc versions. splitting them out in to a file so they don't have a dependency on nscoord. bug 372027. r=vlad, sr=roc, r=bsmedberg 2007-02-28 20:57:13 +00:00
peterv%propagandism.org 3e4c261c01 Fix for bug 367779 (Make cycle collection through JS objects more reliable). r=jst, sr=brendan. 2007-02-18 20:05:32 +00:00
jshin%mailaps.org 88da57650a bug 359808 : drop support for Win9x/ME (get rid of 'A' API code) : r=darin, sr=dougt, sr=darin 2007-02-08 17:48:22 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
asqueella%gmail.com f491e43897 Bug 368310 - Remove the obsolete Windows "A" style API calls in nsWindowsRegKey
patch by Ryan Jones <bugs@ryan-jones.com>
r+sr=bsmedberg
2007-01-31 21:02:48 +00:00
timeless%mozdev.org 05804e5bfe Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
cbiesinger%web.de 189a0004b8 bug 275116 use the safe version of ObjectAt as required by the documentation
patch by Andreas Lange <mozilla@lange.cx> r=darin sr=biesi
2006-12-17 21:59:26 +00:00
bzbarsky%mit.edu d0d7201c0d Fix error in previous patch for bug 348691. Reviews pending. 2006-12-15 21:39:30 +00:00
bzbarsky%mit.edu 66c675dd7f Make nsAString lookups in nsStaticCaseInsensitiveNameTable a little faster.
Bug 348691, r+sr=dbaron
2006-12-12 22:47:16 +00:00
allan%beaufour.dk 095024f1b6 Add NSPR debug info to nsObserverService. Bug 361490, r=darin 2006-11-23 08:43:28 +00:00
timeless%mozdev.org c2c65a7011 Bug 350908 setStringProperty() in nsIPersistentProperties2.idl needing comments
patch by gaomingcn@gmail.com r=dougt
2006-10-11 17:21:38 +00:00
mats.palmgren%bredband.net 2cc99b4386 Don't crash on OOM. b=353997 r+sr=darin 2006-09-30 05:15:57 +00:00
cbiesinger%web.de c6c3784f35 350330 remove unused NS_IPROPERTYELEMENT_CID
r+sr=darin
2006-08-31 00:17:23 +00:00
sayrer%gmail.com fc7f10ffb6 Bug 3344605. nsIPropertyBag2 should grow a non-throwing get() and hasKey(). r=darin, sr=shaver 2006-08-20 16:42:08 +00:00
gavin%gavinsharp.com 77e21bbf92 Bug 347734: remove unused variable, patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=bsmedberg 2006-08-11 20:40:51 +00:00
benjamin%smedbergs.us ef6b6ab3b4 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
cbiesinger%web.de 4b1e73757c Bug 344196 make nsVariant::SetAsDOMString set mType correctly
patch by Andrew Miller <ak.miller@auckland.ac.nz> r=dougt sr=brendan
2006-08-04 17:20:27 +00:00
benjamin%smedbergs.us c9125873ca Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00
roc+%cs.cmu.edu b3e499d2c6 Bug 344206. Fix unit coversion Ceil/Floor functions to use floor() and ceil() because the current scheme is nonsense. r=vlad 2006-07-13 08:03:04 +00:00
cst%yecc.com 6b66156a30 Bug 258058
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf
2006-06-06 13:26:26 +00:00
benjamin%smedbergs.us 135baa7fce Fix review nit 2006-05-19 22:47:53 +00:00
benjamin%smedbergs.us b4210273da Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
dbaron%dbaron.org e22e27fc35 Fix threadsafety regression so we're back to the old broken state. b=335734 r=sicking rs=brendan 2006-05-06 17:49:21 +00:00
benjamin%smedbergs.us 08887664c9 Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
dbaron%dbaron.org 19cdeba085 Make IsPermanent non-virtual so it can be called in the destructor. b=334605 r=mrbkap rs=brendan 2006-04-19 21:46:47 +00:00
benjamin%smedbergs.us 8826418990 Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner 2006-04-19 16:29:31 +00:00
benjamin%smedbergs.us 70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
darin%meer.net 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
benjamin%smedbergs.us 3f0439ed89 Bug 332135 - atomservice should provide utf8 accessors, r=darin 2006-03-30 15:22:42 +00:00
benjamin%smedbergs.us 094c06b97d Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
dougt%meer.net db0f13d809 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
darin%meer.net 5625eac67e fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin 2006-03-10 05:30:58 +00:00
darin%meer.net 160c228151 backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us ac2cdadfb2 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
timeless%mozdev.org 1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless%mozdev.org a48dff0654 Bug 289571 Optimization for nsRecyclingAllocator
patch by alfredkayser@nl.ibm.com r=dougt sr=dbaron
2005-12-23 00:08:21 +00:00
bsmedberg%covad.net af5a5a9521 Followup to bug 319024 - I double-reversed the list 2005-12-14 00:59:06 +00:00
bsmedberg%covad.net 615da26151 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin 2005-12-13 21:12:41 +00:00
bsmedberg%covad.net 1b077c22fa Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin 2005-11-30 18:51:27 +00:00
timeless%mozdev.org 9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org eb9350f619 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net 20b7e83c42 Backing out the rest of 316414 due to persistent orange. 2005-11-23 21:37:16 +00:00
bsmedberg%covad.net f53711438a Bug 316414 part 1 - Add "xpcom-shutdown-threads" and "xpcom-shutdown-loaders" notifications during XPCOM Shutdown, r=darin 2005-11-23 14:32:18 +00:00
bsmedberg%covad.net c0af4ff1aa Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin 2005-11-18 14:18:49 +00:00
dougt%meer.net d5b7ea310f Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, patch=chpe@gnome.org 2005-11-16 21:27:11 +00:00
bzbarsky%mit.edu 776e34abab Fix HashCodeAsUTF8 to work properly for non-BMP stuff, and update it to the
current UTF8 spec.  Bug 316573, r=smontagu, sr=jst
2005-11-16 02:31:54 +00:00
bsmedberg%covad.net 78f6d0683d 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 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net a7253270ad 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. 2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu aee1056ad7 Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
hashtable lookups zero-copy.  Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net 7112d805ca 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 2005-11-02 20:39:39 +00:00
bsmedberg%covad.net acf28ad4d1 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
2005-11-02 20:38:21 +00:00
cvshook%sicking.cc d9f7354f6b Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc 75d7bc1a39 Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
r=rjesup sr=jst
2005-10-18 23:45:14 +00:00
bsmedberg%covad.net 14640d7793 Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin 2005-10-04 17:19:14 +00:00
peterv%propagandism.org 8702e6b0aa Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin. 2005-09-28 13:13:27 +00:00
bsmedberg%covad.net f0d2e05a7e Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00
bsmedberg%covad.net 00ed92f8a2 Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:19:19 +00:00
bsmedberg%covad.net 8992fb4c7d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net e9c48557e9 Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard 2005-08-11 20:40:53 +00:00
joshmoz%gmail.com 275e8624be don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg 2005-07-21 19:02:52 +00:00
darin%meer.net c2ff4e354b fixes bug 301521 "nsWindowsRegKey::WriteStringValue is broken" r=jshin a=bsmedberg 2005-07-21 16:54:39 +00:00
joshmoz%gmail.com 4a9863a471 Remove Mac OS classic code. r=josh a=bsmedberg 2005-06-23 23:42:02 +00:00
dougt%meer.net d1460e3a0a * Fixes some build problems when trying to build non-static. (removing link
libraries that don't exist on Windows CE)

* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)

* Windows CE on ARM doesn't support C++ exceptions.  In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla.  On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.

* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.

* Disabling more code in nsOSHelperAppService for Windows CE.

* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).

Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa
2005-06-16 21:20:45 +00:00
bsmedberg%covad.net 84a2c9fc02 Bug 297315 - sorts the XPCOM implementation of nsICategoryManager.enumerateCategory alphabetically r=darin a=asa 2005-06-13 18:39:19 +00:00
cbiesinger%web.de c779b4ab1e 289844 fixing MIPSpro bustage: include nsIVariant.h before using it in an nsBaseHashtable
r+sr+a=shaver
2005-06-05 18:55:41 +00:00
mrbkap%gmail.com 550985b369 bug 288460: Make ScanDocStructure() more strict about tags that break the ShouldVerifyHeirarchy check and mark all children of the tag as malformed so that its children don't think they're well formed. r=rbs sr=bzbarsky a=shaver 2005-06-01 21:08:53 +00:00
bryner%brianryner.com d9035a7667 fix vc6 debug build bustage, r=darin 2005-05-17 19:15:17 +00:00
darin%meer.net d96f04776d fixing VC6 build bustage 2005-05-16 23:00:47 +00:00
darin%meer.net b0d896c4cd fixes bug 292981 "Provide a scriptable interface to the Windows registry" r=neil,dougt a=chofmann 2005-05-16 21:23:09 +00:00
timeless%mozdev.org cd198e6b42 Bug 243904 SOAP code problem with null, unpositioned array item
patch by chantepie@altern.org r=doron sr=jst a=asa
2005-05-02 19:42:26 +00:00
pedemont%us.ibm.com d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
dbaron%dbaron.org 50acbb058e Fix leak regression from yesterday: derived classes use NS_IMPL_RELEASE_INHERITED, which relies on destructor being virtual. r+sr=bzbarsky a=brendan b=283489 2005-04-06 18:12:57 +00:00
bsmedberg%covad.net beadf6cd74 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end. 2005-04-01 18:22:57 +00:00
Olli.Pettay%helsinki.fi 5605311ce4 Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf 2005-03-31 22:00:15 +00:00
cbiesinger%web.de ce4140de8d 270224 create nsIPropertyBag2 for easier getting of values from a propertybag
r=shaver sr=darin
2005-03-22 18:16:53 +00:00
bzbarsky%mit.edu 29fc84c184 Don't use locale-dependent methods to convert variants to strings. Bug 282245,
r=peterv, sr=dbaron
2005-02-22 20:11:52 +00:00
bzbarsky%mit.edu a86e2f619e Remove unnecessary UTF8-to-UTF16 method and just reuse our string classes. Bug
278835, r=dougt, sr=darin
2005-02-20 17:09:10 +00:00
gerv%gerv.net c9e600ac91 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 15:28:15 +00:00
timeless%mozdev.org 1f8b801a07 Bug 254252 nsCRT::BufferHashCode has two variants, and only one user, HashCodeAsUTF8 has no users
patch by mikael@parknert.se r=darin sr=bz
2005-01-20 21:39:23 +00:00
timeless%mozdev.org aa1bea7776 Bug 245283 Add a * topic for the observerservice
r=dougt
2005-01-14 11:25:05 +00:00
cbiesinger%web.de 8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
neil%parkwaycc.co.uk 3aa229256f Bug 255593 Add ReplaceElementAt to nsIMutableArray plus comment fixes p=eyalroz@technion.ac.il r=darin sr=bienvenu 2005-01-01 17:57:00 +00:00
shaver%mozilla.org df7a7220b4 Bug 274679: ensure that nsHashPropertyBag's inner property hash is properly
initialized before enumerating. r=vlad/sr=darin.
2004-12-15 20:03:39 +00:00
pedemont%us.ibm.com 15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
vladimir%pobox.com 86363e20d8 b=266085, nsIWritablePropertyBag interface and hashtable component implementation; r=darin,sr=shaver 2004-11-24 23:21:14 +00:00
roc+%cs.cmu.edu 5b10c8c493 Bug 265084. Lay the groundwork for nscoord being a float, by introducing nsIntRect/Point/Size/Margin and wrapper functions for doing tricky nscoord operations. r+sr=bzbarsky 2004-11-03 02:48:04 +00:00
cbiesinger%web.de 3f64219c22 fixing gcc 3.4 bustage with --enable-timeline, bug 261293 2004-11-01 22:37:14 +00:00
dveditz%cruzio.com dda30fd22f bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
darin%meer.net 3eb2f75165 fixes bug 263957 "Convert nsProperties to nsTHashtable, implement GetKeys" r=bsmedberg sr=shaver 2004-10-25 19:52:48 +00:00
bzbarsky%mit.edu 608e73b236 nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
r=darin, sr=dbaron
2004-10-24 17:24:25 +00:00
dbaron%dbaron.org 3118860f30 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 2004-09-14 17:17:21 +00:00
vladimir%pobox.com 3e8d2f24f4 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver 2004-08-30 22:25:29 +00:00
timeless%mozdev.org 2bc735d388 Bug 238963 nsObserverList::GetObserverList should return OOM on failure
r=dougt
2004-07-30 02:43:13 +00:00
cbiesinger%web.de df64131ac2 Bug 198694 make nsTime inherit from nsInt64
r=bsmedberg sr=dougt
2004-07-28 21:33:28 +00:00
mkaply%us.ibm.com ae6ca1e908 This stuff doesn't work on OS/2 and is causing thousands of warnings errors 2004-07-22 20:27:48 +00:00
cbiesinger%web.de f59c8b4564 Bug 251277 add a Clear() function to remove all elements from an nsValueArray
r=bsmedberg sr=dougt
2004-07-21 12:30:52 +00:00
gerv%gerv.net c01bb2d438 Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2004-07-16 19:09:02 +00:00
dbaron%dbaron.org 4c9caa3458 Only use __attribute__ on gcc 3 or higher. Fixing bustage. b=249652 2004-07-15 00:00:43 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
cbiesinger%web.de 41bff105d2 bug 245927 add nsUint64, similar to nsInt64
r=bsmedberg sr=darin
2004-06-26 18:32:15 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com d7c3908a90 Fixing part of bug 241157. Making it valid for an nsIVariant to hold a interface pointer pointing to null. r=ben@bengoodger.com, sr=darin@meer.net. 2004-05-21 21:19:13 +00:00
caillon%redhat.com 178bb153f1 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
jst%mozilla.jstenback.com 30f4e1ec2d Yet one more part for bug 243484. Clean up some string handling code in nsVariant, and do some other generic cleanup too. r+sr=peterv@propagandism.org 2004-05-13 22:52:14 +00:00
darin%meer.net 96c93347b1 fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg 2004-04-27 17:07:42 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cls%seawood.org e887c496ee Fix mingw 3.3.1/3.3.3 bustage.
Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Remove dllimport/dllexport declarations from all nsXPTCStubBase functions and just export the class itself.
Bug #226609 r=shaver/swalker sr=dbaron a=chofmann
2004-03-16 08:07:25 +00:00
cls%seawood.org 3977ae5a71 Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org 8e702f20f2 Fix mingw 3.3.1/3.3.3 bustage. Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Bug #226609 r=shaver sr=dbaron a=chofmann
2004-03-15 23:47:04 +00:00
timeless%mozdev.org b99905cda6 Bug 235271 nsTimelineService - Warning (Anachronism): Formal argument ... of type extern "C" in call to ...(..., extern "C"...) is being passed something else
r=dbaron sr=dbaron
2004-03-08 07:27:06 +00:00
brendan%mozilla.org 65bbfda81a Fix Read and Equals bugs, clean up other poor code (235307, r=dougt, sr=darin). 2004-02-25 23:38:40 +00:00
jshin%mailaps.org e5dab37fe0 bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping) 2004-02-20 01:54:55 +00:00
jshin%mailaps.org a99b882982 bug 233485 : add 'size' parameter to nsAutoBuffer (r=ccalren, sr=rbs) 2004-02-19 10:50:20 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com ac9cbd3e87 Backing out nsHashtable dtor change (bug 229875) - this needs to be virtual. Thanks to bienvenu for pointing out the problem. 2004-02-13 19:04:38 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
ccarlen%mac.com 90910fcb46 Bug 161982 - need an autobuffer impl available to all code. This is a template version of nsSpillableStackBuffer, which is defined in more than 1 place. r=brade/sr=bryner 2004-02-06 20:15:59 +00:00
jshin%mailaps.org 0f9983b873 bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz) 2004-02-06 09:49:22 +00:00
bryner%brianryner.com 6e68ebaa46 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com 0ca4d12034 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
neil%parkwaycc.co.uk d83422b6c2 Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf 2004-01-31 12:37:36 +00:00
bryner%brianryner.com a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
tor%cs.brown.edu 285c42cad8 Bug 229652 - invalid gif could crash browser. r=darin, sr=bryner 2004-01-16 23:32:25 +00:00
bryner%brianryner.com 0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
brendan%mozilla.org 1d61995445 Unify license comment per js/src/plify_jsdhash.sed, plus comment simplification. 2004-01-15 02:00:55 +00:00
bryner%brianryner.com e078b585e3 Remove unused nsStatistics (bug 230599). r=dougt, sr=jst. 2004-01-13 20:59:10 +00:00
bryner%brianryner.com da21ab0661 Remove unused PLVector and nsVector (bug 230556). r=dougt,sr=dbaron 2004-01-12 22:47:52 +00:00
bzbarsky%mit.edu 385b61a598 Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin
2004-01-10 02:00:40 +00:00