Commit Graph

700 Commits

Author SHA1 Message Date
Aryeh Gregor
920c5474b3 Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz 2012-08-07 17:58:47 +03:00
Boris Zbarsky
bdd656ebd3 Bug 782660. Resizing a text control frame with borders should invalidate the borders as needed. r=roc 2012-08-29 01:14:46 -04:00
Boris Zbarsky
8ec001feea Bug 785754. Fix handling of max-height for frame classes that still seem to think that the mComputedMinHeight/mComputedMaxHeight of a reflow state are border-box heights, not content-box heights. r=mats 2012-08-27 15:46:23 -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
Charly Molter
db958503bc Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Brian R. Bondy
6ae40bb347 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Mats Palmgren
6a7102e955 Bug 780661 - Update mDropdownCanGrow also when the position is currently outside viewport to allow a resize later at a different position. Also, don't call PositionFrameView unless the position really changed to avoid infinite number of calls to AbsolutelyPositionDropDown (via nsResizeDropdownAtFinalPosition event from NotifyGeometryChange). r=roc 2012-08-15 04:28:23 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Cameron McCormack
ba7efb66ff Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Cameron McCormack
f41c8a5fe8 Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc 2012-08-02 21:38:49 +10:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Wes Johnston
9f5ee4bbb4 Bug 773741 - Test using touch events on resizers. r=enn 2012-07-27 15:01:13 -07:00
Elika Etemad
e1c5081ab6 Bug 774835: Refactor nsHTMLReflowState::ApplyMinMaxConstraints to separate behavior of width and height. [r=roc]
--HG--
extra : rebase_source : c6a25e9c19c65d86013ddf8afc15026ca02321c4
2012-07-18 10:26:05 -04:00
Rafael Ávila de Espíndola
4c2f8f408c Bug 774038 - remove unused field. r=roc. 2012-07-15 00:18:01 -04:00
Aryeh Gregor
b0041eadcc Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Aryeh Gregor
09a0d8a8a6 Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan 2012-06-19 16:23:36 +03:00
Ehsan Akhgari
5e6974df88 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Charly Molter ext:(%20and%20Alexandre%20Dumont%20%3CAlexandre%20Dumont%20%3E)
f924084c27 Bug 716875 - Make nsTextControlFrame inherits from nsContainerFrame instead of nsStackFrame. r=roc,bz 2012-06-23 13:11:00 +02:00
Mats Palmgren
0cdf1d13a9 Bug 575294 - s/mFocused/sFocused/. part=5/5 r=smaug 2012-06-23 03:13:56 +02:00
Mats Palmgren
e77c8dbeb1 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
668b20a445 Bug 575294. part=3/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
03bbad1b02 Bug 575294. part=2/5 r=smaug,roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
b02aab305a Bug 726264. r=smaug 2012-06-23 03:13:56 +02:00
Ehsan Akhgari
f50c2ec7a7 Bug 762764 - Prevent selection from descending into text boxes when extending it for things like caret navigation and extension for deletion; r=roc 2012-06-19 19:31:03 -04:00
Ehsan Akhgari
8a54f4db7a 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 (layout parts); r=roc
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Ehsan Akhgari
7a041e9a4b 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 (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
9c1d160da3 Merge the last PGO-green inbound changeset to m-c 2012-06-10 18:21:22 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Aryeh Gregor
6865bb0c16 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Mounir Lamouri
8ab72ab455 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Aryeh Gregor
b36b8ee24e Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Mounir Lamouri
8c421a5c03 Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
Ehsan Akhgari
c6218431ee Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Mounir Lamouri
7918a94d90 Bug 686886 - Port bug 680747 and bug 680518 to nsMeterFrame. r=roc 2012-06-05 22:15:46 +02:00
Arnaud Bienner
327842ee1f Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir 2012-06-06 14:16:58 +02:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +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
L. David Baron
c0710aeffc Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc 2012-06-04 16:26:30 -07:00
L. David Baron
88c9e5abd4 Remove unused member variable from nsGfxButtonControlFrame. No bug. 2012-06-05 15:52:28 -07:00