seawood%netscape.com
5cf2509541
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
git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
c3a70b358f
back out accidental part of last checkin; fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@126567 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:37:04 +00:00
mjudge%netscape.com
a678fcf7ab
141888 sr=kin r=brade patch to fix too agressive caret disabling from readonly textareas/input areas.
...
git-svn-id: svn://10.0.0.236/trunk@126556 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:01:11 +00:00
bzbarsky%mit.edu
a7b6a5ad56
comment-only add-on to bug 161243 (which is what that previous checkin was)
...
git-svn-id: svn://10.0.0.236/trunk@126552 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:53:36 +00:00
bzbarsky%mit.edu
281d89498a
clean up some form control stuff (use common helpers and superclasses
...
for shared functionality where possible). r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126548 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com
5894ef9407
Get rid of dirt and sludge from the select interface, and add comments (bug 159242), r=rods@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@126438 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:59:15 +00:00
jkeiser%netscape.com
80534a3082
Output a JS warning when a web developer does the wrong form sub attributes (bug 158927), r=rods, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@126430 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:26:35 +00:00
cbiesinger%web.de
c1146da488
bug 50633 patch by riceman+bmo@mail.rit.edu r=jkeiser sr=kin a=asa
...
textarea always does a soft wrap, even with wrap="off" or white-space:nowrap or white-space:pre
git-svn-id: svn://10.0.0.236/trunk@126007 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 20:13:09 +00:00
jkeiser%netscape.com
325bff7164
Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
...
@netscape.com, sr=bzbarsky@mit.edu , a=asa
git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
leaf%mozilla.org
f068dae85c
adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909
...
git-svn-id: svn://10.0.0.236/trunk@125861 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 17:17:00 +00:00
jkeiser%netscape.com
b5ecb6dda7
Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@125421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:58:31 +00:00
pete%alphanumerica.com
81c2b5fa2b
b=88049 r=bzbarsky sr=jst
...
[RFE] Support .selectionStart & friends for textareas
Enjoy
--pete
git-svn-id: svn://10.0.0.236/trunk@124209 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 20:22:28 +00:00
dbaron%fas.harvard.edu
7e821aaa94
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
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
kyle.yuan%sun.com
418bf748bc
Bug 149856 [XBLFC] Active Accessibility: support XBL-based HTML button
...
r=aaronl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124064 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 01:53:11 +00:00
dbaron%fas.harvard.edu
e76d62fd17
Fix accesskey regression for text inputs and textareas. b=148249 r=aaronl sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@123714 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:44:27 +00:00
jkeiser%netscape.com
cf0eaecfb1
Make enter fire onChange for non-dropped-down select. bug 150759, r=rods@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@123308 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 06:50:22 +00:00
kin%netscape.com
e85d2ba2cf
Fix for bug 150566 (Readonly text fields aren't read-only)
...
Use kNameSpaceID_None when calling GetAttr() so that the
backend find attribute code in the content module matches
against atoms.
Removed calls to GetNameSpaceID().
r=jkeiser@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123306 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 06:01:29 +00:00
kin%netscape.com
fa152a3def
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
jkeiser%netscape.com
decd49ffba
Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@123144 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:58:26 +00:00
alecf%netscape.com
6ebda75c34
fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
...
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
jkeiser%netscape.com
5b189d7a7e
Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122626 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:34:30 +00:00
jkeiser%netscape.com
0c2a8f4e96
Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
rods%netscape.com
42e0661834
temporary patch to the forms controls to ignore mouse events when in
...
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122071 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 11:25:58 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
554bf97dfe
Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
jst%netscape.com
7b7411c3ef
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
jkeiser%netscape.com
de1df5e67d
Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121660 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 18:26:05 +00:00
waterson%netscape.com
5bae3657e6
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
darin%netscape.com
24feadaaed
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
locka%iol.ie
f99f6f5b65
Stop image control frame stomping on the event status. This stops context menu events being propogated to their parents and sent twice for input elements with images. bugscape=14131 r=saari@netscape.com sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@120455 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:15:44 +00:00
darin%netscape.com
824def02af
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
joki%netscape.com
568563a1cc
Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
...
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
rods%netscape.com
11932984ae
Selection now works with multiple selects
...
Bug 64165 r=jkeiser sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119181 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:09:54 +00:00
rods%netscape.com
e1f791f3b4
Backed out the one line that causes this to happen
...
64165 r=jkeiser sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118981 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:39:00 +00:00
kin%netscape.com
58d6844948
Fix for bug 128136 (Printing disables keyboard movement of caret in textfields)
...
Added SuppressEventHandlers() utility routine, which PreDestroy()
and CreateAnonymousContent() now call to determine if the controller
unregister/register code should be executed.
r=rods@netscape.com sr=sfraser@netscape.com
adt=jaimejr@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118752 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:02:47 +00:00
waterson%netscape.com
27b2245dbd
Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@118697 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:13:41 +00:00
rods%netscape.com
926073cd03
Click on the checkbox to get focus to the right spot and then press <tab> to
...
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118690 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:53:20 +00:00
karnaze%netscape.com
7cd502cfaa
bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser
...
git-svn-id: svn://10.0.0.236/trunk@118405 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:16:12 +00:00
dbaron%fas.harvard.edu
7f16c8df41
Fix SunWS / OS/2 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@118393 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:18:35 +00:00
dbaron%fas.harvard.edu
71aca9d886
Make button controls paint on top of inline element backgrounds. b=107244 r=rods sr=waterson a=asa
...
git-svn-id: svn://10.0.0.236/trunk@118370 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 15:31:53 +00:00
rods%netscape.com
22707ac421
This backs out the previous patch and just check to see if it is also a
...
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
git-svn-id: svn://10.0.0.236/trunk@118247 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 13:27:04 +00:00
jkeiser%netscape.com
713188f737
Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@118207 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 04:34:02 +00:00
jkeiser%netscape.com
7ec2a482fd
Make dropdowns paint over the background beneath them (bug 95826). r=jkeiser@netscape.com, sr=attinasi@netscape.com, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@118206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 04:29:05 +00:00
aaronl%netscape.com
0dce206ee4
Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@118164 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 23:27:45 +00:00
dbaron%fas.harvard.edu
94075d45c2
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
f217d9c22f
Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5
Backing out 108308 due to pageload spike
...
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5
Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
...
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00