Commit Graph
49 Commits
Author SHA1 Message Date
Isaac Aggrey 990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Makoto Kato 8696ddea08 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari 243c878d26 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
Honza Bambas 473edc0cbf 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
Mike Hommey 0f9f294ea0 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari 896a9204bd 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 (parser parts); r=hsivonen 2012-06-13 00:07:59 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato bfff2e0ca9 Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Henri Sivonen b191345374 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Makoto Kato 46842c9bf0 Bug 590390 - deCOM nsICharsetAlias. r=smontagu 2012-03-05 12:57:51 +09:00
Panagiotis Koutsourakis 835036b234 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Henri Sivonen 40ba9af5f5 Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Ehsan Akhgari 478ad1a412 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 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Joel Maher 39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Peter Van der Beken 33e2bd6f98 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
Joel Maher 66966b3623 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert 50d7d4c696 Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout 2010-08-25 14:03:44 -07:00
Joel Maher 653ecb9166 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking 3a09698a51 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher 3bc5eca86a Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Jonas Sicking 90b687402b 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 4ec69e1eff 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
Ben Newman cdf9308eef Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Blake Kaplan 8545946bcf 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
Mike Hommey b629b1f421 Bug 398810 - "Remove MOZILLA_1_8_BRANCH ifdefs from core on trunk" [r=sicking r=brendan r=bsmedberg] 2008-07-12 17:26:52 -05:00
06a8809e3a Bug 397804. pages loading feeds as content can trigger a leak. r=jst, sr=sicking, a=sicking 2007-09-27 20:00:35 -07:00
[email protected] 45fff10b33 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg 2007-01-31 03:25:46 +00:00
[email protected] 30dee49bd5 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<[email protected]>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
[email protected] 8ff515baa0 bug 362547. xpcshell unit tests for SAX Patch by Alex Vincent <[email protected]>. r=sayrer 2006-12-10 03:16:39 +00:00
[email protected] cf001064ea Bug 362547. Crash in SAXReader with doctype missing public, system ID's. Patch by Alex Vincent <[email protected]>. r=sayrer, sr=bz 2006-12-05 19:37:37 +00:00
[email protected] 90715db7ec Bug 334302. Adjust SAXLocator reports in ReportError. Patch by Alex Vincent <[email protected]>. r=sayrer, sr=bz 2006-09-13 18:20:05 +00:00
[email protected] f4959e557c Allow nsIExpatSink implementations to control whether the expat driver logs
parse errors to the console.  Bug 342164, patch by Alex Vincent
<[email protected]>, r+sr=bzbarsky
2006-08-25 16:34:57 +00:00
[email protected] aefd609e2f Bug 344090. Loading an Atom Feed crashes Bon Echo a3 [@ nsSAXXMLReader::HandleStartNamespaceDecl]. Style fixes per peterv. r+sr=peterv. 2006-07-11 14:51:26 +00:00
[email protected] 61ac8888a9 b=342163. parseFromStream error in nsISAXXMLReader on trunk. r=weirdal, sr=peterv. 2006-07-10 15:32:58 +00:00
[email protected] 7cfa6efda1 Bug 343036, SAXParser crashes with references to JS-defined object attached to XPCOM component, r+sr=peterv 2006-06-28 22:44:42 +00:00
[email protected] 317f6040a0 b=337451. Fix default charset for SAX parser. r=sicking, sr=peterv 2006-06-06 23:13:17 +00:00
[email protected] 0abcfb5d80 b=337451. Fix default charset for SAX parser. r=sicking, sr=peterv 2006-06-06 23:06:12 +00:00
[email protected] 4e5b29f42b Add an async mode to the SAX stuff. Bug 334304, patch by Robert Sayre
<[email protected]>, r=biesi, sr=bzbarsky
2006-04-24 17:01:40 +00:00
[email protected] 81346c7f3a Allow libxul to link in mingw builds.
Bug #334403 r=bsmedberg
2006-04-18 15:52:41 +00:00
[email protected] f981d48016 Fix the bustage fix to actually be correct. Bug 315826. Patch by Robert Sayre
<[email protected]>, r+sr=peterv
2006-04-17 15:39:13 +00:00
[email protected] 29c6b58615 Better empty string stuff. Still followups to bug 315826 2006-04-17 02:19:19 +00:00
[email protected] d3f6498c5d Make bz's bustage fix actually compile. b=315826 2006-04-17 02:03:16 +00:00
[email protected] 866f487f32 Fix initializer-reordering warnings. b=315826 2006-04-17 02:01:01 +00:00
[email protected] 953e484de9 Fix Windows bustage. According to sayrer, these unused methods will be XPCOM methods on a future interface. b=315826 2006-04-17 01:59:24 +00:00
[email protected] 41c1695cc0 Fixing linux bustage; bug 315826 2006-04-17 01:58:36 +00:00
[email protected] 1bdd1746cc Bug 315826 Scriptable XPCOM wrapper for SAX content handler
patch by [email protected] r=peterv sr=sicking
2006-04-17 01:13:07 +00:00