Commit Graph

173 Commits

Author SHA1 Message Date
Jacek Caban
7128f074df Bug 829518 - Use MOZ_SEH_* macros for SEH exceptions 2013-01-14 13:27:33 +01:00
Daniel Holbert
3e93fcb4f8 Bug 829975: Mark classes in nsGIOService.cpp & .h as MOZ_FINAL to fix their Wdelete-non-virtual-dtor build warnings. r=ehsan 2013-01-13 12:28:59 -08:00
Masatoshi Kimura
2337904cb1 Bug 829518 - Enclose InternetQueryOptionW in __try...__except to suppress crash. r=mcmanus 2013-01-13 05:30:15 +09:00
Patrick McManus
2bab2b6c0f bug 828632 os x system proxy config mem leak/syslog r=josh 2013-01-11 15:00:49 -05:00
Trevor Saunders
78c0c89df2 bug 829288 - fix some toolkit/ warnings r=ehsan 2013-01-10 06:44:15 -05:00
Nicholas Nethercote
b50b747f6b Bug 825807 (part 2) - Improve the style of nsNetworkManagerListener.{h,cpp}. r=bz. 2013-01-06 16:08:31 -08:00
Nicholas Nethercote
a8c1098022 Bug 825807 (part 1) - Remove unused nsNetworkManagerListener::mManageIOService field. r=bz. 2013-01-06 16:08:17 -08:00
Jeff Muizelaar
b4e2a8d95a Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
This doesn't switch all of the users yet, but is a step in the right
direction.

