946 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
6b01227e23 Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216116 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:09:13 +00:00
sayrer%gmail.com
1173d9db39 bug 361005. remove nsCRT::strdup from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
0f9db8680c When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215223 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:27:44 +00:00
mrbkap%gmail.com
10f4e54168 Add an API on the presshell for invalidating the caret if it isn't currently
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +00:00
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
bzbarsky%mit.edu
7c049349fc When retargeting events to a parent presshell, do not lose our focus. Bug
305939, patch by Oliver Yeoh <oliver_yeoh@hotmail.com>, r=mats, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@214211 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-27 00:01:19 +00:00
cvshook%sicking.cc
5b1363f0be Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957
git-svn-id: svn://10.0.0.236/trunk@214128 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 20:24:00 +00:00
mats.palmgren%bredband.net
a09a6b3762 Remove dead code. b=355617 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@213287 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 08:34:53 +00:00
Olli.Pettay%helsinki.fi
30383f2b4b Bug 346521, Crash [@ PresShell::ReflowEvent::Run] when clicking on close window link in popup window with embedded video, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212421 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 22:29:59 +00:00
neil%parkwaycc.co.uk
74cd7ccc2b Bug 70798 Ability to have transparent background on <popup>s r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209326 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 08:50:43 +00:00
bzbarsky%mit.edu
a07cb5caa8 Just make all document mutation observers get notified through the binding
manager, to resolve issues with them depending on insertion points.  Bug 348573
follow, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@208874 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 03:17:45 +00:00
bzbarsky%mit.edu
4e288d05f2 Retarget key events to the parent presshell if we have no root content. Bug
303260, r=mats, sr=roc


git-svn-id: svn://10.0.0.236/trunk@208595 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 02:04:16 +00:00
jruderman%hmc.edu
c0c3b74958 Bug 334514, FrameArena::~FrameArena should assert that it's empty. r=sr=roc. If you see the new assertion, "Some frame destructors were not called", please file a security-sensitive bug (blocking bug 334514) and/or fix it :)
git-svn-id: svn://10.0.0.236/trunk@208498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-26 04:22:24 +00:00
mrbkap%gmail.com
e186daab25 Update the caret's position and size after reflows. bug 334609, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208144 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 02:06:39 +00:00
mrbkap%gmail.com
19c307e777 Invalidate the caret's position while we can still figure out which continuing frame we are in. bug 336637, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@207773 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 20:58:31 +00:00
bzbarsky%mit.edu
dad790ea9c Make it possible for document observers who need to worry about XBL to observe
the binding manager and make presshell do that.  Bug 348573, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@207498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 22:41:58 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
jag%tty.nl
aa42b18cfe Expand tab introduced in previous checkin. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@203603 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 01:34:31 +00:00
sspitzer%mozilla.org
f460a1f699 fix for bug #342439: printing certain urls (google groups and maps) from print preview shows the style/meta tags on paper. thanks to bz for the fix. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@203594 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 00:29:26 +00:00
uriber%gmail.com
635bd815f7 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@202304 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:28:38 +00:00
uriber%gmail.com
cc251423d1 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201994 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 06:06:29 +00:00
Olli.Pettay%helsinki.fi
4fecdff0a7 Bug 343457, Adding nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201923 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:41:11 +00:00
Olli.Pettay%helsinki.fi
62e7c4758f backing out Bug 343457 too see if it caused btek tp regression
git-svn-id: svn://10.0.0.236/trunk@201898 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi
3e553a6049 Bug 343457, Add nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201872 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 13:01:07 +00:00
cvshook%sicking.cc
aba7c6ff77 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
darin%meer.net
8ef91351f5 fixes bug 333167 "remove idle timer / timer manager after bug 326273 is fixed" r=pavlov
git-svn-id: svn://10.0.0.236/trunk@201170 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 00:01:58 +00:00
sharparrow1%yahoo.com
fb64db47ea Bug 334760: Printing of iframes broken on cocoa and linux. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@199936 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:19:32 +00:00
bzbarsky%mit.edu
0e81ab301b Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@199502 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 14:32:20 +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
Olli.Pettay%helsinki.fi
8c8d5effa7 Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196551 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:51:35 +00:00
Olli.Pettay%helsinki.fi
96ff6036c2 oops, this part was for other bug
git-svn-id: svn://10.0.0.236/trunk@196546 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:38:33 +00:00
Olli.Pettay%helsinki.fi
289afcdea9 Bug 337219, onfocus=window.close() in body of popup causes crash [@ nsXULElement::vftable], r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196540 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:18:59 +00:00
bzbarsky%mit.edu
ab719a0d0d Fix crash bug 336582. ESM changes by me and Martijn Wargers
<martijn.martijn@gmail.com>, r+sr=roc.  Presshell changes by Mats Palmgren
<mats.palmgren@bredband.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@196371 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 03:49:38 +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
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
mrbkap%gmail.com
64f5c8e34a Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu
9c6c9e84c3 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195125 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:06:30 +00:00
bzbarsky%mit.edu
673234f805 Remove the layout.reflow.async.duringDocLoad pref -- setting it to false just
makes us buggy.  Bug 334543, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194676 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:08:44 +00:00
bzbarsky%mit.edu
144aa50acf By the time we're processing reflow callbacks, reflow is done. Bug 334518,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:48:12 +00:00
dbaron%dbaron.org
3a99a82178 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194581 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 05:44:02 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +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
872e35b166 Bug 330013, Dragging a link to the tab bar opens in the currently focused tab, not a new tab, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192237 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 20:12:36 +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
roc+%cs.cmu.edu
064fcd0d74 Bug 326011. Retarget mouse events from frame-less views to their ancestors. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191293 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:47:13 +00:00