Dave Townsend
8dc7f59eb3
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
2015-11-30 13:05:00 -08:00
Lars T Hansen
a9fd14b94c
Bug 1176214 - Part 7: Ctypes, shell, xpconnect, etc. r=waldo
2015-12-02 11:36:13 +01:00
Tom Tromey
743134b3e7
Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz
2015-11-11 12:55:00 +01:00
Tooru Fujisawa
2bf22fe47e
Bug 1217082 - Remove for-each from toolkit/. r=Gijs
2015-10-19 04:57:14 +09:00
Chris Peterson
752223fd52
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Nicholas Nethercote
12fec02dfb
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Shu-yu Guo
2050655753
Bug 1193583 - Fix misc XPConnect and devtools tests. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Geoff Brown
e7ae18404c
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Mike Hommey
5efb7c235d
Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps
2015-05-12 07:55:21 +09:00
Tooru Fujisawa
09f4588b6c
Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff
2015-04-23 13:41:31 +09:00
Tooru Fujisawa
50c66dc686
Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff
2015-04-23 13:41:27 +09:00
Tooru Fujisawa
d35a87ff47
Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff
2015-04-23 13:41:10 +09:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Sebastian Hengst
e35e29ccdb
Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin
2015-03-15 19:36:24 +01:00
Jonathan Griffin
c4f9588ed3
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Brian Smith
ebf74f4fbc
Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg
2015-01-08 22:35:33 -08:00
Jeff Walden
7d3b42dfac
Bug 1113379 - Convert ctypes/typedefs.h into a series of higher-order macros, for better code hygiene and to work around an incredible oddity in NetBSD's <stdint.h>. r=jorendorff
2015-01-09 02:07:39 -08:00
Jon Coppeard
ce5c9f9a43
Bug 1080262 - Disallow ctypes from converting array buffers and typed arrays to pointers, except when passed as arguments r=sfink
2014-11-03 11:38:12 -08:00
Chris Peterson
1d85269cb4
Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps
2014-12-10 22:56:31 -08:00
Chris Peterson
9d7fef134d
Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop
2014-11-08 00:41:17 -08:00
Mike Hommey
632dbaeb90
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
f5c9e729c2
Bug 1080998 - Build libjsctypes-test without a dependency on mozalloc or mozglue. r=jorendorff
2014-10-15 14:46:38 +09:00
Andrew Halberstadt
11b824f09b
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Shu-yu Guo
40c62f33a5
Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin)
2014-09-15 16:30:47 -07:00
Chris Peterson
def5e6780e
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Mike Hommey
528423a154
Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
...
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
aec0b61280
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Mike Hommey
1a33ab8a10
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Boris Zbarsky
dc36dfde3a
Bug 966452 part 1. Refactor the js_ReportUncaughtException to produce a (message, JSErrorReport*) pair before reporting. r=waldo and including the fix for bug 1034616 to fix JS tests to deal with this, r=jorendorff. r=terrence on the AutoStableStringChars bits
2014-07-04 01:24:54 -04:00
Jim Blandy
39dc0c6097
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Nicholas Nethercote
2aae5772c2
Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
2014-04-27 19:58:52 -07:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Tim Abraldes
a7b3f4ee8d
bug 986195 - Expect failure in 32-bit builds, which is 4 bytes, not 8. r=froydnj
2014-03-26 14:46:00 +01:00
Ted Mielczarek
fcd7a3da40
bug 770938 - fix ctypes test junk. r=gps
2014-03-05 15:50:37 -05:00
Ms2ger
e9cc72d339
Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal
2014-02-15 21:24:59 +01:00
Ehsan Akhgari
860f2c1f29
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Jon Coppeard
6764423a06
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
040116afa3
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
c3f1bdd1c4
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
e029fef99d
Bug 943999 - Build toolkit/components/ctypes/test in unified mode; r=bsmedberg
2013-12-03 15:48:12 -05:00
Mike Hommey
97a38484da
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
06e3b30661
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f7d7d1544e
Bug 939071 - Kill SHORT_LIBNAME. r=ted
2013-11-19 11:47:47 +09:00
Mike Hommey
bbdaaf54c1
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
7f7e4faac1
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
656e86914a
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Mike Hommey
c64b4f22b9
Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
...
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00