--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Brad Lassey
d2ff2f6e5c bug 749352 - Firefox fails to connect when a proxy is used r=mfinkle,mossop
--HG--
rename : toolkit/system/windowsproxy/Makefile.in => toolkit/system/androidproxy/Makefile.in
rename : toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp => toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp
2012-11-13 11:25:18 -08:00
Seth Fowler
4388c1b02d Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe 2012-11-03 23:04:07 -04:00
Landry Breuil
be2ee5d746 Bug 805202 - Depend on GIO 2.20 and directly call g_app_info_get_commandline() r=karlt 2012-10-27 00:38:43 +02:00
Josh Matthews
80112a2809 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews
2c57ae944e Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
08a5eceeeb Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
f3459980ad Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Chris Coulson
8a9e5f8e12 Bug 795395 - Don't unload the library immediately on failure on nsGSettingsService::Init(). r=karlt
We return a failure anyway, so the component manager calls our destructor where we do the unload
2012-09-29 12:32:57 -04:00
Patrick McManus
b0eb649bd8 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
946a13d148 Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Patrick McManus
cafe3619a5 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
1525bc6440 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
22205a5249 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
Masatoshi Kimura
4bd53aa622 Bug 787757 - Use INTERNET_PER_CONN_FLAGS_UI if available. r=jimm 2012-09-12 22:24:00 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Patrick McManus
a257bc588a bug 787190 - gconf system wide proxy settings for unix r=biesi 2012-08-31 08:20:39 -04:00
Marco Castelluccio
222f4ad1f9 Bug 783765 - Use libnotify as a dynamic library. r=glandium 2012-08-25 08:54:16 +02:00
Ehsan Akhgari
0fd9123eac 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
e0ab48ca47 Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
834b7ba3af 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
8211166c85 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
b3dd3b6646 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
efd25a4c41 Bug 771115 - Get System Proxy Settings from the active Internet connection. r=jimm 2012-07-09 20:53:17 -04:00
Masatoshi Kimura
6fbd736648 Bug 563169 - Use WinInet function instead of reading registry. r=jmathies 2012-06-13 21:12:36 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Wolfgang Rosenauer
0a7440c830 Bug 737646 - no biff notification if notification-daemon not running. r=karlt 2012-03-26 10:51:40 +02:00
Justin Lebar
0dbaf73150 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
190df3fef4 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
a44538c332 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
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Chris Coulson
689c286245 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
5c481605ea 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
ad5d435d36 Bug 682832 - Don't ignore Gnome 3 proxy settings. r=karlt 2011-12-05 15:45:54 +01:00
Scott Johnson
6bc58fdc72 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
fbd4325acd 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
Brandon Sterne
bcab21793a Bug 515460 - enforce CSP during image redirects, r=joe 2010-05-20 13:08:02 -07:00
Michael Ventnor
6e230ab20c Bug 538028 - nsIAlertsService::showAlertNotification with null title shows short (1px tall) alerts on Linux. r=roc 2010-01-20 11:22:54 +01:00
Michael Ventnor
6f9d021b5c Bug 529664. Disconnect alert listener on shutdown. r=roc,karlt 2010-01-14 15:30:04 +13:00
Wolfgang Rosenauer
90581da5cc Bug 536745 - Fix GConf related build error for certain build configurations. r=ted 2010-01-12 11:23:53 +01:00
Oleg Romashin
fd04821f33 b=532614; dbus_connection_remove_filter - required in nsDBusService.cpp, r=roc 2009-12-23 13:52:11 +02:00
Wolfgang Rosenauer
14114c3c73 Bug 526451 - allow to build gconf and gnomevfs/gio support independently. r=ted 2009-12-23 08:35:27 +01:00
Michael Ventnor
9932fb47ec Bug 529664 - sporadic 136-144 byte leak of nsAlertsIconListener + nsStringBuffer on Linux, r=roc 2009-12-01 19:39:00 -08:00
Karl Tomlinson
75880ebfec b=530921 use a marshaller for NotifyNotification::closed to avoid fc10 crashes r=roc
--HG--
extra : rebase_source : 7be64bcad9166c667a183b3dcc3b2985c79baec1
2009-12-02 14:34:20 +13:00
Michael Ventnor
e764036ed7 Bug 516124. Add null checks to nsAlertsIconListener. r=roc 2009-11-17 15:16:59 -05:00
Florian Queze
be70762f88 Backout of changeset fa03a509c7a7 - 'Bug 516124 - Crash [@ nsAlertsIconListener::SendClosed]' to fix the orange of the linux unit test box. 2009-09-23 12:24:05 +02:00
Florian Queze
6d52478601 Bug 516124 - Crash [@ nsAlertsIconListener::SendClosed], r=roc. 2009-09-23 09:47:28 +02:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Reed Loden
b5846b26bb Bug 294375 - Remove support for libgnomevfs's handling of user modifications to the MIME database, as it has been deprecated for years [r=karlt sr=roc] 2009-09-08 15:08:02 -05:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
jhorak@redhat.com
0535295ab4 Bug 402892. Support gio as well as gnome-vfs. r=roc 2009-08-25 11:58:11 -07:00
Benjamin Smedberg
2e9438fd2f 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
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Andrew Shilliday
d5585881e5 Respect system-wide SOCKS proxy settings. b=457377 r=josh r=roc 2009-06-26 14:52:24 -04:00
Josh Aas
f18c279e92 Improve proxy exception parsing on Mac OS X and Windows. b=470207 sr=roc 2009-05-06 16:44:11 -04:00
Michael Ventnor
c1bd60ff54 Bug 469880 - Implement callback support for libnotify notifications, and fall back to XUL notifications if the server doesn't support callbacks. r+sr=roc 2009-05-04 10:11:11 +02:00
Dão Gottwald
64aeaa3e98 Backed out changeset 99cdecb3734f 2009-05-04 10:23:25 +02:00
Michael Ventnor
4f7a000aee Bug 469880 - Implement callback support for libnotify notifications, and fall back to XUL notifications if the server doesn't support callbacks. r+sr=roc 2009-05-04 10:11:11 +02:00
Mitchell Field
d1ce74dea4 Bug 485764. Implement system proxy settings module for Windows. r+sr=roc
--HG--
extra : rebase_source : ce445facfdc86618028afeb113987040ab5be492
2009-04-25 20:29:32 +12:00