Commit Graph

792 Commits

Author SHA1 Message Date
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
ab140edff0 Bug 785738 Part 4: Use PRTime where appropriate under rdf/. r=ehsan 2012-08-30 09:10:40 +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
Ian Melven
01a802da01 Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Ms2ger
5f4593aa2e Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02: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
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
c5ea8e4936 Bug 772759 - Fix a few build warnings r=bsmedberg 2012-07-12 22:11:05 -07:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01: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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
David Humphrey (:humph)
e40fc0740c Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Diogo Golovanevsky Monteiro
24485f6c5c Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug 2012-03-24 17:37:04 +13:00
Henri Sivonen
31192f4b01 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Jacob Holzinger
6a62cb6a9b Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Henri Sivonen
3bd56d1ff6 Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02: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
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07: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
Olli Pettay
085a4c6ba3 Bug 685798 - Node.parentElement, r=bz 2011-09-11 16:05:19 -07:00
Michael Wu
b34f351453 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Matheus Kerschbaum
b0c1f89ef4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02: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
Bjarne
ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04: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
Jonas Sicking
7b1e51be23 Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
timeless@mozdev.org
0a512f60e8 Bug 562580 - warning: 'resource' may be used uninitialized in RDFContentSinkImpl::~RDFContentSinkImpl(), r=jst, a=nthomas for the CLOSED TREE 2010-05-06 21:37:45 -07:00
Jonas Sicking
c7c7514f75 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
c24e5442a9 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
L. David Baron
c5b6b3fe03 Fix spelling of 'multiple' to cause another round of builds and talos runs. 2010-02-17 11:29:15 -05:00
Jae-Seong Lee-Russo
082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Jonas Sicking
243d32f0ea Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03: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
Michael Kohler
4b7c87c984 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Ben Newman
be66be8cc9 Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
timeless@mozdev.org
31ab6a1849 Bug 491194 - fixing miscellaneous warnings. r=biesi 2009-05-18 12:43:55 +02:00
Arpad Borsos
82009c7512 Bug 474369 - get rid of nsVoidArray, rdf part; r+sr=bsmedberg 2009-04-22 10:43:15 +02:00
Benjamin Smedberg
d05ca8b26f Bug 414540 - RDFXMLDataSource should reject cross-domain redirects. Original patch by Neil Deakin, fixed up with better testing, r+sr=bz 2009-01-29 11:45:50 -05:00
Benjamin Smedberg
1bb2a73b85 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Axel Hecht
515193d0fd bug 466378, rdf:nodeID not working when node appears as object before as subject in RDF/XML source, patch=mininet@wanadoo.fr, r=me, sr=shaver, a1.9.1=beltzner 2008-12-08 12:26:52 +01:00
Blake Kaplan
61503583ca Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst 2008-10-30 14:31:00 -07: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
Daniel Holbert
5492039225 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Johnny Stenback
a2b4d665f6 Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-07-01 15:46:12 -07: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
gandalf@firefox.pl
90631a2b86 Bug 302387: rdf_FormatDate() generates incorrect timezone information; p=ian@mckellar.org, r=pike,sr=shaver,a1.9=dsicore 2008-01-29 04:18:35 -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
Olli.Pettay@helsinki.fi
1ed587d4b9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
peterv@propagandism.org
f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -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
sspitzer@mozilla.org
a7c028597b supplimental fix for bug #375102: make localstore.rdf use nsISafeOutputStreamrevert back to 0666 perms on file to address a Seamonkey regressionThanks to Andrew Schultz for reporting the problem.r=dveditz 2007-03-31 18:58:58 -07:00
sspitzer@mozilla.org
0ba74e1421 fix for bug #375102: make localstore.rdf use nsISafeOutputStream(similar to bug #252053: make bookmarks use nsISafeOutputStream)r=vlad 2007-03-27 22:19:06 -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
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
jonas%sicking.cc
a9f34ee020 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
mozilla.mano%sent.com
c9b17c927d Attempt to fix build bustage from bug 360812 2006-11-19 10:54:08 +00: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
sayrer%gmail.com
9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
timeless%mozdev.org
97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu
3514212c00 Allow nsIExpatSink implementations to control whether the expat driver logs
parse errors to the console.  Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky
2006-08-25 16:34:57 +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
gavin%gavinsharp.com
fc81710a28 Bug 334207: RDFContentSinkImpl::GetIdAboutAttribute can return an unintialized value, r=axel@pike.org, sr=bzbarsky 2006-04-17 22:39:20 +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
axel%pike.org
561ca826c2 bug 232623, support nodeID, patch by sharekk@hotmail.com, r=axel@pike.org, sr=shaver 2006-03-07 15:43:26 +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
bzbarsky%mit.edu
36b12202c3 Make sure to parse UTF8 XML as UTF8 no matter what the encoding decl may be.
Bug 230275, r=mrbkap, sr=jst
2006-01-27 01:10:49 +00:00
mrbkap%gmail.com
fb3f80349e bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst 2006-01-21 02:02:02 +00:00
axel%pike.org
3059ffaf24 bug 307558, fix RDF serializer to check for existing namespace mappings before adding new ones, r=bsmedberg, sr=mrbkap 2006-01-05 21:40:56 +00:00
darin%meer.net
eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
mrbkap%gmail.com
27881a2aea bug 319847: Make sure the namespace is properly escaped. r=bsmedberg/axel 2005-12-14 19:01:49 +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
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
timeless%mozdev.org
98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
gavin%gavinsharp.com
b968683bbd Bug 296836: Convert nsIRDFService documentation to a doxygen-parseable format, patch by J.P.Klippel <jklippel@xtux.org>, r=bsmedberg, rs=shaver 2005-11-19 22:38:40 +00:00
cbiesinger%web.de
a3b4ff0954 bug 231548 remove nsRDFParserUtils. This means we no longer unescape strings in
RDF/XML files twice.
patch by Chase Tingley <tingley@sundell.net> / Rob Adams <readams@readams.net>
r=pike sr=shaver
2005-11-18 20:34:19 +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
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
bob%bclary.com
5953c746f2 Bug 303503 - make CompositeDataSourceImpl::GetAllResources NS_NOTYETIMPLEMENTED message meaningful, r=axel,sr=shaver 2005-09-04 18:21:36 +00:00
bzbarsky%mit.edu
3656444b70 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
axel%pike.org
c566fcd541 bug 299151, fix crash in rdfxml serializer when QIed to bad interface on creation, r=bsmedberg, sr=shaver, a=bsmedberg 2005-07-01 08:22:17 +00:00
axel%pike.org
39c3c8adf5 bug 259119, rdf/xml serializer needs to be less memory consuming, first steps of the new APIs, r=bsmedberg, sr=shaver, a=bsmedberg 2005-06-24 07:49:44 +00:00
axel%pike.org
21cb13b7ec bug 291123, remove unused MOZ_THREADSAFE_RDF, NPODB, r=bsmedberg, sr,a=brendan 2005-05-15 17:19:57 +00:00
axel%pike.org
f3779ff921 bug 281969, & isn't escaped when it's the first char, r=mcsmurf, sr=shaver, a=asa 2005-02-14 20:45:37 +00:00
axel%pike.org
14d0d7849a Bug 278560, fix RDF/XML serialize - parse cycle wrt namespace mappings, regression from bug 192139, r=mscott, sr=peterv 2005-02-04 19:43:25 +00:00
peterv%propagandism.org
e80ad869c7 Correct function signature to fix Solaris bustage. 2004-12-24 15:34:52 +00:00
peterv%propagandism.org
26bb2f4e91 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
peterv%propagandism.org
a7ac96fea9 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37: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
darin%meer.net
6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00