487 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
b80a1908db Bug 336978, Crash when window gets destroyed on pagehide event, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@198348 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 20:31:59 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
2fbb2aa13c Restoring timeless' comment that was removed (with no review, too).
git-svn-id: svn://10.0.0.236/trunk@196125 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 23:44:09 +00:00
timeless%mozdev.org
ee3eb59f05 Bug 334295 status is used uninitialized in DocumentViewerImpl::DumpContentToPPM if fopen fails
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@196117 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:56:37 +00:00
roc+%cs.cmu.edu
b060f2988a Bug 130078. Backing out now that I have perf. numbers
git-svn-id: svn://10.0.0.236/trunk@195952 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7137e91d6a Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195951 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 03:46:19 +00:00
dbaron%dbaron.org
c41de8cf6d Initialize rv. b=334655 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194708 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 21:14:57 +00:00
sharparrow1%yahoo.com
6febafd105 Bug 334416: Misc view usage cleanups. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@194582 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 06:05:24 +00:00
atremon%elansoftware.com
5f4bf18a2e Bug 332701 remove timeless' comment (patch for rev 1.477 sr=roc)
git-svn-id: svn://10.0.0.236/trunk@193991 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 13:48:13 +00:00
martijn.martijn%gmail.com
c5466a75d1 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193646 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 23:57:30 +00:00
timeless%mozdev.org
25b04072d0 Bug 332701 build fails in nsDocumentViewer.cpp due to unguarded use of SetUseAltDC if NS_PRINT_PREVIEW undefined
r=atremon@elansoftware.com,roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@193588 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 04:37:44 +00:00
sharparrow1%yahoo.com
6de1b08e94 Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Trémon, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
5b687a6a47 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst


git-svn-id: svn://10.0.0.236/trunk@191874 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 03:20:39 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
timeless%mozdev.org
92baee0516 Bug 319854 Firefox crashes on redirect after Firefox-warning [@ DocumentViewerImpl::PermitUnload
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@187463 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 06:30:05 +00:00
neil%parkwaycc.co.uk
bec24c53d8 Bug 318128 Fix abuse of the CSS loader as a service r=bsmedberg sr=bz
git-svn-id: svn://10.0.0.236/trunk@185825 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 11:10:36 +00:00
dbaron%dbaron.org
6efef3c0ad Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
b3caccffbd Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
smontagu%smontagu.org
cedba21351 Reflow when Bidi options are changed. Bug 80352, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184540 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-13 09:55:09 +00:00
bryner%brianryner.com
e4f1520c9e Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@184218 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 19:23:03 +00:00
bryner%brianryner.com
195ff5ec42 Restore the focus listener in Open() that was removed in Close() (bug 314400). Patch by saito@densan.co.jp, r=me, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@183363 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 21:55:34 +00:00
cvshook%sicking.cc
103f17eb41 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner


git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
peterv%propagandism.org
5b98a9db45 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180960 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:37:29 +00:00
bryner%brianryner.com
ae6e7085e4 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me.
git-svn-id: svn://10.0.0.236/trunk@180875 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:16:40 +00:00
mrbkap%gmail.com
76229bb77c bug 308788: DocumentViewerImpl needs to QI to nsISupports for things to work correctly. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180427 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 19:57:20 +00:00
dougt%meer.net
ab8d20953c This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@180345 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 02:25:37 +00:00
bryner%brianryner.com
a63c759946 Backing out 292965 until Tp regression is understood.
git-svn-id: svn://10.0.0.236/trunk@180182 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 07:28:05 +00:00
bryner%brianryner.com
ffbf79b866 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me.
git-svn-id: svn://10.0.0.236/trunk@180171 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 03:38:40 +00:00
bzbarsky%mit.edu
dfe3e9b0bc Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
smfr%smfr.org
c3be847acf Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc.
git-svn-id: svn://10.0.0.236/trunk@179200 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 15:19:13 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
760b97437e Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@178582 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 01:55:34 +00:00
bzbarsky%mit.edu
b3927a08e9 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@178326 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 01:24:00 +00:00
roc+%cs.cmu.edu
05e838107a Backing out fix for bug 130078 because of performance regressions.
git-svn-id: svn://10.0.0.236/trunk@178194 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 19:44:55 +00:00
roc+%cs.cmu.edu
9e2357e05c Bug 130078. Integrate all view managers in a given top-level window into a single view manager tree. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178171 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:14:29 +00:00
mrbkap%gmail.com
1990895d08 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
674ac13620 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
dbaron%dbaron.org
78014a241f Propagate SetBounds to mPreviousViewer so that resizes work correctly during paint suppression, which is especially important for Firefox infobar. b=290991 r=bzbarsky sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177010 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:19:19 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
timeless%mozdev.org
3dcc66470d Bug 302545 crash w/ --enable-timeline [@ DocumentViewerImpl::LoadComplete]
r=bz sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176831 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 10:09:08 +00:00
mats.palmgren%bredband.net
4d0c915139 (Followup) Fix focus related crashes in Print Preview. b=244128 r+sr=bzbarsky a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176593 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 00:55:05 +00:00