Mats Palmgren
3cfffd0412
Bug 843543 - Add a null-check after ShowPrintDialog to avoid crashing. r=smaug
2013-02-24 15:09:34 +01:00
Ryan VanderMeulen
486f369f1f
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
Trevor Saunders
0900a6537c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Julian Viereck
ad640d40e0
Bug 743252 - Implement moznomarginboxes attribute. r=roc
2013-02-20 10:50:21 -05:00
L. David Baron
5ef4421fa5
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
36453999ea
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Robert O'Callahan
4808eec839
Bug 830278. Part 2: Move mDisallowSelectionPrint check into IsThereARangeSelection to make sure code doesn't re-enable selection printing. r=heycam
...
--HG--
rename : dom/voicemail/Makefile.in => dom/telephony/Makefile.in
rename : dom/voicemail/nsINavigatorVoicemail.idl => dom/telephony/nsIDOMNavigatorTelephony.idl
rename : services/sync/tests/unit/test_utils_json.js => services/common/tests/unit/test_utils_json.js
extra : rebase_source : a900eaa265af5c4fa6e0355608cf2e384e1cd193
2013-02-08 14:38:44 +13:00
Cameron McCormack
04fc1087f7
Bug 830278 - Allow disabling of selecting printing with mozdisallowselectionprint on the document element. r=roc
2013-01-29 15:59:55 +11:00
Mats Palmgren
7a42e0132e
Bug 830236 (follow-up) - Keep the print engine when printing finished inside Print Preview. Make nsPrintEngine::DestroyPrintingData re-entrancy safe. r=cam
2013-01-20 13:40:09 +01:00
Cameron McCormack
174de9f880
Bug 818626 - Remove printing crash report debugging. r=roc
2013-01-18 11:22:30 +11:00
Mats Palmgren
a5cb5824ea
Bug 830236 - Add re-entrancy protection in a few places to avoid destroying things twice. r=cam
2013-01-15 21:47:10 +01:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Trevor Saunders
e400fe7845
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Olli Pettay
18bc6b766a
Bug 817342, delay script runners when making static clones, r=roc
2013-01-10 11:59:36 +02:00
Olli Pettay
128cd62dcf
Bug 821991, prevent unexpected results in printing by keeping the setup stuff alive, r=roc, a=dveditz
...
--HG--
extra : rebase_source : 0d6001647eae7db48589a69c3dbd96a4dfb8df3f
2013-01-08 14:03:49 +02:00
Cameron McCormack
1a831efcb3
Bug 818626 - More debugging for crashes at the end of printing. r=roc
2013-01-07 14:29:47 +11:00
Cameron McCormack
1218ce463b
Bug 827085 - Remove unused mSharedPresShell member on nsPrintObject. r=roc
2013-01-07 12:57:19 +11:00
Robert O'Callahan
e195c24645
Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
...
--HG--
extra : rebase_source : f6286a4bcffa2f80bd9d444f7c04005644b8cb2f
2013-01-05 16:12:49 +13:00
Robert O'Callahan
0f0950d70e
Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
a9f8b202ea
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
eac5fd4638
Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
...
--HG--
extra : rebase_source : f85da22ada991035fbb7116a993898dd0801663d
2013-01-05 16:12:49 +13:00
Robert O'Callahan
1d8aabf788
Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
9abe8bbe09
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Cameron McCormack
ca96b0b3fd
Bug 826195 - Tweak nsPrintObject sanity assertions. r=dholbert
2013-01-05 10:24:53 +11:00
Ehsan Akhgari
faeec71701
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
6a1c8d2947
Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
...
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
60fa51d399
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Trevor Saunders
efffc97c2d
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Robert O'Callahan
106f5d95d1
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Robert O'Callahan
7613db441e
Bug 825866. Part 1: Merge nsView into nsIView, making all references to nsView refer to nsIView instead. r=tnikkel
2013-01-04 02:23:08 +13:00
Masatoshi Kimura
ecc812a3c0
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Cameron McCormack
d04f46f08c
Bug 818626 - Record in crash reports whether nsPrintObject trees are sane. r=roc
2012-12-31 10:17:40 +11:00
Cameron McCormack
b65b659d53
Bug 818626 - Release nsPresContext after its PresShell when destroying an nsPrintObject. r=roc
...
--HG--
extra : rebase_source : d5d21e5b1c06700d69ebe9ce63cb5a9a40b18dbe
2012-12-18 15:32:34 +11:00
Nathan Froyd
f9b2a74082
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Peter Van der Beken
a69ce442c1
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
David Zbarsky
d70685476e
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Brendan Dahl
9ddfd8b66c
Bug 789507 - Add watchdog for mozPrintCallbacks. r=smaug
2012-10-02 10:42:21 -07:00
Robert O'Callahan
bd85577fbd
Bug 794579. Remove view from existing parent before setting it as the root view. r=tnikkel
2012-10-02 16:25:47 -05:00
Robert O'Callahan
af83d1d922
Bug 793844. DocHasPrintCallbackCanvas should skip documents that don't have a root element. r=smaug
2012-09-26 21:26:49 +12:00
Olli Pettay
b2bc857222
Bug 793473, propagate mDontPrint to descendants, r=roc
2012-09-24 01:20:34 +03:00
Julian Viereck
56e5c43389
Bug 468568. Main patch: support downloading fonts in printing and print preview. r=smaug
...
--HG--
extra : rebase_source : 2fbaef2896d218e6900449c9510fc867419eac30
2012-09-04 16:29:27 +03:00
Robert O'Callahan
d0db77fae8
Bug 468568. Part 0.7: Fix nsPagePrintTimer inheritance. r=smaug
...
--HG--
extra : rebase_source : eaeac8451a30b698d8008bcd28a5c9e3d2cd745f
2012-09-17 17:07:32 +12:00
Peter Van der Beken
d21c8a19b6
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
...
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
L. David Baron
253be7632f
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
Ehsan Akhgari
51966b80a6
Bug 579517 follow-up: Remove NSPR types that crept in
...
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ms2ger
837acdcee8
Bug 782070 - Remove NS_NewPagePrintTimer and nsPagePrintTimer::Init; r=roc
2012-09-06 09:14:49 +02:00
Andrew Quartey
8c2e8bc0cc
Bug 788397 - Remove extra ';' from nsPagePrintTimer::Run r=Ms2ger
2012-09-05 10:44:24 -04:00
Brendan Dahl
f36e3d9c21
Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc
2012-08-30 17:24:35 -07:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
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
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ms2ger
cb4d106015
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72
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
b927c10310
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
0c8f5adf50
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari
aef7f91aa1
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
Shriram Kunchanapalli
3216ac51ce
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
8a1ce69485
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Henri Sivonen
3dfb9fb844
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Nathan Froyd
7adb7a65ea
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Florian Maier
79eee87b55
Bug 680436. Don't clamp shrink-to-fit values. r=roc
2012-01-30 06:52:57 +01:00
Ms2ger
c65e8a0ba7
Bug 718504 - Remove some GetChildAt callers; r=smaug
2012-01-25 08:50:07 +01:00
David Zbarsky
785e84c27d
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Jeff Walden
5d0d2b2e73
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Mats Palmgren
77f0b019cd
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Margaret Leibovic
20181e2c7b
Bug 704691 - Fire STATE_IS_NETWORK notifications with print status so that the download manager can track "Save as PDF" prints. r=bz
2011-11-28 13:43:33 -08:00
Marco Bonardo
c86ca0cbd3
Backout af0a7f54f483 (bug 704691), 17b4093b5ec5, 23f26ba05f1a (bug 697383) for various failures
2011-11-28 23:53:22 +01:00
Margaret Leibovic
dc5038702a
Bug 704691 - Fire STATE_IS_NETWORK notifications with print status so that the download manager can track "Save as PDF" prints. r=bz
2011-11-28 13:43:33 -08:00
Ms2ger
4a2832804a
Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv
2011-10-29 22:22:19 +02:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ms2ger
cd715d9c9b
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mats Palmgren
6894179e71
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
f06792a6ef
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Olli Pettay
f43bccee76
Bug 671970 - Crash [@ nsPrintEngine::ReflowDocList, r=roc
2011-07-18 14:02:02 +03:00
Matheus Kerschbaum
55aebc79d4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Ehsan Akhgari
0787743cf4
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Adrian Johnson
ca5502b6f3
Bug 624699. Fix some landscape printing bugs. r=roc
...
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Olli Pettay
4cf87abbdd
Bug 664434 - Make sure to Destroy the old document when setting a new print document, r=roc
...
--HG--
extra : rebase_source : b75688d5320d9dcaf59468bd5def2fa7f2e0bbc0
2011-06-16 21:20:13 +03:00
Ed Morley
ba1cdb5896
Bug 617539 - Integrate nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH back into the main interface; r=smontagu
2011-05-30 18:36:23 +02:00
Ms2ger
35e44f908f
Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz
2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c
Bug 658906 - Remove nsIDOMNSDocument; r=sicking
2011-05-28 09:43:53 +02:00
Masayuki Nakano
060287addd
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Olli Pettay
2731bfdf92
Bug 649170, use the same nsIWeakReference in DocumentViewer and nsPrintEngine, r=roc
2011-05-10 15:55:26 +03:00
David Zbarsky
5ecf0a2bd3
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Zack Weinberg
668fa81e1d
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
dd67585463
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
d5e47757d8
Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00