1613 Commits

Author SHA1 Message Date
kin%netscape.com
f65d1b5fba Fix for bug #42178 Back causes data corruption
Modified CreateAnonymousContent() so that if the text widget has
a default value, it adds it as a text node under the div after it
is created. Add better error checking to avoid possible problems.
Removed calls to SetTextControlState() that were used
to initialize the text widget contents from GetPrefSize() because
it was causing a reflow within a reflow and the editor to be re-entered.
Added missing call to GetText() in Reset().

r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73592 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 14:51:58 +00:00
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
jfrancis%netscape.com
890c0d5e35 fixing max text length initialization for text fields. 43275
git-svn-id: svn://10.0.0.236/trunk@73576 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 05:51:34 +00:00
sfraser%netscape.com
3ace47ff12 Fix for 44118 and nsbeta2+ bug 42625, r=kin. Update selection-based commands (e.g. cut/copy) when the selection changes from collapsed to non-collapsed and vice versa, not just when it is uncollapsed.
git-svn-id: svn://10.0.0.236/trunk@73554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:36:10 +00:00
mjudge%netscape.com
e40b754d98 oninput and on change now firing. this should be working completely now. bug 42045 uncommenting out lines that I had commented out for someone on accident. also this fixes listeners not firing for textareas and only for text inputs. pdt+dogfood+ ect.
git-svn-id: svn://10.0.0.236/trunk@73508 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:17:58 +00:00
pollmann%netscape.com
ba1a3e50a6 Bug 41013: Prevent event passing from frames to content during document destruction r=joki
git-svn-id: svn://10.0.0.236/trunk@73495 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 02:02:43 +00:00
mjudge%netscape.com
a8730b8081 removing observer. put in on accident. editor will handle oninput changes. if not i can un comment this
git-svn-id: svn://10.0.0.236/trunk@73381 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:16:44 +00:00
mjudge%netscape.com
771787b6c1 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
git-svn-id: svn://10.0.0.236/trunk@73374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:00:12 +00:00
ducarroz%netscape.com
af2a45c882 Fix for bug 43575. Back out a line that Rods accidently change while checkin rev 1.40 R=hyatt
git-svn-id: svn://10.0.0.236/trunk@73289 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:26:28 +00:00
rods%netscape.com
26ec507dd2 Better fix for printf spewage.
git-svn-id: svn://10.0.0.236/trunk@73056 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:19:50 +00:00
vidur%netscape.com
91fa351b69 Getting rid of debug spewage left in by one of the last couple of checkins
git-svn-id: svn://10.0.0.236/trunk@73045 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:51:07 +00:00
mjudge%netscape.com
88b03321ef fix for 42188,42347 r=akkana . use selection controller to tell the doc if it should display non-text-selection.
git-svn-id: svn://10.0.0.236/trunk@73024 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:01:19 +00:00
rods%netscape.com
6601b1f95f It wasn't call the NavQuirks sizing code when in NavQuirks mode.
Bug 42521,41629 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@73018 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:30:38 +00:00
dbaron%fas.harvard.edu
e01c1a7a60 Fix leak of nsInputDimensionSpec. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72973 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:49:02 +00:00
pinkerton%netscape.com
0017dac901 fix leaked timer, bug 28226, r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72919 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:42:18 +00:00
pollmann%netscape.com
5979bfb8c3 Bug 41585: Don't chop of query string when POSTing forms, only when GETting them r=harishd
git-svn-id: svn://10.0.0.236/trunk@72869 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 02:49:01 +00:00
pollmann%netscape.com
31acca5c90 Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72703 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:40:11 +00:00
hyatt%netscape.com
fd933e0e96 Turning on the new tree widget. Bug#30511, r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72552 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:57:39 +00:00
sfraser%netscape.com
f5dc32b34c Fix bug 42145 -- need to clear the editor out of the editor controller when the text frame is going away (like when its content is hidden in a popup window). r=kin
git-svn-id: svn://10.0.0.236/trunk@72348 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:09:33 +00:00
rods%netscape.com
f58dc37a07 removed the incremental reflow targeted at the display text
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:02:10 +00:00
rods%netscape.com
1a499e2d1a ifdef'ing out the where we get the value of the label
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72306 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:00:23 +00:00
rbs%maths.uq.edu.au
de23cc3486 Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 09:54:41 +00:00
pollmann%netscape.com
d5ebd0e9c7 Bug 32770: Save scroll position in session history r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72258 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:35:46 +00:00
mjudge%netscape.com
6e990f8280 handling of on input. adding selection change notifications to commands. we must tell the document when selection happens in the input fields. regriession from 34986, r=saari a=pdt+
git-svn-id: svn://10.0.0.236/trunk@72177 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:01:31 +00:00
rods%netscape.com
f86a48604d moved the unreg of the access keys from the destructor to the Destroy method
r=dcone, b=41246


