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

566 Коммитов

Автор SHA1 Сообщение Дата
Andrew Quartey d371ac7c39 Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil 3f08ff498e Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor 587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Ehsan Akhgari 039891f691 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (rdf parts); r=bsmedberg
--HG--
extra : rebase_source : f6017aa79ed6e43e1d5b3cd78854c25945726602
2012-06-12 23:42:36 -04:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley c6f25bbce4 Bug 655488 - Remove WinCE code from RDF; r=axel 2011-05-12 10:50:23 -07:00
Ed Morley 97cc9c4eea Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Peter Van der Beken 75ba54d84d Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Mitchell Field a6788f0842 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Jae-Seong Lee-Russo 082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Arpad Borsos 82009c7512 Bug 474369 - get rid of nsVoidArray, rdf part; r+sr=bsmedberg 2009-04-22 10:43:15 +02:00
Josh Aas ffb320ce01 Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
Neil Rashbrook 34bc8873f1 Bug 476823 nsFileSystemDataSource should implement nsISupports r+sr=bsmedberg 2009-02-05 09:32:06 +00:00
Doug Turner 8137791649 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Brian Crowder d0e3d9f2df Bug 422786 - reduce narrow Windows API calls in rdf, original patch by Brad Lassey <blassey@mozilla.com>, r=ted.mielczarek 2008-08-27 14:44:55 -07:00
blassey@mozilla.com 81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
sayrer@gmail.com a41d6a883d Bug 383939. RDF datasources must implement cycle collection. r/sr=bsmedberg 2008-03-05 12:07:55 -08:00
sayrer@gmail.com 495f5b15c8 Backing out Bug 383939. All RDF datasources must implement cycle collection to avoid leaking. 2008-01-23 14:07:47 -08:00
sayrer@gmail.com fd802e3e91 Bug 383939. All RDF datasources must implement cycle collection to avoid leaking. r/sr=bsmedberg 2008-01-23 12:52:57 -08: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
dbaron@dbaron.org 8284e71167 Temporarily change assertion to warning so we can make assertions fatal on tinderbox. b=340242 r=peterv sr=brendan 2007-06-26 17:13:01 -07:00
gijskruitbosch@gmail.com ddf0bc8132 Bug 99236 - Delete localstore.rdf when it is corrupt
p=mossop.bugzilla@blueprintit.co.uk (Dave Townsend AKA Mossop)
r=axel@pike.org (Axel Hecht)
sr=dveditz@cruzio.com (Daniel Veditz)
2007-04-26 10:49:05 -07:00
peterv@propagandism.org 98262e788a Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
cbiesinger@web.de c6ef8b6043 Bug 375878 remove users of Recycle()patch by taras glek r+sr=biesi 2007-03-30 15:44:22 -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
sayrer%gmail.com b057888564 Bug 360812. RDF uses nsCRT::strdup in getters. r=bsmedberg, sr=bz 2006-11-19 08:28:02 +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 c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
gerv%gerv.net dc1383971c Bug 236613: change to MPL/LGPL/GPL tri-license. Correctly indent Contributors lines. <yawn> 2005-12-13 14:27:13 +00:00
cbiesinger%web.de bb2a78c756 bug 318669 fixing beos bustage from bug 241758
patch by Doug Shelton <doug@sheltonfamily.org> r=sergei_d,bsmedberg
2005-12-03 16:16:24 +00:00
bsmedberg%covad.net cf0d53a926 Bustage fix for MSVC6, bug 241758 2005-12-01 16:06:27 +00:00
bsmedberg%covad.net 37ab37a770 Bug 241758 - Bulletproof RDF globals for XPCOM restart r=pike sr=neil@p 2005-12-01 15:03:48 +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
dougt%meer.net c66cf17ee4 fixes 280242. build fix for wince. r=bsmedberg 2005-01-28 22:20:23 +00:00
bsmedberg%covad.net 79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
cbiesinger%web.de 05744f9991 fixing build bustage 2004-11-08 01:14:56 +00:00
darin%meer.net 950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
cbiesinger%web.de 93ea7a16b5 Bug 261593 get rid of AssignWithConversion in filesystemdatasource
r=axel@pike.org sr=darin
2004-09-30 21:44:02 +00:00
neil%parkwaycc.co.uk dbc312a8f5 Bug 249996 Local store should return "rdf:local-store" as its URI r=pike sr=darin 2004-07-07 06:37:39 +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
bienvenu%nventure.com 4d40ab419f make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538 2004-04-22 15:32:54 +00:00
gerv%gerv.net dfb29e9236 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 18:33:16 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
peter%propagandism.org feda8614f8 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
timeless%mozdev.org 86a41a7bd4 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=alecf
2003-09-11 03:18:48 +00:00
bryner%brianryner.com 377bfd51dd Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:18:24 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
varga%netscape.com 717feaab4a Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
timeless%mozdev.org 839d0503a6 Bug 201250 Trunk M140A crash [@ FileSystemDataSource::FileSystemDataSource]
r=dougt sr=alecf
2003-04-15 01:25:40 +00:00
timeless%mozdev.org ac4c086adf Bug 145858 Imported NetPositive Bookmarks are not loaded properly anymore
patch by sergei_d@fi.tartu.ee r=dougt
2003-03-21 21:01:23 +00:00
seawood%netscape.com 1e4f46228e Fixing BeOS bustage 2003-03-16 02:21:03 +00:00
mkaply%us.ibm.com 2365ec8408 Actually only Windows and BeOS need it - when was the last time that ever happened 2003-03-15 11:47:18 +00:00
mkaply%us.ibm.com 90c4896557 OS/2 bustage 2003-03-15 11:38:15 +00:00
seawood%netscape.com 3dfeacb182 Everyone needs nsDirectoryServiceDefs.h 2003-03-15 09:51:02 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
sfraser%netscape.com 1f48d95d7f Fix FileSystemDataSource::GetVolumeList to work in the CFM build, still. a=leaf 2003-02-25 23:25:38 +00:00
cbiesinger%web.de cc20a397bf fix expected os/2 bustage 2003-02-25 20:07:25 +00:00
cbiesinger%web.de cbae4cb0a5 fix windows bustage 2003-02-25 20:05:38 +00:00
cbiesinger%web.de 9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
dbaron%dbaron.org 84f33505f2 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:45:23 +00:00
rjc%netscape.com 70497db352 Fix bug # 180423: implement nsIRDFRemoteDataSource::FlushTo() which enables, among other things, serializing bookmarks as RDF. r=pavlov sr=ben 2002-11-22 07:55:59 +00:00
timeless%mozdev.org 2d64a97bb3 Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-20 08:10:37 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
darin%netscape.com d86e3064ab second attempt at landing fix for bug 157131 "nsIIOService mods in preparation for freezing" r=dougt sr=alecf 2002-08-15 18:38:46 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
leaf%mozilla.org fdcde43318 backout darin's checkin from around noon yesterday to remove the regression
in 161921
2002-08-09 23:46:19 +00:00
darin%netscape.com 45e59826d8 changes to nsIIOService in preparation for freezing, b=157131
r=dougt sr=alecf
2002-08-08 19:08:59 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
seawood%netscape.com f940144626 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
2002-03-27 06:02:39 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
rjc%netscape.com 787233fb4b Fix bug # 122757: Mac OS 9/X packages. Also, de-tab. r=tingley sr=waterson 2002-02-01 00:49:29 +00:00
rjc%netscape.com 490f660b88 Fix bug # 113894: RDF persistance issue, and get nsFileSpec out of RDF. r=sr's = darin, waterson 2002-02-01 00:24:27 +00:00
mcafee%netscape.com 94746f6a12 I'm sorry Dave, I'm afraid I can't allow this checkin. Backing out rjc's change from earlier (121546). r=jrgm 2002-01-24 07:16:01 +00:00
rjc%netscape.com 33d6e39d57 Fix bug # 113894 (and 36972 and 79013 and probably others): get nsFileSpec usage out of RDF, and fix RDF persistence on Mac if there is a slash in the path. Various code from myself, darin, waterson and tingley. Various r/sr include darin, waterson 2002-01-24 01:29:39 +00:00
rjc%netscape.com bc9808dcba Back out fix for bug # 113894 due to bug # 120617. a=sheriff suresh 2002-01-18 07:20:36 +00:00
rjc%netscape.com 9507f4c5fe Fix potential build bustage due to case issue (which the Mac is leniant about) 2002-01-15 05:48:50 +00:00
rjc%netscape.com 90ec4b26a5 Fix bug # 113894: RDF persistence breaks when there is a / in the file path. Verbal r=pavlov and sr=waterson 2002-01-15 05:20:37 +00:00
alecf%netscape.com 5965318acb C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
tingley%sundell.net 8d272ad102 bug 107133, add NC:IsDirectory arcs to the rdf:files datasource.
r=rjc, sr=waterson.
2001-12-22 18:58:10 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00