Commit Graph

184 Commits

Author SHA1 Message Date
Robert O'Callahan
f51c1e6524 Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Robert O'Callahan
b8737f4a7f Bug 886295. Backout fix for bug 880854 to fix regression. r=mats
--HG--
extra : rebase_source : 66bc089c3ece4dbe4f6533fce97a902abdd4871a
2013-07-22 14:04:46 +12:00
L. David Baron
a187fb3edb Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Gabor Krizsanits
756a8f8c8c Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Robert O'Callahan
fcc41b30be Bug 880854. Part 2: Support reflows/frame reconstruction in print/print-preview documents by promoting them to frame reconstruction of the whole document. r=mats
--HG--
extra : rebase_source : e81c5cd0f9da7bbcd876669c4b9de46dac825a5d
2013-06-18 23:41:30 +12:00
Olli Pettay
c44bb5a8ce Bug 877612 - Cannot enter into fullscreen mode after print dialog is opened, r=roc 2013-06-07 12:11:04 +03:00
Trevor Saunders
3f07541a7a bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert 2013-04-01 06:26:37 -04:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
5de2f27c8a [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 18:18:32 -04:00
Zack Weinberg
733f93ac09 Bug 849633: change entity names for messages changed in bug 847181. r=tchevalier,ehsan 2013-03-26 10:21:34 -04:00
Bill McCloskey
8e048462e3 Bug 671976 - Fix print preview asserts (r=smaug) 2013-03-14 12:02:28 -07:00
Trevor Saunders
43728598df bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
7fbba09df0 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
3de595d32e bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Zack Weinberg
68dac0c8ba Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug 2013-03-08 21:45:14 -05:00
Mats Palmgren
8bb0a8ca5a Bug 843543 - Add a null-check after ShowPrintDialog to avoid crashing. r=smaug 2013-02-24 15:09:34 +01:00
Ryan VanderMeulen
858de2ee46 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
70d157e13c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Julian Viereck
d15f0e62b5 Bug 743252 - Implement moznomarginboxes attribute. r=roc 2013-02-20 10:50:21 -05:00
L. David Baron
822b2ca3bc 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
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Robert O'Callahan
e323381071 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
a2e31d250a 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
af600174be 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
56ee3cabfb Bug 818626 - Remove printing crash report debugging. r=roc 2013-01-18 11:22:30 +11:00
Mats Palmgren
97f9bf1fe4 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
6c53161814 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
cca31177a2 bug 828138 - GetCurrentSelection() should return Selection* r=smaug 2012-12-19 17:55:44 -05:00
Olli Pettay
54135b56d1 Bug 817342, delay script runners when making static clones, r=roc 2013-01-10 11:59:36 +02:00
Olli Pettay
68bcabec5e 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
6852ed23cc Bug 818626 - More debugging for crashes at the end of printing. r=roc 2013-01-07 14:29:47 +11:00
Robert O'Callahan
e39041c9dd 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
85884b1a4b 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
408fbe5931 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
8a8ef7ec2f 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
b56cdd701e 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
Trevor Saunders
96c9daa6be bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Robert O'Callahan
f9b9491b81 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
4173c8e43a 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
Nathan Froyd
bd55a07f0e 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
57adeb4354 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
Robert O'Callahan
87f9c99642 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
74f77aba94 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
66ef33d79d Bug 793473, propagate mDontPrint to descendants, r=roc 2012-09-24 01:20:34 +03:00
Julian Viereck
d3cd6b36b2 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
Peter Van der Beken
71b55b1f68 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
ff3df34b87 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
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ms2ger
6b95df10bb Bug 782070 - Remove NS_NewPagePrintTimer and nsPagePrintTimer::Init; r=roc 2012-09-06 09:14:49 +02:00