git-svn-id: svn://10.0.0.236/trunk@72165 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:16:08 +00:00
mjudge%netscape.com
1b7d75c3db didnt implement selection. bug=34896. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71923 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:55:50 +00:00
akkana%netscape.com
decb9480f3 34896: Fix ender lite build on Unix. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@71910 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:50:24 +00:00
mjudge%netscape.com
188a919a3b turning on ender-lite. bug = 34896
git-svn-id: svn://10.0.0.236/trunk@71889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:19:28 +00:00
mjudge%netscape.com
6209ff4eb0 form elements now accept a nsIFormFrame instead of the implementation as the parameter to allow others that inheirit from nsIFormFrame to call "CanSubmit". bug=34896 ender-lite, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:16:20 +00:00
mjudge%netscape.com
8fa1c2f4b0 not in build, bug 34896
git-svn-id: svn://10.0.0.236/trunk@71877 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:13:32 +00:00
mjudge%netscape.com
a7ee8e11dd bug=34896 fixing reflow reason from nsFileControlFrame to send resize when resizing its input field. fixing mouseclick to not be so hardcoded so that the ender-lite text field still works for the "browse" button. a=beppe r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71683 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:21:20 +00:00
mjudge%netscape.com
8e98182161 bug=34896 setting up initial text to work after evaughns box changes to ender-lite. a=beppe, r=evaughn,r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71682 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:21:03 +00:00
evaughan%netscape.com
3640c7b6b3 Fixed for ender-lite painting problems. bug #34896
-r mjudge


git-svn-id: svn://10.0.0.236/trunk@71573 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 01:25:03 +00:00
buster%netscape.com
f3ce46c7b0 bug 36367
r=rods
fix was to pass in the correct width during certain types of incremental reflows.


git-svn-id: svn://10.0.0.236/trunk@71502 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:50:46 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
rods%netscape.com
0a4ad0ede1 no longer subtracting off scrollbar width when mComputedSize is set
b=36548, r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@71385 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:59:57 +00:00
brade%netscape.com
7d358cfcd5 #ifdef appropriately for ENDER_LITE (especially Macintosh); blocking Macintosh development; bug #41323; a=beppe; r=kin; a/r=mjudge
git-svn-id: svn://10.0.0.236/trunk@71384 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:57:10 +00:00
rods%netscape.com
0d2a64ae4e now checks to see if an explicit width or height is being set and then set the maxElementSize properly
it already did this for NavQuirks, this is for Standard mode
Bug 40621 r=dcone


git-svn-id: svn://10.0.0.236/trunk@71370 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 14:37:27 +00:00
mjudge%netscape.com
26495f08d9 bug = 34896. changing caret use to not demand a presshell. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71232 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:39:52 +00:00
pollmann%netscape.com
9ab3972a4e Bug 22983: Fix extra newlines in bugzilla updates when not logged into bugzilla on Linux. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:04:51 +00:00
kin%netscape.com
6ad77ab6e2 Fix for bug #37650: Initial values in text boxes not being displayed.
Modified AttributeChanged() to allow us to set the value attribute
even though mEditor is null.
r=morse@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71167 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:14:16 +00:00
pollmann%netscape.com
85ceb4d8bc Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!)
git-svn-id: svn://10.0.0.236/trunk@71133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:24:48 +00:00
rods%netscape.com
9f7a491400 missed one of the strings for localization
b=32666, original reviewer was pollmann, self is reviewer for this small additional change


git-svn-id: svn://10.0.0.236/trunk@71003 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 13:03:18 +00:00
rods%netscape.com
e0fe88ca49 Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@70981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:27:47 +00:00
rods%netscape.com
614a71b731 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


git-svn-id: svn://10.0.0.236/trunk@70967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:34:59 +00:00
rods%netscape.com
6a0b888642 set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
b=40382 , r=joki


git-svn-id: svn://10.0.0.236/trunk@70966 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:31:25 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
joki%netscape.com
fab946580d Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
git-svn-id: svn://10.0.0.236/trunk@70884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:26:54 +00:00
kin%netscape.com
d7bccacbfb Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:04:02 +00:00
rods%netscape.com
f9ea52ae06 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


git-svn-id: svn://10.0.0.236/trunk@70611 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:35:00 +00:00