Граф коммитов

269034 Коммитов

Автор SHA1 Сообщение Дата
Karl Tomlinson 5801cc535a b=497498 use a helper method for dispatching destination drag events r=roc
--HG--
extra : rebase_source : fd151e844ca1454d585e8c254e1b91668427fdc6
2012-04-17 13:00:25 +12:00
Karl Tomlinson 9753a6327c b=497498 use event coordinates for source drag end point instead of new cursor position r=roc
--HG--
extra : rebase_source : 7ed5076bab1d1dfac9d0865292754a3509109d9c
2012-04-17 13:00:25 +12:00
Karl Tomlinson fbf048a9c1 b=497498 use event and widget coordinates for drop point instead of new cursor position r=roc
--HG--
extra : rebase_source : 4b02c77acc7b2d0023fc43df675f8ca07201439d
2012-04-17 13:00:25 +12:00
Karl Tomlinson 6e0ef1cb87 b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc
--HG--
extra : rebase_source : 776784c43b2d3e8edb4a4a91d507f74fce03f589
2012-04-17 13:00:25 +12:00
Karl Tomlinson 3e422a68cc b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin
--HG--
extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725
2012-04-17 13:00:25 +12:00
Karl Tomlinson d1cd3772d7 b=497498 don't set a drag context with the new widget for a leave event on the old widget r=enndeakin
--HG--
extra : rebase_source : b400dbecba51ab69d85f66a986c8f14fccf6dc09
2012-04-17 13:00:25 +12:00
Karl Tomlinson 9e9a905e64 b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin
--HG--
extra : rebase_source : 3c766e3ecb09a1aef295e8e0e9aca215f53e49c0
2012-04-17 12:59:56 +12:00
Karl Tomlinson bda2de7104 b=497498 Only dispatch drop events when canDrop has been set via dragover and only indicate successful drop when the drop is sent r=enndeakin
--HG--
extra : rebase_source : deb15db236d3e1cd2880e056090e1caff59af0d5
2012-04-04 16:29:55 +12:00
Jeff Walden d4414bd83c Bug 736591 - Reduce the amount of string allocation attempted in ecma_5/RegExp/regress-617935.js to hopefully reduce intermittent orange. (The limit the test previously checked is no longer correct, so the allocation need not be repeated quite so many times as it was before this patch.) r=luke 2012-04-16 17:34:36 -07:00
Hessam Salehi afaf8bd917 Bug 722986 - Make WebContentConverter use the per-window Private Browsing APIs in order to decide how to behave; r=ehsan 2012-04-16 23:51:04 -04:00
Wes Johnston 89d455b273 Bug 739446 - Fix test bustage. r=mfinkle 2012-04-16 19:28:20 -07:00
Brad Lassey 3ea539bbc0 bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage, follow up to require a JNI env for nsJNIString constructor r=kats 2012-04-16 18:31:05 -04:00
Brad Lassey 0781bf1fe8 bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage r=kats 2012-04-16 17:25:04 -04:00
Jeff Muizelaar d9feb65b18 Bug 739510. JSObjectBuilder: Speed up construction of char * properties. r=ehsan
This eliminates two additional copies: NS_ConvertASCIItoUTF16 and
PromiseFlatString by constructing the JSString directly. It is also designed so
that literal strings will have their strlen computed at compile time.

--HG--
extra : rebase_source : 05169480e6ffbf42a9f5cc131dc775c699841b19
2012-03-26 23:35:28 -04:00
Jeff Muizelaar 0b43adf098 Bug 726352. Move SAMPLE_LABEL from nsEventListenerManager::HandleEventInternal r=smaug
This moves it to nsEventDispatcher::Dispatch which is not as hot.

