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

735 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 7bc1440f39 text content longer gets set to "" which it ignores, it
gets set to " " when thedisplay should be ""
bug 36459
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:53:38 +00:00
rods%netscape.com 7adb844995 Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:51:35 +00:00
rods%netscape.com 87f1ef27e8 uncommenting out some important clean up code and gating it with "!kGoodToGo"
should fix leaks
2000-04-20 03:42:12 +00:00
danm%netscape.com 622d6fe83b dist...chrome restructuring 2000-04-19 21:42:30 +00:00
rods%netscape.com df05a11b26 change char detection to use unichar and upper case so now pressing 't' or 'T'
gets you the first item that begin with 't' ot 'T'
Bug 34630
2000-04-19 14:57:44 +00:00
rods%netscape.com 2ad7174d88 Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515
2000-04-19 13:55:17 +00:00
scc%netscape.com 8624ce5d67 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
sfraser%netscape.com 89f918ee5b Adding methods to allow control of the selection in text widgets. 2000-04-13 05:15:59 +00:00
rods%netscape.com 6f55dc97f3 Dirty reflows are treated like Incremental for optimization
The GetAbsoluteFramePosition didn't take into account if the comboxbox was had a prent view with no parent
b=35291
2000-04-12 14:51:10 +00:00
hyatt%netscape.com 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
akkana%netscape.com 7621cc570e 28598: map \r and \r\n to \n in form textarea submissions 2000-03-30 22:49:59 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
rods%netscape.com 886073840d Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
2000-03-28 15:11:16 +00:00
rods%netscape.com 72637cd5e0 When focus doesn't work correctly, and the Combobox gets deleted while the
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149
2000-03-28 14:29:15 +00:00
rods%netscape.com 032c4f4422 Added reflow of text frame for when the size is being set via style
b=33402
2000-03-27 22:20:06 +00:00
scc%netscape.com 9c2f6dad62 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
rods%netscape.com 0d1f910fba Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
r=kmcclusk
2000-03-24 15:02:02 +00:00
rods%netscape.com 17265cffd9 fixed up some ifdefs to shutoff debug output 2000-03-24 14:59:02 +00:00
rods%netscape.com 4859798ce2 Adding nsICheckboxControlFrame to build
r=kmcclusk
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu fd5dc605d2 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
rods%netscape.com fb036a0b2e now handling the incremental reflow better for options
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383
2000-03-21 15:22:53 +00:00
rods%netscape.com 8c891be1db Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895
2000-03-21 15:19:40 +00:00
rods%netscape.com 817c3a16ba Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895
2000-03-21 15:18:07 +00:00
pollmann%netscape.com a06c2054bf Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar 2000-03-20 23:43:07 +00:00
dbaron%fas.harvard.edu 4f544401da Fix leak. r=pollmann@netscape.com 2000-03-18 21:29:16 +00:00
rods%netscape.com 2dc0716710 made sure "average" was initialized to zero
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254
2000-03-18 15:15:25 +00:00
rods%netscape.com 6e4b344439 Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk
2000-03-18 14:20:03 +00:00
rods%netscape.com c0726b3245 Added adaptive sizing for dropdown with small screen sizes
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk
2000-03-18 14:17:34 +00:00
rods%netscape.com 0000d8cf20 Added method to get the container frame for adding/removing option frames
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk
2000-03-18 14:17:30 +00:00
rods%netscape.com b75e1d2499 Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
some rework, and I can if def it in and out
b=18895 r=kmcclusk
2000-03-18 13:45:30 +00:00
pierre%netscape.com 4b5db8f52f Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
rods%netscape.com a75c6402a3 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk
2000-03-16 22:57:08 +00:00
rods%netscape.com 6ba4a8f08d factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463
2000-03-15 15:55:30 +00:00
rods%netscape.com 10466a156a turning off debug #defines 2000-03-15 15:47:11 +00:00
dveditz%netscape.com ee84e699f6 fixing VC5 build (bug 31868) 2000-03-15 06:22:09 +00:00
rods%netscape.com 96f9c32724 now passing back maxElementSize correctly
b=30015
2000-03-14 14:25:05 +00:00
tbogard%aol.net e19a8ea03d GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells. 2000-03-11 01:30:04 +00:00
rods%netscape.com b8617b77cb combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar
2000-03-10 04:46:16 +00:00
rods%netscape.com d13c3b2a27 nsITextContent needed to be included not forwarded. 2000-03-07 16:45:21 +00:00
rods%netscape.com f9554cf7d1 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
2000-03-07 15:54:31 +00:00
rods%netscape.com 932879ce4d Backout plan, this check only fixes bug 28628
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com e426b0a6ae added include instead of the class decl.
r=waterson
2000-03-03 05:06:03 +00:00
rods%netscape.com 0de348eef2 modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
rods%netscape.com b297f3ae76 idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods%netscape.com 44c2fbb4c0 Button marks itself dirty when the suggested size is set.
b 28593, r=kmcclusk,buster
2000-03-03 00:21:10 +00:00
karnaze%netscape.com f41508bcd7 PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg 2000-02-29 13:17:33 +00:00
pierre%netscape.com 55d42bb3b3 Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
pollmann%netscape.com 3b493e429f Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
pollmann%netscape.com e0c18f4ef4 Bug 28691: Fix leaks, check for null, in code my implementation was based on r=harishd a=rickg 2000-02-23 20:58:42 +00:00
pollmann%netscape.com c79b60004c Bug 28691: Fix leaks, check for null, fix a bug in checkin for bug 16999 r=harishd a=rickg 2000-02-23 20:56:39 +00:00
pollmann%netscape.com 9ad58bbd03 Bug 16999: Fix solaris nsCOMPtr complaints. 2000-02-21 06:26:55 +00:00
pollmann%netscape.com fae092781b Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg 2000-02-21 05:55:25 +00:00
rods%netscape.com f0c4b3a651 ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods%netscape.com 1dd59cd330 radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com 66be43abb8 added method
b 21945 r=pollmann
2000-02-15 15:57:13 +00:00
rods%netscape.com 8181c2bd8d They now cache their state properly in the PresState
b 27063 r=kmmclusk
2000-02-15 15:05:56 +00:00
rods%netscape.com 45ed3c6864 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
buster%netscape.com bb8ee0cf3c enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods
2000-02-14 02:03:36 +00:00
rods%netscape.com fc8c04ec37 Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms.... 2000-02-12 17:49:11 +00:00
rods%netscape.com e4f9b03cb9 same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr 2000-02-12 17:01:35 +00:00
rods%netscape.com e9740dbb06 now remembers state when selected for single select combos and listboxes,
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
2000-02-12 16:21:37 +00:00
pavlov%netscape.com e883a22ccd fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar 2000-02-11 22:26:36 +00:00
nhotta%netscape.com d8f9f6841c Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang. 2000-02-11 01:08:56 +00:00
evaughan%netscape.com b230de42c8 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com 34326dd68c changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +00:00
evaughan%netscape.com f71ee84662 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
rods%netscape.com d05eeaa676 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
rods%netscape.com 76d491d5dc added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059
2000-01-31 23:59:55 +00:00
rods%netscape.com e501b48066 add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292
2000-01-31 23:36:50 +00:00
leaf%mozilla.org f1a8910137 backing out rods to fix options lists 2000-01-28 19:03:34 +00:00
rods%netscape.com 57502d77af using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292
2000-01-28 15:24:49 +00:00
rods%netscape.com e7e764db46 added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none
2000-01-28 15:04:19 +00:00
pollmann%netscape.com bcb43fcaf0 Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods 2000-01-25 22:19:39 +00:00
nisheeth%netscape.com e468aef1ea r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
rods%netscape.com 7335d90bfb changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
rods%netscape.com 9875e784f4 changed to use new signature of GetFont r=dcone b=905 2000-01-25 15:25:07 +00:00
rods%netscape.com 34f4228011 changed signature of GetFont,GetFrameFontFM b=905 r=dcone 2000-01-25 15:25:04 +00:00
rods%netscape.com cea53d478a changed signature of GetFont,changed to scroll it into view only if it isn't visible b=905,18649 r=dcone,troy 2000-01-25 15:24:48 +00:00
rods%netscape.com f7ebac37c6 changed signature of GetFont b=905 r=dcone 2000-01-25 15:18:46 +00:00
beard%netscape.com 84cbca2516 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
troy%netscape.com 73a3709284 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com 9c4e0a92a6 a=chofmann. r=rods, attinasi. The frame's state bits were getting reset by the NS_NewFieldSetFrame() method. This was causing asserts in layout because the frame did not have its dirty bit set. Fixed. 2000-01-20 17:14:34 +00:00
pierre%netscape.com eca7ac464e Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box"). 2000-01-19 12:27:40 +00:00
rods%netscape.com cde6e415cd Initial shift click will now work correctly for mulitple with selected items
it now will scroll to the selected items on start up
b 24178,7025 r=kmcclusk
2000-01-18 23:33:22 +00:00
rods%netscape.com 682250c24f removed warnings
r=kmcclusk
2000-01-18 23:23:52 +00:00
evaughan%netscape.com c7a2e2d937 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod 2000-01-18 20:29:22 +00:00
attinasi%netscape.com c6bda3922d Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be specified for abs. Positioned fieldsets. Fixes bug 23611. r=rods,pierre 2000-01-18 15:42:45 +00:00
hyatt%netscape.com 489fa24f63 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
rods%netscape.com 111a73a59a The combobox would be scrolled into view if some portion of it is visible.
b 23068 r=attintasi
2000-01-13 23:52:53 +00:00
rods%netscape.com c826c2abb6 Fixed two bugs, it puts the entire native file path into the text control instead of just the file name
and now it obeys the "size" attribute
b=19010 r=attintasi
2000-01-13 23:34:01 +00:00
brade%netscape.com 4139a0f457 use proper key for disconguous selection on Mac (r=jfrancis) 2000-01-13 16:01:04 +00:00
rods%netscape.com e8985fdb21 reworked some more of the fieldset's reflow (not in build yet) 2000-01-11 20:40:06 +00:00
rods%netscape.com cee7c68c6f Listbox was handle clicks in the combobox incorrectly and this caused the
dropdown to rollup too soon.
b=23484 r=kmcclusk
2000-01-11 20:36:37 +00:00
rods%netscape.com 7f30314d7a click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
rods%netscape.com cd4c745f16 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653
2000-01-09 02:07:00 +00:00
rods%netscape.com 73c1948005 Reworked frame creation and creation of it's children for bug 23156,
not turned on yet.
2000-01-09 02:05:25 +00:00
rods%netscape.com 9d4dc50132 Temporarily turning off optimization 2000-01-09 02:03:23 +00:00
rods%netscape.com ee8729afee Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:52:17 +00:00
rods%netscape.com de25ed658f Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods%netscape.com 2af5f256f9 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-08 15:53:48 +00:00
rods%netscape.com a25e7644fc backed out all changes from today (1/5/2000) 2000-01-05 16:42:47 +00:00
rods%netscape.com 52849ba449 compile sunder windows and not Linux, wierd 2000-01-05 15:58:07 +00:00
rods%netscape.com e63ecd85ed turning off reflow optimization until further XUL testing can be done.
r=self
2000-01-05 15:47:16 +00:00
rods%netscape.com 2eeffb7cab Added unconstrainted reflow optimizations
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
rods%netscape.com 10e16600ca Added unconstrainted reflow optimizations
Also, commented out the adding of border-padding to the maxelementsize
r=kmcclusk bug=12653
2000-01-05 15:22:38 +00:00
rods%netscape.com 3c2300bf66 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653
2000-01-05 15:21:02 +00:00
rods%netscape.com 543b271ef5 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-05 15:15:22 +00:00
sspitzer%netscape.com 42e7039924 fix warnings 1999-12-28 19:41:57 +00:00
rods%netscape.com a3346c4a5e turned off some debug rods only 1999-12-22 20:03:59 +00:00
rods%netscape.com a10fd6a960 fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:54:21 +00:00
rods%netscape.com c3679c3727 turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:52:56 +00:00
rods%netscape.com c37936155f changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
rods%netscape.com 7c47447ac9 Fixed the edge case where the select may have zero options or one option
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods%netscape.com b3fcb59f48 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 563b3b509d Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
hyatt%netscape.com 64b7811b77 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
rods%netscape.com a558bc096c 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 1aa5067600 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
rods%netscape.com 5c145aa0f5 not using scaled pixels to twips
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
hyatt%netscape.com 3f9fa43e97 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
rods%netscape.com 58000ea4b5 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 6e773b0546 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
troy%netscape.com 3c7966f705 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
rods%netscape.com 7e6c5acc96 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 a15c550545 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 1abe243c94 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
hyatt%netscape.com 16a944a1e3 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
rods%netscape.com 0874e74a36 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 75d8b254fc 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
sspitzer%netscape.com 9419807380 simple bullet proofing fix for #20423 1999-12-01 03:08:04 +00:00
troy%netscape.com 40af4a9d1d Fixed compiler warning 1999-11-30 05:38:15 +00:00
waterson%netscape.com cce2fc3cb5 Don't re-create atom over and over. r=hyatt 1999-11-30 01:13:36 +00:00
rods%netscape.com 4f976a7098 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 c5c9a1f829 change to always check for upper case TEXT
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com 8718dcf0dc 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 b223674e45 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
tbogard%aol.net a0640b60c4 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 b85ae7a27b removed return variable that wasn't used and its warning r=self 1999-11-23 14:21:03 +00:00
rods%netscape.com 54cec9b893 fixed two warning r=me 1999-11-23 14:16:59 +00:00
sfraser%netscape.com a3a45cef6a #ifdef out all the stupid printfs. r=pinkerton, no bug. 1999-11-23 03:26:56 +00:00
rods%netscape.com 73bdbaa898 Added NavQuirks sizing for input button 1999-11-22 22:04:53 +00:00
rods%netscape.com adfc214399 Added NavQuirks sizing for buttons and hidden 1999-11-22 22:03:35 +00:00
rods%netscape.com 59006b15ec added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 16:05:16 +00:00
rods%netscape.com 5acd6380be added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com ee30f46561 added bool parm to DoneAddingContent r=dcone bug 18241 1999-11-19 15:43:06 +00:00
troy%netscape.com fe56995443 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com 81dcb1e335 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
rods%netscape.com 8c8f362920 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 accfa429da Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com 9862e79cc1 Added MakeSureSomethingIsSelected so the ListBox can call it after it is initialized. 1999-11-16 22:47:15 +00:00
pollmann%netscape.com fa81b6bfef Fix typo during typo during previous checkin. 1999-11-16 01:20:04 +00:00
pollmann%netscape.com 8f04b58edc 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 48470623cf 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
rods%netscape.com ad0bd43918 Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com ac91f36e7c 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 762e065e7d 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
rods%netscape.com 63760fca6d 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 e36c0c9d4c 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
rods%netscape.com d8bca1113b 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 242db1bd00 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 42fc94a6ec 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 f1b69a06ac 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 5ba410cabf 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 146ceb26bc 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 d5c05ea133 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
rods%netscape.com dcb84d1cc1 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 f47c6d02f7 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 9600847e2c 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 c90004966e 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
pollmann%netscape.com 59640f2e44 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +00:00
pollmann%netscape.com ce61901fde Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy%netscape.com 04accb3de6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods%netscape.com 6e01f6ce6e 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 29baf3aea4 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
rods%netscape.com 388b0dc47d 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 022efe1d62 Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
rods%netscape.com 986d740c9d 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
dcone%netscape.com 610d17b6f7 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 a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com e9d10db2dd 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 6bd1234f0f 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 65832c10f9 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
rods%netscape.com 7c9efc7940 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 fcc6a10651 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
evaughan%netscape.com 0dc0b76629 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
rods%netscape.com 62c0f338c7 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 55cea5cd58 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
rods%netscape.com 5a4c5ae518 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 8815aee70f 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 354b09bef7 Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
peterl%netscape.com 757c0b5f01 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
kmcclusk%netscape.com 8216078009 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
pollmann%netscape.com 110dc42745 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
pollmann%netscape.com 324dcfff7b Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:22 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
rods%netscape.com dedfd2be24 ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
rods%netscape.com c923afa44f Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com a2c07e7ba4 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 d317d2245a Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com 487a041f85 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 d170030b32 Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk 1999-10-07 21:04:52 +00:00
pavlov%netscape.com dd46c93cdc 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 c2734ed9cc Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
peterl%netscape.com b9051a9f76 removing dead style change code and refereneces to dead style change code
r=troy
1999-10-02 04:23:48 +00:00
rods%netscape.com e121d483ee 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 2424740140 ifdef out a debug statement 1999-10-01 14:26:40 +00:00
rods%netscape.com 888d1325e2 removed noisy printf 1999-10-01 14:20:45 +00:00
rods%netscape.com cd2c3b0283 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
rods%netscape.com c2da5cb934 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 bdb901f425 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 17037594d5 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 b111eaec5a 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 9712b39e87 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:31:40 +00:00
rods%netscape.com b1b3a6e5c3 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 c68c7a7a65 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 0ee00122a0 manage view visibility better 1999-09-29 03:36:16 +00:00
peterl%netscape.com 42d4d2cabf set reflow reason properly for incremental changes 1999-09-29 03:35:51 +00:00
peterl%netscape.com 85a9038d81 use style changed reflow instead of content changed when updating button 1999-09-29 03:35:24 +00:00
dcone%netscape.com 6708def373 Added a Release.. to fix a leak 1999-09-24 13:49:12 +00:00
dcone%netscape.com 29b739396d Took out some Addrefs, causing leaks 1999-09-24 13:48:40 +00:00
rods%netscape.com 40d28f50ca Added nsIRollupListener for rolling up the dropdown 1999-09-21 21:20:50 +00:00
pollmann%netscape.com 9c3cf449e6 Bug 11488: Crash when deleting options from GFX selects 1999-09-21 13:25:32 +00:00
peterl%netscape.com 2e3a8d9de7 removed ReResolveStyleContext 1999-09-21 07:56:18 +00:00
pollmann%netscape.com dd83c13707 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 19478905b2 Remove redundant reset() call. 1999-09-19 09:18:33 +00:00
pollmann%netscape.com 0c39f8496e 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 75c5f6cbbc Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1 1999-09-17 07:22:23 +00:00
pollmann%netscape.com 739eb3fb1b Bug 13960: Update GFX combos when selection is set. 1999-09-16 22:36:29 +00:00
pollmann%netscape.com fbbacbcb54 Minor cleanup - don't assume implementation details. 1999-09-16 20:26:44 +00:00
rods%netscape.com a54fd8f82c 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
pollmann%netscape.com 38b2f3b98f Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
evaughan%netscape.com cc94b6273b Fixed some bugs in splitter
added auto collapse.
1999-09-14 22:17:19 +00:00
dcone%netscape.com 48a648eead 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 7de8a23562 Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann%netscape.com cc1006548e Bug 13058: Update select control interface to include 'get option selection' 1999-09-14 19:37:51 +00:00
pollmann%netscape.com ce6b56d3bd 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 3d85f5569f 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 8c356ce641 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas 1999-09-14 19:19:55 +00:00
rods%netscape.com a88a857804 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 7f1e1fea5f 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 a9c8647536 temporary fix for scrolling the dropdown until gfx scrollbars get in 1999-09-13 18:29:00 +00:00
rods%netscape.com 471a693a76 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
rods%netscape.com 8f3c34039e Better fix for option elements with no content in them 1999-09-09 19:37:23 +00:00
rods%netscape.com 6bf3f31fc6 Temporary fix to for mail compose. 1999-09-09 13:17:35 +00:00
sfraser%netscape.com 6c9a33ac66 #ifdef out a bunch of rods's printfs. 1999-09-09 00:23:40 +00:00
rods%netscape.com 2408822d86 Commented out space key event processing 1999-09-08 19:55:08 +00:00
rods%netscape.com ce1ac471da Fixed selection in lists 1999-09-08 19:54:30 +00:00
rods%netscape.com 4a4b4f9b6f 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