bryner%brianryner.com
7ab366ef3d
Don't set mCurrentFocus to null after firing a blur if the blur handler focused something. Bug 147927, r=blizzard, sr=jst, a=sspitzer
2003-10-27 19:52:49 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
66caced69a
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
ef87236cea
Useless test for unsigned >= 0. Bug 221292, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-10-05 23:46:55 +00:00
bzbarsky%mit.edu
a972a3e501
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
00aafbfddd
Use typeof() to implement NS_STDCALL_FUNCPROTO so that pointer-to-member types using stdcall work on mingw gcc. Bug 203137, r=cls, sr=dbaron.
2003-09-15 04:20:20 +00:00
bryner%brianryner.com
00b3a1d601
Instead of repeating the same code for each event and listener interface, have nsEventListenerManager::HandleEvent use a table containing the event, interface and method, and array bits. This cuts out a _lot_ of redundant code. The checkin also adds the NS_IMETHOD_CALLBACK #define, which can be used to declare pointer-to-member types using stdcall. Bug 217124, r=jst, sr=dbaron.
2003-09-11 06:31:58 +00:00
pinkerton%netscape.com
ffae5552f9
check if there is an active focus controller before sending the blur
...
(r=pink/sr=bryner/a=brendan) bug 198153
2003-09-09 21:09:22 +00:00
bryner%brianryner.com
2fcdb4e2d5
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
bryner%brianryner.com
ae5cfff4d7
Fix bug 215771 (form inputs not editable after alert dialog dismissed). r=jkeiser, sr=roc, a=asa.
2003-08-29 21:52:25 +00:00
bryner%brianryner.com
228a416d62
Fix mousewheel scrolling over certain IFRAMEs which have a line height of 0 on the scrollport view. Bug 203239, r/sr=roc, a=asa.
2003-08-25 21:47:58 +00:00
caillon%returnzero.com
f8e8aed8a7
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
roc+%cs.cmu.edu
0b8cd870e1
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
aaronl%netscape.com
84bdb34c82
bug 159998 - type named anchor in URL bar, hit Enter - focus/selection appears to stay. r=bryner, sr=jst
2003-08-01 09:41:12 +00:00
bzbarsky%mit.edu
e2dae4d2f9
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
d0666152a5
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
aaronl%netscape.com
718fd8dd01
Bug 211852 and bug 212626. Tab and shift+tab not working with sub documents. r=bryner, sr=bz
2003-07-24 08:53:48 +00:00
caillon%returnzero.com
91b7c60bee
Bug 83536.
...
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
2d7ed90a69
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
e6028a883c
Add correct line number reporting to errors from XBL fields and handlers. Make
...
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan
2003-07-11 22:54:36 +00:00
bzbarsky%mit.edu
81acd2c428
Return already_AddRefed instead of a raw addrefed pointer. Bug 211195, r+sr=bryner
2003-07-03 20:34:52 +00:00
bryner%netscape.com
dfd3c1dd7a
Fix some issues related to focus changes in onfocus and onblur handlers:
...
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else. This ensures that the caret doesn't get confused about whether it should be active.
- Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
- Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.
Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
jst%netscape.com
abefba9053
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
2003-06-24 21:43:01 +00:00
roc+%cs.cmu.edu
542467a8bd
deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron
2003-06-24 13:39:15 +00:00
caillon%returnzero.com
bdd9896fe3
[Bug 210254] nsEventListenerManager::mPrincipal is unused. Also reorganizes some members to better align them.
...
r+sr=bzbarsky.
2003-06-22 13:12:14 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
mkaply%us.ibm.com
3bee9239aa
#90459
...
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +00:00
bryner%netscape.com
71ccaa995c
Fix some cases where the caret could be blinking in the URL bar but focus is actually elsewhere. Bug 89214, r=jkeiser, sr=jst.
2003-05-27 22:47:21 +00:00
timeless%mozdev.org
405bacde39
Bug 205358 warning: comma at end of enumerator list (nsTabFocusModel)
...
r=aaronl sr=jst
2003-05-23 22:10:03 +00:00
jkeiser%netscape.com
d484da106e
Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com
2003-05-21 00:42:32 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bryner%netscape.com
95b238b1d0
Don't throw an exception if asked for nsIDOMPopupBlockedEvent properties on a non-popupblocked event. Bug 204138, r=danm, sr=jst, a=asa.
2003-05-14 22:05:50 +00:00
jkeiser%netscape.com
a964f3a0c9
Fix crash dragging bookmarks (bug 204781), bryner@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com, a=asa
2003-05-14 00:56:17 +00:00
bryner%netscape.com
8dc3ad3076
Fixes for a number of focus problems:
...
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)
Summary of the changes:
- Don't require a frame to be present for focus events. This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent. We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().
r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
aaronl%netscape.com
16a07f473a
Bug 204204. Crash in editor when shift-tabbing out of html editor. r=brade, sr=bryner, a=asa
2003-05-11 21:14:07 +00:00
jkeiser%netscape.com
687d4c8391
Fix crash when mouseovering things that disappear (bug 196012), r=peterl@netscape.com, sr=bryner@netscape.com, a=asa
2003-05-06 00:03:15 +00:00
jkeiser%netscape.com
2b42436f84
Fix crash dragging stuff (bug 202843), r=sfraser@netscape.com, sr=bryner@netscape.com, a=asa
2003-05-03 01:29:41 +00:00
varga%netscape.com
7967318ca3
Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
...
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
bryner%netscape.com
b85c8c81cb
Slight optimization to my last checkin - gotDragDelta is unnecessary, since pixelThresholdX is guaranteed to be set to a non-zero value the first time this block of code runs. Part of bug 201342, r=blizzard, sr=sfraser.
2003-05-02 19:10:18 +00:00
bryner%netscape.com
12279edad4
Use system metrics when available, and observed platform behavior otherwise, for determining the threshold to begin a drag. Bug 201342, r=blizzard, sr=sfraser, a=sspitzer.
2003-05-02 18:20:38 +00:00
sfraser%netscape.com
100bc42605
Fix bug 200745 -- we were using the wrong event coords to start a drag. Fix the ESM to use the coords of the mouse down, not the mouse move, so that dragging small objects is easier. r=jkeiser, sr=bryner.
2003-04-19 00:46:28 +00:00
danm%netscape.com
0c46957e6d
new popupblocked domevent. also bring the world of ns_assertion home to DOMEvent's accessors and pseudo-subclass Init[...] methods. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:50 +00:00
danm%netscape.com
c8a9092ebc
new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:46 +00:00
roc+%cs.cmu.edu
b9ace3df95
Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky
2003-04-15 13:17:36 +00:00
sfraser%netscape.com
5a14aa5fdd
Part of fix for bug 201400. r=aaronl, sr=me.
2003-04-12 03:12:59 +00:00
sfraser%netscape.com
2f449323df
Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser.
2003-04-12 03:03:27 +00:00
roc+%cs.cmu.edu
3936b4c393
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00