Commit Graph

41 Commits

Author SHA1 Message Date
Nicholas Nethercote
c4ce282f51 Bug 825150 - Remove const_casts by adding some const-ness to nsICommandLineRunner.init(). r=karlt, sr=bsmedberg.
--HG--
extra : rebase_source : 3b68c3467fa533442cdc5bcefdf7fbe6140e87a3
2013-01-03 13:52:32 -08:00
Nicholas Nethercote
1c8d094c0f Bug 824885 - Fix -Wdeprecated-writable-strings warnings in xremote code. r=karlt. 2012-12-26 21:57:57 -08:00
Karl Tomlinson
c553a32f09 b=808873 return toplevel GtkWidget for NS_NATIVE_SHELLWIDGET and use it r=roc
--HG--
extra : transplant_source : _gK%D6%5D%96%1A%3A%3A%21j%40E%09%FF%84%D3%8F%C6%A5
2012-11-07 10:50:37 +13:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
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
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
Martin Stransky
00527285da Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
e8955b072d Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Owen Taylor
0befb7239c Bug 721498 - Use remote timestamp when available for focus requests. r=karlt 2012-02-16 11:23:34 +01:00
Neil Deakin
b9741fe3c6 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04: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
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +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
Oleg Romashin
0f19ac28e4 Bug 588449 - Fennec on Linux/Qt on N900 bustage. r=doug.turner a=npodb 2010-08-20 18:03:57 -07:00
Miika Jarvinen
f1dfd300c8 Bug 184613 - Add xremote support for qt build. r=karlt 2010-08-07 09:18:43 +02:00
Oleg Romashin
9aa2d49089 Bug 568691 followup - Fix the Qt remote service and widget registration, r=bsmedberg 2010-07-02 09:51:58 -04:00
Benjamin Smedberg
3fbca784cb More Linux-specific fixup from bug 568691 2010-06-12 20:50:56 -04:00
Rob Arnold
fd95e7b700 Bug 563462 - Remove Photon bits from toolkit/ r=Mossop 2010-05-12 14:31:24 -04:00
Chris Jones
f0560d9e8e Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06: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
Arpad Borsos
318ec6121d Bug 471877 - Cleanup GTK includes; r+sr=roc 2009-01-03 08:37:52 +01:00
Arpad Borsos
3c87be4ffc Bug 451909 kill MOZ_XUL_APP now that all apps set it. docshell/toolkit cleanup r=benjamin, makefile cleanups r=ted 2008-09-02 10:45:14 +01:00
Oleg Romashin
7e12d00f0c Add empty nsQtRemoteService implementation, to make compilation happy 2008-04-20 10:20:57 +03:00
romaxa@romaxa.research.nokia.com
e57ca6c6d4 Enabled building of embedding/browser/qt and widget/src/qt modules for cairo-qt build configuration 2008-04-19 16:21:59 +03:00
maxf@magma.ca
49eda3bf0d See bugzilla bug 280725. Changes were made to the xremote mechanism to move it out of the os-specific widget code and into the more generic command line code in the toolkit. This bug implements the corresponding changes for the QNX Neutrino Mozilla based browser: 1) The xremote related code is removed from widget/src/photon/. 2) The nsPhMozRemoteHelper.* source files removed in step 1 are renamed to nsPhRemoteService.* and modified to work under toolkit/components/remote/. 3) Finally the photon specific code in widget/src/xremoteclient is modified so that the mozilla-xremote-client utility works as it did before. These changes are all Neutrino-only and should not affect any other platform, and in theory cannot bust any Tinderbox builds. p=407800 r=bsmedberg 2007-12-18 14:00:51 -08:00
gerv@gerv.net
2c4fa4403c Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
jwalden@mit.edu
e3c4baccae 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
dbaron@dbaron.org
ea020210d3 Make nsGTKRemoteService properly implement its AddRef and Release methods so it doesn't leak on shutdown. b=336920 r=bsmedberg 2007-07-03 14:21:11 -07:00
mozilla@weilbacher.org
a614a85c71 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
mats.palmgren@bredband.net
dfbd9d77a5 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
dbaron@dbaron.org
a515cf2e3a Use the NS_ARRAY_LENGTH macro rather in place of other macros that existed before it. b=378697 r+sr=roc 2007-04-25 23:56:36 -07:00
hg@mozilla.com
465265d0d4 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