Граф коммитов

776 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 10b4b82e6a 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 76b5d475eb 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 d50a4d54b3 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 492beea450 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 37999b600a 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 7b4e01edd8 Make mutation events not be cancelable. Bug 117128, r+sr=bryner 2004-04-13 00:21:27 +00:00
jst%mozilla.jstenback.com ea21d2ad3b 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 9f9e1e57f2 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 82e01f4cf4 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 1775c22dcc Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com 397549f842 fixing windows bustage 2004-02-27 17:43:15 +00:00
bryner%brianryner.com d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com f218d03481 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 db964821d9 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 bb8f20a832 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
bryner%brianryner.com 41643eed69 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 d78e8a45b5 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
bzbarsky%mit.edu 4d40400018 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 6ca4c1a78e 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 b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
mvl%exedo.nl f008ef89d7 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 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com d4f13c3ba7 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 b506c7e4d8 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 e5582e74d7 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net db0c085744 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
danm-moz%comcast.net a98a5490c3 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 05a0e4f624 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 f67839e02e 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 1804c4910c 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 34cd8e8bdf 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 290494e26b 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 4ff3150fb4 Fix titlebar updating when using tabs (bug 230829). r+sr=dbaron. 2004-01-14 01:33:47 +00:00
bzbarsky%mit.edu d42f0893fe Use weak presshell ptr, since we can. More on bug 230380 2004-01-13 23:24:41 +00:00
bzbarsky%mit.edu c4f4038c7d 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 a135ce4d60 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 9c81944cb6 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 79b0f21971 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 7264501b7b 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 9fb3702121 Fixing mac bustage. 2003-11-19 02:23:25 +00:00
jst%mozilla.jstenback.com c26b5779ba Fixing mac bustage. 2003-11-19 02:02:56 +00:00
jst%mozilla.jstenback.com 6380d7fd12 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 a743394ec7 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 c3cc6e8767 Fix bug 225565 by looking at the actual control type. r+sr=peterv 2003-11-13 18:38:41 +00:00
bzbarsky%mit.edu fb0a974be6 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 50c8451a33 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 c4d3dbdd6c 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 a0e219b348 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 de3d3fbf61 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 3e7e15b053 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