blizzard%redhat.com
38572a5d11
fix for bug #18186 . remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@62992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:08:28 +00:00
joki%netscape.com
04b8c32143
Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@62825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:43 +00:00
rickg%netscape.com
1bd57cb94b
removed calls to deprecated string methods
...
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
tbogard%aol.net
cd4d5288b0
Converted a number of places to talk in terms of the docShell APIs instead of the webShell ones.
...
git-svn-id: svn://10.0.0.236/trunk@62569 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:35:36 +00:00
cata%netscape.com
1d5e18767f
Backing out fix for #7886 to fix regression #30299
...
git-svn-id: svn://10.0.0.236/trunk@62223 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 21:44:58 +00:00
cata%netscape.com
1d485f061e
activating charset override. bug #7886 , r=ftang, a=bobj
...
git-svn-id: svn://10.0.0.236/trunk@62105 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 02:20:53 +00:00
jst%citec.fi
5195de87f5
Temporary (untill the real problem gets fixed) fix for PDT+ bug 18186. r=vidur, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@62058 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 15:06:05 +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
joki%netscape.com
dcc35666e8
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
...
git-svn-id: svn://10.0.0.236/trunk@61096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:59:07 +00:00
ftang%netscape.com
c9956df79a
fix 22203. r=cata/jbetak do not call the reload but set the parser charset directly if auto detect happen in the first block.
...
git-svn-id: svn://10.0.0.236/trunk@60855 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 09:15:18 +00:00
tbogard%aol.net
c416db8338
GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00
vidur%netscape.com
d55b639f5b
Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@59576 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:25:53 +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
norris%netscape.com
0dd1063455
Fix 23227 Document object vulnerability
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
nisheeth%netscape.com
26ad5f5255
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
...
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
vidur%netscape.com
4755c2cf84
Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@58156 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:35:47 +00:00
pollmann%netscape.com
6f3477c21c
Bug 20315: Adding comment r=buster
...
git-svn-id: svn://10.0.0.236/trunk@58063 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 02:40:45 +00:00
jband%netscape.com
191411b358
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
mccabe%netscape.com
8be12a7ac1
Fix to 21900.
...
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.
Thanks to KerryGinn@computer.org for spotting this one. (document.lastModified came out as "%#c" on a mac.)
r=Pavlov
a=choffman.
git-svn-id: svn://10.0.0.236/trunk@56089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 09:06:41 +00:00
vidur%netscape.com
021a42b33f
Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann.
...
git-svn-id: svn://10.0.0.236/trunk@55999 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:34:17 +00:00
pollmann%netscape.com
b78c738e4a
Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@55936 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:45:06 +00:00
ftang%netscape.com
17cbeb77e7
fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
...
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +00:00
buster%netscape.com
25d1324f5d
bug 21187
...
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse. bad circular references ensued. The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.
in the simple case, we no longer leak webshells. That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked. If I browse around, sometimes we still leak a webshell
somewhere. I haven't figured out exactly where that is yet. A guess is history, which is in the process of being reworked
anyway.
r=mscott
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55796 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 07:18:38 +00:00
akkana%netscape.com
422c14fe78
20603: In an HTML document, the body node should always be part of the
...
selection, because output needs to get style nodes on the body. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@55681 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:16 +00:00
tbogard%aol.net
067920c238
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
brendan%mozilla.org
81777e8de7
Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@54574 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 20:44:36 +00:00
tbogard%aol.net
b37b8cb748
nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface.
...
git-svn-id: svn://10.0.0.236/trunk@54496 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:11:10 +00:00
vidur%netscape.com
29607952c0
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
...
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
rods%netscape.com
9454f93684
added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241
...
git-svn-id: svn://10.0.0.236/trunk@54000 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:41:30 +00:00
buster%netscape.com
1e648d27d6
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
norris%netscape.com
331cf153db
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
git-svn-id: svn://10.0.0.236/trunk@53631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:07:31 +00:00
tbogard%aol.net
67a365111c
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
...
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
rods%netscape.com
8de7b8fef1
Added notification to the select in CreateElemenet to tell it it is complete.
...
r=vidur(sort iof, we talked about this change on friday) bug 18784
git-svn-id: svn://10.0.0.236/trunk@53439 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 00:34:15 +00:00
vidur%netscape.com
b4112523b1
Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann.
...
git-svn-id: svn://10.0.0.236/trunk@53298 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:06:54 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
norris%netscape.com
0949cbb8b9
Fix 16836 "Security error accessing DOM elements inside an IFrame"
...
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
git-svn-id: svn://10.0.0.236/trunk@51893 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 22:45:32 +00:00
vidur%netscape.com
1291c59ad4
Replaced delete operator calls with Recycle(). R=joki
...
git-svn-id: svn://10.0.0.236/trunk@51849 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:56:41 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
norris%netscape.com
c3494a9ffb
Fix the following bugs:
...
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
git-svn-id: svn://10.0.0.236/trunk@49647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 03:41:37 +00:00
vidur%netscape.com
529603023b
Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
...
git-svn-id: svn://10.0.0.236/trunk@49502 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:07:04 +00:00
kipp%netscape.com
aa5496085d
Removed atom table hacks
...
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
warren%netscape.com
857e46c783
Fixed uninitialized variables
...
git-svn-id: svn://10.0.0.236/trunk@49095 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:07:16 +00:00
ftang%netscape.com
f76321309a
fix bug 14802. reviewed by harishd.
...
git-svn-id: svn://10.0.0.236/trunk@49009 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:50:49 +00:00
ftang%netscape.com
10bfc149b3
fix crash when the pref callback get call. Part of bug 14219
...
git-svn-id: svn://10.0.0.236/trunk@48888 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 02:10:15 +00:00
ftang%netscape.com
7c68543645
add pref callback for charset detectors
...
git-svn-id: svn://10.0.0.236/trunk@48856 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 08:49:28 +00:00
joki%netscape.com
62ad116aae
Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
...
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
rpotts%netscape.com
2ea714e45c
The document LoadGroup is now a nsWeakPtr...
...
git-svn-id: svn://10.0.0.236/trunk@48532 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:44:56 +00:00