Commit Graph

469405 Commits

Author SHA1 Message Date
Alexander Surkov
ead73ecd57 Bug 1261177 - split GetOrCreateAccessible method into two (Get and Create versions), r=yzen 2016-04-06 07:23:41 -04:00
Nathan Froyd
3be1728969 Bug 1262397 - fix a few emacs modelines; r=me
DONTBUILD because comment fixes are always safe, right?
2015-10-12 23:45:30 -04:00
Jean-Yves Avenard
0bd6645973 Bug 1262396: [MSE] Remove incorrect assertion. r=gerald
MozReview-Commit-ID: Dav8XajE6mU

--HG--
extra : rebase_source : e54c67cf6df968d7463afbf3fcffe2cc3032d7c5
2016-04-06 21:26:46 +10:00
Masatoshi Kimura
9696b4bdf6 Bug 1255863 - Stop using nsTableEncoderSupport subclasses in GBK/GB18030 encoders. r=hsivonen 2016-04-06 20:07:31 +09:00
Nicholas Nethercote
e4dec8d42f Bug 1261735 (part 1) - Overhaul the atom implementation. r=froydnj,erahm.
This patch changes things so that dynamic atoms and static atoms have distinct
implementations. This is a step towards allowing dynamic atoms and static atoms
to have different layouts in memory, which will allow static atoms to be
represented more compactly.

Specifically, the patch does the following.

- It renames AtomImpl as DynamicAtom and PermanentAtomImpl as StaticAtom, and
  the latter is no longer a subclass of the former. This required duplicating
  some methods from the former into the latter: ScriptableToString(),
  ToUTF8String(), ScriptableEquals(), IsStaticAtom(). (This duplication will
  disappear in the future if the representations of dynamic atoms and static
  atoms diverge. Indeed, SizeOfIncludingThis() is already different in the two
  classes.)

- It replaces all mentions of "permanent"/"non-permanent" atoms with
  "static"/"dynamic".

- In ~DynamicAtom() it removes the check that causes gAtomTable to be deleted
  when it becomes empty. This will only happen at shutdown and so doesn't seem
  useful.

- It documents better various things, especially the basics of the
  dynamic/static split, the transmutation of dynamic atoms to static atoms, and
  the details of the SizeOf functions.

--HG--
extra : rebase_source : dbf903012e70ebf1a43de1e1088db1bc1b8dd4f4
2016-04-01 11:18:06 +11:00
Edwin Flores
7cb6393ecc Bug 1256678 - Replace DrawTargetCairo::FillGlyphs crashes with other crashes - r=bobowen 2016-04-06 11:07:27 +01:00
Carsten "Tomcat" Book
686a6af75b Merge mozilla-central to mozilla-inbound 2016-04-06 12:06:30 +02:00
Carsten "Tomcat" Book
dddbd2f44f merge fx-team to mozilla-central a=merge 2016-04-06 11:59:25 +02:00
shundroid
0eca40da0c Bug 1259663 - Clean up WidgetMouseScrollEvent. r=masayuki
MozReview-Commit-ID: F98luwO9y1N

--HG--
extra : rebase_source : e798d10142104b99fa50763a2f4e42107d3c6976
2016-04-06 16:44:11 +09:00
Bob Owen
62f0c13d40 Bug 1258376: Validate DEVMODE data length from PrintData before deserialization. r=jimm 2016-04-06 10:27:31 +01:00
Nick Fitzgerald
a114a69977 Bug 1253803 - Ensure that we maintain the focused node state when changing labels in the dominators view; r=jsantell 2016-04-04 17:36:00 +02:00
Kestrel
ba45045c35 Bug 1260360 - Purge cookies on clean shutdown according to sanitize preference. r=mconley 2016-04-05 01:46:00 +02:00
Jean-Yves Avenard
2686e88fdc Bug 1261129: Make VP9 sample data const. r=kentuckyfriedtakahe
MozReview-Commit-ID: 1VhEkxqLInz

