Commit Graph

3179 Commits

Author SHA1 Message Date
sspitzer%netscape.com
474de77d86 fixing my old enemy "the classic .get() with nsCOMPtr on solaris (and linux, if you have --enable-pedantic) turned on" bustage.
git-svn-id: svn://10.0.0.236/trunk@57518 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 07:39:00 +00:00
beard%netscape.com
ceea114c6b fixes nsIAtom leaks, bug=15906, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@57514 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 06:54:58 +00:00
waterson%netscape.com
b0f775e689 Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@57505 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 03:23:48 +00:00
rjc%netscape.com
06d2a36d07 Somehow, we lost some of the magical attributes we need to check for. (coalescing dup arcs, and allowing negative arcs)
git-svn-id: svn://10.0.0.236/trunk@57491 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:47:23 +00:00
pierre%netscape.com
35e03cffb3 17303 "Text input fields in chrome should use sans serif font". Clear the NS_STYLE_FONT_USE_FIXED flag when setting a font different from -moz-fixed. r=rods (rods checked in the other part of that fix in nsHTMLFontElement.cpp)
git-svn-id: svn://10.0.0.236/trunk@57465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:19:14 +00:00
norris%netscape.com
5c8d9b369d Fix warning.
git-svn-id: svn://10.0.0.236/trunk@57463 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:55:18 +00:00
dcone%netscape.com
5e51c18847 Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
git-svn-id: svn://10.0.0.236/trunk@57449 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:32:23 +00:00
bryner%uiuc.edu
ceb3e53c0f This fixes mousewheel scrolling inside trees. I also cleaned up the code
in nsEventStateManager, moving the view/frame locating code to its own
function - this will be helpful for implementing page up/down scrolling
for trees.  r=alecf.


git-svn-id: svn://10.0.0.236/trunk@57447 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:30:22 +00:00
rjc%netscape.com
2f68be984f Tweak resource cache usage. Change from putterman, Review from me
git-svn-id: svn://10.0.0.236/trunk@57438 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:03:53 +00:00
waterson%netscape.com
0937b45c18 Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott
git-svn-id: svn://10.0.0.236/trunk@57432 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 21:18:19 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
rods%netscape.com
81946ff625 click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@57417 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:33:36 +00:00
sspitzer%netscape.com
1e8a566734 adding this for hyatt
git-svn-id: svn://10.0.0.236/trunk@57403 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 18:06:15 +00:00
hyatt%netscape.com
e4c792ed8e Oops. Forgot to add makefiles.
git-svn-id: svn://10.0.0.236/trunk@57395 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 09:52:42 +00:00
rjc%netscape.com
722d05e615 Use native ptr [via .get()]
git-svn-id: svn://10.0.0.236/trunk@57383 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:41:15 +00:00
rjc%netscape.com
321eac2192 Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget.
git-svn-id: svn://10.0.0.236/trunk@57382 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:38:47 +00:00
hyatt%netscape.com
bccad5fcaf Initial XBL landing.
git-svn-id: svn://10.0.0.236/trunk@57380 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:25:59 +00:00
pollmann%netscape.com
836ef6cf4d Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd
git-svn-id: svn://10.0.0.236/trunk@57374 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:21:24 +00:00
rjc%netscape.com
a5c192cf93 Move resource cache up from the XUL sort service into the generic builder. Review: me
git-svn-id: svn://10.0.0.236/trunk@57369 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 06:28:28 +00:00
cls%seawood.org
c94cbe27ba Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.


git-svn-id: svn://10.0.0.236/trunk@57356 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:13:01 +00:00
hyatt%netscape.com
2c9879296b adding behavior property to CSS. r=brendan
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
waterson%netscape.com
74b0641338 Take out crufty debug printfs.
git-svn-id: svn://10.0.0.236/trunk@57344 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:49:18 +00:00
akkana%netscape.com
7b2f1553b5 Use if instead of switch, to eliminate warnings. r=slamm
git-svn-id: svn://10.0.0.236/trunk@57337 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:24:29 +00:00
pinkerton%netscape.com
28c3b87687 fixing bug 21414 the right way, reverting api's to their previous ways.
git-svn-id: svn://10.0.0.236/trunk@57303 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:04:24 +00:00
hyatt%netscape.com
e7d02281dc Making nsIXULContent visible.
git-svn-id: svn://10.0.0.236/trunk@57253 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 04:03:12 +00:00
hyatt%netscape.com
fa4ee6c782 Teaching the XUL DOM how to keep anonymous content events from being seen
by enclosing explicit content.


