Commit Graph

96 Commits

Author SHA1 Message Date
Ehsan Akhgari
8c296bbcd4 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
963057b5ac Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
dad305d76c 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 (more toolkit parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 98c2cd6dce6c45173693a11a618cc7b94fb69595
2012-07-23 17:26:48 -04:00
Ehsan Akhgari
dfc6e33840 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 (gnome parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 54d5440012e3c8b1c2f84c176bf02e5f8a0ed604
2012-07-23 17:24:03 -04:00
Ehsan Akhgari
635cf2dfd2 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 (more toolkit parts); blanket-r=bzbarsky 2012-07-18 12:12:55 -04:00
Masatoshi Kimura
52c0fe6ac0 Bug 771115 - Get System Proxy Settings from the active Internet connection. r=jimm 2012-07-09 20:53:17 -04:00
Masatoshi Kimura
8d929b4bc9 Bug 563169 - Use WinInet function instead of reading registry. r=jmathies 2012-06-13 21:12:36 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Wolfgang Rosenauer
41b39e4e5c Bug 737646 - no biff notification if notification-daemon not running. r=karlt 2012-03-26 10:51:40 +02:00
Justin Lebar
064e2cf3f9 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
Chris Coulson
51ce682ad7 Bug 716467 - Don't call g_settings_new each time we look up system proxy settings. r=karlt 2012-02-23 21:16:15 -05:00
Mike Hommey
f29a0dfce1 Bug 710972 - Define G_VARIANT_TYPE_STRING_ARRAY when building against older glib. r=karlt 2012-01-10 09:12:23 +01:00
Kyle Huey
3a27625aad Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Chris Coulson
b72c272171 Bug 713827: dlopen() gconf library in mozgnome component r=karlt
--HG--
extra : rebase_source : f48e39be1baf7cdfc4b27865145ed93c469665a1
2012-01-05 11:19:46 +13:00
Karl Tomlinson
9087bde1e6 b=715063 don't warn when org.gnome.system.proxy GSettings schemas are not found r=roc
--HG--
extra : rebase_source : 99fa820e3513bd8355a3bfee00f0020bb5a3ef4a
2012-01-05 11:16:27 +13:00
jhorak@redhat.com
786f158c3b Bug 682832 - Don't ignore Gnome 3 proxy settings. r=karlt 2011-12-05 15:45:54 +01:00
Scott Johnson
e4fbf31815 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Dan Williams
f82fd87f72 Bug 639959 - Support NetworkManager 0.9.0; r=bz 2011-10-21 21:33:31 +01:00
Jeff Walden
06d502294e Bug 694909 - Fix the --enable-gio build to work with ArrayLength changes. r=trivial
--HG--
extra : rebase_source : 3d372a242ab3242d364c613f43fda79120880060
2011-10-17 13:50:15 -07:00
Ehsan Akhgari
2a602a5685 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
b7753477cf 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
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab 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
d8e503c38b 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
David Volgyes
956bbb3205 Bug 676180 - Memory allocation / deallocation mismatch in toolkit/system/gnome/nsGIOService.cpp. r=karlt 2011-08-02 21:52:00 -04:00
Joe Drew
952b8c93a0 Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz 2011-07-14 14:47:32 -04:00
Doug Turner
0efa167f2b Bug 667980: Expose network connection type to chrome. r=dougt
Add an attribute to nsINetworkLinkService that represents the connection type,
and add code to the android back-end to expose the connection type and notify
when it changes.
2011-07-10 15:24:05 -07:00
Steffen Wilberg
4815650ea6 Bug 663253: Remove the 'browser.offline' preference (don't remember offline mode from the previous session). r=gavin 2011-06-21 22:23:26 +02:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Hiroyuki Ikezoe
0fc9bbc32c Bug 660131 - Follow up fix. Include glib-object.h for disabling gconf. r=karlt 2011-06-03 17:45:38 +02:00
Hiroyuki Ikezoe
44072c9a2c Bug 660131 - Call g_type_init in loadProc of kGnomeModule to fix crash on mochitest-plain ; r=karlt 2011-06-01 13:19:16 -04:00
Hiroyuki Ikezoe
34e2b5fb81 Bug 660133 - Add MOZ_GIO_CFLAGS. r=karlt 2011-06-01 10:13:57 +02:00
Hiroyuki Ikezoe
d8cbca802f Bug 656781 - More efficient way to use g_app_info_launch_uris and gnome_vfs_mime_application_launch, r=karlt
--HG--
extra : rebase_source : a97c1bdaf1b45d380c3b90d9abb2507c68ab5128
2011-05-12 20:55:00 -07:00
Chris Coulson
ea11341c5b b=611953 Add nsIGSettingsService to support GSettings r=karlt
--HG--
extra : rebase_source : 01cee722e375c8acc82cb6169a096d73026030aa
2011-05-12 20:14:55 +12:00
Hiroyuki Ikezoe
b2799f68ad Bug 656165 - g_free accepts NULL so we do not need NULL checking before invoking it. r=karlt 2011-05-11 15:12:26 +02:00
Chris Coulson
6b646698e9 Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:11:20 -04:00
Chris Coulson
6e45c6f420 Bug 611953 - Part 2: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:10:51 -04:00
Josh Matthews
dae2e7ed3e Bug 635552 - Avoid leaking nsAlertsIconObserver objects by using a weak reference. r=karlt 2011-02-21 01:50:57 -05:00
Christopher Aillon
b6017fd921 Bug 629833 - Remove the toolkit.networkmanager.disabled pref
r=roc a=beltzner
2011-02-17 13:51:05 +01:00
Priit Laes
b92fb89afb Bug 628222 - Add support for libnotify-0.7+. r=karlt a=joe 2011-02-09 00:02:37 +01:00
Oleg Romashin
c9627db2fd Bug 621226 - extern C necessary for older libproxy iirc. r=doug.turner a=approval2.0 2011-01-05 15:48:23 +02:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Wolfgang Rosenauer
f63da2ff31 Bug 517655 - Support for libProxy - Part 2. Implementation. r=dougt
--HG--
extra : rebase_source : 33a5eb02ea62584bc188406830c2ce70effa926c
2010-08-03 10:44:50 -07:00
Wolfgang Rosenauer
6d6be89e9b Bug 517655 - Support for libProxy - Part 1. Build Changes. r=khuey
--HG--
extra : rebase_source : 47b4c922a01099fa569ee122ef0b2f545627f175
2010-08-03 10:44:49 -07:00
Benjamin Smedberg
31e2b381e5 Bug 568691 - Mac-specific changes to binary components. 2010-06-22 13:05:00 -04:00
Benjamin Smedberg
3fbca784cb More Linux-specific fixup from bug 568691 2010-06-12 20:50:56 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00