--HG--
extra : rebase_source : 2915047cba83971618329a3f471e0a8e541dfe62
2016-04-01 14:23:07 +11:00
Makoto Kato
234456a100 Bug 1091515 - Don't set 64KB page size on aarch64. r=glandium
Linux/aarch64 supports vairous page size configuration.

(From https://www.kernel.org/doc/Documentation/arm64/memory.txt)
- 4KB + 3 levels
- 4KB + 4 levels
- 64KB + 2 leves

So we shouldn't set fixed 64KB page size on aarch64.


MozReview-Commit-ID: 8IdwBMUW4me

--HG--
extra : rebase_source : 2f3d8de3ea118313cb6dc5f48b7532d9b051c1e6
2016-04-05 18:54:42 +09:00
Jorg K
435ec5d98e Bug 233705 - remove mDontWrapAnyQuotes, mWrapToWindow and pref wrap_to_window_width. r=ehsan 2016-04-04 23:54:00 +02:00
Nick Fitzgerald
01cfd1d6c6 Bug 1248948 - Don't pass non-SavedFrame objects to SavedFrame JSAPI functions; r=tromey r=evilpie 2016-04-05 13:51:00 +02:00
Matt Woodrow
e725884022 Bug 1262304 - Add a pref to dump display lists for the content process. r=BenWa
--HG--
extra : rebase_source : 09ce025ea6029b1269f65e6e740b5166e8d15aa9
2016-04-06 15:29:57 +12:00
Matt Woodrow
ba8efb79a8 Bug 1258313 - Allow snapping of 'pseudo' 3d transforms. r=jrmuizel
--HG--
extra : rebase_source : df64389373ed7e880642dd39c9afd44a92db2423
2016-04-06 15:29:32 +12:00
Matt Woodrow
d74b963f8f Bug 1258313 - Add test for snapping transforms with perspective. r=jrmuizel
--HG--
extra : rebase_source : ce31b41a05ef2eeeedfe10bbdb65712c0f623b50
2016-04-06 15:29:23 +12:00
Kyle Huey
5063425777 Bug 1256049: Correctly handle databases currently performing maintenance when a new transaction is started. r=janv 2016-04-05 20:21:25 -07:00
Kyle Huey
f035a6ffcf Bug 1261471: Remove support for getting mozIDOMWindowProxy via GetInterface. r=mrbkap 2016-04-05 20:14:14 -07:00
Kyle Huey
dca62fc1ed Bug 1261814: Use the presence of the content global, and not any random global, to determine whether to run the close handler. r=bz 2016-04-05 20:12:56 -07:00
Kyle Huey
b98d3ef86c Bug 1259581: Remove MOZ_MEDIA_NAVIGATOR. r=jesup 2016-04-05 20:12:03 -07:00
Jim Chen
3fca182cf1 Bug 1222889 - Ignore selection change notifications when auto-completing; r=margaret
Adding the auto-completion text in the URL bar triggers selection change
notifications on Android 5.0 and above. That led us to think the user
changed the selection, and in turn commit the auto-completion. This
patch makes us ignore this edge case and preserve the auto-completion.
2016-04-05 21:54:12 -04:00
Jim Chen
8af38dfebc Bug 1260243 - Remove sendEventToGeckoSync and related code; r=me
We can remove GeckoAppShell.sendEventToGeckoSync and related code
because GeckoThread.waitOnGecko is replacing it.
2016-04-05 21:43:41 -04:00
Jim Chen
a8db6b0407 Bug 1260243 - Call GeckoThread.onPause/onResume in GeckoService; r=snorp
Inform Gecko of the Android process lifecycle by calling
GeckoThread.onPause and onResume, so that Gecko is more likely to be in
a consistent state if Android kills our process.
2016-04-05 21:43:41 -04:00
Jim Chen
2bb3a5b2e1 Bug 1260243 - Convert backgrounding/foregrounding GeckoEvent to native calls; r=snorp
Convert APP_BACKGROUNDING and APP_FOREGROUNDING events in GeckoEvent to
native calls onPause and onResume in GeckoThread, respectively.
2016-04-05 21:43:41 -04:00
Jim Chen
8318ca75b7 Bug 1260243 - Add GeckoThread.waitOnGecko; r=snorp
GeckoThread.waitOnGecko blocks the current thread and waits for previous
events on the Gecko thread to finish executing before continuing. This
is implemented by synchronously running a dummy event on the Gecko
thread. This patch also lets us get rid of sendEventToGeckoSync in
GeckoAppShell.
2016-04-05 21:43:40 -04:00
Jim Chen
2503738abf Bug 1259653 - Update Robocop tests; r=gbrown
This bug changed the meaning of profiles with empty names (""). It used
to mean the same thing as a null name, which represents the default
profile. However, the new behavior is that an empty name indicates a
custom profile. So the tests involving empty names are removed from
testGeckoProfile.
2016-04-05 21:43:40 -04:00
Jim Chen
c8b12009a6 Bug 1259653 - Respect the profile when starting GeckoService; r=snorp
In GeckoService, wait until we get an Intent before starting GeckoThread
using the profile information contained in the Intent.
2016-04-05 21:43:40 -04:00
Jim Chen
ef1800c548 Bug 1259653 - Support initializing GeckoThread with a specific profile; r=snorp
Add GeckoThread.initWithProfile that make it easy to target a particular
profile. The method succeeds when GeckoThread has not been initialized
or is already using the specified profile. It fails when the current
profile does not match the specified profile.
2016-04-05 21:43:40 -04:00
Jim Chen
d255ddc8dc Bug 1259653 - Make sure GeckoThread handles custom profiles; r=snorp
Make sure GeckoThread adds the appropriate profile arguments even for
custom profiles.
2016-04-05 21:43:40 -04:00
Jim Chen
04640791c8 Bug 1259653 - Treat custom profiles differently in GeckoProfile; r=margaret
Make sure we treat profiles under a custom directory differently. To
simplify things, custom profiles must already exist, and we don't
attempt to cache instances of GeckoProfile containing custom profiles.

Custom profiles are an edge use case (must be passed in via Intent
arguments) so I think it's reasonable to have this behavior change.
2016-04-05 21:43:40 -04:00
Jim Chen
d918431f74 Bug 1258554 - Only determine GeckoThread arguments when needed; r=snorp
Only determine GeckoThread arguments when GeckoThread has not been
started in GeckoApp. Otherwise, if GeckoThread has already started, we
don't need those arguments.
2016-04-05 21:43:40 -04:00
Jim Chen
c94ed37f77 Bug 1258554 - Don't touch GeckoApp from GeckoProfile; r=margaret
GeckoProfile.get() was reaching into GeckoApp to get and set the current
profile. I think now that GeckoThread is managing the profile, we don't
need that anymore. Also move the GuestSession check to getFromArgs, and
get rid of GeckoApp.getDefaultProfileName and
GeckoProfile.sIsUsingCustomProfile, which are redundant now.
2016-04-05 21:43:40 -04:00
Jim Chen
29cda83fe1 Bug 1258554 - Remove GeckoApp.mProfile; r=margaret
GeckoApp should not be caching the current profile.
2016-04-05 21:43:40 -04:00
Jim Chen
97eeab23f1 Bug 1258554 - Let GeckoThread manage the active profile; r=snorp r=margaret
Because Gecko itself can only handle one profile per process, we should
let the GeckoThread singleton manage our GeckoProfile instance on the
Java side, instead of using GeckoApp.
2016-04-05 21:43:39 -04:00
Chris Pearce
3bd89d1192 Bug 1261719 - Suppress MSVC warning C4595. r=glandium
C4595 is "'operator new': non-member operator new or delete functions may not be declared inline".
This warning is already suppressed for newer versions of clang.

MozReview-Commit-ID: GTzLtIGtpbR

--HG--
extra : rebase_source : 2782fff9796aedc976edf2c9820125f9b74c76e1
2016-04-04 10:34:22 +12:00
Alexander Surkov
62081fdb80 Bug 1261170 - add a single node ProcessContentInserted method version, r=yzen 2016-04-05 20:48:30 -04:00
Matteo Ferretti
d5459ac316 Bug 1239461 - Screenshot button for taking a screenshot of the current viewport; r=jryans
MozReview-Commit-ID: AMbzmf1uO0P

--HG--
rename : devtools/client/responsive.html/components/utils/l10n.js => devtools/client/responsive.html/utils/l10n.js
rename : devtools/client/responsive.html/components/utils/moz.build => devtools/client/responsive.html/utils/moz.build
extra : transplant_source : A%97_%C1d%AC%09%7C%E3%7F%0D%BCWl%8C%92V%09%1E%03
2016-03-30 22:31:37 +02:00
Nick Fitzgerald
c6425cbdee Bug 1221384 - Scroll the Tree component when focusing new items with the arrow keys; r=jsantell 2016-04-04 16:54:00 +02:00
Felipe Gomes
cdcf664fb3 Bug 1126299 - Disable intermittent browser_child_resource.js on e10s linux64 debug. r=RyanVM DONTBUILD
Relanding this with correct bug number

MozReview-Commit-ID: 3nMM2FMydnR
2016-04-05 23:58:47 -03:00
Felipe Gomes
3a5671b0dc Backed out changeset 0944b6e52af6 (bug 1252738)
MozReview-Commit-ID: y6qLZ9daxt
2016-04-06 00:00:25 -03:00
Felipe Gomes
5146def2cc Bug 1252738 - Disable intermittent browser_permissionsPromptDeny.js on e10s linux64 debug. r=RyanVM
MozReview-Commit-ID: KaT8IVJ5wkp
2016-04-05 23:58:47 -03:00
Mark Hammond
032db1a578 Bug 1262329 - don't log that Sync encountered an error writing previousFailed when there was no error. r=rnewman
MozReview-Commit-ID: 1VlcsvrPDUo

--HG--
extra : rebase_source : f53edfafd6bdf5aa617428931169c087a54c0da7
2016-04-05 19:10:26 -07:00
Kan-Ru Chen
073f4faafd Bug 1258312 - Add crash annotation to EnumSerializer r=jld
MozReview-Commit-ID: DShQTzeFGQc

--HG--
extra : rebase_source : 0e58ceda347d78e1b4598b5f295ce73b5a7bbf63
2016-03-30 12:32:26 +08:00
Kan-Ru Chen
c8fc5be7d5 Bug 1258312 - Make Pickle::Resize infallible r=jld
MozReview-Commit-ID: AfAxXOwOoq1

--HG--
extra : rebase_source : 2abbcda5792d969b7730512b6ea69a99c59b3182
2016-03-30 11:01:20 +08:00
Tim Taubert
313721942c Bug 1261213 - Follow-up to make eslint happy r=bustage 2016-04-06 10:32:16 +02:00
Tim Taubert
96b0d713ad Bug 1261213 - make test_sts_privatebrowsing_perwindowpb.html work under e10s r=keeler,mrbkap,felipe 2016-04-05 12:52:19 +02:00
Nicholas Nethercote
c8c2a2bc4d Bug 1262324 (part 2) - Introduce nsUConvProp. r=emk.
This patch fixes the hack of using a trio of |const char*| pointers to
represent a property that has two strings and a length.

--HG--
extra : rebase_source : 9f603b768146a78baf9fa2b4096cccfae9f87322
2016-04-06 13:31:38 +10:00