danm-moz%comcast.net
39953021d3
addref focus controller in deactivate event handler. bug 243112 code=crispin r=bryner,danm-moz
2004-05-17 23:36:34 +00:00
roc+%cs.cmu.edu
8af971a2bb
Bug 242833. Make nsDOMEvent::GetClientX/Y handle cases where a subdocument's widget is not an ancestor of the event's widget. Also forward all mouse grabbing to the root view manager of a view manager hierarchy so that subdocuments can grab the mouse when an event occurs in an outer document.
2004-05-13 15:39:12 +00:00
bryner%brianryner.com
7d80b4f5cf
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
2004-05-03 21:48:36 +00:00
bryner%brianryner.com
7d1dbeb3a8
Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
2004-04-30 23:55:16 +00:00
roc+%cs.cmu.edu
0bf1ffdf5d
Fixing bustage.
2004-04-30 15:14:41 +00:00
aaronleventhal%moonset.net
58be57bf41
Bug 138069. Make -moz-user-focus work for any html element. r+sr=bryner
2004-04-30 14:05:27 +00:00
jst%mozilla.jstenback.com
77c4322ab2
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-04-29 23:34:19 +00:00
timeless%mozdev.org
5aec87e773
Bug 241646 Shift+Mousewheel (scrollwheel) behavior backwards, unintuitive not correctable with configuration
...
patch by sand@blarg.net r=bryner sr=roc
2004-04-29 07:01:50 +00:00
timeless%mozdev.org
1280270843
Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support
...
changes per bryner for r=bryner sr=roc
2004-04-20 05:14:40 +00:00
bryner%brianryner.com
c40b54ea5d
Fix shift+tab in mail compose (bug 240504). r=neil, sr=jst
2004-04-19 17:48:34 +00:00
timeless%mozdev.org
ae203fc51b
Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support
...
patch by sand@blarg.net r=bryner sr=roc
2004-04-19 15:48:14 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
071d8d7188
Fix lack of caret in add email account wizard (bug 214306). The problem here was that when ShiftFocusInternal was given an explicit starting point, it was calling SetFocusedContent() for that node, which updated mCurrentFocus but not gLastFocusedContent. That violated the "invariant" that the active ESM's mCurrentFocus is the same as gLastFocusedContent, causing confusion later in SendFocusBlur(). This is fixed by making ShiftFocusInternal and GetNextTabbableContent not rely on mCurrentFocus being set to the starting content, which avoids the inconsistency. r=neil, sr=dbaron.
2004-04-13 10:27:50 +00:00
bryner%brianryner.com
998edae794
Fix lack of caret in add email account wizard (bug 214306). The problem here was that when ShiftFocusInternal was given an explicit starting point, it was calling SetFocusedContent() for that node, which updated mCurrentFocus but not gLastFocusedContent. That violated the "invariant" that the active ESM's mCurrentFocus is the same as gLastFocusedContent, causing confusion later in SendFocusBlur(). This is fixed by making ShiftFocusInternal and GetNextTabbableContent not rely on mCurrentFocus being set to the starting content, which avoids the inconsistency. r=neil, sr=dbaron.
2004-04-13 09:39:16 +00:00
timeless%mozdev.org
3f31864cbd
Bug 239372 ESM caches profile preferences and constantly gets others
...
r=bryner sr=bz
replacement was a bit too global
2004-04-13 07:09:54 +00:00
timeless%mozdev.org
92f4cbc2a9
Bug 239372 ESM caches profile preferences and constantly gets others
...
r=bryner sr=bz
2004-04-13 06:41:35 +00:00
jst%mozilla.jstenback.com
3b9482b945
Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org.
2004-04-13 03:21:50 +00:00
bzbarsky%mit.edu
ce5ba6cc48
Make mutation events not be cancelable. Bug 117128, r+sr=bryner
2004-04-13 00:21:27 +00:00
jst%mozilla.jstenback.com
5eff83672a
Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
2004-04-10 00:25:01 +00:00
neil%parkwaycc.co.uk
b4f37cbfb7
Bug 227646 Tabbing to move focus doesn't work at end of top chrome doc r/sr=bryner a=chofmann
2004-03-25 09:10:53 +00:00
bryner%brianryner.com
0da165d2cc
Make sure the canvas focus border is removed any time a content node within the document becomes focused. Bug 235522, r=danm, sr=darin.
2004-03-09 19:34:34 +00:00
sicking%bigfoot.com
fc084e0c73
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com
440bc8e33e
fixing windows bustage
2004-02-27 17:43:15 +00:00
bryner%brianryner.com
ed98c9a308
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com
fdf949b6db
Fixing bug 233142. Correct event default action prevention logic to match what we used to do before bug 226462 was fixed. r=bzbarsky@mit.edu, sr=bryner@brianryner.com.
2004-02-20 20:46:22 +00:00
bzbarsky%mit.edu
e9b72cc305
Give events created with createEvent a time-of-creation timestamp. Bug 116088,
...
r+sr=jst
2004-02-19 22:10:23 +00:00
cbiesinger%web.de
e073bfa038
233890, misc cleanup in some layout files, r+sr=bz
2004-02-19 18:56:13 +00:00
bryner%brianryner.com
aad9f258c7
Make script-created DOM events get dispatched to the system event group just like user events. This fixes firing keypress events at a form input, since editor listens for keypresses using the system event group. Bug 213144, r+sr=bzbarsky, a=chofmann.
2004-02-16 08:50:56 +00:00
dbaron%dbaron.org
d97dedc812
Back out bug 20022. a=chofmann
2004-02-14 20:29:19 +00:00
bzbarsky%mit.edu
556d811109
Fix hang bug 232368. Patch by Mats Palmgren <mats.palmgren@bredband.net>,
...
r=bzbarsky, sr=bryner
2004-02-11 07:47:06 +00:00
jst%mozilla.jstenback.com
64ad19a801
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
2004-02-11 06:09:51 +00:00
bryner%brianryner.com
92499cbd13
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
mvl%exedo.nl
4bc72bffba
Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
...
Bug 198846, r=danm, sr=jag
2004-02-10 18:22:23 +00:00
jst%mozilla.jstenback.com
505c634885
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
bryner%brianryner.com
433c389ddf
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2004-02-05 01:57:10 +00:00
dbaron%dbaron.org
821786cb64
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
2004-02-04 00:11:59 +00:00
danm-moz%comcast.net
a8c0e31042
that doesn't seem to be the problem. restoring over last revision.
2004-02-03 20:07:39 +00:00
danm-moz%comcast.net
4af7136524
disabling last checkin in an attempt to pin down the Tp regression
2004-02-03 17:16:05 +00:00
danm-moz%comcast.net
865ea79700
add accessor and mutator for event currently being handled. bug 197919 r=bryner,jst
2004-02-03 02:22:01 +00:00
bryner%brianryner.com
4f69ec2c2e
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
42adb9f1be
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
7d79d7ba8b
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
2004-01-28 23:45:17 +00:00
bryner%brianryner.com
ef5c330583
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
bryner%brianryner.com
5a2537116c
Fix titlebar updating when using tabs (bug 230829). r+sr=dbaron.
2004-01-14 01:33:47 +00:00
bzbarsky%mit.edu
83f91b12d0
Use weak presshell ptr, since we can. More on bug 230380
2004-01-13 23:24:41 +00:00
bzbarsky%mit.edu
1dde8f981f
Fix crash bug 230380. Patch by isaachh@mailc.net (Isaac Hwak Han), r=bryner, sr=jst
2004-01-13 20:50:57 +00:00
bryner%brianryner.com
2bddef83ba
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
bryner%brianryner.com
e65d2d2fe5
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
peter%propagandism.org
166c671ee0
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 15:41:10 +00:00
bryner%brianryner.com
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
11519cdc49
Fixing mac bustage.
2003-11-19 02:23:25 +00:00
jst%mozilla.jstenback.com
eda3b8db64
Fixing mac bustage.
2003-11-19 02:02:56 +00:00
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
jst%mozilla.jstenback.com
4567068ce8
Re-landing fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-11-18 01:59:51 +00:00
bzbarsky%mit.edu
3c78a4048f
Fix bug 225565 by looking at the actual control type. r+sr=peterv
2003-11-13 18:38:41 +00:00
bzbarsky%mit.edu
6bdc5f8b17
Fix crash bug 118685. Patch by mats.palmgren@bredband.net (Mats Palmgren),
...
r=bryner, sr=dbaron
2003-11-07 03:35:05 +00:00
caillon%returnzero.com
150adb2e29
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
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
heikki%netscape.com
b6ee57a69a
Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
2003-04-03 18:57:33 +00:00
jst%netscape.com
b4cc5d4695
Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
2003-03-26 07:41:30 +00:00
shliang%netscape.com
b440f41057
112789 - disabled radio elements should not get focus. patch largely by neil@parkwaycc.co.uk. r=shuehan, neil, sr=jag.
2003-03-26 02:55:19 +00:00
bryner%netscape.com
edb3b94597
Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky.
2003-03-19 00:44:17 +00:00
bryner%netscape.com
f93f9b19d2
Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky.
2003-03-18 23:41:44 +00:00
sspitzer%netscape.com
06be46ccb3
a (knock on wood) safe fix for (at least) two bugs:
...
#195011 , Dismissing Junk Mail Log dialog crashes Mozilla [@ nsEventListenerManager::HandleEvent]
#137191 , Infinite recursion near nsEventStateManager::TabIntoDocument
really the same issue: guard against tabbing into a sub document, popping back out, and tabbing back in recursively.
r=aaronl, sr=bryner.
2003-03-17 23:08:36 +00:00
jaggernaut%netscape.com
c19fc0a9be
Bug 94424: Search/filters UI text field doesn't accept click-right paste. The underlying cause was that mousedown on a menuitem in the textbox's context menu shifted focus from the textbox into the first focusable container of the textbox. We're fixing this by not letting the focusable frame search code look outside popup frames. r=bryner, sr=hyatt
2003-03-12 04:19:53 +00:00
roc+%cs.cmu.edu
210e29411b
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
2003-03-12 03:22:11 +00:00
aaronl%netscape.com
84551c90d5
Bug 170921, bug 174163, bug 172329. Image selection occuring when image buttons, linked images or image map areas focused. r=mjudge, sr=bryner
2003-03-08 01:09:26 +00:00
aaronl%netscape.com
52677ea55f
Bug 192454. Window is focused again if onclick='window.open' and href = '#foo'. r=bryner, sr=jst
2003-03-06 18:42:49 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
bryner%netscape.com
c8a63c954b
Fix leak of mExplicitOriginalTarget from nsDOMEvent (bug 195602). Convert
...
nsDOMEvent to use nsCOMPtrs for its various targets. r=jkeiser, sr=kin.
2003-03-04 01:51:16 +00:00
jkeiser%netscape.com
1732a11043
Make click+hold right-click menu work again on Mac (bug 193799), r=bryner/saari, sr=jst
2003-02-27 22:59:08 +00:00
jkeiser%netscape.com
88ca4030aa
Fix mouseover topcrasher (bug 194493), r=saari@netscape.com, sr=bryner@netscape.com
2003-02-25 06:01:12 +00:00
bzbarsky%mit.edu
651bd3b256
make dispatchEvent work even if the eventTarget is not in the document tree.
...
Bug 191960, r=bryner, sr=jst
2003-02-22 19:12:21 +00:00
jkeiser%netscape.com
bd4cc85eeb
Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
2003-02-22 08:10:46 +00:00
jkeiser%netscape.com
178bbf710d
Fix crasher (bug 186132), r=saari@netscape.com, sr=bryner@netscape.com, a=asa@mozilla.org
2003-02-20 07:59:14 +00:00
jkeiser%netscape.com
29f5cb3226
Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org
2003-02-14 21:43:06 +00:00
bryner%netscape.com
fad0bef4a6
protect against the to-be-focused content going away during tabbing (bug 171210). r=jkeiser, sr=jst, a=asa.
2003-02-01 00:05:46 +00:00
jkeiser%netscape.com
b7baf2214d
Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com
2003-01-21 21:26:45 +00:00
aaronl%netscape.com
2c44c5ff43
Bug 188967. Possible fix for talkback crash. r=saari, sr=bz
2003-01-15 00:29:02 +00:00
dbaron%dbaron.org
1e96329338
Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
2003-01-13 23:10:53 +00:00
aaronl%netscape.com
cceca97ce0
Bug 187301. Tab nav pref accessibility.tabfocus not dynamically changeable. r=akkana,sr=bryner
2003-01-13 20:05:36 +00:00
kyle.yuan%sun.com
1fde1ceb3e
Bug 150994 iframe with tabindex shortens tab cycle
...
r=aaronl, sr=bryner
don't get tabindex for HTML elements that don't support it
2003-01-10 10:07:30 +00:00
aaronl%netscape.com
a448c227fa
Backing out fix for bug 187301, to see if Txul numbers go back to normal.
2003-01-09 23:19:55 +00:00
aaronl%netscape.com
ce8157cc7a
Bug 187301 - tab nav prefs not dynamically changeable, no prefs observer. r=akkana, sr=bryner.
2003-01-09 20:03:41 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
48544669f3
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
sfraser%netscape.com
41453fc4cb
Fix scrollwheel code so that shift-mousewheel scrolls sideways. Bug 170403. r/sr=bryner.
2003-01-07 05:35:42 +00:00
aaronl%netscape.com
237a050ac2
Bug 110718. Fix keydead problem during Transferring stage of document load, when the currently visible doc is a zombie. r=bryner, sr=jst. Bug 169767. Tabbing in XUL broken when textfield only tabbing pref is set. r=akkana, sr=bryner. Bug 187303. No keyboard access to URL bar when textfield only tabbing pref is set
2003-01-07 02:09:06 +00:00
jkeiser%netscape.com
64df219fb4
Fix onmouseover/onmouseout crash (bug 186132), r=saari@netscape.com, sr=dbaron@fas.harvard.edu
2002-12-24 20:21:40 +00:00
jkeiser%netscape.com
cb84e04c70
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
jkeiser%netscape.com
d0d006e134
Fix crasher in mouse events (bug 185850), r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu
2002-12-18 07:13:51 +00:00
jkeiser%netscape.com
5e20e45df5
Make mouseover/mouseout/hover apply only to elements (bug 103055), r=bryner@netscape.com, sr=jst@netscape.com
2002-12-17 02:10:57 +00:00
bratell%lysator.liu.se
40bbe3138a
Backout of bug 110718 to fix Tp regression and raise-on-load issues.
2002-12-15 19:52:22 +00:00
aaronl%netscape.com
569b35651c
Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc
2002-12-14 08:05:51 +00:00
peterv%netscape.com
d06e860d5f
Fix obvious error in patch for bug 183999 which caused bug 185033.
2002-12-13 08:17:44 +00:00
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
aaronl%netscape.com
5d3bd702a3
Bug 178520. input.focus() should not do input.select(). r=bryner, sr=bzbarsky, a=asa
2002-12-07 00:56:03 +00:00
dean_tessman%hotmail.com
c7307e2455
bug 30431 - Intellimouse Explorer Backwards and Forwards button support.
...
r=rods on widget, timeless on content
sr=bryner
a=asa
2002-12-06 03:41:43 +00:00
kyle.yuan%sun.com
e9e48eadbf
Bug 134823 Toolbars don't honour accesskeys
...
r=dean_tessman, sr=jaggernaut
support accesskey for toolbarbutton
2002-12-04 05:38:07 +00:00
peterv%netscape.com
2cd27f702a
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
caillon%returnzero.com
9b05810a7a
Bug 181600, Updating for reviewer comments (removing an if). still r=sicking,sr=peterv
2002-11-25 23:27:29 +00:00
caillon%returnzero.com
0ec297b986
Bug 181600 - Use the new pref APIs. r=sicking, sr=peterv
2002-11-25 23:26:06 +00:00
bryner%netscape.com
6888fd15a4
Fixing bug 180285 (hang in mail compose), regression from bug 124990. Don't throw an exception if dispatchEvent is called on an element that's not in a document. r=saari, sr=jst.
2002-11-21 01:27:34 +00:00
bryner%netscape.com
b8a9438942
Removing an unused variable. r=mozbot.
2002-11-20 23:37:52 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bryner%netscape.com
8beac694e3
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
2002-11-09 00:25:25 +00:00
bzbarsky%mit.edu
029ecd778e
Disabled form controls should not be in the tab order. Bug 177620,
...
r=akkana,timeless, sr=bryner
2002-11-06 01:54:04 +00:00
bryner%netscape.com
16118b1cac
Prevent allocating nsDOMMutationEvents from the nsDOMEvent-sized arena (an nsDOMMutationEvent is 4 bytes larger and was therefore clobbering the 4 bytes of memory after gPool). Bug 170001, r=dbaron, sr=jag, a=roc.
2002-10-30 00:12:42 +00:00
bryner%netscape.com
296d9c24b3
Fix links stuck in :hover state after being scrolled off of using the mouse wheel (bug 78765). r=hewitt, sr=hyatt, a=roc.
2002-10-29 23:59:08 +00:00
akkana%netscape.com
da9584c86a
171003: shift-tab shouldn't land on images twice: add a comment. r=aaronl, sr=bryner, a=dbaron
2002-10-24 04:02:42 +00:00
akkana%netscape.com
57086eda12
171003: shift-tab shouldn't land on images twice. r=aaronl, sr=bryner, a=dbaron
2002-10-24 03:53:08 +00:00
seawood%netscape.com
57e08a3f3a
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
caillon%returnzero.com
0294527edd
Oops, this got accidentally checked. Backing out.
2002-10-08 10:43:38 +00:00
caillon%returnzero.com
5ba9439c07
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
aaronl%netscape.com
2494d75102
Fixing extra comma in checking
2002-10-05 16:12:44 +00:00
aaronl%netscape.com
f7218d0d8a
Bug 28583. Select text field contents when focused, except by mouse click, on certain platforms. r=brade, sr=sfraser
2002-10-05 15:39:33 +00:00
aaronl%netscape.com
f21629a412
Bug 81723. Keyboard context menu (Shift+F10/Ctrl+space on mac) should open near focused item. r=pinkerton, sr=bryner
2002-10-03 00:47:54 +00:00
bryner%netscape.com
a4474ab6d4
For mousewheel text resizing, ignore HTML form controls and XUL content, to avoid triggering resizing in cases where the user is both ctrl+clicking and scrolling (bug 65355). r=hewitt, sr=hyatt.
2002-10-01 01:28:51 +00:00
bryner%netscape.com
e3d321d3b9
Don't crash if the focus controller is null during a deactivate (bug 168454). r=hewitt, sr=jst.
2002-10-01 01:25:00 +00:00
aaronl%netscape.com
c6ecf0bdf6
Bug 170820 - xlinks reached with typeaheadfind not accepting Enter or mod+Enter to perform actions. r=sicking, sr=heikki
2002-09-27 22:31:05 +00:00
akkana%netscape.com
e05f7989b0
169756: in text-control mode, tab to password fields too. r=glazman sr=sfraser
2002-09-20 04:10:55 +00:00
akkana%netscape.com
75743aa0f0
140612: Introduce tab usage pref accessibility.tabfocus, to allow tab to go only to form elements or only to text controls. (r,sr)=(bryner,sfraser)
2002-09-18 21:24:57 +00:00
caillon%returnzero.com
8d9edbbb4b
164453 - Fixing a crasher in nsEventStateManager::DispatchNewEvent()
...
Fix contributed by Peter A Jonsson <pj@ludd.luth.se>
r=bryner sr=jst
2002-09-14 10:28:14 +00:00
jkeiser%netscape.com
99559fac4a
Back out bug 163593 (superceded by bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com
2002-09-13 21:18:15 +00:00
bzbarsky%mit.edu
b394f6d78c
views are not refcounted; do not nsCOMPtr them! Bug 166804, r=timeless,
...
sr=roc
2002-09-11 01:42:02 +00:00
bzbarsky%mit.edu
00fdb3ea23
Fix crash when trying to tab into display:none iframes. Bug 146255,
...
r=aaronl, sr=bryner, a=asa
2002-09-09 19:32:04 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt%netscape.com
c6c9c3063a
Fixing build bustage
2002-09-07 07:17:59 +00:00
bzbarsky%mit.edu
45f0616798
Fix crash bug 167038. r=caillon, sr=jst, a=roc+moz
2002-09-07 02:02:24 +00:00
bryner%netscape.com
11659c8e1c
Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst.
2002-09-06 00:19:58 +00:00
gilbert.fang%sun.com
a5b4e1d508
bug 129808 Preferences panel accelerator keys don't work when category tree or if OK/Cancel/Help buttons have focus
...
r=bryner,sr=bzbarsky
Factoring out the HandleAccessKey method of EventStateManager,
checking all sub docShell's accesskey and if necessary, bubbling up to the
parent docShell's EventStateManager's HandleAccessKey method.
2002-09-03 05:48:06 +00:00
jkeiser%netscape.com
d915e93f21
Fix file event.originalTarget problem (bug 163598), r=joki@netscape.com, sr=jst@netscape.com
2002-08-22 06:10:56 +00:00
dbaron%fas.harvard.edu
8c3542b0dd
Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin
2002-08-19 18:31:59 +00:00
bolian.yin%sun.com
d663cda889
bug 136467, [Linux] F7 doesn't always toggle on caret.
...
patch by john.sun@sun.com , r=aaronl, r=caillon, sr=jst.
2002-08-19 02:58:15 +00:00
jst%netscape.com
5707cc67d2
Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com
2002-08-13 00:50:50 +00:00
seawood%netscape.com
322da773fb
Removing old nmake build makefiles. Bug #158528 r=pavlov
2002-08-10 07:55:43 +00:00
peterv%netscape.com
1182ac5c30
Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst.
2002-08-09 08:45:30 +00:00
seawood%netscape.com
301b1a4ca8
Remove unused defines:
...
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG
Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner
_IMPL_NS_VIEW
Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
60c7d14e69
<object> should be in form.elements. Bug 127847, r=jkeiser, sr=jst.
2002-08-06 08:32:19 +00:00
jst%netscape.com
0a68fc8803
Fixing regression bug 159468. Hold a strong reference to the script context in nsCxPusher to make sure it stays alive as long as we need it. r=jkeiser@netscape.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-07-26 23:10:36 +00:00
jst%netscape.com
7cd3446784
Fixing regression caused by bug 156452. Make sure the correct JS context is pushed onto the JS context stack before handling focus and blur code internally. This is needed since lots of focus and blur code rely on DOM range code that now does security checking when called to prevent from unauthorized use of a DOM range object. r=sicking@bigfoot.com, sr=bzbarsky@mit.edu, a=chofmann@netscape.com
2002-07-24 06:13:18 +00:00
joki%netscape.com
6be78dee05
Fix for bug 157845: mCurrentTarget pointer should not be set in the ESM without setting the NS_FRAME_EXTERNAL_REFERENCE bit. r:saari, sr:jst, a:chofmann
2002-07-22 21:36:36 +00:00
aaronl%netscape.com
ce23320746
Bug 156301. Link focus outline ghosting during find next. r=bryner, sr=jst
2002-07-09 06:29:45 +00:00
bryner%netscape.com
0cf7d7b879
Don't send mouse enter events every time we have a key press (bug 156052). r=dbaron, sr=blake.
2002-07-06 23:25:20 +00:00
seawood%netscape.com
0597412383
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
av%netscape.com
44ec2cc7b7
Bug 150761 -- scroll button causes crash with windowless plugins, r=peterl, sr=sfraser
2002-06-28 17:43:38 +00:00
dbaron%fas.harvard.edu
6d2263f19b
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
aaronl%netscape.com
24638c0863
Bug 142549. After find, spacebar doesn't scroll page. r=bryner, sr=kin. Bug 102679. Composer loses focus after image delete. r=kyle, sr=kin
2002-06-25 22:57:48 +00:00
joki%netscape.com
b846194d1e
Fix for bug 123700, send synthetic mouseenter/out messages to IFRAME elements to allow tracking when mouse is inside IFRAME. r:harishd, sr:jst
2002-06-14 04:14:55 +00:00