Commit Graph

102 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
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Justin Lebar
7deb4db002 Bug 750454 - Fix FUEL leaks. Part 8: Reformat FUEL code. r=mak
--HG--
extra : rebase_source : f60cacaef0d993a4fde695140fcd3b6fab9e8c7e
2012-06-05 20:05:50 -04:00
Justin Lebar
fb2d87e956 Bug 750454 - Fix FUEL leaks. Part 7: Test fixes. r=mak
--HG--
extra : rebase_source : 0201c4b3ea9f621cf9ee49402683ee2ce95b017b
2012-06-05 20:05:50 -04:00
Justin Lebar
88c115da9a Bug 750454 - Fix FUEL leaks. Part 4: Fix bookmarks leaks. r=mak
--HG--
extra : rebase_source : 1f3c91c0ebdaf883e78e0bd317f0dfda35334838
2012-06-05 20:05:50 -04:00
Justin Lebar
0b77b1bbab Bug 750454 - Fix FUEL leaks. Part 2: Fix browser leaks. r=mak
--HG--
extra : rebase_source : c247f0792ec1db40c0781cff1353377f8c78781d
2012-06-05 20:05:50 -04:00
Justin Lebar
97efa18c3f Bug 750454 - Fix FUEL leaks. Part 1: Use weak refs in Application. r=mak
--HG--
extra : rebase_source : 04b4ce7ee1488481281a3073b4ba6900f14afbdf
2012-06-05 20:05:50 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo
acd27422df Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Panagiotis Koutsourakis
583eb38038 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
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Peter Van der Beken
ae44770a16 Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Shawn Wilsher
878becc3e3 Bug 607309 - Modify nsINavBookmarkObserver::onItemAdded to include the URI
r=mak
sr=mconnor
a=blocking
2010-10-26 17:20:53 -05:00
Joel Maher
3b1fb9d8ce Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Justin Dolske
2e90b61994 Bug 583885 - Fix FUEL browser_Bookmarks.js to not make bad assumption about annotations. r=sdwilsh 2010-08-02 16:02:19 -07:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
76932518f4 Fix fuelApplication.manifest to register the correct category for the Application global. 2010-06-25 13:54:15 -04:00
Benjamin Smedberg
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Dave Townsend
e54d10a7af Bug 573246: Fix tests that are failing with the Feedback extension installed. r=gavin 2010-06-24 15:01:27 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Dão Gottwald
3ec8b64e95 follow-up to changeset 8e48c8fb8299 2010-05-17 09:36:22 +02:00
Dão Gottwald
6f40b4016d Let browser_Browser.js use the status filter instead of a raw progress listener to see if it makes a difference for bug 458688 2010-05-16 22:27:20 +02:00
Dave Townsend
7a182ad4ba Bug 552731: Update FUEL to use the new EM APIs. r=mfinkle 2010-04-20 15:14:15 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
e9f8fcd5cb Bug 552731: Update FUEL to use the new EM APIs. r=mfinkle 2010-04-20 15:14:15 -07:00
L. David Baron
16bd84ee1e Fix spelling of existence. 2010-04-08 20:58:17 -07:00
Dão Gottwald
bbecfef399 use Services.* in browser chrome tests 2010-04-02 09:20:42 +02:00
Dão Gottwald
4c1683c22e Bug 554005 - Implement tabbrowser.tabs, deprecate mTabs and mTabContainer. r=gavin 2010-03-22 15:12:04 +01:00
Dão Gottwald
e8a68bbf63 Bug 347930 - Move the tabs outside the tabbrowser, put them in a toolbar. r=vlad
--HG--
extra : rebase_source : e1662b549464d68417cf3b0f07d9624fe1a670ef
2010-03-17 07:36:13 +01:00
Dão Gottwald
6c3db50771 fix up tests 2010-03-13 17:55:44 +01:00
Dão Gottwald
acef35272f Use ordinary JS functions as observer callbacks in browser chrome tests 2010-02-06 09:47:42 +01:00
Dietrich Ayala
75304fc019 Bug 543672 - Warning: setting a property that has only a getter in fuelApplication.js' Utilities.free (r=dao) 2010-02-03 10:26:55 -08:00
Dietrich Ayala
5a5c4a6505 Bug 506471 - FUEL should avoid putting itself in the app-startup category (r=mfinkle) 2010-01-31 19:12:57 -08:00
Serge Gautherie
4ebfa5c010 Bug 534647 - mochitest-browser-chrome: perma/random "browser_ApplicationPrefs.js | Timed out" after bug 152526 landing; (Fv1-FF) Improve a few log messages.
r=gavin.sharp.
2010-01-24 14:58:31 +01:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Dão Gottwald
0bb69ec297 Bug 521282 - Make sure the browser window is focused before each test. r=mano 2009-11-22 15:05:54 +01:00
Dão Gottwald
c5f31ac9ac Bug 525710 - getPagesWithAnnotation, getItemsWithAnnotation, getPageAnnotationNames, getItemAnnotationNames, getFaviconData, getQueries, getFolders and getTagsForURI length out params should be optional. r=sdwilsh
--HG--
extra : rebase_source : e46c14838c9076d6bb32a423e0193e71b1d0532a
2009-11-02 22:04:15 +01:00
Dietrich Ayala
f66429541f Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Dietrich Ayala
890e1e64fa Backout bug 498130 due to persistent startup crash on Windows Mobile (bug 519854) 2009-09-30 17:21:39 -07:00
Asaf Romano
0cdda0b913 Bug 498130 - Reduce places-views overhead. r=mak. sr=mconnor. 2009-09-26 11:23:17 +03:00
Dão Gottwald
ae7911d68f add debug info 2009-09-20 03:59:39 +02:00
Dão Gottwald
eaf03cbc84 Bug 458688 - re-enable browser_Browser.js and try to fix the intermittent failure. r=dtownsend 2009-08-17 11:35:05 +02:00
Dão Gottwald
dd710093a1 Bug 458688 - disable browser_Browser.js 2009-04-05 23:11:43 +02:00
Shawn Wilsher
c3bde40cce Bug 468305 - nsINavBookmarksObserver has no "onBeforeItemRemoved" callback
Not having this callback makes life difficult for anyone trying to synchronize
bookmarks.  You cannot get any additional information about a bookmark when
onItemRemoved is called, since it's been removed.  Things like a guid no longer
exist, which results in a lot of pain for add-ons that want to synchronize.
r=dietrich
2009-03-19 15:56:51 -04:00