git-svn-id: svn://10.0.0.236/trunk@57252 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:57:49 +00:00
pierre%netscape.com
c298b593a6 12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
git-svn-id: svn://10.0.0.236/trunk@57251 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:23:44 +00:00
norris%netscape.com
02d0724222 Fix
858  [Feature] JavaScript auto-disable per-domain RFE
    13023 Users must be able to disable Java and JavaScript (for JS in mail)
    21923 Executing functions in "chrome:" protocol - #2.
    r=mstoltz

    (Checked in with red on Mac; Wan-Teh says his changes are localized so
     it shouldn't interfere with his fixing bustage.)


git-svn-id: svn://10.0.0.236/trunk@57214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:51:54 +00:00
pierre%netscape.com
69860e814f Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix
git-svn-id: svn://10.0.0.236/trunk@57197 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:11:10 +00:00
pierre%netscape.com
1de0179819 Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored).
git-svn-id: svn://10.0.0.236/trunk@57196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:09:00 +00:00
rpotts%netscape.com
50c3fad132 Made contentType a read/write attribute of nsIChannel
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +00:00
hyatt%netscape.com
c21adf5446 Making tree scrolling faster.
git-svn-id: svn://10.0.0.236/trunk@57155 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 02:18:14 +00:00
pinkerton%netscape.com
f4e554070e Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta.
git-svn-id: svn://10.0.0.236/trunk@57149 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:48:39 +00:00
akkana%netscape.com
bf073d110f Fix a huge slew of warnings. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57141 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:20:58 +00:00
waterson%netscape.com
37bf1de35b Bug 21477. Add |nsIContent** aFirstGeneratedChild| parameter to several methods that is used as an 'out' parameter to determine the first generated child in a subtree. This allows us to send the correct |ContentAppended()| notification to layout. Fixes the 'unfurling menu' problem. r=rjc
git-svn-id: svn://10.0.0.236/trunk@57128 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:27:04 +00:00
brendan%mozilla.org
bc0baef1a1 (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)


git-svn-id: svn://10.0.0.236/trunk@57127 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:24:24 +00:00
pollmann%netscape.com
9184319076 Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd
git-svn-id: svn://10.0.0.236/trunk@57077 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:54:23 +00:00
pollmann%netscape.com
b1c96fac8e Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd
git-svn-id: svn://10.0.0.236/trunk@57074 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:44:42 +00:00
pollmann%netscape.com
87cfdd40c4 Bug 21768: always release mForm in SetForm to prevent leak. r=harishd
git-svn-id: svn://10.0.0.236/trunk@57073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:41:51 +00:00
alecf%netscape.com
89c771041d one more time! this time don't look inside templates, instead look inside <treechildren> of trees
r=scottip


git-svn-id: svn://10.0.0.236/trunk@57049 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:38:24 +00:00
vidur%netscape.com
64f5d889e2 Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57043 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:19:41 +00:00
alecf%netscape.com
76e6ca9c80 followup fix for #12895 - actually find the content correctly
r=scottip


git-svn-id: svn://10.0.0.236/trunk@57038 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:00:27 +00:00
vidur%netscape.com
c28ff08497 Fix for bug 23074. Implemented image.complete. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
vidur%netscape.com
4a4cce66b8 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +00:00
waterson%netscape.com
39ba565519 Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard
git-svn-id: svn://10.0.0.236/trunk@56983 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:01:56 +00:00
nhotta%netscape.com
418ad5150b Fixed memory leak, bug 22281, r=waterson.
git-svn-id: svn://10.0.0.236/trunk@56976 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 19:47:20 +00:00
alecf%netscape.com
ddb7aae36f fix my previous checkin after talking to hyatt - we'll be getting the outer frame, so iterate through the children and QI on each one, sending EnsureRowIsVisible to each when it succeeds
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@56948 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 09:19:31 +00:00
alecf%netscape.com
3ac59169d3 add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner


git-svn-id: svn://10.0.0.236/trunk@56942 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 07:54:43 +00:00
bryner%uiuc.edu
be9872a5ea Implementing the mousewheel preferences. A new option has been added, "Use system default", which follows the OS
default (on Windows at least) for the number of lines to scroll.  I also changes the default actions for the modifier
keys slightly.


git-svn-id: svn://10.0.0.236/trunk@56940 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 06:22:00 +00:00
vidur%netscape.com
54d2a3169c Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56917 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:10:06 +00:00