Trevor Saunders
c4d231052a
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Cameron McCormack
87fc6e7ab2
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
0f5fce1da3
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
Mats Palmgren
b48fe04ebd
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
1036dbd90c
Bug 823041 - Destroy the pres shell before the document. r=roc
2012-12-09 23:31:54 +01:00
Robert O'Callahan
88df3e818e
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
aba980bcb4
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
970988bc3c
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
d44dff5096
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
e25c1519f1
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
4464dc950d
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
0bda13504b
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
09f3b656b4
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Robert O'Callahan
943cb99eff
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
Kyle Huey
cad48adc68
Bug 696591: Properly handle blocking databases from pages that are entering the bfcache. r=bent,bz
2012-12-20 06:18:03 -08:00
Masayuki Nakano
bc637323fa
Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
4581677d83
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Scott Johnson
948f478584
Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan]
2012-11-28 18:26:39 -06:00
Mounir Lamouri
f3e9f0a56b
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 23:18:21 +00:00
Phil Ringnalda
9cc19a4801
Back out 204665ad4a24 (bug 764240) for Android M4 failures
2012-11-19 14:40:32 -08:00
Mounir Lamouri
9405ab0e71
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 18:15:23 +00:00
Robert O'Callahan
6792d95bd3
Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats
...
Scrolling is never synchronous now, so we don't need to block scripts
or reflows when restoring the scroll position.
2012-11-14 22:40:28 -08:00
Felipe Gomes
d158dec950
Bug 803255. Ensure previous document viewer is cleared when creating a new one to avoid leaking the old one. r=bz
2012-11-12 13:00:19 -08:00
Mounir Lamouri
84d0250f94
Bug 809425 - Fix GCC 4.7 warnings in nsDocumentViewer.cpp. r=bz
2012-11-07 16:51:32 +00:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Karl Tomlinson
a6c5033f1a
b=793501 attach DocumentViewer to top GTK widget r=roc
...
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson
257facb956
b=793501 don't resize toplevel window in response to resized notification r=bz
...
--HG--
extra : transplant_source : U%3E%D3b%3D%AE0%0D%C7%8D%27%F5a%D4%F6%2C%27%EE%EA%A1
2012-10-23 11:32:24 +13:00
Gabor Krizsanits
5d3a0e3c38
Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz
2012-10-16 21:45:56 +02:00
Matt Woodrow
cee1aa3599
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Olli Pettay
1221b03e54
Bug 790856, ensure bounds on the previous viewer, r=bz
2012-09-21 10:38:14 +03:00
Julian Viereck
5c87bd7c7a
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
4e3c26c40c
Bug 468568. Part 0.8: Remove invalid assertion about matching containers. r=smaug
...
--HG--
extra : rebase_source : 6e9bb1fcf977dce8c3dc5fd807a20bfc06e625cb
2012-09-17 17:10:03 +12:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
L. David Baron
6521fcaca1
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
Scott Johnson
3ea152f05b
Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron]
2012-09-05 16:39:34 -05:00
Brendan Dahl
4478101696
Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc
2012-08-30 17:24:35 -07:00
Ehsan Akhgari
e368dc9c85
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
Neil Deakin
953592e2fe
Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin
2012-08-13 15:05:34 -04:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Henri Sivonen
d5ae090db7
Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky.
2012-07-27 16:35:09 +03:00
Geoff Lankow
5fc630a647
Bug 230959 - Inconsistent extra 1 pixel width of XUL window; r=Neil
2011-09-07 22:14:04 +12:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ms2ger
2b6c403037
Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir
2012-07-02 08:22:37 +02:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Ehsan Akhgari
f4b598bf08
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Olli Pettay
e160cfea86
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Ms2ger
b63367bd67
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Kartikaya Gupta
82d4333178
Bug 758361 - Move the before-first-paint event so it doesn't get improperly triggered on a plugin codepath. r=bz
2012-06-04 12:26:03 -04:00
Alexander Surkov
2a14b57426
Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde
2012-05-24 15:57:16 +09:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
b051b7aaa9
Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
...
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
Olli Pettay
c7a649ab35
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Henri Sivonen
31192f4b01
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Adam Dane [:hobophobe]
a4e77c0d40
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Benoit Girard
dc6ea71b7e
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Kartikaya Gupta
676a95e99e
Bug 732564 - Add a before-first-paint event that fires before the first paint of the new document. r=Cwiiis, bz
2012-03-12 12:03:38 -04:00
Benoit Girard
73a287f0ea
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
a4a3883264
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Bill McCloskey
536021f834
Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug)
2012-03-12 16:25:03 -07:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Jonathan Watt
f4f67ef82f
Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron.
2012-01-25 23:52:26 +00:00
Bill McCloskey
dc52ba7996
Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8)
2012-01-25 10:59:55 -08:00
Markus Stange
14e0a88d26
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
81d739b868
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
5d6bf29b6f
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Patrick Walton
a795116db3
Bug 708746 - Part 1: Add an observer that allows us to determine when a new page is shown. r=bz
2012-01-06 16:42:42 -08:00
Patrick Walton
c57479bcc5
Backed out bug 709492 due to breakage with external urls. r=backout
2011-12-30 18:47:06 -05:00
Patrick Walton
b699d7fc51
Bug 709492 - Part 1: Add an observer that allows us to determine when a new page is shown. r=bz
2011-12-29 15:10:26 -08:00
Phil Ringnalda
2e8e3cc006
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
2d49769823
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
7a1414d6bd
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
87e56d30a9
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Nicholas Nethercote
24d2c81ee1
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Justin Lebar
02b09fb494
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
9b26154c74
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
d6466c2a0e
Bug 668437. Part 4. Add an API to widgets for resizing/moving the client area. r=jimm sr=roc
2011-12-01 13:56:42 -06:00
Chris Pearce
d42af5d3c8
Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz
2011-11-30 11:00:31 +13:00
Boris Zbarsky
fdae5a29d8
Fix logging message to reflect reality. Followup to bug 703197
2011-11-20 11:09:25 +13:00
Boris Zbarsky
1470069ba7
Bug 703197. Make window.print() work in display:none iframes. r=smaug
2011-11-18 16:53:06 +13:00
Ms2ger
54042fcac2
Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv
2011-10-29 22:22:19 +02:00
Neil Deakin
f281dd0fc8
Back out 3f7638d38b32 as it caused some mac reftest failures
2011-10-25 14:45:23 -04:00
Neil Deakin
c1bb3011d1
Bug 696746, round width rather than adding one to prevent an extra reflow, r=roc
2011-10-25 11:05:32 -04:00
Justin Lebar
b79dd11cfa
Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug
2011-10-21 11:26:34 -04:00
Justin Lebar
84c0c28718
Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug
2011-10-12 20:15:28 -04:00
Justin Lebar
8a9b2241c2
Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange.
2011-10-17 21:09:17 -04:00
Justin Lebar
6ac6233eb1
Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug
2011-10-12 20:15:28 -04:00
Ehsan Akhgari
92064e6d3f
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
ca6f7807e0
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Michael Wu
d2b70213ac
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
Boris Zbarsky
d328ef8584
Bug 645538. Remove bogus warning. r=roc
2011-09-26 00:53:30 -04:00
Mats Palmgren
f1c56f2e22
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
Justin Lebar
4ac70e6801
Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug
...
--HG--
extra : rebase_source : 431dafff170f2e6c8aa3429d5ec0f444efc53a10
2011-05-13 15:42:36 -04:00
Justin Lebar
a741dc1e02
Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt.
2011-08-02 13:23:11 -04:00