--HG--
extra : rebase_source : 93005aaf4b341047d8512ebbda7de5d7e7433b1d
2012-04-16 14:43:06 -04:00
Terrence Cole 2cf3c4f370 Bug 735549 - Generate the JS reftest suite's manifests automatically; r=dmandelin
--HG--
extra : rebase_source : 910bca5b40e37a69427cb3ab1332f24c00a0b2e7
2012-03-22 18:52:12 -07:00
Bobby Holley 26bad0fb53 Bug 745661 - Make TI assertion handle safe mode, too. r=khuey 2012-04-16 16:57:36 -07:00
Scott Johnson af71c28b04 Bug 745993: Fix failing reftest from bug 708175. [r=dbaron] 2012-04-16 18:39:25 -05:00
Kai Engert bfb083f50b Bug 633471, crash if I delete a PKCS#11 certificate when smart card is logged out. Patch contributed by timeless and Ludovic Rousseau, plus my cleanup. r=kaie 2012-04-17 01:36:46 +02:00
Margaret Leibovic 5babedb882 Bug 735747 - Form autocomplete doesn't trigger oninput event. r+a=mfinkle 2012-04-16 16:12:01 -07:00
OHZEKI Tetsuharu ad4fa5ee4b Bug 745445 - Remove arguments.callee from browser.js. r=dao 2012-04-16 18:35:34 -04:00
Brendan Dahl a72a9994bf Bug 743264 - Update pdf.js to version 0.2.536. r=mossop 2012-04-16 13:44:58 -07:00
Kan-Ru Chen c3b3e39fdb Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
L. David Baron 63d6b81059 Add tests for font.size.inflation.lineThreshold preference and the associated threshold behavior. (Bug 706193, patch 5) r=roc 2012-04-16 15:32:12 -07:00
L. David Baron 1ddf3330f5 Use the font inflation data to disable font inflation for small pieces of text. (Bug 706193, patch 4) r=roc
This merely hooks up the computation done in the previous patches for
this bug to the decision on whether to do font size inflation.
2012-04-16 15:32:12 -07:00
L. David Baron 1f0b12c8b8 Build font data structure by walking the necessary text. (Bug 706193, patch 3) r=roc
Compute the amount of text in the scope of an nsFontInflationData
object.  This walks the text that's inside of the block formatting
context at which this object is rooted, excluding the text that's inside
any nested BFC.  Using the amount of text, the font sizes of the text,
and the line threshold preference, we compute whether to enable font
size inflation within that block formatting context.
2012-04-16 15:32:12 -07:00
L. David Baron 90733eea84 Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text.  Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous.  Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
L. David Baron f290254013 Add a preference for the threshold at which we have enough text within a BFC to use font size inflation. (Bug 706193, patch 1) r=roc
The basic principle behind this preference is that we don't want to use
font size inflation when all the text that we would have inflated would
fit within a line or two.  We're better off preserving the layout than
inflating a small amount of text.  However, we don't want the inflation
decision to vary between adjacent paragraphs, so this decision needs to
be made once for each block formatting context.

Once the later patches for this bug cause this preference to be honored,
this will be a change in behavior.  The old behavior can be obtained by
setting the preference to 0.
2012-04-16 15:32:11 -07:00
L. David Baron 406fa2e7a8 Fix mistake in manifest file from bug 708175 (causing some tests to be double-run and some not at all). 2012-04-16 14:17:29 -07:00
L. David Baron e072f851f5 Fix compilation error by fixing up more code. (Bug 735262) r=jrmuizel 2012-04-16 15:32:11 -07:00
Mark Finkle 29205f22cb Bug 739446 - Default AMO bookmark should point to android native addons r=wesj 2012-04-16 17:57:47 -04:00
David Humphrey (:humph) c5f313f06d Bug 745255 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert 0d30757e43 Bug 745272: Replace comparison of unsigned value >=0 with a useful comparison. r=humph r=cpearce 2012-04-16 14:29:14 -07:00
Paul O’Shannessy 32fdb54728 Bug 745342 - Use more lazy services from Services.jsm [r=dietrich] 2012-04-16 14:26:10 -07:00
Paul O’Shannessy c9e8316b21 Bug 732292 - use XPCOMUtils.defineLazyModuleGetter in sessionstore [r=dietrich] 2012-04-16 14:26:10 -07:00
Mark Finkle c88a0e0e63 Bug 745750 - HTML entities in a download title will break the Download Manager r=wesj 2012-04-16 17:21:18 -04:00
Jim Blandy 1d06a9085f Bug 743026: Make the --verbose flag to runxpcshelltests.py also show the command, environment, and cwd. r=ted 2012-04-16 14:19:07 -07:00
Chris AtLee 934b017548 Bug 745942: make android builds use ccache. r=khuey 2012-04-16 17:02:16 -04:00
Asaf Romano 42ca210005 Butage fix for bug 745466 (that test is not valid on windows). 2012-04-16 23:47:42 +03:00
Wes Johnston 0619eec878 Bug 745834 - Fix test bustage. r=mfinkle 2012-04-16 12:47:17 -07:00
David Anderson 3220976613 Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson 94ccb204aa Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
David Anderson 3fab15f4fb Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Brian Nicholson 77dafe22d0 Bug 742771 - Fix last title after OOM. r=blassey 2012-04-16 11:56:56 -07:00
Asaf Romano bc880d784d Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03:00
Wes Johnston c407bb34bb Bug 745834 - Set encryption type correctly in java. r=mfinkle 2012-04-16 11:27:17 -07:00
Wes Johnston 55cbc2d002 Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Chris Lord c2c0f5ac4a Bug 745738 - Handle multiple devices on android install target. r=mfinkle
Allow specifying the install target via an environment variable. If there are
multiple devices connected and the target isn't set, bail out with a helpful
error message and list the devices.
2012-04-16 16:10:58 +01:00
Max Li 5ec771e00a Bug 741699 - telemetry for uiautomation.dll r=askalski f=davidb 2012-04-05 07:34:44 -04:00
David Bolter 8d46706cb3 Bug 729154 - Telemetry for a11y instantiation by unknown cause. r=tbsaunde f=surkov
This change includes a small refactor, combining our compat and telemetry data structures. We get all fancy pants with bitflags and such.
2012-04-16 11:04:53 -04:00