Daniel Holbert
889648bb23
Bug 560271: Reorder nsTextControlFrame constructor init list to fix build warning. r=ehsan
2010-04-19 12:00:45 -07:00
Ehsan Akhgari
6533b66978
Bug 558954 - Don't show/hide placeholder if we're about to initialize the editor; r=roc
2010-04-12 20:32:29 -04:00
Ehsan Akhgari
18d931eb33
Bug 557689 - Mochitest-3 (debug) crash after running test_bug366682.html or test_selection_move_commands.xul as a result of bug 542919 [@ nsCOMPtr<nsIMutationObserver>::assign_with_AddRef] (underlying issue will be fixed in bug 534785); r=jrmuizel
2010-04-12 02:13:17 -04:00
Ehsan Akhgari
f3d9f778f5
Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc
2010-04-06 16:44:46 -04:00
Ehsan Akhgari
d42f42731a
Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky
2010-04-06 16:43:39 -04:00
Ehsan Akhgari
82c0a0f238
Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
a7d5edaacc
Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky
2010-02-09 20:29:11 -05:00
Ehsan Akhgari
48c789f12e
Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
347a6506d3
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
382ad60d6f
Bug 542919 - Maintain the exact same behavior in editor initialization (don't try to set the editor value if the default value is empty) in an attempt to fix the crash of bug 557689
2010-04-11 16:00:36 -04:00
Ehsan Akhgari
0bbd9e77c9
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
2010-02-01 23:00:06 -05:00
Ehsan Akhgari
c51a6481a1
Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689
2010-04-06 21:08:58 -04:00
Ehsan Akhgari
b096e7c504
Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc
...
--HG--
extra : rebase_source : e8ea41dfa8e4b591e21176fb654f968671cc3ba1
2010-04-06 16:44:46 -04:00
Ehsan Akhgari
f4a336fb87
Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky
...
--HG--
extra : rebase_source : f7e1954482d34f5a229307ff7a6bc4fa527171ff
2010-04-06 16:43:39 -04:00
Ehsan Akhgari
380b7b208c
Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
...
--HG--
extra : rebase_source : 92d9e491351a6183f0232604cd989c14d10d5fad
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
a85b9fbf14
Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky
...
--HG--
extra : rebase_source : 0b3e81c649178ebff2b08856f652a37be59d7547
2010-02-09 20:29:11 -05:00
Ehsan Akhgari
a5e3d44e9b
Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
...
--HG--
extra : rebase_source : bf84341934b14c78fadc162607721e9325673fc4
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
64a3144e62
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
3776d4f9f8
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 9c043d3cb30420f061d543e11e3000a1f8e18e27
2010-02-01 23:00:06 -05:00
Craig Topper
c82a6bc194
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
5278cfe428
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
61dba9a452
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Neil Deakin
3cbbbf8a1e
Bug 543563, fix build error due to conflict with bug 544472
2010-03-18 16:45:29 -04:00
Neil Deakin
8f209c1ed5
Bug 543563, textarea in xul textbox doesn't take into account any assigned widths/heights, r=dbaron
2010-03-18 15:58:12 -04:00
Ehsan Akhgari
be4b7eb8dc
Bug 353539 - textarea.focus() puts caret at end without scrolling it into view; r=roc
...
--HG--
extra : rebase_source : 775c2c16cfbb0ef9a9024dd53c42c803ee08e8ae
2010-03-18 12:14:40 -04:00
Ehsan Akhgari
52ec0ae2b2
Bug 231389 - Textarea scrolls to top after changing its .value, regardless of cursor position; r=roc
...
--HG--
extra : rebase_source : 01f1129bc5289c3b56d15a7965e647002a0b1198
2010-03-18 12:14:08 -04:00
Mounir Lamouri
6d0eda64c3
Bug 549208 - Dragging a text in an input/textarea element doesn't make the placeholder disappear; r=bzbarsky
...
--HG--
extra : rebase_source : 13dc342d24bef26815bda5ef9958cfcb11a68a10
2010-03-01 10:35:40 -08:00
Mounir Lamouri
4ac915c7e1
Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
...
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Alexander Surkov
f64a603fd3
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
Ehsan Akhgari
c0c8581846
Backed out changeset e6cf06cfcef9
2010-02-18 19:03:28 -05:00
Ehsan Akhgari
c67120ed70
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 5c6baa16c4f3c91f8564cfdf394d70c8ea507861
2010-02-01 23:00:06 -05:00
Alexander Surkov
03b1de4b95
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Olli Pettay
a229f20863
Bug 518122, improve textarea.value+= performance, r=bz
2010-02-07 21:44:32 +02:00
Robert O'Callahan
6a5cc88a0d
Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
cfa270791d
Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats
2009-09-03 17:23:47 +12:00
Robert O'Callahan
93b13a82be
Bug 526394. Part 2: Remove pointless code in nsTextControlFrame, nsGfxScrollFrame handles this already. r=mats
2009-07-29 22:07:04 +12:00
fantasai
3027a2127b
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
fantasai
b8f6ad289d
Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc
2009-12-24 00:20:20 -05:00
Brad Lassey
0595320f20
bug 530367 - passwords from password manager flash in clear text r=neil
2009-11-25 12:41:23 -05:00
Mats Palmgren
3e79ed11b3
Bug 522787. Always register an editor observer. r=smaug
2009-11-19 12:38:11 +13:00
Boris Zbarsky
7717e0c2f4
Bug 259636. Don't do sync reflow when setting .value on text inputs. r=roc, sr=dbaron
2009-11-11 18:28:16 -05:00
Robert O'Callahan
3c44fac732
Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
...
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
David Zbarsky
3d96b7b4a7
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Mats Palmgren
dea07412a1
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
d47e0f433b
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Boris Zbarsky
8f435d226b
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
0aa6350041
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Hashem Masoud
b71a1a1cfa
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Boris Zbarsky
1ef12b64a7
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Robert O'Callahan
45f0dccac6
Bug 495385. Text inputs should set the white-space style of the anonymous inner div when that div is created, not later when it will trigger a restyle. r+sr=bzbarsky
...
--HG--
extra : rebase_source : bef3008f365592d754039e74bac0b428a8c84794
2009-06-13 21:16:27 +12:00
Neil Deakin
15df29db77
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Boris Zbarsky
b0eecf6115
Bug 492387. Flush out content notifications before initing our editor. r+sr=jst
2009-05-19 10:49:57 -04:00
Karl Tomlinson
3bbadcfb42
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Boris Zbarsky
75b1d6d0f1
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
2009-03-16 07:50:04 -04:00
Dão Gottwald
b0f2cdc142
Backed out changeset 12e163f4f272
2009-03-16 15:00:57 +01:00
Boris Zbarsky
1863ecc5d2
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
2009-03-16 07:50:04 -04:00
Boris Zbarsky
f5a290d916
Bug 477700. Push a null JSContext around editor init, so it'll work no matter what JS is on the stack. r+sr=smaug
2009-02-16 09:11:41 -05:00
Boris Zbarsky
ff8ff59c94
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Benjamin Smedberg
3498a5f86e
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Robert O'Callahan
1f1a970697
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
Markus Stange
1b2252f6c6
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
Benjamin Smedberg
7a0477cfbf
Bug 461186 - nsTextControlFrame should not implement nsIPhonetic: there's only one caller, and that caller can use nsITextControlFrame directly. This is one less frame that implements an nsISupports-derived interface. r+sr=roc
2008-10-27 20:27:55 -04:00
Theppitak Karoonboonyanan
88e1b95b7b
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Mats Palmgren
0abae51687
Ignore the keypress event if DOMEventToNativeKeyEvent() fails. b=456273 r=Olli.Pettay sr=jonas
2008-10-15 12:50:42 +02:00
Taras Glek
ba02fffe86
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Arpad Borsos
87878e68eb
Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
2008-09-15 17:40:25 +02:00
Taras Glek
74132a5585
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Mats Palmgren
8534784f1c
Bug 446663. Make sure that if the user is typing in a text input its text input listener will get the events (so that undo/redo work and oninput is fired).
2008-07-31 17:34:11 -07:00
Zack Weinberg
a1072e86a3
Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron
2008-07-17 16:37:12 -07:00
John Daniels
b006229ae6
Bug 419532 – deCOMtaminate nsICaret. r+sr=roc
2008-07-16 12:52:01 +02:00
neil@parkwaycc.co.uk
64491786fd
Bug 444466 – Crash [@ nsTextControlFrame::PreDestroy()], r+sr=bz
2008-07-12 11:26:40 +02:00
jst@mozilla.org
4b69a276d4
Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:30:51 -07:00
dbaron@dbaron.org
4589e85ab3
Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons
2008-04-14 18:04:18 -07:00
roc+@cs.cmu.edu
0a70ba3e53
Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon
2008-04-09 21:39:41 -07:00
reed@reedloden.com
3ada7e2c40
Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
2008-04-08 11:52:48 -07:00
timeless@mozdev.org
b0e4df4591
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-06 05:28:34 -07:00
mats.palmgren@bredband.net
747c16c7c6
Disconnect the frame selection object from the pres shell earlier. b=421083 r+sr=roc a1.9=beltzner
2008-04-02 19:42:20 -07:00
masayuki@d-toybox.com
2a69e80bd1
Bug 424989 Cannot use reconversion of IMEs from system menu at the focus being on textarea r+sr=roc, b1.9=jonas
2008-03-29 12:38:05 -07:00
timeless@mozdev.org
7f880e43ef
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
timeless@mozdev.org
022712406a
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-03-19 14:19:35 -07:00
masayuki@d-toybox.com
1c98c2e245
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com
076b8bba8e
backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
600836e7ed
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner
2008-02-28 03:01:56 -08:00
roc+@cs.cmu.edu
709741beff
Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep
2008-02-21 18:24:04 -08:00
reed@reedloden.com
36a557fc04
Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures.
2008-02-20 03:10:16 -08:00
reed@reedloden.com
61f93061b0
Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep]
2008-02-20 02:19:31 -08:00
reed@reedloden.com
2eddcd6e28
Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745).
2008-02-15 12:20:55 -08:00
reed@reedloden.com
636da4197c
Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner]
2008-02-14 21:30:34 -08:00
neil@parkwaycc.co.uk
b22e83627e
Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking
2008-01-04 03:24:41 -08:00
reed@reedloden.com
58044dcad7
Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=stuart]
2007-12-29 12:43:27 -08:00
reed@reedloden.com
27a55e7707
Back out patch from bug 406047, as it is causing orange on Linux and Tp regression on Mac.
2007-12-14 00:55:08 -08:00
reed@reedloden.com
71fe589716
Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=stuart]
2007-12-13 23:20:32 -08:00
Olli.Pettay@helsinki.fi
a0a74f16e7
Bug 368760, r=mats, sr=roc, a=blocking1.9+
2007-11-22 12:47:33 -08:00
Olli.Pettay@helsinki.fi
7a162df868
Bug 388558, 'change' event isn't dispatched if user selects input field value from the autocomplete list, r=jst, sr=sicking, a=mconnor
2007-10-02 09:56:07 -07:00
joshmoz@gmail.com
a91716eeae
extra measure of security for password textfields on Mac OS X. b=394107 r=smorgan sr=roc
2007-09-27 09:01:32 -07:00
bzbarsky@mit.edu
ee74eef160
Only update the select command for focused text inputs. Bug 394792, r=roc, sr=neil, a=roc
2007-09-14 15:33:40 -07:00
bzbarsky@mit.edu
ddcdc2b80d
Make maxlength not affect initial values or scripted sets. Bug 345267, r+sr=mats, a=dbaron
2007-08-21 20:22:21 -07:00
bzbarsky@mit.edu
4a0892e86f
Make auto-height abs-pos textfields with top and bottom offsets both set use their intrinsic height, per spec. Bug 385870, r+sr+a=dbaron
2007-08-21 20:07:25 -07:00
bzbarsky@mit.edu
77efa38741
Account for the padding on our anonymous div when sizing. Bug 388086, r+sr+a=dbaron
2007-08-02 15:06:00 -07:00
bzbarsky@mit.edu
bea1e960d8
Avoid doing some work when initializing textfields. Bug 221150, patch by
...
peterv and a little bit me, r=me, sr=roc
2007-07-24 17:11:22 -07:00
Olli.Pettay@helsinki.fi
076594c97a
Bug 355367, textbox onchange doesn't fire if user tabs out and value changed in onkeydown, r=jst, sr=sicking
2007-07-20 16:19:19 -07:00
mrbkap@gmail.com
cf72287e8c
Backing out this change to see if it fixes the test failures.
2007-07-09 16:05:44 -07:00
mrbkap@gmail.com
bc4b050f93
Attempt to re-enable async reflow and painting in editor. bug 174823, r+sr=roc
2007-07-09 14:55:18 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net
42a227c78a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
9cd2a580d0
Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron
2007-05-04 22:30:10 -07:00
bzbarsky@mit.edu
086c2eb0c0
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me
2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
eeaa1a101b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56
375196, r+sr=roc
2007-03-25 22:38:22 -07:00
Olli.Pettay%helsinki.fi
1f2499afdc
Bug 373586 , r+sr=roc
2007-03-19 10:23:29 +00:00
Olli.Pettay%helsinki.fi
c9355efc94
Backout bug 373586
2007-03-19 08:13:01 +00:00
Olli.Pettay%helsinki.fi
de33e16799
Bug 373586 , r+sr=roc
2007-03-19 06:30:41 +00:00
dbaron%dbaron.org
9d7f938b99
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu
997dd25704
deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
...
GetVAlign(), GetHAlign(). Remove GetInset(). Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
2007-02-22 18:05:14 +00:00
asqueella%gmail.com
284a5ea424
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
db47d007bc
Bug 370303: Cleanup in layout/forms. r+sr=roc.
2007-02-15 10:58:31 +00:00
sharparrow1%yahoo.com
fc5994f67d
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:31:59 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi
b3361bf8f9
Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
2007-01-31 16:02:42 +00:00
bzbarsky%mit.edu
4fcbe6d913
Remove some no longer needed code. Bug 368273, r+sr=dbaron
2007-01-30 05:52:27 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
7a61f6f940
Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
...
335628, r+sr=roc
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu
5bb5b8f623
deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
...
by Andreas Lange <anlan@lange.cx>, r+sr=roc
2007-01-08 02:57:59 +00:00
mats.palmgren%bredband.net
3737d80b97
OnChange is sometimes triggered for scripted changes. b=265047 r+sr=jst
2007-01-05 16:31:07 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
3688023262
Remove the consumers of GetScrollBarDimensions so that we can work on removing
...
the API too. Bug 364301, r+sr=roc
2006-12-19 15:08:34 +00:00
dbaron%dbaron.org
31f1898810
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net
df6357f4ed
Make sure text input onchange handler is called before onblur. b=357684 r=Olli.Pettay sr=bzbarsky
2006-11-28 13:08:23 +00:00
bzbarsky%mit.edu
b7a3c71cc9
Remove the business about not knowing our collapsed state at first. We do know
...
it, and we're collapsed. Bug 352394, r=mats, sr=roc
2006-09-14 00:54:44 +00:00
timeless%mozdev.org
97d86b0df2
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu
5c42810570
Don't convert non-breaking spaces to spaces in text controls. Bug 218277,
...
patch by jst and jpl24 <jlurz24@gmail.com>, r=bryner, sr=dbaron
2006-08-07 03:27:49 +00:00
pkasting%google.com
2070e797b8
Bug 339127: Add "spellcheck" attribute to control spellchecking.
...
r=brettw
sr=sicking
2006-07-29 00:04:40 +00:00
Olli.Pettay%helsinki.fi
a24156b7d9
Bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc
2006-07-26 07:58:18 +00:00
cvshook%sicking.cc
3a9a287253
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
2006-07-19 04:36:36 +00:00
uriber%gmail.com
3bef115769
Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
2006-07-18 07:28:38 +00:00
mats.palmgren%bredband.net
47bd18fde6
Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part)
2006-07-06 10:43:51 +00:00
jst%mozilla.jstenback.com
00c06594f0
Fixing bug 313337. Make input control onchange events only fire when the change is made by the user, not by script. r=bzbarsky@mit.edu, sr=bugmail@sicking.cc
2006-07-05 22:15:01 +00:00
Olli.Pettay%helsinki.fi
b9c2cdd0a8
Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz
2006-05-15 19:35:12 +00:00
mrbkap%gmail.com
907b2f702d
Only call GetCharCode for KeyPress events to avoid triggering a warning in nsDOMKeyEvent.cpp. bug 309316, r+sr=dbaron
2006-04-29 00:39:03 +00:00
roc+%cs.cmu.edu
aac1b0d44f
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
0a10a79f62
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
dbaron%dbaron.org
c37d9a2cf3
Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
sharparrow1%yahoo.com
eb67fd0b3d
Bug 327868: nsIFrameSelection cleanup. r+sr=roc
2006-02-21 00:49:04 +00:00
bzbarsky%mit.edu
0345a6719d
Make it possible to enable spell-check for text inputs too (not just
...
textareas). Make the pref controlling the whole thing live. Bug 151040, patch
by Julian Pellico <jpellico@yahoo.com>, r=bzbarsky, sr=bryner
2006-02-09 03:50:53 +00:00
roc+%cs.cmu.edu
77bca74243
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
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
15c2397445
Bug 323910: Merge atom lists in gklayout
...
r/sr=jst
2006-01-19 00:58:12 +00:00
bzbarsky%mit.edu
199fb02ff4
Make sure to return in the error condition, not just pop the JSContext stack
...
and continue. Bug 321494, r=sicking, sr=brendan
2006-01-06 23:32:21 +00:00
roc+%cs.cmu.edu
b65c655ed9
Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
5c508f5e01
Remove no longer needed event hack. Bug 146399, patch by Vidar Haarr
...
<vhaarr+bmo@gmail.com>, r=dbaron, sr=rbs
2005-12-08 01:44:30 +00:00
roc+%cs.cmu.edu
a710fcd15d
Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman
2005-12-07 23:08:39 +00:00
brettw%gmail.com
b9193728c5
Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky
2005-12-05 18:07:33 +00:00
jst%mozilla.jstenback.com
8f1863159b
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
a5f65bfee7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-01 20:40:54 +00:00
cvshook%sicking.cc
64a0fbd45f
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
8e989a107f
Fix bug 309467. r=jst, sr=neil
2005-10-20 02:10:31 +00:00
roc+%cs.cmu.edu
fed343c43a
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
cf64715ae5
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
bryner%brianryner.com
adc0ddf8eb
In the XUL autocomplete widget, make user-initiated autocomplete dispatch an oninput event, just as if the user had typed the text. Also fixing a bug where it was not possible to create an oninput event from script. Bug 287996, r=mconnor sr=jst.
2005-08-22 18:34:21 +00:00
bzbarsky%mit.edu
8e208eced1
Make frames know whether they're leaves or not from the frame construction
...
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
jst%mozilla.jstenback.com
50de4a3e1d
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
23a4479e27
Make text control state restoration work right even in subframes loaded from a
...
different website. Bug 287446, r+sr=jst, a=chofmann
2005-04-26 03:31:29 +00:00
roc+%cs.cmu.edu
b92a5cf080
Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron
2005-04-06 20:50:58 +00:00
bmlk%gmx.de
10291e93a2
fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron
2005-03-24 18:41:39 +00:00
bryner%brianryner.com
afd8155560
Fix autocomplete in message compose by making oninput start off enabled, and just disabling it within SetValue. Bug 282645, r= (and lots of ideas from) neil, sr=bzbarsky.
2005-03-02 01:19:19 +00:00
bryner%brianryner.com
a1b0671ae2
Don't dispatch oninput events when the value of an input is changed programatically. This prevents unwanted opening of the autocomplete popup when a username is prefilled. Bug 272002, r+sr=bzbarsky, a=caillon.
2005-02-15 23:14:42 +00:00
mats.palmgren%bredband.net
9f64ad2989
If text is scrolled out-of-view to the left and there is room for it to be visible then scroll it in to view. b=268352 r+sr=bzbarsky
2005-02-04 21:56:07 +00:00
dbaron%dbaron.org
fdb1ec2bd5
Put the null-check *before* the crash it's supposed to prevent (which timeless saw, somehow).
2005-02-01 07:35:20 +00:00
bryner%brianryner.com
d94c0df713
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
cvshook%sicking.cc
e2081a89e6
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
2005-01-25 00:02:58 +00:00
mats.palmgren%bredband.net
54108dc6db
Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron
2005-01-16 18:44:01 +00:00
bryner%brianryner.com
a8073f18a3
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
2005-01-12 19:45:38 +00:00
neil%parkwaycc.co.uk
74e2aa375a
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
3d7261604c
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
bzbarsky%mit.edu
3ae57649b4
Disable undo for password inputs to prevent replay attacks. Bug 271154,
...
r+sr=dbaron
2004-12-05 18:26:13 +00:00
neil%parkwaycc.co.uk
a45fb5a046
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
2004-11-24 00:19:21 +00:00
timeless%mozdev.org
fb483e6b15
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
darin%meer.net
189ba5e5c4
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
2004-11-01 18:50:36 +00:00
aaronleventhal%moonset.net
ca0cd1c767
Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
2004-10-13 01:12:14 +00:00
dbaron%dbaron.org
45439665bd
Use |this| instead of getting the frame from the reflow state, since the frame from the reflow state is wrong when we're in a XUL textbox. b=263806 Patch from Hideo Saito <saito@densan.co.jp>. r=bernd sr=dbaron
2004-10-12 17:58:28 +00:00
smontagu%smontagu.org
cc49ff21b4
Bug 167001: Anything below the baseline goes out of input field. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=dbaron
2004-10-10 18:30:28 +00:00
bzbarsky%mit.edu
469e0c5119
Followup to bug 260922 -- don't crash on frame teardown if the thing that got a
...
text control frame is neither an input nor a textarea. r+sr=jst
2004-10-02 16:14:56 +00:00
jst%mozilla.jstenback.com
30a055a3ab
Fixing bug 257523. Prevent Copy & Paste with generated DOM events. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com
2004-09-30 16:29:54 +00:00
bryner%brianryner.com
6cfd959442
Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc.
2004-09-07 21:21:48 +00:00
roc+%cs.cmu.edu
6255acffd9
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
3827991ce7
Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
9a61205ad8
Back out text input changes from bug 72747.
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
d2d8096ade
Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
2004-09-03 23:22:15 +00:00
bryner%brianryner.com
4c15468e7d
Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
2004-09-01 05:16:00 +00:00
dbaron%dbaron.org
c200b49750
Back out the rest of bug 72747 due to Tp regression.
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
c1681a238f
Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
2004-08-26 22:35:38 +00:00