181 Commits

Author SHA1 Message Date
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
jst%netscape.com
0f0b4d6367 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.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
dprice%netscape.com
b597942b31 Fixing 31135 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68982 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:41:50 +00:00
buster%netscape.com
5109083548 bug 37171
r=kin


git-svn-id: svn://10.0.0.236/trunk@68803 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:02:09 +00:00
mjudge%netscape.com
e5b2003819 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
sfraser%netscape.com
c114dc2226 Fix for 37303 -- fix text selection code to behave better for an empty text field, and take -1 to mean 'select to end'.
git-svn-id: svn://10.0.0.236/trunk@67828 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:31:11 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +00:00
mjudge%netscape.com
1cc1a29d13 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
anthonyd%netscape.com
10a34f6e1b drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@66600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:11:41 +00:00
nisheeth%netscape.com
68adc31658 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed.
git-svn-id: svn://10.0.0.236/trunk@66183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 07:13:57 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
mjudge%netscape.com
922709ebdd fixing selection speed. only copying to clipboard on mouse up
git-svn-id: svn://10.0.0.236/trunk@66024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
akkana%netscape.com
57c4475945 28401: Code cleanup. Move the key event handling to a separate method (r=sfraser)
git-svn-id: svn://10.0.0.236/trunk@65882 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:06:30 +00:00
jst%netscape.com
92c42dfdf8 Fixing #34573. Properly reflow a textcontrol if it's 'rows' attribute changes.
git-svn-id: svn://10.0.0.236/trunk@65811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:28:35 +00:00
sfraser%netscape.com
11edab2993 Adding methods to allow control of the selection in text widgets.
git-svn-id: svn://10.0.0.236/trunk@65774 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:15:59 +00:00
bryner%uiuc.edu
a2f83e6dd1 Turning my changes back on, since they didn't cause the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:39:53 +00:00
bryner%uiuc.edu
a610c0fc3a #if 0 this section of code to see if it's causing the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:58:39 +00:00
bryner%uiuc.edu
45556e0036 This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@64891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:09:54 +00:00
akkana%netscape.com
a66b5d430f 28598: Do dom linebreak conversion on the string before inserting it in the editor.
git-svn-id: svn://10.0.0.236/trunk@64805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:04:46 +00:00
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +00:00
sfraser%netscape.com
e8c541445e Fix for 26924 -- don't needlessly load the editor dll on shutdown. r=buster.
git-svn-id: svn://10.0.0.236/trunk@64416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:02:34 +00:00
pollmann%netscape.com
261a55a1c8 Bug 27951: Re-enable set text "" and Reset for inputs/textareas. This fix coutesy of jfrancis r=self, waqar
git-svn-id: svn://10.0.0.236/trunk@63487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:15:06 +00:00
pierre%netscape.com
c84deb6d8c 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.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
akkana%netscape.com
402752ab10 Bug 20207, extra lines in textarea (r=buster)
git-svn-id: svn://10.0.0.236/trunk@62818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:56 +00:00
buster%netscape.com
8b339b4ead bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:38:06 +00:00
tbogard%aol.net
2e756bbf37 Converted to hold on to a docShell instead of a webShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Removed the ifdef for NEW_WEBSHELL_INTERFACES as we are definitely not going back now.
git-svn-id: svn://10.0.0.236/trunk@62606 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:28:46 +00:00
buster%netscape.com
c50284c06b fixed bug 29837 and part of bug 29790 (the part about the url bar ceasing to respond)
r=rods, brade
a=jar


git-svn-id: svn://10.0.0.236/trunk@62258 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 04:08:05 +00:00
rods%netscape.com
a798692a8d Turned off the optimization that wasn't really working well anyway,
will turn it back on in M15 after reworking it
b 28593 a=jar r=self


git-svn-id: svn://10.0.0.236/trunk@62095 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:42:29 +00:00
akkana%netscape.com
169b1de1a0 27827: disable the ender event listener for right clicks as had
previously been done for middle clicks.  This is a band-aid;
 we need to dig in and rewrite this code to pass events correctly.
 r=buster, a=jar


git-svn-id: svn://10.0.0.236/trunk@62063 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 19:31:03 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
sfraser%netscape.com
6d9b822079 Fix for 29521 -- i18n issues saving text area state, and 29827 problems with linebreaks going back to a forms page. r=ftang,akkana, a=jar
git-svn-id: svn://10.0.0.236/trunk@62012 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:16:29 +00:00
pierre%netscape.com
1d2c2e416f 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
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
tbogard%aol.net
93ee16a656 Commented out the call to webShell::Remove focus as it is no longer needed and the function is going away. Work for 13374. r=rods, saari
git-svn-id: svn://10.0.0.236/trunk@61555 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:47:40 +00:00
akkana%netscape.com
5cb91b3258 23336: Fix double middle-mouse paste problem. This is a temporary fix,
making the smallest possible change so as not to rock the beta1 boat.
I'll look at more sweeping fixes later.  r=saari,a=leaf


git-svn-id: svn://10.0.0.236/trunk@61261 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:57:46 +00:00
sfraser%netscape.com
32d1e793b2 Fix command updating for GFX text widgets. for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61009 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:41:59 +00:00
buster%netscape.com
4ace9944ca backed out a mistake (wrong disk in the removable drive at home), put in the real file
sorry if anybody caught this


git-svn-id: svn://10.0.0.236/trunk@60824 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 06:51:45 +00:00
buster%netscape.com
04a27e332a no bug number
little fix r=travis checking to make sure docshell size doesn't go negative


git-svn-id: svn://10.0.0.236/trunk@60814 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 06:37:16 +00:00
buster%netscape.com
5a06148a81 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

checked in some debug-only metrics code that's been sitting in my tree for a few weeks
r=rods

bug 24950
the frame was creating additional initial reflows for itself indirectly and unnecessarily in some cases
r=hyatt (though he hasn't had time for a thorough review of this yet, so I'm going out on a limb a bit
by checking it in prematurely.  But I'm very confident, I've done tons of testing, and I'll still insist
on a thorough code review of this change.)


git-svn-id: svn://10.0.0.236/trunk@60682 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 02:07:50 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
rods%netscape.com
cffeb53a49 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


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +00:00
alecf%netscape.com
0338886e9a don't leak an atom (forgot NS_OK)
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@59980 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 08:02:22 +00:00
jfrancis%netscape.com
a8e66f4adc fix for 24051: modifying password field corrupts pw text; checked in on behalf of buster; r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@59974 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 02:48:36 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
kin%netscape.com
77aab65125 Fix for bug #20387 (scrollbars appearing in single line text control)
mozilla/layout/forms/src/nsGfxTextControlFrame.cpp
    mozilla/layout/forms/src/nsGfxTextControlFrame.h
      - Added GetFirstFrameWithIID() utility method.
      - Modified InitializeTextControl() so that it sets the
        single line text control's viewport overflow value
        to NS_STYLE_OVERFLOW_SCROLLBARS_NONE.

r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@59519 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 14:12:01 +00:00