Commit Graph

893 Commits

Author SHA1 Message Date
rods%netscape.com
063e7d3511 Added experimental ifdef;ed but turned for reducing the number of resize reflows,
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
1999-12-22 19:46:28 +00:00
hyatt%netscape.com
221920403a Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
hyatt%netscape.com
d3e0848c19 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
buster%netscape.com
8ec5958afa fixed bugs 21612 ([dogfood] first click doesn't get through to text field)
and 18500 (Can't drag-select in text widget unless focussed first)
This fix does NOT address other focus-related problems having to do with text controls.
r=rickg
a=chofmann
platform testing support=kin,dcone,akkana (THANKS!)
1999-12-17 07:10:10 +00:00
alecf%netscape.com
251b1f466b fix for #21417
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.
1999-12-17 03:28:50 +00:00
pollmann%netscape.com
f2a52e7f9b Bug 21013: Add base url to NS_NewURI - this allows forms to be submitted to relative url's. r=pierre a=chofmann My contact info=650.520.3348 1999-12-16 02:51:47 +00:00
saari%netscape.com
36e0fe385b Missed part of my previous checkin to stop double pastes... exporting the event stop dispatch state back out of ngGfxTextControlFrame 1999-12-16 00:43:07 +00:00
norris%netscape.com
8ecaa7e0ce Fix bug 21144 "[DOGFOOD] Executing JS functions in "chrome:" protocol (creating local directories and profiles)"
r=pollmann,a=chofmann
Basically, this just calls a method in the security manager to determine if a page loaded from the document's URI
can be allowed to open a page from the ACTION URI. This is the same check that's currently used on window.open,
for example.
1999-12-15 17:20:31 +00:00
mjudge%netscape.com
7831406607 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
rods%netscape.com
9da2c4a788 temprary fix for combobox dropdowns that jump all around.
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
1999-12-14 22:22:00 +00:00
rods%netscape.com
d9a272f088 stripping out all the whitespace for form data submission
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
mscott%netscape.com
b636321801 Bug #21364....our gfx text control frame's were leaking the underlying html documents. Leak was fixed using a nsCOMPtr.
r=travis,buster
a=chofmann
1999-12-13 23:36:17 +00:00
rods%netscape.com
14a871afc2 not using scaled pixels to twips
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
hyatt%netscape.com
244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
pollmann%netscape.com
18a8f9f113 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
rods%netscape.com
525477239f Always passing back that the frames are there, this still isn't right and needs to be
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
rods%netscape.com
1788de88fc removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00
rods%netscape.com
1d9eead5cf now trims white space and makes sure the text is two spaces if empty
r=kmcclusk b=none
1999-12-05 20:48:37 +00:00
rods%netscape.com
dfbaed5604 was adding in the wrong border and padding for fixed width
r=self b 18448
1999-12-05 20:47:04 +00:00
rods%netscape.com
1fb0151a66 removed the substraction of the border and padding for fixed width
r=kmcclusk b 18448
1999-12-05 20:45:58 +00:00
rods%netscape.com
3a60daace3 Added a "flags" variable for combobox creation
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self,  bug 19382
1999-12-05 20:43:18 +00:00
sspitzer%netscape.com
1177d3a98d fix warnings, also use #ifdef NOISY instead of if (gNoisy).
why generate code you aren't going to execute?
1999-12-05 05:15:24 +00:00
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
rods%netscape.com
16f2348544 clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301
1999-12-02 22:07:43 +00:00
sfraser%netscape.com
6fecda09b6 Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman 1999-12-02 03:12:51 +00:00
sfraser%netscape.com
bc0a4a876a Fix for 19954 -- convert form values to CRLF linebreaks when submitting forms. r=pollman 1999-12-02 03:11:38 +00:00
buster%netscape.com
119f484e96 warning cleanup 1999-12-01 15:15:44 +00:00
sspitzer%netscape.com
2c52f853c6 simple bullet proofing fix for #20423 1999-12-01 03:08:04 +00:00
troy%netscape.com
7bf90e4b27 Fixed compiler warning 1999-11-30 05:38:15 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
waterson%netscape.com
8d89aefd28 Don't re-create atom over and over. r=hyatt 1999-11-30 01:13:36 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tor%cs.brown.edu
0849b98e62 Build bustage fix for gcc 2.7 & vc5 - include class interface
before playing with nsCOMPtr. r=travis@aol.net,a=dmose@mozilla.org
1999-11-27 05:05:14 +00:00
tbogard%aol.net
debce02604 nsGfxTextControlFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed some regular XPCOM pointers to be nsCOMPtrs. 1999-11-27 03:23:43 +00:00
jfrancis%netscape.com
2fa98e7b6c Fix for bug #18859: [DOGFOOD] URL bar messed up Replaced all calls to SelectAllText() with calls to nsIEditor::SelectAll(). r=jfrancis@netscape.com (kin is the author of these changes - being checked in by reviewer) 1999-11-26 03:11:12 +00:00
rods%netscape.com
ca9ac3ad84 added back in the code that hook it up to the form for submission
r=kmcclusk bug 19546
1999-11-24 21:37:34 +00:00
rods%netscape.com
5d16e3d2d2 change to always check for upper case TEXT
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com
6af28faed3 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
rods%netscape.com
80cf356162 when there is no value it gets the text for the butto from the egernated content
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607
1999-11-24 20:59:49 +00:00
rods%netscape.com
1a118ebf48 nsGfxListControl.cpp is now in the build 1999-11-24 20:56:05 +00:00
rods%netscape.com
9d84359954 fixed it up for the frame changes so it will compile
(not in build yet, because if it was tinderbox would be in flames)
1999-11-24 17:33:59 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
rods%netscape.com
768f5e2a14 removed return variable that wasn't used and its warning r=self 1999-11-23 14:21:03 +00:00
rods%netscape.com
89aca60cb8 removed extra variable declaration and the warning 1999-11-23 14:20:17 +00:00
rods%netscape.com
5bae29cd58 fixed two warning r=me 1999-11-23 14:16:59 +00:00
sfraser%netscape.com
0e4bf774a9 #ifdef out all the stupid printfs. r=pinkerton, no bug. 1999-11-23 03:26:56 +00:00
nhotta%netscape.com
cb6e7f733b Added error checking (result code and null pointer), bug 19469, r=ftang. 1999-11-23 01:21:32 +00:00
rpotts%netscape.com
100221faa2 Added a missing Release to prevent leaking a SupportsArrayEnumerator... 1999-11-23 00:59:41 +00:00
rods%netscape.com
fe1b8588fc Added NavQuirks sizing for input button 1999-11-22 22:04:53 +00:00
rods%netscape.com
d6949938f3 Added NavQuirks sizing for buttons and hidden 1999-11-22 22:03:35 +00:00
rods%netscape.com
31776f0714 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 16:05:16 +00:00
rods%netscape.com
7d764bab17 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com
a21ce430dc remove SetMainChild 1999-11-19 15:45:55 +00:00
rods%netscape.com
f3d208613a added bool parm to is DoneAddingContent r=dcone bug 18241 1999-11-19 15:45:47 +00:00
rods%netscape.com
c37df010f7 added nsGfxListControlFrame.cpp commented out bug 18895 1999-11-19 15:45:07 +00:00
troy%netscape.com
597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
359a28d165 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
also made some improvements for future docshell work
r=rickg, travis
1999-11-19 07:25:11 +00:00
ducarroz%netscape.com
1a31863479 Fix bug 9713. comment out some sensitive code until I rewrite it. This code isn't needed yet. r=mscott 1999-11-19 00:47:40 +00:00
rods%netscape.com
e782e5e65a initial check in, not in the build 1999-11-18 22:14:26 +00:00
rods%netscape.com
6ace09adfd removing extra box sizing code that is not needed.
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
rods%netscape.com
854e72dc25 Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
pollmann%netscape.com
aef9c79358 Fix typo during typo during previous checkin. 1999-11-16 01:20:04 +00:00
pollmann%netscape.com
b64383029b Bug 15204: Allow getting text value in uninitialized textarea - GetText works with text inputs AND textareas. r=harishd 1999-11-16 01:17:54 +00:00
rods%netscape.com
a324ea0624 Fixing focus & blur event dispatch (mostly having to do with native windows in embedded webshells)
Fixing the sizing issues related to box-sizing for CSS.
r=buster, bug 17196,18448
1999-11-15 15:20:03 +00:00
rods%netscape.com
8313932cd7 temporarily adding box sizing utility methods to help forms calculate their size
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
beard%netscape.com
65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
rods%netscape.com
1bb3e4524f Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com
1d9e5aa730 Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
kmcclusk%netscape.com
199bc6a632 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
waterson%netscape.com
1c3a38512c Bug 18544. Make sure to destroy mDisplayFrame before re-creating. r=buster 1999-11-11 22:40:25 +00:00
rods%netscape.com
aae00487b2 added empty impl of DoneAddingContent
b 17695, r=self
1999-11-11 22:25:23 +00:00
buster%netscape.com
28e0861f1c partial fix for bug 11537, r=kmcclusk (sucker!)
also checked in some webshell redesign work, but that is #ifdef'd out (also reviewed by kevin, double-sucker!)
1999-11-11 22:23:32 +00:00
rods%netscape.com
dfebb59b9d Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
troy%netscape.com
2e7ee4874b b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
gagan%netscape.com
9da0532843 Fix for 7533. The mechanism of specifying charset in content-type of a post data was breaking a lot of websites. I have changed the default to not send charset. If this has to be changed again this should go thru a pref (See bug 18431) 1999-11-10 08:58:20 +00:00
waterson%netscape.com
2a59335d1a Bug 18257. Fix leak of nsIDocument in form submission. r=karnaze, a=chofmann 1999-11-10 00:30:09 +00:00
rods%netscape.com
f14dbd84fb Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
nisheeth%netscape.com
ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com
1ac4b75dcc Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman 1999-11-06 00:54:54 +00:00
pollmann%netscape.com
210784fe9b Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods%netscape.com
94cb5b1e6b Commented out the reset of the list when an option gets added
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
joki%netscape.com
1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
buster%netscape.com
96ad89ba3a fixed bug 17792 (text set via DOM displays in HTL password control)
r=myself, I'll take the heat if this goes bad.  It's a very simple change.
The text control optimization was turned on for single line text controls,
and turned off for text areas.  With this change, the optimization is also
turned off for password fields.  This shouldn't effect performance in any
noticable way, because there are very rarely more than one or two password
controls on a single page.  The optimization in the case of password fields
isn't worth the extra code and complexity for dealing with replacing
characters with '*'
1999-11-03 06:53:07 +00:00
rods%netscape.com
3f9ff89e9b Add CountAllChild to count all the option and optgroup elements so lists
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
rods%netscape.com
4dc1d549b0 Added code to size the button appropriately when style sets the size and
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +00:00
rods%netscape.com
0848659bb9 Combos now size correctly when the size is specified via style
r=kmcclusk, b=16317
1999-11-03 00:03:32 +00:00
kmcclusk%netscape.com
7872e769f6 Fixed places where SetProperty and Reset were missing the nsIPresContext argument.
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com.
1999-11-03 00:01:13 +00:00
rods%netscape.com
e673e2cab5 removed a line that wasn't needed and caused a warning r=kmcclusk 1999-11-02 23:54:40 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
buster%netscape.com
a86bb86665 bug 17727 ([dogfood] Password not showing stars for default values unless we click inside the field.)
r=brade

change is in nsGfxTextControl.cpp.  I used to just blindly set the text of the underlying text frame.
Now I check if it's a password field, and replace the display text with '*' if it is.
1999-11-02 15:12:47 +00:00
troy%netscape.com
961b91838a r=pierre@netscape.com
Fix compiler warning
1999-11-02 06:07:12 +00:00
pollmann%netscape.com
d349c3eeb6 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +00:00
pollmann%netscape.com
fa50777353 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods%netscape.com
1d9434ba93 Check to see if the option being added has the "selected" property, if it
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
troy%netscape.com
65dd8985c3 b=17507. Changed Reflow() to use "available height" instead of "computed
height" when reflowing child frames. What was happening was that the child
table frame didn't fit and was trying to split. That should only happen when
we're paginated
1999-10-31 03:39:24 +00:00
jband%netscape.com
a23d0e23c7 fix typo that was causing bustage on some compilers 1999-10-31 03:02:43 +00:00
buster%netscape.com
4912e0cea4 huge performance work for text controls
we now display the content of a single line text control using a child pseudo frame
until the text control first gets focus.  at that time, a webshell and editor are created on the fly.
fixed bug bug 14727
r=rods
1999-10-30 16:33:00 +00:00
rods%netscape.com
c728469462 Allows radiobuttons to remove themselves from the named radio group
when deleted factored the code
r=kmcclusk, bug 17418
1999-10-29 13:56:30 +00:00
rods%netscape.com
2895baab71 removes itself from the radio group when it is destructed
r=kmcclusk, bug 17418
1999-10-29 13:54:58 +00:00
rods%netscape.com
6a19f546f2 clears the the checked item on removal
r=kmcclusk,bug 17418
1999-10-29 13:53:50 +00:00
rods%netscape.com
c36411b6ff Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
rods%netscape.com
7670a72df2 At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
1999-10-26 23:34:46 +00:00
rods%netscape.com
0e3f575b32 removed an unused variable and an extra decl and call to remove two warnings
r=none
1999-10-26 23:28:51 +00:00
dcone%netscape.com
eb5d6cfd19 Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
4754f30990 minor changes to previous checkin to handle css sizing like NavQuirks
b=6695,r=none
1999-10-26 04:29:20 +00:00
rods%netscape.com
43a23b2871 Completely rewrote the the Reflow for gfx text controls, factored out separate
reflow paths for NavQuirks and Standard mode. Also, Standard mode reflow now obeys
cols rows etc. Although there may be a little code bloat, this will make maintaining
the input text and textarea much much easier.
r=kmcclusk, b=6695,7461
1999-10-26 03:46:18 +00:00
pollmann%netscape.com
de4b3acaeb Bug 17079: URL encoding of form element values should convert + to %2B and / as needed: r=nisheeth 1999-10-26 03:08:17 +00:00
kmcclusk%netscape.com
81a5d8a988 Call nsIFormProcessor service if it has been registered for each value submitted.
bug=17060 r=karnaze@netscape.com
1999-10-25 22:48:43 +00:00
kmcclusk%netscape.com
3ed49e6d43 Removed build warning caused by overloaded GetDesiredSize. bug=15575. r=buster@netscape.com 1999-10-25 22:06:41 +00:00
rods%netscape.com
3b52acd283 Changed the parameter of the CalcNavQuirksSize to take the input spec instead of the length
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461
1999-10-22 03:14:03 +00:00
rods%netscape.com
23ceab24e7 changed the padding so it is adding in the correct left right instead of top bottom
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
rods%netscape.com
ef783cc295 removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
r=kmcclusk Bug #16152
1999-10-21 00:06:23 +00:00
pierre%netscape.com
bcd4fef854 #15636 "Cleanup build warnings". Some compilers issued a "hidden virtual method" warning because only one of the two implementations of GetDesiredSize() was overridden. r=slamm. 1999-10-20 23:30:29 +00:00
rods%netscape.com
a00139db0c added code to the destructor to make sure the list get rolled up.
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
scc%netscape.com
e36b183d71 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
evaughan%netscape.com
a2bcc96c08 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
pollmann%netscape.com
bfbdf41a89 Bug 15729: Fall back to content when getting text value; r=vidur 1999-10-19 23:43:58 +00:00
rods%netscape.com
8874e3db0c cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +00:00
rods%netscape.com
634a39119e fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770 1999-10-19 19:58:07 +00:00
rods%netscape.com
b8cbe4bec7 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
rods%netscape.com
a82d9806ee Changed the sizing comparison for NavQuirks in debug mode to get the font family and size
for the input text  and textarea, I also changed the border calc for only when the
the size is explicitly set.
r=kmcclusk, Bug #3040,11285
1999-10-19 11:59:01 +00:00
rods%netscape.com
969aac994a Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com
6138edf03a Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
rods%netscape.com
a1f10b043a Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
buster%netscape.com
a23754e4b6 bug 12221 [Dogfood] Gfx text controls need to notify on mouse events
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1.  This saves a few allocations and about 60 bytes per text control.

bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:38:29 +00:00
pollmann%netscape.com
f93bec8bc1 Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd 1999-10-14 23:47:08 +00:00
kmcclusk%netscape.com
f84534d73b When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com
1999-10-14 23:45:02 +00:00
kmcclusk%netscape.com
a62e21a089 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com
1999-10-14 23:41:40 +00:00
ftang%netscape.com
850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
pollmann%netscape.com
e0ed7d0ee8 Bug 16126: Check for a cached state when reading value or submitting Gfx text frame (before initialize); r=joki 1999-10-13 02:49:42 +00:00
pollmann%netscape.com
b32d16e429 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd 1999-10-13 00:54:47 +00:00
pinkerton%netscape.com
008ee8f541 pulled mac-specific patches to the tip in order to allow typing in the url bar in navigator to work w/out firing cmd-keybindings. (r=saari, no explicit bug number). 1999-10-13 00:44:43 +00:00
kmcclusk%netscape.com
4482aee25c Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 22:44:23 +00:00
kmcclusk%netscape.com
b545fdcf6a Backing out change made while tree was closed 1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com
6c2f2a1317 Backing out changes made while tree was closed. 1999-10-12 22:01:49 +00:00
kmcclusk%netscape.com
be2e4b8643 Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 21:42:31 +00:00
pollmann%netscape.com
f7222cc9f3 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
rods%netscape.com
1d4f67cd4b ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
rods%netscape.com
3f456e3f80 Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com
a7f80d034e Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk
1999-10-07 21:39:50 +00:00
rods%netscape.com
aad2ad4877 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com
c13c023660 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me. Renamed aMetrics to aDesiredSize
Did some clean. Nav Quirks obeys padding and not border.
Reworked how computed size is used r=kmcclusk
1999-10-07 21:09:47 +00:00
rods%netscape.com
f1ae33e0a0 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk
1999-10-07 21:07:38 +00:00
rods%netscape.com
53a5602235 Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk 1999-10-07 21:04:52 +00:00