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

634 Коммитов

Автор SHA1 Сообщение Дата
buster%netscape.com 0d2ecc5b7a bug 36367
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
2000-06-05 03:50:46 +00:00
rods%netscape.com ad5bd8dcb3 no longer subtracting off scrollbar width when mComputedSize is set
b=36548, r=kmcclusk
2000-06-02 20:59:57 +00:00
pollmann%netscape.com 88884f46da Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!) 2000-05-31 02:24:48 +00:00
rods%netscape.com 5a866ce48b missed one of the strings for localization
b=32666, original reviewer was pollmann, self is reviewer for this small additional change
2000-05-27 13:03:18 +00:00
rods%netscape.com 1a153fe6ac Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann
2000-05-27 02:27:47 +00:00
rods%netscape.com 4b203e621f removed some uneeded code
made view so it was resized in SyncFrame
fixed the returning of the -1 for width
make sure combinedarea was set correctly for tables
b 39755,36321 r=buster,evaughan
2000-05-26 23:34:59 +00:00
rods%netscape.com 9161f31f32 set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
b=40382 , r=joki
2000-05-26 23:31:25 +00:00
evaughan%netscape.com 4ab93afb2e fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
joki%netscape.com 7389ef527f Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
rods%netscape.com f4137f0157 Preventing event from bubbling, capture and default causes a mismatch in mousecapture
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk
2000-05-22 21:35:00 +00:00
hyatt%netscape.com 5bed7dc4bd fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
mjudge%netscape.com 778ec9dd41 adding new ender_lite flag to build 2000-05-16 23:29:35 +00:00
joki%netscape.com 91e64c7b7d fix for bug 15189 along with an annoying assert that just started. r: rods 2000-05-16 21:58:37 +00:00
mjudge%netscape.com e45208d90d left in bad reference 2000-05-16 13:02:36 +00:00
mjudge%netscape.com bb7550f190 fixing regunreg for form controls 2000-05-16 12:44:32 +00:00
mjudge%netscape.com 3e8c421156 accidental checkin 2000-05-16 12:20:24 +00:00
mjudge%netscape.com 01c5c27127 fixes for RegUnRegAccessKey 2000-05-16 12:18:36 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
joki%netscape.com 1cdf7b1070 Adding accesskey support. Bug 959. 2000-05-16 10:22:20 +00:00
buster%netscape.com 1000dafb92 bug 35964, partial fix
r=rods
2000-05-15 22:51:42 +00:00
rods%netscape.com 6b3404f2be focus now no longer shows when it has focus.
b=35307
2000-05-15 22:23:09 +00:00
dbaron%fas.harvard.edu 27dfd22e4f Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com 2000-05-15 13:12:27 +00:00
evaughan%netscape.com f27fff5884 1) Scrolling menus
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
sfraser%netscape.com 28da072539 Add a null check. 2000-05-12 23:11:04 +00:00
rods%netscape.com e51aafde85 part of fix for Bug 33733
added ShouldRollupOnMouseWheelEvent methos to ask if the rollup want to rollup on MouseWheel events
2000-05-12 20:23:04 +00:00
rods%netscape.com ad3aa5c4e5 makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
b 38925
2000-05-11 19:22:06 +00:00
rods%netscape.com 027faeb146 added comments to ifdef for better explanation 2000-05-11 14:06:32 +00:00
rods%netscape.com 9c57b5ce10 temporary fix for 38825, the frame gets notified that an option has been added
before it is actually added into the content model, so the selection cache and the
content model can be of by 1
2000-05-11 14:05:44 +00:00
mjudge%netscape.com a89f9e3c80 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
jst%netscape.com 50499cc037 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
buster%netscape.com 3fb4ec431e effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
rods%netscape.com 6077a0a71b get char code instead of key code
bug 34630
2000-05-08 22:18:38 +00:00
rods%netscape.com 79b7da3bf8 this should bring down the leaks
should have used XPCom
2000-05-08 21:39:29 +00:00
rods%netscape.com 80954aaa3c The fix will turn itself on when in HTMLdocument and turn off in XUL documents
I will remove the old code when all the selects are removed from the UI
bug 36558
2000-05-08 20:32:11 +00:00
mjudge%netscape.com 521d8fc8eb ifdef changes wont touch build 2000-05-08 03:58:48 +00:00
rods%netscape.com 138e4bd554 The press event always delivers the key as lowercase where key down gives you the key that was pressed
need to change str to lowercase instead of uppercase
b=34630
2000-05-05 21:51:56 +00:00
rods%netscape.com 8877c991d4 bryner's fix for key repeat (thanks a lot)
need to make press event not bubble
b=38072, r=rods
2000-05-03 22:01:47 +00:00
mjudge%netscape.com dd39333ed2 preparation for ender-lite landing. 2000-05-03 06:16:32 +00:00
mjudge%netscape.com 9b895c64e9 setting up for gfxtextcontrolchange 2000-05-02 03:40:44 +00:00
dbaron%fas.harvard.edu 207bd15b6b Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com 2000-05-01 04:00:38 +00:00
rods%netscape.com 01ce883ced now sets maxelement width/height
b=25541
2000-04-30 13:27:49 +00:00
rods%netscape.com af703fcc29 add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled
2000-04-28 23:24:59 +00:00
evaughan%netscape.com d16b7355c7 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com 8b0eb04e08 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com af52293cd0 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
joki%netscape.com 3851e31b9f fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
troy%netscape.com 73fc3dde30 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
scc%netscape.com 0b17d2a06c making string conversions explicit 2000-04-22 10:31:38 +00:00
rods%netscape.com 1118f2af9d Add ifdef'ed Performance Reflow Counting code
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440
2000-04-21 22:16:23 +00:00
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