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

93 Коммитов

Автор SHA1 Сообщение Дата
Aryeh Gregor 3d0a00376b Bug 916568 - Remove xpcom/base/nsErrorAsserts.cpp; r=ehsan 2013-09-17 14:05:12 +03:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Jeff Walden d6e63dc265 Bug 836438 - Always implement nsresult using an unsigned 32-bit integer type. r=ehsan
--HG--
extra : rebase_source : f9d9d7772decee36a27ef09eb018b9912bf7bf6b
2013-01-30 15:32:44 -08:00
Jeff Walden be633156a5 Bug 835648 - Move typed enum support to a new header. r=Ms2ger 2013-01-28 16:33:17 -08:00
Ehsan Akhgari ba773446f9 Bug 830765 - Remove the unneeded code which tracks the list of loaded modules because it is unused and can cause multi-second hangs; r=sicking a=removes-code-from-libxul 2013-01-21 15:55:31 -05:00
Masatoshi Kimura a8274df1f4 Bug 795433 - Use #define for nsresult values in C code. r=ehsan,glandium; feedback=njn 2013-01-05 12:55:22 +09:00
Brian Smith f118bb8b55 Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification

--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Mats Palmgren 684b213d2a Bug 802473 - Make NS_FAILED return 0 or 1 (false/true typed as bool for C++). Use branch prediction macros for NS_FAILED/NS_SUCCEEDED. r=ehsan,bsmedberg 2012-10-18 02:43:06 +02:00
Jacek Caban 447520eee9 Bug 801589 - Avoid redefining ERROR in ErrorList.h when wingdi.h is also included r=ehsan 2012-10-16 11:01:58 +02:00
Aryeh Gregor 2ef2b6467b Bug 779473 - Make nsresult an enum class; r=ehsan 2012-08-02 11:55:58 +03:00
Ehsan Akhgari 6091d8e8a1 Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE 2012-10-09 09:39:32 -04:00
Ehsan Akhgari ca406822e0 Bug 795238 - Make nsresult a uint32_t enum everywhere that C++11 typed enums are supported; r=Aryeh 2012-10-09 09:23:52 -04:00
Daniel Holbert b1f92dd37c Bug 793580 followup: Fix added comment to be C-style instead of C++-style, to fix build warning for .c files that include nsError.h. rs=Ms2ger (DONTBUILD because comment-only) 2012-09-28 12:34:54 -07:00
Masatoshi Kimura 13e54c9451 Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00
Makoto Kato be6dbb47fe Bug 793580 - Part 2: give the nsresult enum an explicit type on Win64; r=ehsan
--HG--
extra : rebase_source : 072e023d7d880cce5e9e6999fb81ec0f2c29a94c
2012-09-27 14:37:59 +09:00
Aryeh Gregor 93caa9fc7e Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03: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
Aryeh Gregor 31b517948c Bug 768865 - Make NS_SUCCEEDED/NS_FAILED always inline functions for C++; r=bsmedberg 2012-06-27 17:54:01 +03:00
Aryeh Gregor 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jan Varga 513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger 6a4d885b40 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Ms2ger 77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger 2009883804 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Daniel Holbert aaa40f6c5c Bug 711047, followup to part 2: use C-style comment in nsError.h, to fix build warnings for its inclusion in .c files. rs=sicking 2012-03-16 15:16:40 -07:00
Ekanan Ketunuti f0a078afd5 Bug 722180 - Remove error codes for proxies. r=khuey 2012-02-01 18:53:29 +07:00
Aryeh Gregor 1b6aea2012 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05: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
Matheus Kerschbaum 8a4cb927fd Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Olli Pettay 68eba45f45 Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking 2011-03-24 13:34:03 +02:00
Jonas Sicking 187d172f47 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 94f6d9d6bd Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Ben Turner b682a58ad1 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Andreas Gal b941a32c65 Re-land bug 608142. 2010-10-30 06:01:25 -07:00
Jeff Walden d18fb5831e Backed out changeset 71728ff7002c, seems to have turned mochitest-plain-2 orange. 2010-10-29 22:39:19 -07:00
Andreas Gal 64467a36d7 Disallow sending JS functions to a different thread (608142, r=jst). 2010-10-29 15:03:44 -07:00
Jonas Sicking e97d2a7def Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Jonas Sicking c271233fbc Backed out changeset 4c88c8839a46 due to redness 2009-12-17 22:34:52 -08:00
Jonas Sicking 0e30967e65 Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Serge Gautherie dae9f36f51 Bug 229442 - </xpcom/base/nsError.h> NS_SUCCEEDED() code cleanup; (Av3) <nsError.h> whitespace cleanup ++; r=doug.turner 2009-03-13 15:51:27 +01:00
David Mandelin 4548bac7b1 Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg 2008-04-30 17:47:27 -07:00
dcamp@mozilla.com 21b4c8ea53 Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
mats.palmgren%bredband.net cca3292d36 Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin 2006-11-18 00:48:56 +00:00
bsmedberg%covad.net 3530da7ba8 Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin 2006-01-17 15:41:40 +00:00
bsmedberg%covad.net d2c7c9131d Bug 295247 - Allow extensions to ship plugin DLLs, part 1 - r=darin a=shaver 2005-06-02 13:29:04 +00:00
doronr%us.ibm.com 9c78c6f546 Bug 223097 - XML Schema Validation initial checkin, not built by default. Lives in extensions/schema-validation. r=jst for build changes. 2004-12-10 15:11:31 +00:00
shaver%mozilla.org e1c7af5c96 add STORAGE error module, r=bz 2004-12-08 23:14:13 +00:00
tor%cs.brown.edu f463a3d401 Bug 249048 - Implement SVG exceptions.
p=jonathan.watt@strath.ac.uk, r=afri, sr=peterv
2004-07-22 18:34:36 +00:00
darin%meer.net 63f37119b2 fixes bug 242985 "Define module for IPC specific error codes" r/moa=dougt 2004-05-11 05:04:25 +00:00