Commit Graph

893 Commits

Author SHA1 Message Date
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
kmcclusk%netscape.com
0d5889ab19 bug=15184 Made <input type=password> a form submitter. Hitting return in a password field
will now submit the form. r=rods@netscape.com
1999-10-07 20:54:42 +00:00
kipp%netscape.com
90274bbf16 r=peterl; fixed a regression that I regrettably caused; had the test for success backwards 1999-10-07 01:44:16 +00:00
kipp%netscape.com
7eec6a495e Don't forget to remove the observer when dtor is running (fixes a sometimes crash in viewer); also fixed a memory leak of a style context 1999-10-07 00:30:20 +00:00
pavlov%netscape.com
f65d72dc11 ifdef out the call to CaptureMouse since it is no longer needed r=rods 1999-10-06 13:36:39 +00:00
pollmann%netscape.com
9fff77bf97 Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
kipp%netscape.com
e62c3edf52 Removed static ctors 1999-10-05 14:51:56 +00:00
rpotts%netscape.com
89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
rods%netscape.com
d79137420a fixes bug #15265, changes reviewed by kmcclusk. Changes in the way it used the computed values 1999-10-04 13:49:00 +00:00
peterl%netscape.com
5e1b925280 removing dead style change code and refereneces to dead style change code
r=troy
1999-10-02 04:23:48 +00:00
danm%netscape.com
d46bd1d3ca event handler holds weak reference to frame. fixes bug 14885. r:buster 1999-10-01 15:00:57 +00:00
rods%netscape.com
e6b0939762 Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com
3d3b8bda38 ifdef'd out the new code that handles the computed size and ifdef'ed in the old code for Linux 1999-10-01 14:28:25 +00:00
rods%netscape.com
0230fedeff ifdef out a debug statement 1999-10-01 14:26:40 +00:00
rods%netscape.com
2cbdb57b36 removed noisy printf 1999-10-01 14:20:45 +00:00
pollmann%netscape.com
d0b1d32f23 Bug 13997, Reviewed by HarishD. This fixes the crash during file upload caused by a spurious NS_RELEASE, correctly calculates content-length, and fixes a few post syntax errors. Also fixes a memory leak and uses nsSpecialSystemDirectory, nsFileSpec, and other good things instead of the hacks that were needed before this existed. 1999-10-01 02:42:32 +00:00
rods%netscape.com
dffe42e2b3 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
rods%netscape.com
2bbff7b9c2 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
1999-09-30 11:37:58 +00:00
rods%netscape.com
f78ab7229e Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:36:44 +00:00
rods%netscape.com
40bda71f57 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
Removed focus listener and ForcedRedraws
1999-09-30 11:36:32 +00:00
rods%netscape.com
96fedd5157 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
It also measures W & w for the the chars width in NavQuirks mode to get more accurate measurement of the width and height
1999-09-30 11:34:32 +00:00
rods%netscape.com
0f1396218a Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
and it now uses the cached L&F obj
1999-09-30 11:33:33 +00:00
rods%netscape.com
a917beb7ef Removed L&F static IID & CID 1999-09-30 11:32:54 +00:00
rods%netscape.com
157ce078c9 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:30:04 +00:00
rods%netscape.com
e7106c2345 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
and it now uses the cached L&F obj
1999-09-30 11:26:29 +00:00
rods%netscape.com
d48404dfac Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager 1999-09-30 11:23:17 +00:00
peterl%netscape.com
7911885f43 manage view visibility better 1999-09-29 03:36:16 +00:00
peterl%netscape.com
60b2bd4053 set reflow reason properly for incremental changes 1999-09-29 03:35:51 +00:00
peterl%netscape.com
5eb5883901 use style changed reflow instead of content changed when updating button 1999-09-29 03:35:24 +00:00
dcone%netscape.com
0d650e898c Added a Release.. to fix a leak 1999-09-24 13:49:12 +00:00
dcone%netscape.com
ae9532ab74 Took out some Addrefs, causing leaks 1999-09-24 13:48:40 +00:00
buster%netscape.com
178b1fd81c just removed some annoying printf's I left lying around 1999-09-22 02:47:47 +00:00
buster%netscape.com
b77a584214 just changed a comment to reflect reality, and removed some commented out code 1999-09-22 01:14:21 +00:00
buster%netscape.com
bede78590e enabled event state manager to do it's thing with focus switching.
this cleans up focus switching in general, and specifically enables tabbing
between single-line text controls and other html form elements.
1999-09-22 01:04:37 +00:00
rods%netscape.com
256480c581 Added nsIRollupListener for rolling up the dropdown 1999-09-21 21:20:50 +00:00
pollmann%netscape.com
1d75057a7c Bug 11488: Crash when deleting options from GFX selects 1999-09-21 13:25:32 +00:00
peterl%netscape.com
700674fb14 removed ReResolveStyleContext 1999-09-21 07:56:18 +00:00
pollmann%netscape.com
c8a10795b5 Bug 14303: Correct typo. 1999-09-20 21:17:28 +00:00
buster%netscape.com
0ec204fc02 just added a comment 1999-09-20 04:01:39 +00:00
buster%netscape.com
57d5c9eb15 small performance improvement. weeded out some obsolete code that was
causing round trips through the editor unnecessarily.
thanks for pointing out the problem, akkana and bruce m.
1999-09-20 03:59:43 +00:00
pollmann%netscape.com
703289e64a Bug 13960: Combo box must not be dropped down before mouse moves update the selected option. 1999-09-19 09:48:04 +00:00
pollmann%netscape.com
2cf83f397b Remove redundant reset() call. 1999-09-19 09:18:33 +00:00
pollmann%netscape.com
ca213b948a Fix mem leak. 1999-09-19 07:25:48 +00:00
pollmann%netscape.com
4764d83d27 Cache value updates in a more general way for file inputs, fix mem leak. 1999-09-19 07:25:12 +00:00
pollmann%netscape.com
88522e1bc1 Cache value updates that happen before initialization: fixes a bug in session history where text input/textarea/file inputs aren't restored. 1999-09-19 07:22:55 +00:00
pollmann%netscape.com
317b6c0e1b Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1 1999-09-17 07:22:23 +00:00
buster%netscape.com
614cec5d10 fixed bug 14039
bad copy-and-paste of some event propogation code.  the gfx text control
event listeners exist just to propogate the event from the embedded shell
to the content, and should not pass the event back to the frame itself, except
for keyPress (for default action).
1999-09-17 06:15:56 +00:00
pollmann%netscape.com
67b2692c32 Bug 13960: Update GFX combos when selection is set. 1999-09-16 22:36:29 +00:00
pollmann%netscape.com
40220c5e2f Bug 13296: Memory leak fix. 1999-09-16 20:27:38 +00:00
pollmann%netscape.com
bfd96752c6 Minor cleanup - don't assume implementation details. 1999-09-16 20:26:44 +00:00
cls%seawood.org
26a4d6dc7d Linux only: Removed -D_BSD_SOURCE from DEFINES as it is unnecessary now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:54:18 +00:00
warren%netscape.com
7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
rods%netscape.com
c00a954c6f It was calculating the absolute position wrong. the frame's x,y was being added in twice. 1999-09-15 21:57:51 +00:00
shaver%netscape.com
b6bfc17ba3 fix 12956, r,a=brade 1999-09-15 14:42:19 +00:00
pollmann%netscape.com
b4451b8526 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
evaughan%netscape.com
d1525e5bd4 Fixed some bugs in splitter
added auto collapse.
1999-09-14 22:17:19 +00:00
dcone%netscape.com
1364fc8597 Added a Mac case for creating the popup widget.. The #ifdef will come out when all platforms support the PopUp_CID 1999-09-14 21:29:58 +00:00
pollmann%netscape.com
c6ea67797b Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann%netscape.com
f8609a0407 Bug 13058: Keep the cache in sync with the widget state for native selects. 1999-09-14 19:39:23 +00:00
pollmann%netscape.com
8dd16c6263 Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects 1999-09-14 19:37:45 +00:00
pollmann%netscape.com
599b8f1a31 Bug 13058: Implement nsIStatefulFrame for file inputs, cache value until child textbox is created, and misc cleanups. 1999-09-14 19:28:45 +00:00
pollmann%netscape.com
a6d7defe41 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas 1999-09-14 19:19:55 +00:00
pollmann%netscape.com
ee4bc6347e Bug 13058: Handle SetTextControlState for native widgets even before the widget is created (cache the value). 1999-09-14 19:18:23 +00:00
pollmann%netscape.com
0d6b4a78b0 Bug 13058: Implement nsIStatefulFrame for radio buttons 1999-09-14 19:16:15 +00:00
pollmann%netscape.com
2cb62e9b2e Bug 13058: Implement nsIStatefulFrame for checkboxes 1999-09-14 19:12:08 +00:00
pollmann%netscape.com
a364955418 Nuke some warnings. 1999-09-14 01:15:33 +00:00
briano%netscape.com
97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
rods%netscape.com
fea9cdf36b cleaned up some code
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
1999-09-13 23:20:50 +00:00
kmcclusk%netscape.com
8f9cf9d3bc Removed nsGfxButtonControlFrame's MouseClick method. It uses it's base classes (nsHTMLButtonControlFrame)
MouseClick instead. Reworked nsHTMLButton::MouseClick factoring out code to get Reset and Submit button
types so MouseClick can be re-used by the nsGfxButtonControlFrame.
Fix for bug 13462. Set the nsHTMLButtonControlFrame's mForm in the initial reflow.
1999-09-13 20:40:59 +00:00
rods%netscape.com
dd5d7e6637 temporary fix for scrolling the dropdown until gfx scrollbars get in 1999-09-13 18:29:00 +00:00
buster%netscape.com
d94b3e63a0 fixed an uninitialized variabled error. the result code in Reflow is
now initialized to NS_OK, because it's not used in all reflow paths.
1999-09-13 03:15:23 +00:00
cls%seawood.org
762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
rods%netscape.com
9e8a1b6378 When asked for the selected item string it return first the value, then the label then the content in that order if any are empty 1999-09-10 22:56:23 +00:00
briano%netscape.com
08af3df2e0 General cleanup. 1999-09-10 00:18:42 +00:00
buster%netscape.com
408c05bfea workaround needed as a result of hyatt's change to frame construction code and attribute notification. 1999-09-09 19:45:32 +00:00
rods%netscape.com
af296e18b3 Better fix for option elements with no content in them 1999-09-09 19:37:23 +00:00
rods%netscape.com
fa6fb356e7 Temporary fix to for mail compose. 1999-09-09 13:17:35 +00:00
sfraser%netscape.com
69e203f45c #ifdef out a bunch of rods's printfs. 1999-09-09 00:23:40 +00:00
rods%netscape.com
7c7bfd2eb5 Commented out space key event processing 1999-09-08 19:55:08 +00:00
rods%netscape.com
bf45e4b044 Fixed selection in lists 1999-09-08 19:54:30 +00:00
rods%netscape.com
9f1c0d0753 removed space and return key event processing 1999-09-08 19:53:30 +00:00
rods%netscape.com
bd89429f51 Added the proper event processing for disabled options
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
1999-09-08 14:27:38 +00:00
hyatt%netscape.com
18be26df3e Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).
1999-09-08 03:51:41 +00:00
buster%netscape.com
0a6321f0ae made a small change to the way the file control interacts with the embedded gfx text control
now, it talks to it via nsIDOMHTMLInputElement interface, rather than assuming imlementation details
about what attributes to set.
1999-09-07 23:20:32 +00:00
pollmann%netscape.com
cb70f00a3a Bug 12849: OnChange event.target is now the select instead of the option. 1999-09-07 02:16:23 +00:00
rods%netscape.com
925132c54e Fills in background color webshell gets centered and the size is large then the minium 1999-09-04 13:34:40 +00:00
peterl%netscape.com
25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
rods%netscape.com
b093deaeeb it now does its own reflow in Quirks mode and paint its own border in Quirks mode
(the size of the native border from look and feel)
1999-09-03 14:50:23 +00:00
rods%netscape.com
59740457c4 when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
rods%netscape.com
2341d6fb93 during reflow it now should only reflow once for GFX widgets 1999-09-03 14:44:53 +00:00
kipp%netscape.com
b2b92bb835 Eliminate some useless string malloc/free's 1999-09-03 03:47:06 +00:00
buster%netscape.com
27032c0f32 just a comment about a possible bug I saw going through this code 1999-09-02 20:47:20 +00:00
buster%netscape.com
a85b0c659f fixed wrapping issues. dogfood bug 8984 1999-09-02 20:46:53 +00:00
buster%netscape.com
f73226e81f added PRInt32 GetWidthInCharacters() const; 1999-09-02 20:45:50 +00:00
buster%netscape.com
cad140c93a replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth() 1999-09-02 20:45:21 +00:00
buster%netscape.com
096cf35713 added GetDefaultColumnWidth(), replacing a hardcoded #define 1999-09-02 20:44:17 +00:00
rods%netscape.com
4b2f3e78ca commented out some unused variables to remove warnings 1999-09-02 13:51:12 +00:00
mscott%netscape.com
d3ffd930a4 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs
1999-09-01 04:11:17 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
rods%netscape.com
c4464e6ebc Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com
0fd6268956 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00